<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 -&gt; /usr/texbin/convert</font></div><div><font class="Apple-style-span" face="Monaco">/usr/bin/dvips -&gt; /usr/texbin/dvips</font></div><div><font class="Apple-style-span" face="Monaco">/usr/bin/latex -&gt; /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 -&gt; /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">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(run-convert transparency anti-aliasing bgcolor resolution&nbsp;</font></div><div><font class="Apple-style-span" face="Monaco">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (run-latex/dvips tmp-file debug-latex-on?))</font></div><div><font class="Apple-style-span" face="Monaco">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'png</font></div><div><font class="Apple-style-span" face="Monaco">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#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"> &nbsp;&nbsp;(require (planet "mrtex2im.ss" ("pjmatos" "mrtex2im.plt" 1 3)))<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;&nbsp;(slide/title<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;"How to Say Hello in Mathematics"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;(bitmap (tex2im #&lt;&lt;$<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"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;))))<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 #&lt;&lt;$<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"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;))</blockquote></div></div></div></body></html>