From ac711f548b737f64e710fc392691a3cdfb802879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Sun, 28 Mar 2010 17:51:58 +0200 Subject: Adjust documentation toc (attr, cctb, regs). --- luatexbase-regs.dtx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'luatexbase-regs.dtx') diff --git a/luatexbase-regs.dtx b/luatexbase-regs.dtx index 89c2313..3f043b1 100644 --- a/luatexbase-regs.dtx +++ b/luatexbase-regs.dtx @@ -117,6 +117,8 @@ See source file '\inFileName' for details. % \luatex. % \end{abstract} % +% \tableofcontents +% % \section{Documentation} % % Since the \plaintex and \latex formats are both frozen, they fail to take @@ -147,8 +149,6 @@ See source file '\inFileName' for details. % degraded performance due to implementation details, but with \luatex the % performance is uniform, so we just do it. % -% \clearpage -% % \section{Implementation} % % \begin{macrocode} @@ -238,7 +238,7 @@ See source file '\inFileName' for details. \fi % \end{macrocode} % -% \subsection{Main content} +% \subsection{Ensure etex.sty is loaded} % % If running \latex, load \file{etex.sty}. If not, either % \file{etex.src} was loaded at format generation time, or we cannot do @@ -272,6 +272,8 @@ See source file '\inFileName' for details. \else % \end{macrocode} % +% \subsection{Adapt range} +% % First, increase the upper bound for all kinds of registers. Copy code to % avoid defining a macro. % @@ -286,6 +288,8 @@ See source file '\inFileName' for details. \ifnum\count276=32768 \count276=65536 \fi % \end{macrocode} % +% \subsection{Patch macros that used \cs{mathchardef}} +% % |\box| registers and |\mark|s were previously defined % using |\mathchardef| since it had the biggest range under \etex % (15-bit number). However, this is not enough for \luatex's extended @@ -394,6 +398,8 @@ See source file '\inFileName' for details. \the\toks0 % \end{macrocode} % +% \subsection{Make room for inserts} +% % Finally, make allocation of |\count|, |\dimen|, |skip| and % |\box| start with numbers $>255$, in order to free the lower numbers % for insertions. Be careful with |\new...| macros which are -- cgit v1.2.3