summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-18 20:05:01 +0000
committerKarl Berry <karl@freefriends.org>2024-03-18 20:05:01 +0000
commitd752714fad79e11b79a6f00fba88f7633aa83db2 (patch)
tree7ac3b3430966436524c564843ea3a521cacbc15b /Master/texmf-dist/doc/latex
parent21ccace31d42de9b654d0afad8bbb8ca81b15565 (diff)
pythonhighlight (18mar24)
git-svn-id: svn://tug.org/texlive/trunk@70698 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/pythonhighlight/README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/pythonhighlight/README.md b/Master/texmf-dist/doc/latex/pythonhighlight/README.md
index 06fc5b02af3..1ed233417c5 100644
--- a/Master/texmf-dist/doc/latex/pythonhighlight/README.md
+++ b/Master/texmf-dist/doc/latex/pythonhighlight/README.md
@@ -25,9 +25,12 @@ The special method \pyth{__init__}...
```
Last but not least, you can load an external Python file with:
-
```tex
-\inputpython{python_file.py}{23}{50}
+\inputpythonfile{python_file.py}[23][50]
```
-
-to display the contents of the file ``python_file`` from line 23 to line 50.
+to display the contents of the file ``python_file`` from line 23 to line 50,
+or with
+```tex
+\inputpythonfile{python_file.py}
+```
+to input the whole Python file.