summaryrefslogtreecommitdiff
path: root/luatexbase-regs.dtx
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 17:51:58 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-28 17:51:58 +0200
commitac711f548b737f64e710fc392691a3cdfb802879 (patch)
tree0f8afd6464a6b4fa632eefeabf154a54d20a6e68 /luatexbase-regs.dtx
parentb15ce057e0f76715604c6760cd9475bcaaf34ca5 (diff)
downloadluatexbase-ac711f548b737f64e710fc392691a3cdfb802879.tar.gz
Adjust documentation toc (attr, cctb, regs).
Diffstat (limited to 'luatexbase-regs.dtx')
-rw-r--r--luatexbase-regs.dtx12
1 files changed, 9 insertions, 3 deletions
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