[plt-scheme] slideshow, math formulas

From: Geoffrey S. Knauth (geoff at knauth.org)
Date: Fri Feb 29 22:54:24 EST 2008

On Feb 29, 2008, at 17:41, Matthew Flatt wrote:
> This package can help you generate images out of TeX formulas:
> http://planet.plt-scheme.org/display.ss?package=mrtex2im.plt&owner=pjmatos

mrtex2im is nice except it has some hard-coded paths (/usr/bin for  
latex, dvips and convert).

1. I can put in symlinks, e.g., /usr/bin/latex -> /usr/texbin/latex

2. I can edit mrtex2im.ss in a test area.

I tried #2 with this hackage in ~/.mzschemerc:

(let ((c (getenv "PLTCOLLECTS")))
   (putenv "PLTCOLLECTS"
           (string-append "/Users/gknauth/test/plt/collects/"
                          (if (string=? "3.99" (substring (version) 0  
                          (if c (string-append ":" c) ""))))

but that didn't do anything useful.  (I use both v372 and v3.99.)

3. I can edit mrtex2im.ss where planet put it:

(build-path (find-system-path 'addon-dir) (version) "collects")
=> #<path:/Users/gknauth/Library/PLT Scheme/>

except then does it rebuild the .zo files automatically?

The /usr/texbin path comes from the new TeX Live distribution since  
teTeX support is discontinued.

For now I've opted for #1.


Posted on the users mailing list.