[racket] Scribble to latex

From: Viera Proulx (vkp at ccs.neu.edu)
Date: Wed Jun 6 14:40:58 EDT 2012

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
 vkp$ which man

so, the command is there. I checked my .bashrc and /sw/bin is in the 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")
> (find-executable-path "man")

So - I have no idea why the path to pdflatex is not found. Any help is appreciated.

-- Viera

Posted on the users mailing list.