[pdftex] Bugs in protocode.tex
Julian Gilbey
J.D.Gilbey at qmul.ac.uk
Sun Feb 10 23:52:26 CET 2002
Further to my last email, I've figured out that my concerns have
already been addressed, but that there is a bug in protocode.tex which
breaks things:
[...]
\makeatletter
\newif\ifneedadjustprotcode
\def\adjustprotcode#1{%
\needadjustprotcodefalse
\ifnum\pdftexversion > 13
\ifnum \expandafter`\pdftexrevision > `g
\needadjustprotcodetrue
\fi
\else\ifnum\pdftexversion > 14
\needadjustprotcodetrue
\fi\fi
>>> Ouch! This fails for pdfTeX 1.00a!
>>> What this should do is test for \pdftexversion > 14 *before*
>>> testing for > 13, or test \ifnum\pdftexversion = 14 in the first
>>> test.
\ifneedadjustprotcode
[...]
\def\adjustcp#1#2#3{%
\setbox0=\hbox{%
\ifx#2\font\else#2\fi
\char#3}%
>>> Why not just do \setbox0=\hbox{\the#2\char#3} ?
[...]
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer
Queen Mary, Univ. of London see http://people.debian.org/~jdg/
http://www.maths.qmul.ac.uk/~jdg/ or http://www.debian.org/
Visit http://www.thehungersite.com/ to help feed the hungry
More information about the pdftex
mailing list