racket-cas icon indicating copy to clipboard operation
racket-cas copied to clipboard

Call latex-path in order to obtain LaTeX output

Open mardukbp opened this issue 7 years ago • 4 comments

While trying the examples in the README, I discovered that it is necessary to call

(latex-path "/path/to/pdflatex")

in order for render to work. It would be nice to add this so that people can experiment with this nice little CAS.

mardukbp avatar Oct 30 '16 19:10 mardukbp

Which OS do you use? Which path do you have to pdflatex?

soegaard avatar Oct 30 '16 19:10 soegaard

OS: Ubuntu 16.04

/usr/bin/pdflatex

mardukbp avatar Oct 30 '16 19:10 mardukbp

Hmm. I see that racket-poppler uses "latex" and not "pdflatex".

https://github.com/soegaard/racket-poppler/blob/master/racket-poppler/render-tex.rkt#L43

Maybe it is racket-poppler that needs to be changed?

soegaard avatar Oct 30 '16 20:10 soegaard

Yes. Actually I learned about latex-path in the README of racket-poppler.

mardukbp avatar Nov 01 '16 19:11 mardukbp