summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-16 22:35:41 +0000
committerKarl Berry <karl@freefriends.org>2011-09-16 22:35:41 +0000
commit6d95b4a2c1bbdaea1a3802c822808f476ac5703b (patch)
tree1abf9117bf53f2de53fbcc62c352acc92780365b /Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx
parentb7f762397f5df2d732326713423e31e1bf91b903 (diff)
l3kernel 2828 (15sep11)
git-svn-id: svn://tug.org/texlive/trunk@23983 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx49
1 files changed, 24 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx
index 8ed5fa7a137..85932bfcfce 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3bootstrap.dtx
@@ -9,7 +9,7 @@
%%
%% http://www.latex-project.org/lppl.txt
%%
-%% This file is part of the "expl3 bundle" (The Work in LPPL)
+%% This file is part of the "l3kernel bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%%
%% The released version of this bundle is available from CTAN.
@@ -83,7 +83,7 @@
{\def\ExplFileDate{#2}}
\protected\def\GetIdInfoAuxSVN#1\relax#2-#3-#4\relax#5Z\relax
{\def\ExplFileDate{#2/#3/#4}}
-\GetIdInfo$Id: l3bootstrap.dtx 2687 2011-08-29 19:48:45Z joseph $
+\GetIdInfo$Id: l3bootstrap.dtx 2798 2011-09-10 15:42:13Z will $
{L3 experimental bootstrap code}
%</package>
%<*driver>
@@ -126,9 +126,9 @@
% As the modules use a coding syntax different from standard
% \LaTeXe{} it provides a few functions for setting it up.
%
-% \begin{function}{\ExplSyntaxOn, \ExplSyntaxOff}
+% \begin{function}[updated = 2011-08-13]{\ExplSyntaxOn, \ExplSyntaxOff}
% \begin{syntax}
-% \cs{ExplSyntaxOn} \meta{code} \cs{ExplSyntaxOff}
+% \cs{ExplSyntaxOn} \meta{code} \cs{ExplSyntaxOff}
% \end{syntax}
% The \cs{ExplSyntaxOn} function switches to a category code
% r{\'e}gime in which spaces are ignored and in which the colon (|:|)
@@ -140,7 +140,7 @@
%
% \begin{function}{\ExplSyntaxNamesOn, \ExplSyntaxNamesOff}
% \begin{syntax}
-% \cs{ExplSyntaxNamesOn} \meta{code} \cs{ExplSyntaxNamesOff}
+% \cs{ExplSyntaxNamesOn} \meta{code} \cs{ExplSyntaxNamesOff}
% \end{syntax}
% The \cs{ExplSyntaxOn} function switches to a category code
% regim{\'e} in which the colon (|:|) and underscore (|_|) are treated as
@@ -154,8 +154,7 @@
% \begin{function}{\ProvidesExplPackage, \ProvidesExplClass, \ProvidesExplFile}
% \begin{syntax}
% |\RequirePackage{expl3}| \\
-% \cs{ProvidesExplPackage} \Arg{package} \Arg{date} \Arg{version}
-% ~~\Arg{description}
+% \cs{ProvidesExplPackage} \Arg{package} \Arg{date} \Arg{version} \Arg{description}
% \end{syntax}
% These functions act broadly in the same way as the \LaTeXe{} kernel
% functions \cs{ProvidesPackage}, \cs{ProvidesClass} and
@@ -163,7 +162,7 @@
% \cs{ExplSyntaxOn} for the remainder of the code with the file. At the
% end of the file, \cs{ExplSyntaxOff} will be called to reverse this.
% (This is the same concept as \LaTeXe{} provides in turning on
-% \cs{makeatletter} within package and class code.)
+% \tn{makeatletter} within package and class code.)
% \end{function}
%
% \begin{function}{\GetIdInfo}
@@ -181,7 +180,7 @@
%
% To summarize: Every single package using this syntax should identify
% itself using one of the above methods. Special care is taken so that
-% every package or class file loaded with \cs{RequirePackage} or alike
+% every package or class file loaded with \tn{RequirePackage} or alike
% are loaded with usual \LaTeXe{} category codes and the \LaTeX3 category code
% scheme is reloaded when needed afterwards. See implementation for
% details. If you use the \cs{GetIdInfo} command you can use the
@@ -223,11 +222,11 @@
% \end{macrocode}
%
% For \LuaTeX{} the extra primitives need to be enabled before
-% they can be use. No \cs{ifdefined} yet, so do it the old-fashioned
-% way. The primitive \cs{strcmp} is simulated using some \Lua{}
+% they can be use. No \tn{ifdefined} yet, so do it the old-fashioned
+% way. The primitive \tn{strcmp} is simulated using some \Lua{}
% code, which currently has to be applied to every job as the \Lua{}
% code is not part of the format. Thanks to Taco Hoekwater for this
-% code. The odd \cs{csname} business is needed so that the later
+% code. The odd \tn{csname} business is needed so that the later
% deletion code will work.
% \begin{macrocode}
%<*initex>
@@ -281,7 +280,7 @@
%</package>
% \end{macrocode}
%
-% For \LuaTeX{} the functionality of the \cs{pdfstrcmp} primitive
+% For \LuaTeX{} the functionality of the \tn{pdfstrcmp} primitive
% needs to be provided: the \pkg{pdftexmcds} package is used to
% do this if necessary. At present, there is also a need to deal
% with some low-level allocation stuff that could usefully be added
@@ -438,8 +437,8 @@
% \end{macro}
%
% \begin{macro}{\@pushfilename, \@popfilename}
-% The idea here is to use \LaTeXe{}'s \cs{@pushfilename} and
-% \cs{@popfilename} to track the current syntax status. This can be
+% The idea here is to use \LaTeXe{}'s \tn{@pushfilename} and
+% \tn{@popfilename} to track the current syntax status. This can be
% achieved by saving the current status flag at each push to a stack,
% then recovering it at the pop stage and checking if the code
% environment should still be active.
@@ -496,7 +495,7 @@
% The pop auxiliary function removes the first item from the stack,
% saves the rest of the stack and then does the test. As
% \cs{ExplSyntaxOff} is already defined as a protected macro, there
-% is no need for \cs{noexpand} here.
+% is no need for \tn{noexpand} here.
% \begin{macrocode}
%<*package>
\expandafter\edef\csname\detokenize{expl_status_pop:w}\endcsname#1#2\@nil
@@ -535,10 +534,10 @@
%</package>
% \end{macrocode}
%
-% \subsection{The \cs{pdfstrcmp} primitive in \XeTeX{}}
+% \subsection{The \tn{pdfstrcmp} primitive in \XeTeX{}}
%
-% Only \pdfTeX{} has a primitive called \cs{pdfstrcmp}. The \XeTeX{}
-% version is just \cs{strcmp}, so there is some shuffling to do.
+% Only \pdfTeX{} has a primitive called \tn{pdfstrcmp}. The \XeTeX{}
+% version is just \tn{strcmp}, so there is some shuffling to do.
% \begin{macrocode}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdfstrcmp\endcsname\relax
@@ -548,7 +547,7 @@
%
% \subsection{Engine requirements}
%
-% The code currently requires functionality equivalent to \cs{pdfstrcmp}
+% The code currently requires functionality equivalent to \tn{pdfstrcmp}
% in addition to \eTeX{}. The former is therefore used as a test for
% a suitable engine.
% \begin{macrocode}
@@ -592,7 +591,7 @@
%
% \begin{macro}{\ExplSyntaxNamesOn, \ExplSyntaxNamesOff}
% These can be set up early, as they are not used anywhere in the
-% package or format itself. Using an \cs{edef} here makes the
+% package or format itself. Using an \tn{edef} here makes the
% definitions that bit clearer later.
% \begin{macrocode}
\protected\edef\ExplSyntaxNamesOn
@@ -627,7 +626,7 @@
\endlinechar = 32 \relax
%</initex>
% \end{macrocode}
-%
+%
% \begin{macro}{\ExplSyntaxOn, \ExplSyntaxOff}
% The idea here is that multiple \cs{ExplSyntaxOn} calls are not
% going to mess up category codes, and that multiple calls to
@@ -649,7 +648,7 @@
\char_set_catcode:nn { 95 } { \char_value_catcode:n { 95 } }
\char_set_catcode:nn { 124 } { \char_value_catcode:n { 124 } }
\char_set_catcode:nn { 126 } { \char_value_catcode:n { 126 } }
- \tex_endlinechar:D =
+ \tex_endlinechar:D =
\tex_the:D \tex_endlinechar:D \scan_stop:
\bool_set_false:N \l_expl_status_bool
\cs_set_protected_nopar:Npn \ExplSyntaxOff { }
@@ -663,7 +662,7 @@
\char_set_catcode_math_superscript:n { 94 } % circumflex
\char_set_catcode_letter:n { 95 } % underscore
\char_set_catcode_other:n { 124 } % pipe
- \char_set_catcode_space:n { 126 } % tilde
+ \char_set_catcode_space:n { 126 } % tilde
\tex_endlinechar:D = 32 \scan_stop:
\bool_set_true:N \l_expl_status_bool
}
@@ -673,7 +672,7 @@
% \end{macro}
%
% \begin{variable}{\l_expl_status_bool}
-% A flag to show the current syntax status.
+% A flag to show the current syntax status.
% \begin{macrocode}
%<*initex>
\chardef \l_expl_status_bool = 0 ~