diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-16 19:57:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-16 19:57:46 +0000 |
commit | 4c38ce6b85080cb3ec3aa689cd8bdea837b0732b (patch) | |
tree | 2661e6ea45896f79f01d5a06dfc29466dfd942fb /Master/texmf-dist/tex/lualatex | |
parent | 7dae219cffdd41f06364c53711ced32311b69733 (diff) |
pyluatex (16jul21)
git-svn-id: svn://tug.org/texlive/trunk@59953 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.sty | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.sty b/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.sty index 752f19d0e76..b9ce3f97179 100644 --- a/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.sty +++ b/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.sty @@ -9,7 +9,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pyluatex}[2021/07/14 v0.1.2 Execute Python code on the fly] +\ProvidesPackage{pyluatex}[2021/07/15 v0.1.3 Execute Python code on the fly] \RequirePackage{expl3} \ExplSyntaxOn @@ -30,7 +30,8 @@ \directlua{pyluatex.start([==[\pyluatex@executable]==])} -\newenvironment{python}{\directlua{pyluatex.record_env()}}{} +\newenvironment{python}{\directlua{pyluatex.record_env()}}% +{\directlua{pyluatex.print_env()}} \newcommand*{\py}[1]{% \directlua{pyluatex.execute([==[print(str(#1), end='')]==], true)}% |