diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-07 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-07 03:01:05 +0000 |
commit | 8389f0bb8e6af2c5dcbfe3cdad746a9c170d1157 (patch) | |
tree | 3b49c58b6652468cb2c68b4bc8b57356bb449ebb /macros/luatex/latex/pyluatex/README.md | |
parent | 2ea2cee6498139387ba3c0815d105b4344c0fb50 (diff) |
CTAN sync 202111070301
Diffstat (limited to 'macros/luatex/latex/pyluatex/README.md')
-rw-r--r-- | macros/luatex/latex/pyluatex/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/luatex/latex/pyluatex/README.md b/macros/luatex/latex/pyluatex/README.md index 3165301bd8..feb77a04bc 100644 --- a/macros/luatex/latex/pyluatex/README.md +++ b/macros/luatex/latex/pyluatex/README.md @@ -8,10 +8,6 @@ LaTeX documents must be compiled with LuaLaTeX for this to work. ## Example 1\. LaTeX document `example.tex` -**Note:** PyLuaTeX starts Python 3 using the command `python3` by default. -If `python3` does not start Python 3 on your system, find the correct command -and replace `\usepackage{pyluatex}` with `\usepackage[executable={your python command}]{pyluatex}`. -For example, `\usepackage[executable=python.exe]{pyluatex}`. ```latex \documentclass{article} @@ -36,11 +32,15 @@ $\sqrt{371} = \py{math.sqrt(371)}$ \randint{2}{5} \end{document} ``` +**Note:** PyLuaTeX starts Python 3 using the command `python3` by default. +If `python3` does not start Python 3 on your system, find the correct command +and replace `\usepackage{pyluatex}` with `\usepackage[executable={your python command}]{pyluatex}`. +For example, `\usepackage[executable=python.exe]{pyluatex}`. + 2\. Compile using LuaLaTeX (shell escape is required) ``` lualatex -shell-escape example.tex ``` - **Note:** Running LaTeX with the shell escape option enabled allows arbitrary code to be executed. For this reason, it is recommended to compile trusted documents only. |