Franck Pommereau

improved pyd, README skeleton

1 +PyTeX: a LaTeX package to call Python from LaTeX
2 +================================================
3 +
4 +(C) 2017 Franck Pommereau <franck.pommereau@ibisc.univ-evry.fr>
5 + GNU LGPL
6 +
7 +https://forge.ibisc.univ-evry.fr/fpom/pytex
8 +
9 +## Installation
10 +
11 +TODO
12 +
13 +## Usage
14 +
15 +TODO
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
81 \py@write{#2}% 81 \py@write{#2}%
82 \py@close 82 \py@close
83 \py@compile{eval}% 83 \py@compile{eval}%
84 + \expandafter\def\csname#1\endcsname{}%
84 \pyx{makedef("#1", "\py@last")}% 85 \pyx{makedef("#1", "\py@last")}%
85 } 86 }
86 87
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
3 \usepackage{pytex} 3 \usepackage{pytex}
4 \parindent=0pt 4 \parindent=0pt
5 5
6 -\def\hello{NOT DEFINED}
7 -
8 \begin{document} 6 \begin{document}
9 7
10 ***\pyv{" ".join(s.capitalize() for s in "hello world!".split())}*** 8 ***\pyv{" ".join(s.capitalize() for s in "hello world!".split())}***
......