[luatex] \catcodetable0

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Mar 27 04:41:39 CET 2010


On Sat, Mar 27, 2010 at 01:58:22AM +0100, Manuel Pégourié-Gonnard wrote:

> Sorry if I'm missing something obvious, but I fail to understand the
> behaviour of \catcodetable0. Consider the following test file.
> 
> \catcodetable0\relax
> \showthe\catcode64
> \catcode64 11
> \catcodetable0\relax
> \showthe\catcode64
> \initcatcodetable1
> \catcodetable1\relax
> \showthe\catcode64
> \bye
> 
> The "output" is 12, 11, 12 (LuaTeX from trunk). I would expect 12, 12, 12
> \(the catcodetable0 statement should override the preceding \catcode
> assignment, as does the later \catcodetable1).

The \catcode assignment has changed catcode
table 0 (until the current group is closed).
And the following \catcodetable0 has nothing to do,
because the current table is already table 0.

Yours sincerely
  Heiko Oberdiek


More information about the luatex mailing list