how to configure macports Lyx

Srinath Vadlamani srinath at txcorp.com
Fri Jul 16 09:53:19 PDT 2010


I just port installed revtex and then ran sudo texhash.

Fired up Lyx, and reconfigured, restarted Lyx and RevTex is still stated as
unavailable.

<>Srinath

On Fri, Jul 16, 2010 at 10:09 AM, Russell Jones <
russell.jones at physics.ox.ac.uk> wrote:

>  revtex at least is available as a separate port (or was quite recently:
> the texlive port has just been reorganised I think).
>
> Russell
>
> Srinath Vadlamani wrote:
>
> I am trying to get LyX @1.6.7_0+python25 (active) to be configured to use
> new document classes.
>
> The Mac lyx website
> http://wiki.lyx.org/FAQ/MacInstall
>
>
> says to use:
> Installing document classes that are "Unavailable"
>
> The "Document class" setting has a pop-up menu of many classes. At the end
> of the list are the "Unavailable" classes which are ones that LyX knows
> about but doesn't have the .cls file for. Let's say you want to make the
> "article (Springer LNCS)" class become available. First download the archive
> of LaTeX2e files from their
> site<http://www.springer.com/computer/lncs?SGWID=0-164-2-72376-0#anchor5> <http://www.springer.com/computer/lncs?SGWID=0-164-2-72376-0#anchor5>.
> Then install the files therein to your TeX installation. If you installed
> TeX using MacPorts/DarwinPorts, you can do this by unzipping that directory
> to /opt/local/share/texmf-dist/tex/latex/llncs2e. Then run `sudo texhash` to
> let the system know about them. Then run LyX and choose Reconfigure from the
> application menu and restart. When you start again, the document class
> should be available.
>
>
> But on my machine:
>
> ls /opt/local/share/texmf-dist
>
> ls: /opt/local/share/texmf-dist: No such file or directory
>
> So now I look for a texmf:
> ls /opt/local/share/texmf*
> /opt/local/share/texmf:
> ls-R  web2c
>
> /opt/local/share/texmf-texlive:
> asymptote dvipdfm   dvips     ls-R      tex       texdoc    ttf2pk    xdvi
> doc       dvipdfmx  fonts     scripts   texconfig texdoctk  web2c     xindy
>
> /opt/local/share/texmf-texlive-dist:
> bibtex    doc       fonts     makeindex metapost  omega     source    vtex
> context   dvips     ls-R      metafont  mft       scripts   tex
>
> So, which one is my current Lyx using?
>  /opt/local/share/texmf-texlive-dist/tex/latex seems to have quite a bit
> more than the non-dist.  With this current set up, many standard classes are
> not available.  These (such as RevTex or SIAM) are usually there when one
> installs MacTex-Live: http://www.tug.org/mactex/2009/
>
>
> What am I missing or doing incorrect?
>
> <>Srinath
>
>
>
> ------------------------------
>
> _______________________________________________
> macports-users mailing listmacports-users at lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100716/97568602/attachment.html>


More information about the macports-users mailing list