summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/morewrites
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-09 00:39:48 +0000
committerKarl Berry <karl@freefriends.org>2013-01-09 00:39:48 +0000
commit3fc740c854c4e76d5598f6e6f398334d8de7be1a (patch)
treed8706ac0f03fde8ab219d88cbed88e0f97ae51d3 /Master/texmf-dist/source/latex/morewrites
parentbf049ea1fb4853d97ad94248e9544b249dab1406 (diff)
morewrites (8jan13)
git-svn-id: svn://tug.org/texlive/trunk@28767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/morewrites')
-rw-r--r--Master/texmf-dist/source/latex/morewrites/morewrites.dtx14
-rw-r--r--Master/texmf-dist/source/latex/morewrites/primargs.dtx11
2 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/morewrites/morewrites.dtx b/Master/texmf-dist/source/latex/morewrites/morewrites.dtx
index ba398da6481..5df1e58d848 100644
--- a/Master/texmf-dist/source/latex/morewrites/morewrites.dtx
+++ b/Master/texmf-dist/source/latex/morewrites/morewrites.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: morewrites.dtx Copyright (C) 2011-2012 Bruno Le Floch
+%% File: morewrites.dtx Copyright (C) 2011-2013 Bruno Le Floch
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -26,9 +26,9 @@
%
% \title{The \textsf{morewrites} package: \\
% Always room for a new \cs{write}\thanks{This
-% file has version number v0.2d, last revised 2012/12/05.}}
+% file has version number v0.2e, last revised 2013/01/08.}}
% \author{Bruno Le Floch}
-% \date{2012/12/05}
+% \date{2013/01/08}
%
% \maketitle
% \tableofcontents
@@ -94,9 +94,9 @@
%<*package>
% \begin{macrocode}
\RequirePackage {expl3} [2012/08/14]
-\RequirePackage {primargs} [2012/08/24]
+\RequirePackage {primargs} [2013/01/08]
\ProvidesExplPackage
- {morewrites} {2012/12/05} {0.2d} {Always room for a new write}
+ {morewrites} {2013/01/08} {0.2e} {Always room for a new write}
% \end{macrocode}
%
% \begin{macrocode}
@@ -517,7 +517,7 @@
\cs_new_protected:Npn \@@_immediate_write_closed:n #1
{
\@@_tex_immediate:w \@@_tex_write:w
- \if_num:w \g_@@_stream_int < \c_zero
+ \if_int_compare:w \g_@@_stream_int < \c_zero
-1
\else:
16
@@ -878,7 +878,7 @@
\cs_new:Npn \@@_newwrite:N #1
{
\int_gincr:N \g_@@_alloc_int
- \if_num:w \g_@@_alloc_int = \c_sixteen
+ \if_int_compare:w \g_@@_alloc_int = \c_sixteen
\int_gset:Nn \g_@@_alloc_int { 20 }
\fi:
\int_set_eq:NN \allocationnumber \g_@@_alloc_int
diff --git a/Master/texmf-dist/source/latex/morewrites/primargs.dtx b/Master/texmf-dist/source/latex/morewrites/primargs.dtx
index d015d9366d6..f6c3f78ce33 100644
--- a/Master/texmf-dist/source/latex/morewrites/primargs.dtx
+++ b/Master/texmf-dist/source/latex/morewrites/primargs.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: primargs.dtx Copyright (C) 2012 Bruno Le Floch
+%% File: primargs.dtx Copyright (C) 2012-2013 Bruno Le Floch
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -22,9 +22,9 @@
%
% \title{The \textsf{primargs} package: \\
% Parsing arguments of primitives\thanks{This
-% file has version number v0.2d, last revised 2012/12/05.}}
+% file has version number v0.2e, last revised 2013/01/08.}}
% \author{Bruno Le Floch}
-% \date{2012/12/05}
+% \date{2013/01/08}
%
% \maketitle
% \tableofcontents
@@ -150,7 +150,7 @@
% \begin{macrocode}
\RequirePackage {expl3} [2012/08/14]
\ProvidesExplPackage
- {primargs} {2012/12/05} {0.2d} {Parsing arguments of primitives}
+ {primargs} {2013/01/08} {0.2e} {Parsing arguments of primitives}
% \end{macrocode}
%
% \begin{macrocode}
@@ -561,7 +561,8 @@
% removes the first two words, and duplicates the remainder (either
% one character, or a word and a character), and the second auxiliary
% leaves the second piece in the definition (in both cases, the
-% character). Then loop with expansion.
+% character). Then loop with expansion. This technique would fail if
+% the character could be a space (character code~$32$).
% \begin{macrocode}
\cs_new_protected_nopar:Npn \@@_get_file_name_char:
{