1 | initial version |

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.

2 | No.2 Revision |

~~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.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.