| 1 |
--- |
| 2 |
texmf-dist/tex/latex/sympytexpackage/sympytex.sty | 6 +++--- |
| 3 |
1 file changed, 3 insertions(+), 3 deletions(-) |
| 4 |
|
| 5 |
--- texlive-extra-2016.20160511.orig/texmf-dist/tex/latex/sympytexpackage/sympytex.sty |
| 6 |
+++ texlive-extra-2016.20160511/texmf-dist/tex/latex/sympytexpackage/sympytex.sty |
| 7 |
@@ -43,13 +43,13 @@ |
| 8 |
\newwrite\ST@sf |
| 9 |
\immediate\openout\ST@sf=\jobname.sympy |
| 10 |
\newcommand{\ST@wsf}[1]{\immediate\write\ST@sf{#1}} |
| 11 |
-\iffalse |
| 12 |
+%\iffalse |
| 13 |
%% To get .sympy files to automatically change the Python path to find |
| 14 |
%% sympytex.py, delete the \iffalse and \fi lines surrounding this and |
| 15 |
%% change the directory below to where sympytex.py can be found. |
| 16 |
\ST@wsf{import sys} |
| 17 |
-\ST@wsf{sys.path.insert(0, 'directory with sympytex.py')} |
| 18 |
-\fi |
| 19 |
+\ST@wsf{sys.path.insert(0, '/usr/share/texlive/texmf-dist/scripts/sympytexpackage')} |
| 20 |
+%\fi |
| 21 |
\ST@wsf{import sympy} |
| 22 |
\ST@wsf{import sympytex} |
| 23 |
\ST@wsf{sympytex.openout('\jobname')} |