Bug#264394: tetex-bin: e-TeX is broken on registers > 255
Package: tetex-bin
Version: 2.0.2-17
Severity: normal
On a document of mine, too complex to be sent as a
minimal example, e-TeX seems broken with registers
after 255. The following input:
\makeatletter
\[ \AR = \boldsymbol{\AR}\show\z@\]
\show\z@
produces:
> \z@=\dimen263.
l.19 \[ \AR = \boldsymbol{\AR}\show\z@
\]
?
> \z@=\count4160.
l.20 \show\z@
Adding \tracingall provides absolutely no information about
\dimen263 or \z@.
Moreover, the following input:
\let\safezero=\z@
\show\safezero
\[ \AR = \boldsymbol{\AR}\show\z@\]
\show\z@
\show\safezero
produces:
> \safezero=\dimen263.
l.16 \show\safezero
?
LaTeX Font Warning: Font shape `U/wasy/b/n' in size <5> not available
(Font) Font shape `U/wasy/m/n' tried instead on input line 19.
> \z@=\dimen263.
l.19 \[ \AR = \boldsymbol{\AR}\show\z@
\]
?
> \z@=\count4160.
l.20 \show\z@
?
> \safezero=\count4160.
l.21 \show\safezero
?
Here is a minimal example (amsmath is required to show the bug):
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\makeatletter
\dimendef\z@=263\relax
\z@=0pt\relax
\[aa\]
\show\z@
\end{document}
My guess is that one of the "magical stuff" done to \z@ by
amsmath (and seems to be by other packages, and perhaps even
by the LaTeX kernel itself) makes e-TeX wrong.
Of course, the same example just runs fine in lambda (omega)
which also allows registers >255 (but have other bugs elsewhere).
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux achille 2.4.22 #4 SMP Tue Jan 27 18:24:18 CET 2004 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages tetex-bin depends on:
ii debconf 1.2.15 Debian configuration management sy
ii debianutils 2.6.2 Miscellaneous utilities specific t
ii dpkg 1.10.18 Package maintenance system for Deb
ii ed 0.2-19 The classic unix line editor
ii libc6 2.3.2.ds1-15 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.1-5 GCC support library
ii libice6 4.3.0-2 Inter-Client Exchange library
ii libkpathsea3 2.0.2-5.1 path search library for teTeX (run
ii libpaper1 1.1.14 Library for handling paper charact
ii libpng12-0 1.2.5.0-4 PNG library - runtime
ii libsm6 4.3.0-2 X Window System Session Management
ii libstdc++5 1:3.3.4-7 The GNU Standard C++ Library v3
ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r
ii libwww-ssl0 [libwww0] 5.4.0-9 The W3C-WWW library (SSL support)
ii libx11-6 4.3.0-7 X Window System protocol client li
ii libxaw7 4.2.1-3 X Athena widget set library
ii libxext6 4.3.0-2 X Window System miscellaneous exte
ii libxmu6 4.3.0-2 X Window System miscellaneous util
ii libxt6 4.3.0-2 X Toolkit Intrinsics
ii mime-support 3.19-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.3-2 Larry Wall's Practical Extraction
ii sed 4.0.7-3 The GNU sed stream editor
ii tetex-base 2.0.2a-2 Basic library files of teTeX
ii ucf 1.02 Update Configuration File: preserv
ii xlibs 4.3.0-2 X Window System client libraries m
ii zlib1g 1:1.2.1-1 compression library - runtime
-- debconf information:
* tetex-bin/hyphen: czech, german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], danish, dutch, finnish, french[=patois], greek, russian, spanish
tetex-bin/oldcfg: true
tetex-bin/upd_map: true
* tetex-bin/cnf_name:
tetex-bin/fmtutil: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
tetex-bin/userperm: false
tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
* tetex-bin/texmf: true
Reply to: