[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texlive-nonbin] 05/09: adjust sympytex python path (Closes: #824071)



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texlive-nonbin.

commit 0bf79d596ee61db2ce1a49f806e541f85396a68d
Author: Norbert Preining <preining@debian.org>
Date:   Thu May 12 10:05:38 2016 +0900

    adjust sympytex python path (Closes: #824071)
---
 texlive-extra/debian/changelog             |  3 ++-
 texlive-extra/debian/patches/series        |  1 +
 texlive-extra/debian/patches/sympytex-path | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/texlive-extra/debian/changelog b/texlive-extra/debian/changelog
index 3ddbd22..198c823 100644
--- a/texlive-extra/debian/changelog
+++ b/texlive-extra/debian/changelog
@@ -3,8 +3,9 @@ texlive-extra (2016.20160511-1) unstable; urgency=medium
   * add missing conflicts against xmltex/jadetex (Closes: #820736)
   * remove sympytexpackage files that are either licenses cc-by-sa-nc
     or do not have accompanying sources (Closes: #824068, #824069)
+  * adjust sympytex python path (Closes: #824071)
 
- -- Norbert Preining <preining@debian.org>  Thu, 12 May 2016 09:54:27 +0900
+ -- Norbert Preining <preining@debian.org>  Thu, 12 May 2016 10:05:06 +0900
 
 texlive-extra (2016.20160417-1) experimental; urgency=medium
 
diff --git a/texlive-extra/debian/patches/series b/texlive-extra/debian/patches/series
index 9afae44..6d3d782 100644
--- a/texlive-extra/debian/patches/series
+++ b/texlive-extra/debian/patches/series
@@ -6,3 +6,4 @@ fix-invoice.sty
 epstopdf-remove-pswrite
 fix-perl522-noise
 fix-algorithm2e
+sympytex-path
diff --git a/texlive-extra/debian/patches/sympytex-path b/texlive-extra/debian/patches/sympytex-path
new file mode 100644
index 0000000..f6833e5
--- /dev/null
+++ b/texlive-extra/debian/patches/sympytex-path
@@ -0,0 +1,23 @@
+---
+ texmf-dist/tex/latex/sympytexpackage/sympytex.sty |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- texlive-extra-2016.20160511.orig/texmf-dist/tex/latex/sympytexpackage/sympytex.sty
++++ texlive-extra-2016.20160511/texmf-dist/tex/latex/sympytexpackage/sympytex.sty
+@@ -43,13 +43,13 @@
+ \newwrite\ST@sf
+ \immediate\openout\ST@sf=\jobname.sympy
+ \newcommand{\ST@wsf}[1]{\immediate\write\ST@sf{#1}}
+-\iffalse
++%\iffalse
+ %% To get .sympy files to automatically change the Python path to find
+ %% sympytex.py, delete the \iffalse and \fi lines surrounding this and
+ %% change the directory below to where sympytex.py can be found.
+ \ST@wsf{import sys}
+-\ST@wsf{sys.path.insert(0, 'directory with sympytex.py')}
+-\fi
++\ST@wsf{sys.path.insert(0, '/usr/share/texlive/texmf-dist/scripts/sympytexpackage')}
++%\fi
+ \ST@wsf{import sympy}
+ \ST@wsf{import sympytex}
+ \ST@wsf{sympytex.openout('\jobname')}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texlive-nonbin.git


Reply to: