summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3io.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/l3io.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/l3io.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3io.dtx43
1 files changed, 24 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3io.dtx b/Master/texmf-dist/source/latex/l3kernel/l3io.dtx
index 880b32b5080..e406ab611a0 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3io.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3io.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.
@@ -35,7 +35,7 @@
%
%<*driver|package>
\RequirePackage{l3names}
-\GetIdInfo$Id: l3io.dtx 2724 2011-09-05 18:51:51Z bruno $
+\GetIdInfo$Id: l3io.dtx 2799 2011-09-10 15:46:33Z will $
{L3 Experimental input-output operations}
%</driver|package>
%<*driver>
@@ -156,7 +156,7 @@
% on expansion of \cs{iow_now:Nn}).
% \begin{texnote}
% \cs{iow_now:Nx} is a protected macro which expands to
-% the two \TeX{} primitives \cs{immediate}\cs{write}.
+% the two \TeX{} primitives \tn{immediate}\tn{write}.
% \end{texnote}
% \end{function}
%
@@ -208,7 +208,7 @@
% these functions suitable for including material finalised during
% the page building process (such as the page number integer).
% \begin{texnote}
-% \cs{iow_shipout_x:Nn} is the \TeX{} primitive \cs{write} renamed.
+% \cs{iow_shipout_x:Nn} is the \TeX{} primitive \tn{write} renamed.
% \end{texnote}
% \end{function}
%
@@ -237,10 +237,9 @@
%
% \section{Wrapping lines in output}
%
-% \begin{function}{\iow_wrap:xnnnN}
+% \begin{function}[updated = 2011-06-03]{\iow_wrap:xnnnN}
% \begin{syntax}
-% \cs{iow_wrap:xnnnN} \Arg{text} \Arg{run-on text} \Arg{run-on length}
-% ~~\Arg{set up} \meta{function}
+% \cs{iow_wrap:xnnnN} \Arg{text} \Arg{run-on text} \Arg{run-on length} \Arg{set up} \meta{function}
% \end{syntax}
% This function will wrap the \meta{text} to a fixed number of
% characters per line. At the start of each line which is wrapped,
@@ -271,7 +270,7 @@
% and MiK\TeX{} systems.
% \end{variable}
%
-% \begin{variable}{\c_catcode_other_space_tl}
+% \begin{variable}[added = 2011-09-05]{\c_catcode_other_space_tl}
% Token list containing one character with category code $12$,
% (\enquote{other}), and character code $32$ (space).
% \end{variable}
@@ -290,7 +289,7 @@
% \TeX{} according to the category codes in force when the function
% is used.
% \begin{texnote}
-% The is protected macro which expands to the \TeX{} primitive \cs{read}
+% The is protected macro which expands to the \TeX{} primitive \tn{read}
% along with the |to| keyword.
% \end{texnote}
% \end{function}
@@ -308,7 +307,7 @@
% is used.
% \begin{texnote}
% The is protected macro which expands to the \TeX{} primitives
-% \cs{global} \cs{read} along with the |to| keyword.
+% \tn{global}\tn{read} along with the |to| keyword.
% \end{texnote}
% \end{function}
%
@@ -325,7 +324,7 @@
% characters which are given category code $10$ (space).
% \begin{texnote}
% The is protected macro which expands to the \eTeX{} primitive
-% \cs{readline} along with the |to| keyword.
+% \tn{readline} along with the |to| keyword.
% \end{texnote}
% \end{function}
%
@@ -342,13 +341,13 @@
% characters which are given category code $10$ (space).
% \begin{texnote}
% The is protected macro which expands to the primitives
-% \cs{global} \cs{readline} along with the |to| keyword.
+% \tn{global}\tn{readline} along with the |to| keyword.
% \end{texnote}
% \end{function}
%
%\begin{function}[EXP,pTF]{\ior_if_eof:N}
% \begin{syntax}
-% \cs{ior_if_eof_p:N} \meta{stream}
+% \cs{ior_if_eof_p:N} \meta{stream} \\
% \cs{ior_if_eof:NTF} \meta{stream} \Arg{true code} \Arg{false code}
% \end{syntax}
% Tests if the end of a \meta{stream} has been reached during a reading
@@ -358,7 +357,7 @@
%\end{function}
%
% \section{Internal input--output functions}
-%
+%
% \begin{function}[EXP]{\if_eof:w}
% \begin{syntax}
% \cs{if_eof:w} \meta{stream}
@@ -370,7 +369,7 @@
% Tests if the \meta{stream} returns \enquote{end of file}, which is true
% for non-existent files. The \cs{else:} branch is optional.
% \begin{texnote}
-% This is the \TeX{} primitive \cs{ifeof}.
+% This is the \TeX{} primitive \tn{ifeof}.
% \end{texnote}
% \end{function}
%
@@ -409,7 +408,7 @@
\package_check_loaded_expl:
%</package>
% \end{macrocode}
-%
+%
% \subsection{Primitives}
%
% \begin{macro}{\if_eof:w}
@@ -1083,7 +1082,7 @@
\if_catcode:w X #9
\exp_after:wN \use_none_delimit_by_q_stop:w
\else:
- 9 +
+ 9 +
\exp_after:wN \str_length_loop:NNNNNNNNN
\fi:
}
@@ -1138,7 +1137,7 @@
\cs_new_protected_nopar:Npn \ior_to:NN #1#2
{ \tex_read:D #1 to #2 }
\cs_new_protected_nopar:Npn \ior_gto:NN #1#2
- { \pref_global:D \tex_read:D #1 to #2 }
+ { \tex_global:D \tex_read:D #1 to #2 }
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1150,7 +1149,7 @@
\cs_new_protected_nopar:Npn \ior_str_to:NN #1#2
{ \etex_readline:D #1 to #2 }
\cs_new_protected_nopar:Npn \ior_str_gto:NN #1#2
- { \pref_global:D \etex_readline:D #1 to #2 }
+ { \tex_global:D \etex_readline:D #1 to #2 }
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1163,10 +1162,12 @@
% This is much more easily done using the wrapping system: there is
% an expansion there, so a bit of a hack is needed.
% \begin{macrocode}
+%<*deprecated>
\cs_new_protected:Npn \iow_now_buffer_safe:Nn #1#2
{ \iow_wrap:xnnnN { \exp_not:n {#2} } { } \c_zero { } \iow_now:Nn #1 }
\cs_new_protected:Npn \iow_now_buffer_safe:Nx #1#2
{ \iow_wrap:xnnnN {#2} { } \c_zero { } \iow_now:Nn #1 }
+%</deprecated>
% \end{macrocode}
% \end{macro}
%
@@ -1175,10 +1176,12 @@
% As input--output operations are done using a stack, |new| operations seem
% out-of-place. They are therefore set up just to gobble the input.
% \begin{macrocode}
+%<*deprecated>
\cs_new_eq:NN \ior_new:N \use_none:n
\cs_new_eq:NN \ior_new:c \use_none:n
\cs_new_eq:NN \iow_new:N \use_none:n
\cs_new_eq:NN \iow_new:c \use_none:n
+%</deprecated>
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1187,8 +1190,10 @@
% \begin{macro}{\iow_open_streams:}
% Slightly misleading names.
% \begin{macrocode}
+%<*deprecated>
\cs_new_eq:NN \ior_open_streams: \ior_list_streams:
\cs_new_eq:NN \iow_open_streams: \iow_list_streams:
+%</deprecated>
% \end{macrocode}
% \end{macro}
% \end{macro}