Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-12 Thread Julian Gilbey
On Wed, Feb 12, 2014 at 08:02:51AM +0900, Norbert Preining wrote: Hi Julian, python3 /usr/share/texlive/texmf-dist/scripts/pythontex/pythontex3.py \ --interpreter python:python3 $@ Ok, changed the script. Will rebuild later on with checkout from CTAN of today. Is the same

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-12 Thread Norbert Preining
On Mi, 12 Feb 2014, Julian Gilbey wrote: Indeed: depythontex has no similar option, so depythontex3 is actually unnecessary. Well, if you only want to run python3 it does not hurt to have depythontex3 as more or less python3 .../depythontex2.py somewhere. Anyway, I just found a file

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-11 Thread Julian Gilbey
On Mon, Feb 10, 2014 at 08:33:21AM +0900, Norbert Preining wrote: tags 737376 + pending thanks On So, 02 Feb 2014, Julian Gilbey wrote: Create a copy of pythontex.py in /usr/share/texlive/texmf-dist/scripts/pythontex, called say pythontex3-init.py (pythontex3.py is already used), which

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-11 Thread Norbert Preining
Hi Julian, After numerous failed attempts to clone the git repository (alioth keeps dropping https connections :-( ) I finally gave up and looked at Huu? Strange. I hadn't realised, but it's now been explained, that the (de)pythontex3.py scripts are just Python 3 translations of the

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-11 Thread Julian Gilbey
On Wed, Feb 12, 2014 at 07:33:01AM +0900, Norbert Preining wrote: Much more interesting would be if the /usr/bin/pythontex3 were to include the argument --interpreter python:python3 before $@, for Did you see the scripts I have added to the texlive-extra tree and that will be installed?

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-11 Thread Norbert Preining
Hi Julian, python3 /usr/share/texlive/texmf-dist/scripts/pythontex/pythontex3.py \ --interpreter python:python3 $@ Ok, changed the script. Will rebuild later on with checkout from CTAN of today. Is the same needed for depythontex3? I guess no? Norbert

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-09 Thread Norbert Preining
tags 737376 + pending thanks On So, 02 Feb 2014, Julian Gilbey wrote: Create a copy of pythontex.py in /usr/share/texlive/texmf-dist/scripts/pythontex, called say pythontex3-init.py (pythontex3.py is already used), which has the first line THere is already a script pythontex3.py in the

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-03 Thread Julian Gilbey
On Mon, Feb 03, 2014 at 11:21:17AM +0900, Norbert Preining wrote: On So, 02 Feb 2014, Julian Gilbey wrote: That way, pythontex will use Python 2.7 and pythontex3 will use Python 3.x. And we should recommend/depend/suggest both python2 and python3, or is there a different way? I would

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-02 Thread Julian Gilbey
Package: texlive-extra-utils Version: 2013.20131219-1 Tags: patch I just read about pythontex in TUGboat - it sounds great! I was a little surprised that it says, though, that it's only for Python 2.7. So I looked at the code, and it has support for Python 3.2+; yay! Unfortunately, though, the

Bug#737376: texlive-extra-utils: Debian pythontex can't use python3

2014-02-02 Thread Norbert Preining
On So, 02 Feb 2014, Julian Gilbey wrote: That way, pythontex will use Python 2.7 and pythontex3 will use Python 3.x. And we should recommend/depend/suggest both python2 and python3, or is there a different way? Norbert