<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Paulo,</div><div><br class="webkit-block-placeholder"></div>It turns out I needed the following symlinks for PLaneT package <font class="Apple-style-span" face="Monaco">mrtex2im</font> to work on my Mac:<div><br class="webkit-block-placeholder"></div><div><div><font class="Apple-style-span" face="Monaco">/usr/bin/convert -> /usr/texbin/convert</font></div><div><font class="Apple-style-span" face="Monaco">/usr/bin/dvips -> /usr/texbin/dvips</font></div><div><font class="Apple-style-span" face="Monaco">/usr/bin/latex -> /usr/texbin/latex</font></div><div><font class="Apple-style-span" face="Monaco"><br></font></div><div><font class="Apple-style-span" face="Monaco">/usr/bin/gs -> /opt/local/bin/gs</font></div><br><div>The first three were needed by <font class="Apple-style-span" face="Monaco">mrtex2im.ss</font> (or the module needed to be tweaked, or <font class="Apple-style-span" face="Monaco">PATH</font> modified):</div><div><br class="webkit-block-placeholder"></div><div>The last need (<font class="Apple-style-span" face="Monaco">gs</font>) was revealed when I temporarily removed the parameterization of <font class="Apple-style-span" face="Monaco">current-output-port</font> and<font class="Apple-style-span" face="Monaco"> current-error-port</font> to <font class="Apple-style-span" face="Monaco">(open-output-nowhere)</font> in <font class="Apple-style-span" face="Monaco">run-convert</font> and saw that:</div><div><br class="webkit-block-placeholder"></div><div><div><font class="Apple-style-span" face="Monaco">(make-object bitmap%</font></div><div><font class="Apple-style-span" face="Monaco"> (run-convert transparency anti-aliasing bgcolor resolution </font></div><div><font class="Apple-style-span" face="Monaco"> (run-latex/dvips tmp-file debug-latex-on?))</font></div><div><font class="Apple-style-span" face="Monaco"> 'png</font></div><div><font class="Apple-style-span" face="Monaco"> #f)</font></div><div><br class="webkit-block-placeholder"></div><div>was twice trying to call <font class="Apple-style-span" face="Monaco">gs</font> but wasn't finding it.</div><div><br class="webkit-block-placeholder"></div><div>Geoffrey</div><div><br class="webkit-block-placeholder"></div><div>On Sat, Mar 1, 2008 at 12:29 PM, I wrote to Paulo:<br><blockquote type="cite"><br></blockquote><blockquote type="cite"> This gives me "bitmap failed":<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> (module hello-world (lib "slideshow.ss" "slideshow")<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> (require (planet "mrtex2im.ss" ("pjmatos" "mrtex2im.plt" 1 3)))<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> (slide/title<br></blockquote><blockquote type="cite"> "How to Say Hello in Mathematics"<br></blockquote><blockquote type="cite"> (bitmap (tex2im #<<$<br></blockquote><blockquote type="cite"> \int_0^\lambda \frac{x^2}{\lambda-2} \textrm{d}x<br></blockquote><blockquote type="cite"> $<br></blockquote><blockquote type="cite"> ))))<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> This also gives me a little "bitmap failed" image:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> (require (lib "utils.ss" "texpict"))<br></blockquote><blockquote type="cite"> (bitmap (tex2im #<<$<br></blockquote><blockquote type="cite"> \int_0^\lambda \frac{x^2}{\lambda-2} \textrm{d}x<br></blockquote><blockquote type="cite"> $<br></blockquote><blockquote type="cite"> ))</blockquote></div></div></div></body></html>