|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T h
Length: 760 (0x2f8) Types: TextFile Names: »hackalloc.sty«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦this⟧ »latex-style/hackalloc.sty«
% -*-LaTeX-*- % hackalloc.sty: make allocation local for LaTeX. % This redefines the allocation primitive so _all_ allocation becomes % block-local after this is loaded; no idea what the side-effects of this % may be. If it breaks, change \alloc@ to \localloc@, and either redefine % just what you need to use \alloc@, or define \locnew* for local % allocation, as in the commented lines. % NOTE: lying again... this doesn't work for inserts which are still % global. %\def\locnewdimen{\localloc@1\dimen\dimendef\insc@unt} %\def\localloc@#1#2#3#4#5{\advance\count1#1 by 1 \def\alloc@#1#2#3#4#5{\advance\count1#1 by 1 \ch@ck#1#4#2% Check room \allocationnumber=\count1#1 #3#5=\allocationnumber \wlog{Locally \string#5=\string#2\the\allocationnumber}}