[plt-scheme] scribble ultra beginner

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Apr 27 16:05:51 EDT 2010

On Tue, Apr 27, 2010 at 12:50 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
> Hi,
> I'm *really* just starting to try to use Scribble.
> my very elaborate test is as follows:
> ---
> #lang scribble/base
> @title{Hello world}
> This is hello world
> ---
> Now, if I click on HTML, it works (browser opens with the formatted page) but I get a warning:
>  [Output to /Users/etanter/Develop/Scheme/Scribble/test.html]
> 2010-04-27 13:46:15.034 osascript[31959:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
>        /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
> osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

Sorry, no ideas here. This is DrScheme trying to run "open" (the
commandline executable) and it appears that Adobe has tried to tell
mac os x about some kind of something that has confused it.

> any idea?
> 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.


Posted on the users mailing list.