code-google-com / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

pythontex #1419

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a document with content

\documentclass[a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pythontex}

\begin{document}

\begin{pycode}[m]
import numpy as np
a = 2
b = 3
\end{pycode}

\py[m]{a + b}

\end{document}

2. install pythontex and dependencies

3. create user defined command as

pdflatex -synctex=1 -interaction=nonstopmode %.tex|pythontex %.tex|pdflatex 
-synctex=1 -interaction=nonstopmode %.tex|evince %.pdf

4. run the same commands one by one on the command line, replacing % by the 
filename

What is the expected output? What do you see instead?

Should perform the same, however, the user defined command in TexMaker returns 
an error instead (Process exited with error(s), empty pdf created)

What version of the product are you using? On what operating system?

Texmaker 4.3 on Ubuntu 14.04 with texlive and anaconda Python

Original issue reported on code.google.com by ronald.p...@gmail.com on 17 Nov 2014 at 12:26

GoogleCodeExporter commented 9 years ago
can't be reproduced : you should check the command

Original comment by pa.brac...@gmail.com on 17 Nov 2014 at 5:33