[OS X TeX] What happened to Graphics_In_Plain_TeX?

Bruno Voisin Bruno.Voisin at hmg.inpg.fr
Thu Sep 26 11:18:51 EDT 2002



Le jeudi, 26 sep 2002, à 16:54 Europe/Paris, Bernd Thaller a écrit :

> I'd like to use pdf-graphics in plain TeX and until a month ago the  
> method
> described in the folder Graphics_In_Plain_TeX of the TeXShop  
> distribution
> worked fine for me.
> Now I suddenly get strange error messages (details below). I can't even
>
> [snip]
>
> When I typeset the example file I get the following error message:
>
> This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
> (./example.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/ 
> pdftex.cfg}
> Babel <v3.7h> and hyphenation patterns for american, french, german,  
> ngerman, d
> utch, nohyphenation, loaded.
> (./graphicx.tex (./miniltx.tex)
> (/usr/local/teTeX/share/texmf/tex/latex/graphics/graphicx.sty
> (/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty)
> (/usr/local/teTeX/share/texmf/tex/latex/graphics/graphics.sty
> (/usr/local/teTeX/share/texmf/tex/latex/graphics/trig.sty)
> (/usr/local/teTeX/share/texmf/tex/latex/config/graphics.cfg)
> (/usr/local/teTeX/share/texmf/tex/latex/graphics/pdftex.def
> ! Undefined control sequence.
> l.1287 \endETEX
>
> ?

For me everything works and I get:

This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
(./example.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/ 
pdftex.cfg}
Babel <v3.7h> and hyphenation patterns for american, french, german,  
ngerman, d
utch, nohyphenation, loaded.
(./graphicx.tex (./miniltx.tex)
(/usr/local/teTeX/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf/tex/latex/config/graphics.cfg)
(/usr/local/teTeX/share/texmf/tex/latex/graphics/pdftex.def
(/usr/local/teTeX/share/texmf/tex/context/base/supp-pdf.tex
(/usr/local/teTeX/share/texmf/tex/context/base/supp-mis.tex
loading : Context Support Macros / Missing
)
loading : Context Support Macros / PDF
))))) <f1.pdf, id=1, 289.08pt x 177.66376pt> <use f1.pdf>  
[1{/usr/local/teTeX/s
hare/texmf.local/dvips/config/pdftex.map}{/usr/local/teTeX/share/ 
texmf.os/dvips
/config/Ttbbold.map}{/usr/local/teTeX/share/texmf.os/dvips/config/ 
wolfram.map}
<./f1.pdf>]  
)</usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on example.pdf (1 page, 9140 bytes).
Transcript written on example.log.

It looks like, at about the same time you get an error, in my case the  
context file supp-pdf.tex is read. Did you remove context support files  
(in directory /usr/local/teTeX/share/texmf/tex/context/base/)? The file  
pdftex.def, which is being processed when you get an error, contains  
near its end the lines:

% v0.02e: Restore catcodes of context letters.
% Not needed with current version of supp-pdf
% but protects against older versions.
\AtBeginDocument{%
   \edef\@tempa{%
     \catcode`\noexpand\!\the\catcode`\!
     \catcode`\noexpand\@\the\catcode`\@
     \catcode`\noexpand\?\the\catcode`\? }%
   \InputIfFileExists{supp-pdf}{}{}%
   \@tempa
}

which cause the file supp-pdf.tex to be read.

Bruno Voisin

-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the MacOSX-TeX mailing list