Re: how to configure macports Lyx

2010-07-22 Thread Srinath Vadlamani
Any other information on how to make sure Lyx is conifgured to
use  /opt/local/share/texmf-texlive-dist/tex/latex?

Srinath

On Fri, Jul 16, 2010 at 12:23 PM, Srinath Vadlamani srin...@txcorp.comwrote:

 Very helpful.
 Thanks.


 On Fri, Jul 16, 2010 at 12:11 PM, Dan Ports dpo...@macports.org wrote:


 Will respond to your other questions later (because I might change the
 answers in the meantime :-) but thought I'd answer this one first...

 On Fri, Jul 16, 2010 at 09:54:32AM -0600, Srinath Vadlamani wrote:
   /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/

 By default, the texlive port (+medium) does not install a full
 installation of TeX Live, unlike MacTeX. This is because a full
 installation is large and we'd like to support installing only the
 needed components.

 You can get a list of other available texlive ports with
 'port list texlive-* and not installed' and install the ones you need.
 texlive-publishers may be the one you're looking for in this case. If
 you prefer, you can install the 'texlive' metaport with the +full
 variant to get everything.

 For completeness, I should point out that users who really want to
 cherry-pick the parts of texlive they install can also install 'texlive
 +basic' or +minimal or even forgo the texlive metaport entirely, and
 just install the ports they want.

 Sounds like I should add a note to the metaport with this info.

 Dan

 --
 Dan R. K. Ports  MIT CSAILhttp://drkp.net/



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to configure macports Lyx

2010-07-22 Thread Dan Ports
On Thu, Jul 22, 2010 at 09:54:58AM -0600, Srinath Vadlamani wrote:
 Any other information on how to make sure Lyx is conifgured to
 use  /opt/local/share/texmf-texlive-dist/tex/latex?

Are you still having problems? If so, can you describe them?

I am not really familiar with LyX myself, but would expect that it
should be able to find any texlive packages installed. If that's not
true, it's something we should fix.

Dan

-- 
Dan R. K. Ports  MIT CSAILhttp://drkp.net/
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to configure macports Lyx

2010-07-16 Thread Russell Jones
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
sitehttp://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   texdocttf2pkxdvi
doc   dvipdfmx  fonts scripts   texconfig texdoctk  web2c xindy

/opt/local/share/texmf-texlive-dist:
bibtexdoc   fonts makeindex metapost  omega sourcevtex
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 list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
  


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to configure macports Lyx

2010-07-16 Thread Srinath Vadlamani
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.jo...@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
 sitehttp://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   texdocttf2pkxdvi
 doc   dvipdfmx  fonts scripts   texconfig texdoctk  web2c xindy

 /opt/local/share/texmf-texlive-dist:
 bibtexdoc   fonts makeindex metapost  omega sourcevtex
 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-us...@lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macports-users



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to configure macports Lyx

2010-07-16 Thread Dan Ports

Will respond to your other questions later (because I might change the
answers in the meantime :-) but thought I'd answer this one first...

On Fri, Jul 16, 2010 at 09:54:32AM -0600, Srinath Vadlamani wrote:
  /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/

By default, the texlive port (+medium) does not install a full
installation of TeX Live, unlike MacTeX. This is because a full
installation is large and we'd like to support installing only the
needed components.

You can get a list of other available texlive ports with
'port list texlive-* and not installed' and install the ones you need.
texlive-publishers may be the one you're looking for in this case. If
you prefer, you can install the 'texlive' metaport with the +full
variant to get everything. 

For completeness, I should point out that users who really want to
cherry-pick the parts of texlive they install can also install 'texlive
+basic' or +minimal or even forgo the texlive metaport entirely, and
just install the ports they want.

Sounds like I should add a note to the metaport with this info.

Dan

-- 
Dan R. K. Ports  MIT CSAILhttp://drkp.net/
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to configure macports Lyx

2010-07-16 Thread Srinath Vadlamani
Very helpful.
Thanks.

On Fri, Jul 16, 2010 at 12:11 PM, Dan Ports dpo...@macports.org wrote:


 Will respond to your other questions later (because I might change the
 answers in the meantime :-) but thought I'd answer this one first...

 On Fri, Jul 16, 2010 at 09:54:32AM -0600, Srinath Vadlamani wrote:
   /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/

 By default, the texlive port (+medium) does not install a full
 installation of TeX Live, unlike MacTeX. This is because a full
 installation is large and we'd like to support installing only the
 needed components.

 You can get a list of other available texlive ports with
 'port list texlive-* and not installed' and install the ones you need.
 texlive-publishers may be the one you're looking for in this case. If
 you prefer, you can install the 'texlive' metaport with the +full
 variant to get everything.

 For completeness, I should point out that users who really want to
 cherry-pick the parts of texlive they install can also install 'texlive
 +basic' or +minimal or even forgo the texlive metaport entirely, and
 just install the ports they want.

 Sounds like I should add a note to the metaport with this info.

 Dan

 --
 Dan R. K. Ports  MIT CSAILhttp://drkp.net/


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users