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