Re: [NTG-pdftex] Fwd: Supressing PTEX.Fullbanner and Producer version strings
Hi Akira, hi all, (please cc, not on the list)
(2) New primitives \pdfinfoomitdate and \pdftrailerid. If \pdfinfoomitdate=1, date is omitted. If \pdftrailerid{somestring}, somestring is used as the trailer. It can be \pdftrailerid{}.
I am playing with this and found that it doesn't work without problems in ini files: $ pdftex -ini ***\relax entering extended mode *\input pdftexconfig.tex (/home/norbert/tl/2016/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex) *\pdfinfoomitdate = 1 *\pdfsuppressptexinfo = 1 *\pdftrailerid{} ! Missing { inserted. <to be read again> { <*> \pdftrailerid{ } ? *\pdftrailerid{} * So the *first* call to \pdftrailerid (and \pdfinfo the same!) fails but the second call works out. It seems that there is a problem withthe caatcode of the { which only gets set after the error handler is entered. That is current TeX Live source (svn) build. All the best Norbert (please cc, not on the list) ------------------------------------------------------------------------ PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live & Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ------------------------------------------------------------------------
Hi Norbert,
Hi Akira, hi all, (please cc, not on the list)
(2) New primitives \pdfinfoomitdate and \pdftrailerid. If \pdfinfoomitdate=1, date is omitted. If \pdftrailerid{somestring}, somestring is used as the trailer. It can be \pdftrailerid{}.
I am playing with this and found that it doesn't work without problems in ini files:
Apparently the catcodes of { and } are not defined in pdftexconfig.tex. They are defined in etex.src in the case of plain pdftex. Thanh assumes that one should use these primitives after the catcodes of { and } are defined. Best, Akira
Dear Akira, On Sa, 30 Apr 2016, Akira Kakuto wrote:
Apparently the catcodes of { and } are not defined in pdftexconfig.tex. They are defined in etex.src in the case of plain pdftex.
Thanks, ok I will use the following ini file for a new format pdflatex-reproducible any comments? % Norbert Preining 2016. Public domain. \input pdftexconfig.tex \pdfinfoomitdate = 1 \pdfsuppressptexinfo = 1 % catcodes are not set by now, we need to fix that \catcode `\{=1 \catcode `\}=2 \pdftrailerid{} \pdfinfo{/Producer (pdfTeX)} \scrollmode % we need to unset the catcodes again, otherwise the latex format complains \catcode `\{=0 \catcode `\}=0 \input latex.ltx \endinput All the best Norbert ------------------------------------------------------------------------ PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live & Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ------------------------------------------------------------------------
participants (2)
-
Akira Kakuto
-
Norbert Preining