summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3skip.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3skip.dtx55
1 files changed, 26 insertions, 29 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx b/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx
index fb622798ea6..e329b9bd45e 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3skip.dtx
@@ -38,7 +38,7 @@
\documentclass[full]{l3doc}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: l3skip.dtx 5659 2015-07-14 18:58:00Z joseph $
+\GetIdInfo$Id: l3skip.dtx 5893 2015-08-26 16:16:52Z mittelba $
{L3 Dimensions and skips}
%</driver|package>
%<*driver>
@@ -529,7 +529,7 @@
% Displays the value of the \meta{dimension} on the terminal.
% \end{function}
%
-% \begin{function}[added = 2011-11-22, updated = 2012-05-27]{\dim_show:n}
+% \begin{function}[added = 2011-11-22, updated = 2015-08-07]{\dim_show:n}
% \begin{syntax}
% \cs{dim_show:n} \Arg{dimension expression}
% \end{syntax}
@@ -718,7 +718,7 @@
% Displays the value of the \meta{skip} on the terminal.
% \end{function}
%
-% \begin{function}[added = 2011-11-22, updated = 2012-05-27]{\skip_show:n}
+% \begin{function}[added = 2011-11-22, updated = 2015-08-07]{\skip_show:n}
% \begin{syntax}
% \cs{skip_show:n} \Arg{skip expression}
% \end{syntax}
@@ -914,7 +914,7 @@
% Displays the value of the \meta{muskip} on the terminal.
% \end{function}
%
-% \begin{function}[added = 2011-11-22, updated = 2012-05-27]{\muskip_show:n}
+% \begin{function}[added = 2011-11-22, updated = 2015-08-07]{\muskip_show:n}
% \begin{syntax}
% \cs{muskip_show:n} \Arg{muskip expression}
% \end{syntax}
@@ -1014,7 +1014,7 @@
%
% \subsection{Creating and initialising \texttt{dim} variables}
%
-% \begin{macro}{\dim_new:N,\dim_new:c}
+% \begin{macro}{\dim_new:N, \dim_new:c}
% Allocating \meta{dim} registers \ldots
% \begin{macrocode}
%<*package>
@@ -1091,9 +1091,9 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\dim_set_eq:NN,\dim_set_eq:cN, \dim_set_eq:Nc,\dim_set_eq:cc}
+% \begin{macro}{\dim_set_eq:NN, \dim_set_eq:cN, \dim_set_eq:Nc, \dim_set_eq:cc}
% \begin{macro}
-% {\dim_gset_eq:NN,\dim_gset_eq:cN, \dim_gset_eq:Nc,\dim_gset_eq:cc}
+% {\dim_gset_eq:NN, \dim_gset_eq:cN, \dim_gset_eq:Nc, \dim_gset_eq:cc}
% All straightforward.
% \begin{macrocode}
\cs_new_protected:Npn \dim_set_eq:NN #1#2 { #1 = #2 }
@@ -1234,7 +1234,7 @@
}
\cs_new:Npn \@@_compare:w #1 \__prg_compare_error:
{
- \exp_after:wN \if_false: \tex_romannumeral:D -`0
+ \exp_after:wN \if_false: \exp:w \exp_end_continue_f:w
\@@_compare:wNN #1 ? { = \@@_compare_end:w \else: } \q_stop
}
\exp_args:Nno \use:nn
@@ -1278,22 +1278,22 @@
% \begin{macrocode}
\cs_new:Npn \dim_case:nnTF #1
{
- \tex_romannumeral:D
+ \exp:w
\exp_args:Nf \@@_case:nnTF { \dim_eval:n {#1} }
}
\cs_new:Npn \dim_case:nnT #1#2#3
{
- \tex_romannumeral:D
+ \exp:w
\exp_args:Nf \@@_case:nnTF { \dim_eval:n {#1} } {#2} {#3} { }
}
\cs_new:Npn \dim_case:nnF #1#2
{
- \tex_romannumeral:D
+ \exp:w
\exp_args:Nf \@@_case:nnTF { \dim_eval:n {#1} } {#2} { }
}
\cs_new:Npn \dim_case:nn #1#2
{
- \tex_romannumeral:D
+ \exp:w
\exp_args:Nf \@@_case:nnTF { \dim_eval:n {#1} } {#2} { } { }
}
\cs_new:Npn \@@_case:nnTF #1#2#3#4
@@ -1493,11 +1493,10 @@
%
% \begin{macro}{\dim_show:n}
% Diagnostics. We don't use the \TeX{} primitive \tn{showthe} to show
-% dimension expressions: this gives a more unified output, since the
-% closing brace is read by the dimension expression in all cases.
+% dimension expressions: this gives a more unified output.
% \begin{macrocode}
-\cs_new_protected:Npn \dim_show:n #1
- { \etex_showtokens:D \exp_after:wN { \dim_use:N \@@_eval:w #1 } }
+\cs_new_protected_nopar:Npn \dim_show:n
+ { \__msg_show_wrap:Nn \dim_eval:n }
% \end{macrocode}
% \end{macro}
%
@@ -1528,7 +1527,7 @@
%
% \subsection{Creating and initialising \texttt{skip} variables}
%
-% \begin{macro}{\skip_new:N,\skip_new:c}
+% \begin{macro}{\skip_new:N, \skip_new:c}
% Allocation of a new internal registers.
% \begin{macrocode}
%<*package>
@@ -1606,9 +1605,9 @@
% \end{macro}
%
% \begin{macro}
-% {\skip_set_eq:NN,\skip_set_eq:cN, \skip_set_eq:Nc,\skip_set_eq:cc}
+% {\skip_set_eq:NN, \skip_set_eq:cN, \skip_set_eq:Nc, \skip_set_eq:cc}
% \begin{macro}
-% {\skip_gset_eq:NN,\skip_gset_eq:cN, \skip_gset_eq:Nc,\skip_gset_eq:cc}
+% {\skip_gset_eq:NN, \skip_gset_eq:cN, \skip_gset_eq:Nc, \skip_gset_eq:cc}
% All straightforward.
% \begin{macrocode}
\cs_new_protected:Npn \skip_set_eq:NN #1#2 { #1 = #2 }
@@ -1735,11 +1734,10 @@
%
% \begin{macro}{\skip_show:n}
% Diagnostics. We don't use the \TeX{} primitive \tn{showthe} to show
-% skip expressions: this gives a more unified output, since the
-% closing brace is read by the skip expression in all cases.
+% skip expressions: this gives a more unified output.
% \begin{macrocode}
-\cs_new_protected:Npn \skip_show:n #1
- { \etex_showtokens:D \exp_after:wN { \tex_the:D \etex_glueexpr:D #1 } }
+\cs_new_protected_nopar:Npn \skip_show:n
+ { \__msg_show_wrap:Nn \skip_eval:n }
% \end{macrocode}
% \end{macro}
%
@@ -1859,8 +1857,8 @@
% }
% \begin{macro}
% {
-% \muskip_gset_eq:NN,\muskip_gset_eq:cN,
-% \muskip_gset_eq:Nc,\muskip_gset_eq:cc
+% \muskip_gset_eq:NN, \muskip_gset_eq:cN,
+% \muskip_gset_eq:Nc, \muskip_gset_eq:cc
% }
% All straightforward.
% \begin{macrocode}
@@ -1926,11 +1924,10 @@
%
% \begin{macro}{\muskip_show:n}
% Diagnostics. We don't use the \TeX{} primitive \tn{showthe} to show
-% muskip expressions: this gives a more unified output, since the
-% closing brace is read by the muskip expression in all cases.
+% muskip expressions: this gives a more unified output.
% \begin{macrocode}
-\cs_new_protected:Npn \muskip_show:n #1
- { \etex_showtokens:D \exp_after:wN { \tex_the:D \etex_muexpr:D #1 } }
+\cs_new_protected_nopar:Npn \muskip_show:n
+ { \__msg_show_wrap:Nn \muskip_eval:n }
% \end{macrocode}
% \end{macro}
%