Skip to content

Commit

Permalink
Merge pull request #3 from Witiko/fix/replace-plain-tex-primitives
Browse files Browse the repository at this point in the history
Replace plain TeX primitives with `\iow_*` l3file functions
  • Loading branch information
Witiko committed Aug 8, 2022
2 parents 1542705 + 75a184a commit ff149d0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions lt3luabridge.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,11 @@
\g_luabridge_error_output_filename_str
\c_luabridge_default_error_output_filename_str
}
\cs:w newwrite \cs_end:
\l_@@_output_stream
\cs_new:Nn
\luabridge_now:n
{
\immediate \openout
\l_@@_output_stream
\iow_open:NV
\g_tmpa_iow
\g_luabridge_helper_script_filename_str
\msg_info:nnV
{ luabridge }
Expand Down Expand Up @@ -330,11 +328,11 @@
')
end
}
\immediate \write
\l_@@_output_stream
{ \exp_not:V \l_tmpb_tl }
\immediate \closeout
\l_@@_output_stream
\iow_now:NV
\g_tmpa_iow
\l_tmpa_tl
\iow_close:N
\g_tmpa_iow
\msg_info:nnV
{ luabridge }
{ executing-helper-script }
Expand Down Expand Up @@ -366,6 +364,12 @@
\cs_generate_variant:Nn
\msg_error:nnnn
{ nnvv }
\cs_generate_variant:Nn
\iow_open:Nn
{ NV }
\cs_generate_variant:Nn
\iow_now:Nn
{ NV }
\msg_new:nnn
{ luabridge }
{ writing-helper-script }
Expand Down

0 comments on commit ff149d0

Please sign in to comment.