[plt-scheme] SLaTeX: getting it to work

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Sun Nov 9 09:52:53 EST 2008

Okay, here's one way of getting a SLaTeX-time error.  Use \schemeinput
and name a non-existent source file.  For instance, add

Also, try \schemeinput{test.tex}.

to your source.  When a file called test.tex exists (say it just
contains "lambda"), the output is

GALIBIER ~/Desktop/T> slatex foo
SLaTeX v. 20050609
typesetting code[slatex.sty]..done

but when it doesn't,

slatex foo
SLaTeX v. 20050609
typesetting code[slatex.sty].process-scheme-file: test.tex doesn't exist
done

If you get that error, then at least we know that SLaTeX is walking
your source file and trying to process it.  Then the problem is almost
certainly with writing output.

Shriram


Posted on the users mailing list.