[fptex] configuring graphics.cfg for pdfeTeX

Guy Worthington guyw@multiline.com.au
01 Sep 2001 22:33:55 +0800


Sorry for piggy-backing this message on your's Fabrice (my mail filter
is set up so that any message from me is sent to the kill file).  By
the way, thank you for a providing such a fast and stable TeX package.

I followed Brian Ripley's advice and put the following stripped
graphics.cfg in my local directory:

%-----graphics.cfg---------------------------------
\endinput
%--------------------------------------------------

Success! This gave me a new error about the not being able to find the
file polyline.

I tracked this error down (using a particulary inefficient iterative
method) to the wrapper graphicx.tex.  This file hardwires the graphics
driver to dvips, I hardwired it to pdftex.def.

pdfetex then bit me in the arse with another LaTeX error:

(c:/Local/TeX/texmf/tex/LaTeX/graphics/pdftex.def
! Undefined control sequence.
<argument> \@ifpackageloaded 
                             {graphicx}{\def \KV@Gin@bb {\GPT@warn {Option `...

I removed the error by pruning the command \@ifpackageloaded from
pdftex.def.

This compiled through to the end.

cd c:/Documents and Settings/guyw/My Documents/TeX/Scratch/
pdfetex trypdf
This is pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)
entering extended mode
(./trypdf.tex{c:/Local/TeX/texmf-var/pdftex/config/pdftex.cfg}
(c:/Local/TeX/texmf-local/tex/plain/plgraph/graphicx.tex
(c:/Local/TeX/texmf/tex/plain/plgraph/miniltx.tex)
(c:/Local/TeX/texmf/tex/latex/graphics/graphicx.sty
(c:/Local/TeX/texmf/tex/latex/graphics/keyval.sty)
(c:/Local/TeX/texmf/tex/latex/graphics/graphics.sty
(c:/Local/TeX/texmf/tex/latex/graphics/trig.sty) (./graphics.cfg)
(c:/Local/TeX/texmf-local/tex/LaTeX/graphics/pdftex.def
(c:/Local/TeX/texmf/tex/context/base/supp-pdf.tex
(c:/Local/TeX/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Missing
)
loading : Context Support Macros / PDF
))))) <polyline.pdf, id=1, 295.1025pt x 152.57pt> <use polyline.pdf> [1{c:/Loca
l/TeX/texmf/pdftex/config/psfonts.map}{c:/Local/TeX/texmf/pdftex/config/lw35.ma
p}
Warning: pdfetex.exe (file rawfonts.map): cannot open font map file

Warning: pdfetex.exe (file csfontd.mapfile): cannot open font map file
 <./polyline.pdf>] )<c:/Local/TeX/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on trypdf.pdf (1 page, 16956 bytes).
Transcript written on trypdf.log.

Compilation finished at Sat Sep 01 22:06:10

Since the mail I received was from authors of some of the most
activitely maintained packages on CTAN, I'd like to ask one further
question.  I think the plain interface to the graphicx package is
suffering bit-rot, who do I report the bug to?