[latex3-commits] [l3svn] branch master updated: Allow for # tokens in shell escape functions (LuaTeX)

noreply at latex-project.org noreply at latex-project.org
Sun May 28 21:13:16 CEST 2017


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  6f86060   Allow for # tokens in shell escape functions (LuaTeX)
6f86060 is described below

commit 6f86060f6318dc9e302ae7c10d7256e526da1f13
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun May 28 20:12:53 2017 +0100

    Allow for # tokens in shell escape functions (LuaTeX)
---
 l3kernel/l3candidates.dtx |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index ecc86a8..adf101d 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -2001,7 +2001,12 @@
   {
     \cs_new_protected:Npn \sys_shell_now:n #1
       {
-        \luatex_directlua:D { os.execute(" \luatex_luaescapestring:D { #1 } ") }
+        \luatex_directlua:D
+          {
+            os.execute("
+              \luatex_luaescapestring:D { \etex_detokenize:D {#1} }
+            ")
+          }
       }
   }
   {
@@ -2021,7 +2026,12 @@
   {
     \cs_new_protected:Npn \sys_shell_shipout:n #1
       {
-        \luatex_latelua:D { os.execute(" \luatex_luaescapestring:D { #1 } ") }
+        \luatex_latelua:D
+          {
+            os.execute("
+              \luatex_luaescapestring:D { \etex_detokenize:D {#1} }
+            ")
+          }
       }
   }
   {

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


More information about the latex3-commits mailing list