[plt-scheme] scribble ultra beginner

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Tue Apr 27 20:38:26 EDT 2010

On Apr 27, 2010, at 4:05 PM, Robby Findler wrote:

> On Tue, Apr 27, 2010 at 12:50 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
>> 
>> If I click on PDF, I get no result, just an error:
>> run-pdflatex: could not find a `pdflatex' executable
>> 
>>  === context ===
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/private/run-pdflatex.ss:7:0: core
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/private/indirect-renderer.ss:38:8: for-loop
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/run.ss:90:0: build-docs
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/run.ss: [running body]
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/tools/drscheme-buttons.ss:24:3
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scheme/private/more-scheme.ss:158:2: call-with-break-parameterization
>> /Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scheme/private/more-scheme.ss:274:2: call-with-exception-handler
>> 
>> I understand this is a path problem, because I do have pdflatex:
>> $ which pdflatex
>> /usr/texbin/pdflatex
>> 
>> How can I configure scribble so that it finds pdflatex?
>> (I'm on mac os 10.6 with drscheme 4.2.5)
> 
> You can start drscheme from a shell that has the path set up. That's
> the best I know.

[If there is a mac guru listening, I'd like to know how I can configure the OS such that any application not launched from a terminal has access to /usr/texbin...]

Thanks, it seemed to work (no complaint of the style "not found"), but it fails for another reason now:

run-pdflatex: got error exit code

 === context ===
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/private/run-pdflatex.ss:25:2: loop
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/private/run-pdflatex.ss:7:0: core
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/private/indirect-renderer.ss:38:8: for-loop
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/run.ss:90:0: build-docs
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/run.ss: [running body]
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scribble/tools/drscheme-buttons.ss:24:3
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scheme/private/more-scheme.ss:158:2: call-with-break-parameterization
/Applications/_Extra/Devel/PLT Scheme v4.2.5/collects/scheme/private/more-scheme.ss:274:2: call-with-exception-handler

That doesn't seem to say much I'm afraid...

Any idea?

Thanks!

-- Éric



Posted on the users mailing list.