<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">All,<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>From: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">David Arnold <<a href="mailto:dwarnold45@suddenlink.net">dwarnold45@suddenlink.net</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Date: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">August 29, 2009 9:25:21 AM PDT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>To: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Graphics with PSTricks <<a href="mailto:pstricks@tug.org">pstricks@tug.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Cc: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bruce Wagner <<a href="mailto:bruce-wagner@redwoods.edu">bruce-wagner@redwoods.edu</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Subject: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><b>Re: [pstricks] Combining PSTricks and Metapost</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: normal normal normal 12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Reply-To: </b></font><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Graphics with PSTricks <<a href="mailto:pstricks@tug.org">pstricks@tug.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div></div><div>Here are the results:<br><br>david-arnolds-macbook-pro:optimath darnold$ dvips -Ppdf -o fonttest-pics.ps fonttest.dvi<br>This is dvips(k) 5.97 Copyright 2008 Radical Eye Software (<a href="http://www.radicaleye.com">www.radicaleye.com</a>)<br>' TeX output 2009.08.29:0836' -> fonttest-pics.ps<br>dvips: Font lmsy10 used in file fonttest.1 is not in the mapping file.<br>dvips: Font rm-lmr12 used in file fonttest.1 is not in the mapping file.<br><br>david-arnolds-macbook-pro:optimath darnold$ sudo updmap-sys --enable Map=lm.map<br>Password:<br>updmap: This is updmap, version 1211742332<br>updmap: using transcript file `/usr/local/texlive/2008/texmf-var/web2c/updmap.log'<br>updmap: initial config file is `/usr/local/texlive/2008/texmf-config/web2c/updmap.cfg'<br>updmap: configuration (updmap.cfg) unchanged. Map files will not be recreated.<br>david-arnolds-macbook-pro:optimath darnold$ dvips -Ppdf -o fonttest-pics.ps fonttest.dvi<br><br>This is dvips(k) 5.97 Copyright 2008 Radical Eye Software (<a href="http://www.radicaleye.com">www.radicaleye.com</a>)<br>' TeX output 2009.08.29:0836' -> fonttest-pics.ps<br>dvips: Font lmsy10 used in file fonttest.1 is not in the mapping file.<br>dvips: Font rm-lmr12 used in file fonttest.1 is not in the mapping file.<br><br><br>On Aug 29, 2009, at 9:17 AM, Herbert Voss wrote:<br><br><blockquote type="cite">David Arnold schrieb:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">1. latex --shell-escape fonttest.tex<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2. dvips -o fonttest-pics.ps fonttest.dvi<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">what happens with<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">dvips -Ppdf -o fonttest-pics.ps fonttest.dvi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">3. ps2pdf -dAutoRotatePages=/None fonttest-pics.ps fonttest-pics.pdf<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">4. pdflatex tonttest.tex<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">on the adjusted file fonttest.tex (attached), the second step now produces:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This is dvips(k) 5.97 Copyright 2008 Radical Eye Software<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(<a href="http://www.radicaleye.com">www.radicaleye.com</a>)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">' TeX output 2009.08.29:0836' -> fonttest-pics.ps<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">dvips: Font lmsy10 used in file fonttest.1 is not in the mapping file.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">dvips: Font rm-lmr12 used in file fonttest.1 is not in the mapping file.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">obviously not a correct font mapping file. Try to run<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">updmap-sys --enable Map=lm.map<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Herbert<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">PSTricks mailing list<br></blockquote><blockquote type="cite"><a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br></blockquote><blockquote type="cite"><a href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a><br></blockquote><br>_______________________________________________<br>PSTricks mailing list<br><a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>http://tug.org/mailman/listinfo/pstricks<br></div></blockquote><div><br></div><div><br></div></div><div><div>On Aug 29, 2009, at 8:53 AM, David Arnold wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>All,<br><br>I truly thought Herbert Voss (see below) had the solution. However, using the sequence:<br><br>1. latex --shell-escape fonttest.tex<br><br>2. dvips -o fonttest-pics.ps fonttest.dvi<br><br>3. ps2pdf -dAutoRotatePages=/None fonttest-pics.ps fonttest-pics.pdf<br><br>4. pdflatex tonttest.tex<br><br>on the adjusted file fonttest.tex (attached), the second step now produces:<br><br>This is dvips(k) 5.97 Copyright 2008 Radical Eye Software (<a href="http://www.radicaleye.com">www.radicaleye.com</a>)<br>' TeX output 2009.08.29:0836' -> fonttest-pics.ps<br>dvips: Font lmsy10 used in file fonttest.1 is not in the mapping file.<br>dvips: Font rm-lmr12 used in file fonttest.1 is not in the mapping file.<br><br>My search for psfonts.map:<br><br>david-arnolds-macbook-pro:optimath darnold$ kpsewhich psfonts.map<br>/usr/local/texlive/2008/texmf-var/fonts/map/dvips/updmap/psfonts.map<br><br>The resulting pdf file is attached, including the perl script we use to compile. Our minus sign is still missing.<br><br>Acrobat reports these fonts in fonttest.pdf.<br><br><span><pastedGraphic.tiff></span><br><br><br><br><br>Any help appreciated.<br><br>David Arnold<br>College of the Redwoods<br><a href="http://msenux.redwoods.edu/~darnold/index.php">http://msenux.redwoods.edu/~darnold/index.php</a><br><br><br><span><fonttest.tex></span><span><OTlatex.pl></span><br><br>On Aug 29, 2009, at 3:45 AM, Herbert Voss wrote:<br><br><blockquote type="cite">David Arnold schrieb:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">We have developed a testing system that serves up quizzes to our<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">students on-the-fly. Our database contains both Metapost code and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">PSTricks code in some instances, so we are currently compiling with the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">attached script: OTlatex.pl.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've also provided a sample file, fonttest.tex. You can run the script<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">by first making it executable with chmod +x OTlatex.pl and executing:<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">with latest texlive2009 TeX uses by default the Latin Modern fonts<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">voss@shania:~/tmp> pdffonts fonttest.pdf<br></blockquote><blockquote type="cite">name                                 type              emb sub uni object ID<br></blockquote><blockquote type="cite">------------------------------------ ----------------- --- --- --- ---------<br></blockquote><blockquote type="cite">UZOZVS+LMRoman12-Bold                Type 1            yes yes no       6  0<br></blockquote><blockquote type="cite">JEHIDO+LMRoman12-Regular             Type 1            yes yes no       7  0<br></blockquote><blockquote type="cite">JEHIDO+LMRoman12-Regular             Type 1            yes yes no       8  0<br></blockquote><blockquote type="cite">TBEVRU+LMMathSymbols10-Regular       Type 1            yes yes no       9  0<br></blockquote><blockquote type="cite">WFWVWL+LMMathItalic12-Regular        Type 1            yes yes no      10  0<br></blockquote><blockquote type="cite">TBEVRU+LMMathSymbols10-Regular       Type 1            yes yes no      16  0<br></blockquote><blockquote type="cite">HPHXQC+LMRoman10-Regular             Type 1            yes yes no      19  0<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">However, you should use<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">\documentclass[12pt]{article}<br></blockquote><blockquote type="cite">\usepackage[T1]{fontenc}<br></blockquote><blockquote type="cite">\usepackage{lmodern}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">in your document. Then the lm fonts should be used by default.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Herbert<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">PSTricks mailing list<br></blockquote><blockquote type="cite">PSTricks@tug.org<br></blockquote><blockquote type="cite">http://tug.org/mailman/listinfo/pstricks<br></blockquote><br>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: http://www.tex.ac.uk/faq<br>List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/<br>List Archive: http://tug.org/pipermail/macostex-archives/<br>TeX on Mac OS X Website: http://mactex-wiki.tug.org/<br>List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex<br><br></div></blockquote></div><br></body></html>