[racket] Scribble to latex
I am starting to play with scribble and have tried to generate a pdf document from the scribble source. The conversion to html worked fine.
When I hit the Scribble to PDF button I got:
Welcome to DrRacket, version 5.2.1 [3m].
Language: scribble/manual; memory limit: 128 MB.
scribble: loading xref
scribble: rendering
. . ../../../../../../../Applications/Racket/collects/scribble/private/run-pdflatex.rkt:7:0: run-pdflatex: could not find a `pdflatex' executable
>
So I looked for run-pdflatex.rkt and opened that and ran it - successfully. I am working on a Mac OS 1.6.8 - so I wondered whether pdflatex exists on it. Running in the Terminal, I tried:
vkp$ which pdflatex
/sw/bin/pdflatex
vkp$ which man
/usr/bin/man
so, the command is there. I checked my .bashrc and /sw/bin is in the PATH:
PATH=/bin:/usr/bin:/usr/vkp/bin:/usr/local/bin:/sw/bin:/Applications/Racket/bin:/usr/bin/ant/bin:/Applications/android-sdk-mac_86/tools:$PATH
Then I tried in the Interactions for the run-pdflatex.rkt
Welcome to DrRacket, version 5.2.1 [3m].
Language: scheme/base; memory limit: 128 MB.
> (find-executable-path "pdflatex")
#f
> (find-executable-path "man")
#<path:/usr/bin/man>
>
So - I have no idea why the path to pdflatex is not found. Any help is appreciated.
-- Viera