[NTG-pdftex] [bug] \pdfmapfile broken?

Hans Hagen pragma@wxs.nl
Sat, 13 Mar 2004 20:36:15 +0100


At 01:57 13/03/2004, you wrote:
>On Sat, 13 Mar 2004, Hartmut Henkel wrote:
>
> > In -ini mode, certain things have no catcode yet. Do:
> >
> > \pdfoutput=1
> > \catcode`\{=1
> > \catcode`\}=2
> > \pdfmapfile{pdftex.map} % not needed, default anyway
>
>...which gives an \errmessage from latex.ltx in
>
>pdfetex -ini  -jobname=pdflatex -progname=pdflatex *pdflatex.ini
>
>due to
>
>\ifnum\catcode`\{=1
>   \errmessage
>   {LaTeX must be made using an initex with no format preloaded}
>\fi
>
>so better leave \pdfmapfile{} out.

how about:

\begingroup
\catcode`\{=1
\catcode`\}=2
\pdfmapfile{pdftex.map}
\endgroup

Hans