summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/python/README
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-15 14:41:26 +0000
committerKarl Berry <karl@freefriends.org>2012-07-15 14:41:26 +0000
commita88eee4f63bd9cb82a7e71070f20fef1bc3d3bce (patch)
tree1cd5bcc95dcb939eba1c3076b0f82ec8bb9cee8d /Master/texmf-dist/doc/latex/python/README
parent80541a40bf4620d03027f5f89c159fb497a948a9 (diff)
new latex package python (12jun12)
git-svn-id: svn://tug.org/texlive/trunk@27064 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/python/README')
-rw-r--r--Master/texmf-dist/doc/latex/python/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/python/README b/Master/texmf-dist/doc/latex/python/README
new file mode 100644
index 00000000000..8e290a6e9f3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/python/README
@@ -0,0 +1,25 @@
+This package enables you to embed Python code (www.python.org) in LaTeX and insert the output into your LaTeX document.
+
+In you LaTeX document insert:
+
+\usepackage{python}
+...
+\begin{python}[optional.py]
+print("42")
+\end{python}
+
+The file optional.py is included together with the code between \begin{python} and \end{python}. Hence, you can extract common code to a shared file.
+
+Compile the document with the shell escape option and of course Python installed:
+
+% latex -shell-escape document.tex
+
+or insert/change "shell_escape = t" in your texmf.cnf
+
+If you have any comments, suggestions, or patches please email them to me.
+
+Please note that this material is subject to the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+See http://www.gnu.org/copyleft/gpl.html for the details of that license.
+
+Martin R. Ehmsen
+martin@ehmsen.org \ No newline at end of file