[racket] Scribble to latex
You can always try including the relative path. Something like:
(find-executable-path "pdflatex" "../../../sw/bin")
Doesn't OS X have a .profile? Maybe try defining the path there instead of
in .bashrc?
On Wed, Jun 6, 2012 at 2:40 PM, Viera Proulx <vkp at ccs.neu.edu> wrote:
> 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
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120606/f2e78f58/attachment.html>