[pdftex] pdftricks & slides font issue
Troy Goodson
Troy.D.Goodson at jpl.nasa.gov
Tue Apr 29 15:08:25 CEST 2003
pdftricks doesn't seem to use the right font in the slides document
class (should be sans serif). I've included an example, below. The
font I see looks like the font from article class. In fact, the
*fig1.tex file it makes uses the article class.
Did I not set something up right?
If I run the same example using LaTeX (w/o pdftricks, of course) the
correct font gets used.
I'm using pdftricks 1.15
\Fileversion$Revision: 1.15 $
\Filedate$Date: 2001/09/30 11:21:23 $
(I just downloaded it, today, from
ftp://tug.ctan.org/tex-archive/macros/latex2e/contrib/supported/
pdftricks.tar.gz)
and pdflatex, latex
This is TeX, Version 3.14159 (Web2C 7.4.5)
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
In fact, I'm using TeXShop and Gerben Wierda's TeXLive distribution.
[run pdflatex -shell-escape badfont.tex]
=-=-=-=-=-=[begin badfont.tex]=-=-=-=-=-=-=-=-
\documentclass{slides}
\usepackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\usepackage{pst-node}
\end{psinputs}
\begin{document}
S/C and Earth
\begin{pdfpic}
\begin{pspicture}(-.2,-.5)(5,8.5) \showgrid
\rput(1,0){\rnode{EAR}{Earth}}
\rput(1,4){ \rnode{SC}{S/C} }
\ncline{SC}{EAR}
\end{pspicture}
\end{pdfpic}
\end{document}
=-=-=-=-=-=[end badfont.tex]=-=-=-=-=-=-=-=-
Here's the file generated by pdftricks: badfont-fig1.tex
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
\documentclass{article}
\input tmp.inputs
\pagestyle{empty}
\usepackage{amssymb,amsbsy}
\begin{document}
\begin{pspicture}(-.2,-.5)(5,8.5) \showgrid
\rput(1,0){\rnode{EAR}{Earth}}
\rput(1,4){ \rnode{SC}{S/C} }
\ncline{SC}{EAR}
\end{pspicture}
\end{document}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[run latex okfont.tex]
=-=-=-=-=-=[begin OKfont.tex]=-=-=-=-=-=-=-=-
\documentclass{slides}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}
S/C and Earth
\begin{pspicture}(-.2,-.5)(5,8.5)
\rput(1,0){\rnode{EAR}{Earth}}
\rput(1,4){ \rnode{SC}{S/C} }
\ncline{SC}{EAR}
\end{pspicture}
\end{document}
=-=-=-=-=-=[end OKfont.tex]=-=-=-=-=-=-=-=-
More information about the pdftex
mailing list