how to configure macports Lyx

Srinath Vadlamani srinath at txcorp.com
Fri Jul 16 08:54:32 PDT 2010


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>.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100716/4aae7830/attachment.html>


More information about the macports-users mailing list