[bug] \pdfmapfile broken?
pdftex -ini This is pdfTeXk, Version 3.141592-1.12b-beta-20040309 (Web2C 7.5.2) (INITEX) %&-line parsing enabled. **\pdfoutput=1 output format initialized to DVI
*\pdfmapfile{pdftex.map} ! Missing { inserted. <to be read again> { <*> \pdfmapfile{ pdftex.map} ? Best regards Martin -- Martin Schröder, ms@artcom-gmbh.de ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany Voice +49 421 20419-44 / Fax +49 421 20419-10 http://www.artcom-gmbh.de
On Fri, 12 Mar 2004, Martin Schröder wrote:
pdftex -ini This is pdfTeXk, Version 3.141592-1.12b-beta-20040309 (Web2C 7.5.2) (INITEX) %&-line parsing enabled. **\pdfoutput=1 output format initialized to DVI
*\pdfmapfile{pdftex.map} ! Missing { inserted. <to be read again> { <*> \pdfmapfile{ pdftex.map} ?
In -ini mode, certain things have no catcode yet. Do: \pdfoutput=1 \catcode`\{=1 \catcode`\}=2 \pdfmapfile{pdftex.map} % not needed, default anyway Regards, Hartmut
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. Regards, Hartmut
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
On Sat, 13 Mar 2004, Hans Hagen wrote:
At 01:57 13/03/2004, you wrote:
so better leave \pdfmapfile{} out.
how about:
\begingroup \catcode`\{=1 \catcode`\}=2 \pdfmapfile{pdftex.map} \endgroup
Thanx, it works. I tried also \catcode`\{=12 after \pdfmapfile{}, but grouping is much nicer. Regards, Hartmut
At 21:37 13/03/2004, Hartmut Henkel wrote:
On Sat, 13 Mar 2004, Hans Hagen wrote:
At 01:57 13/03/2004, you wrote:
so better leave \pdfmapfile{} out.
how about:
\begingroup \catcode`\{=1 \catcode`\}=2 \pdfmapfile{pdftex.map} \endgroup
playing with the map file ... is it possible to make the parser a bit less sensitive: \pdfmapfile{+somename} \pdfmapfile{+ somename} : space makes pdftex thinks that no filename is given so, to make things less confusing for users, i suggest to ignore spaces between <trigger char> and <filename> Hans
\pdfmapfile{+somename}
\pdfmapfile{+ somename} : space makes pdftex thinks that no filename is given
so, to make things less confusing for users, i suggest to ignore spaces between <trigger char> and <filename>
I wonder about that one: the space is constituent of filenames... Ok usually, you don't put it at the beginning. But anyway, you could. Fabrice
At 11:29 18/03/2004, Fabrice Popineau wrote:
\pdfmapfile{+somename}
\pdfmapfile{+ somename} : space makes pdftex thinks that no filename is given
so, to make things less confusing for users, i suggest to ignore spaces between <trigger char> and <filename>
I wonder about that one: the space is constituent of filenames... Ok usually, you don't put it at the beginning. But anyway, you could.
but this will discourage it, so ... an option is to support " a fontmap file used by fabrice with dunny spaces in the name " like syntax as well Hans
I tested the 1.20 binaries from: http://www.fsci.fuk.kindai.ac.jp/~kakuto/win32-ptex/web2c75-e.html and when testing some inclusion, i get: Warning: pdfetex.exe (file cm.enc): cannot open encoding file for reading but
kpsewhich cm.enc e:/tex/texmf-local/pdftex/config/cm.enc
also, the 1 in offset is giving problems, i.e. i get shifted output. i think that this offset should be hard coded by default (when not set) otherwise we get problems with packages that are around Hans
participants (5)
-
Fabrice Popineau
-
Hans Hagen
-
Hartmut Henkel
-
Martin Schröder
-
Thomas Esser