Dan,

Thanks. It does find the command, the output is below. I "fixed" the installation last night, but I don't know precisely what fixed it. I made softlinks in $SAGE_ROOT/local/bin, but that didn't appear to fix it. Then I just ran 'make' in $SAGE_ROOT and it worked. I did find some stale softlinks to a deleted fink version latex in /usr/bin (e.g. /usr/bin/latex -> /sw/bin/latex). I guess what I was wondering is if there's a simple config file where you can tell sage where to look for latex or whether you can only trigger the reconfiguration by running make (after the initial binary install of sage).

Chris

% latex -v
pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
kpathsea version 3.5.7
Copyright 2008 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2008 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.29; using libpng 1.2.29
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.02pl2

% command -v latex
/usr/texbin/latex

On Apr 2, 2010, at 3:56 AM, Dan Drake wrote:

On Thu, 01 Apr 2010 at 09:24PM -0700, Chris Kees wrote:
In the notebook I get errors evaluating %latex entries.  I get:

Error: LaTeX does not seem to be installed. Download it from ctan.org
and try again. None

I'm a new sage user running "Sage Version 4.3.1, Release Date:
2010-01-20" on Mac OS X snow leopard.

I have macports installed and used it to install texlive, which works
on regular latex files.  I have the same sage worksheet running in
other notebooks elsewhere so I know it's a problem with the machine's
environment or the sage installation.  Does anybody know how to fix
this?

In a terminal, if you type "latex -v", does it find the latex command?
What is the output of "command -v latex"?


Dan

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to