[OS X TeX] Re: [pstricks] Combining PSTricks and Metapost
David Arnold
dwarnold45 at suddenlink.net
Sat Aug 29 17:59:01 CEST 2009
Forgot to attach fonttest.pdf:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonttest.pdf
Type: application/pdf
Size: 63290 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20090829/0ec0652c/attachment.pdf>
-------------- next part --------------
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
>
More information about the macostex-archives
mailing list