[pdftex] PDFTeX questions about fonts (plus .dvi vs. .pdf in
PDFTeX)
Heiko Oberdiek
oberdiek at uni-freiburg.de
Sun Feb 13 11:39:26 CET 2005
On Sat, Feb 12, 2005 at 07:25:13PM -0500, EvilborisNet at netscape.net wrote:
> 1. We can run PDFTeX in PDF generation mode. This is fine, except all
> figures are in .eps. I can convert them using epstopdf (though I
> have had in the past odd bounding box problems occasionally). The
> figures are currently inserted using epsf.tex (do not ask!). Is
> there a plain TeX compatible macro package for figure insertion
> that is reasonably portable between .dvi and .pdf generation modes
> of PDFTeX? I managed to hobble together a way to insert the figures
> directly using \pdfximage primitive, but that of course dies a
> horrible when in .dvi mode. Having separate code for the two mode
> does not sound attractive...
\input ifpdf.sty
\def\MyGraphicsInclusionCommand#1{%
\ifpdf
...
\else
...
\fi
}
Alternative: graphicx.sty does also work in plain TeX with the
help of miniltx.tex.
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list