[luatex] On category code tables

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sat Jul 10 23:51:41 CEST 2010


Le 10/07/2010 21:39, Steve Hafner a écrit :
> On Sat, Jul 10, 2010 at 11:59 AM, Joseph Wright
> <joseph.wright at morningstar2.co.uk> wrote:
>> At the same time, I don't see how I know which tables I can safely use. In a
>> LaTeX2e situation other packages might have already set up tables for their
>> own use. So to 'play nicely' I need to find out which tables are free before
>> I do \savecatcodetable and potentially trash someone else's work?
> 
> I'm guessing that the idea is for the macro system to manage the
> catcode tables; so for example LaTeX is responsible for providing a
> safe environment.

Sure, in the same way as Plain and LaTeX handle allocation of counters, boxes, etc.

> To that end you might have a look at sections 1.4
> and 3.3 of
> 
> http://mirror.ctan.org/macros/luatex/generic/luatextra/luatextra-reference.pdf

Hum, this document is largely obsolete (I should update it, at least by putting
a warning). I suggest you rather look at

http://mirror.ctan.org/macros/luatex/generic/luatexbase/luatexbase-cctb.pdf
http://mirror.ctan.org/macros/macros/latex/contrib/oberdiek/luatex.pdf

instead. Those two packages are currently incompatible, but Heiko and I plan to
merge them soon, we just didn't have the time for now. (IMO, we're likely to
adopt Heiko's mechanism.)

(By the way, can we hope to see it handled at the kernel level in a future l3
kernel?)

Manuel.


More information about the luatex mailing list