summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3box.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3box.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3box.dtx33
1 files changed, 13 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx
index 537ae210617..6c481ee323f 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3box.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3box.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3box.dtx Copyright (C) 2005-2013 The LaTeX3 Project
+%% File: l3box.dtx Copyright (C) 2005-2014 The LaTeX3 Project
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -33,13 +33,14 @@
%%
%% -----------------------------------------------------------------------
%
+%<*driver>
+\documentclass[full]{l3doc}
+%</driver>
%<*driver|package>
-\RequirePackage{l3bootstrap}
-\GetIdInfo$Id: l3box.dtx 4581 2013-07-28 08:38:50Z joseph $
+\GetIdInfo$Id: l3box.dtx 4728 2014-05-04 13:25:37Z joseph $
{L3 Experimental boxes}
%</driver|package>
%<*driver>
-\documentclass[full]{l3doc}
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
@@ -328,7 +329,7 @@
% \end{syntax}
% Shows full details of the content of the \meta{box} in the terminal.
% \end{function}
-%
+%
% \begin{function}[added = 2012-05-11]{\box_show:Nnn, \box_show:cnn}
% \begin{syntax}
% \cs{box_show:Nnn} \meta{box} \meta{intexpr_1} \meta{intexpr_2}
@@ -337,14 +338,14 @@
% \meta{intexpr_1} items of the box, and descending into \meta{intexpr_2}
% group levels.
% \end{function}
-%
+%
% \begin{function}[added = 2012-05-11]{\box_log:N, \box_log:c}
% \begin{syntax}
% \cs{box_show:N} \meta{box}
% \end{syntax}
% Writes full details of the content of the \meta{box} to the log.
% \end{function}
-%
+%
% \begin{function}[added = 2012-05-11]{\box_log:Nnn, \box_log:cnn}
% \begin{syntax}
% \cs{box_show:Nnn} \meta{box} \meta{intexpr_1} \meta{intexpr_2}
@@ -650,17 +651,9 @@
% \begin{macrocode}
%<*initex|package>
% \end{macrocode}
-%
-% \begin{macrocode}
-%<@@=box>
-% \end{macrocode}
%
% \begin{macrocode}
-%<*package>
-\ProvidesExplPackage
- {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
-\__expl_package_check:
-%</package>
+%<@@=box>
% \end{macrocode}
%
% The code in this module is very straight forward so I'm not going to
@@ -678,7 +671,7 @@
\cs_new_protected:Npn \box_new:N #1
{
\__chk_if_free_cs:N #1
- \newbox #1
+ \cs:w newbox \cs_end: #1
}
%</package>
\cs_generate_variant:Nn \box_new:N { c }
@@ -927,7 +920,7 @@
% \end{variable}
%
% \subsection{Viewing box contents}
-%
+%
% \TeX{}'s \tn{tex_showbox:D} is not really that helpful in many cases, and
% it is also inconsistent with other \LaTeX3{} \texttt{show} functions as it
% does not actually shows material in the terminal. So we provide a richer
@@ -946,7 +939,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-%
+%
% \begin{macro}{\box_log:N, \box_log:c}
% \begin{macro}{\box_log:Nnn, \box_log:cnn}
% Getting \TeX{} to write to the log without interruption the run is done by
@@ -970,7 +963,7 @@
% \end{macrocode}
% \end{macro}
% \end{macro}
-%
+%
% \begin{macro}[aux]{\@@_show:NNnn}
% The internal auxiliary to actually do the output uses a group to deal
% with breadth and depth values. The \cs{use:n} here gives better output