[latex3-commits] [l3svn] branch master updated: More write streams with LuaTeX v0.85

noreply at latex-project.org noreply at latex-project.org
Thu Nov 19 21:42:42 CET 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  0ab9117   More write streams with LuaTeX v0.85
0ab9117 is described below

commit 0ab911727c1898603d67860e12d9ea11db0afc25
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Nov 19 20:42:17 2015 +0000

    More write streams with LuaTeX v0.85
---
 l3kernel/l3file.dtx |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index dac5890..e3b750e 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -1227,18 +1227,26 @@
 %   transcript file (\cs{c_term_iow}).
 %    \begin{macrocode}
 \cs_new_eq:NN \c_log_iow  \c_minus_one
-\int_const:Nn \c_term_iow { 128 }
+\int_const:Nn \c_term_iow { 127 }
 %    \end{macrocode}
 % \end{variable}
 %
 % \begin{variable}{\g_@@_streams_seq}
-%   A list of the currently-available input streams to be used as a stack.
-%   Things are done differently in format and package mode, so the starting
-%   point varies!
+%   A list of the currently-available output streams to be used as a stack.
 %    \begin{macrocode}
 \seq_new:N \g_@@_streams_seq
 %<*initex>
-\seq_gset_eq:NN \g_@@_streams_seq \g__ior_streams_seq
+\seq_set_eq:NN \g__ior_streams_seq
+\sys_if_engine_luatex:T
+  {
+    \int_compare:nNnT \luatex_luatexversion:D > { 80 }
+      {
+        \int_step_inline:nnnn { 16 } { 1 } { 127 }
+          {
+            \seq_gput_right:Nn \g__ior_streams_seq {#1}
+          }
+      }
+  }
 %</initex>
 %    \end{macrocode}
 % \end{variable}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list