# Revision history [back]

May do a

$which pdflatex  from the command line and note the path in which it is present. Then run $ sage -sh
$which pdflatex  to see if sage can find pdflatex. If it can not find, you need to add it to your PATH. But, if you can find pdflatex using the first which command, then you should be able to find it also from within sage. It is also possible that Lyx is not using pdflatex, but it is first creating a ps file and then converting that to a pdf file. If so, then you need to figure out how to install pdflatex in Mac. May Maybe do a $ which pdflatex


from the command line and note the path in which it is present. Then run

$sage -sh$ which pdflatex


to see if sage can find pdflatex. If it can not find, you need to add it to your PATH. But, if you can find pdflatex using the first which command, then you should be able to find it also from within sage.

It is also possible that Lyx is not using pdflatex, but it is first creating a ps file and then converting that to a pdf file. If so, then you need to figure out how to install pdflatex in Mac.