Python is a general-purpose, interpreted high-level programming language.

learn more… | top users | synonyms

2
votes
1answer
277 views

How can I add the Latex on python path?

I'm using Cent OS i386. I got a error message when I use matplotlib python package. RuntimeError: LaTeX was not able to process the following string: 'lp' So, I did yum install tetex. but it still ...
2
votes
1answer
164 views

Convert LaTeX to SymPy format

I'm trying to convert LaTeX to SymPy understandable format and I feel it's hard to comply all conditions. So Im wondering if you can suggest any tools, free or paid, that will be great. What I'm ...
1
vote
1answer
168 views

How to uncommand a piece of LaTeX document in plasTeX?

I need to get text and math expressions (ignoring tables, pictures and styling) from a set of LaTeX documents and represent them in html. Looks like plasTeX and MathJaX are enough for this task. As I ...
3
votes
0answers
141 views

figure formatting with python

I'm trying to use the python package to automate figure generation for figures containing multiple image files. My output seems okay, except that the imgaes are coming out as a single column, whereas ...
3
votes
0answers
303 views

Why isn't pgf honouring my font selections for matplotlib-generated graphics?

I wanted to use a euro symbol in my axis descriptions for matplotlib plots saved as pgf files with the pgf backend. When I use the following code: import numpy as np import matplotlib.pyplot as mplot ...
3
votes
0answers
187 views

run xelatex, different results when run from terminal and from python

Good evening! I would like run some service that generates images with dynamic content. Everyting is working perfectly using command line, but problems start when i call compiler from python code ...
2
votes
0answers
110 views

Pythontex Problem

I dont know how I cant solve the problem with pythonTeX, I've install Anaconda(python) and I thought that the packages were the problem but no, the problem is with LaTeX, TeXstudio is my tex-editor ...
2
votes
0answers
494 views

Cannot install pythontex

I have been trying to install pythontex on Windows 8 (64-bit) with MiKTeX installed. I have tried running "latex pythontex.ins" from the directory but it doesn't work. I have tried using the package ...
1
vote
0answers
63 views

How to fill the calendar from an excel file

I am creating a calendar with marked dates of influential personalities births and deaths with one sentence of description like "the death of mr. XY in YEAR". The "input" is an Excel file containing ...
1
vote
0answers
119 views

How to use pythontex.py from TeXnicCenter?

I have installed Windows 7, MiKTeX 2.9, TeXnicCenter 2.02 stable and Python 3.4.1 (distribution pyzo2015a). I use latex pythontex.ins form cmd to install the package pythontex: . It seems to ...
1
vote
0answers
61 views

Is there an option in PlasTeX to return the processed document, rather than writing it to a file?

Normally running plasTeX gives a file/files as output. However, I don't have the ability to save the documents to the filesystem. Looking through the documentation I have only found cases where the ...
1
vote
0answers
445 views

Installing Pythontex under windows

I have a newbie question. I want to install PythonTex. I am using TeXlive 2011 on windows OS. I do not know how to proceed. I read the PDF file in the directory, and searched the web for a ...
0
votes
0answers
142 views

Block comment using Latex's listings package to show Python code

I want to put a piece of Python code in Latex, using the listings package. In principle this works fine, except that it does not seem to recognize block comments, but these are shown as normal code. ...
0
votes
0answers
150 views

Embedding Python in LaTeX

As of today, what is the best package for embedding functional Python code in LaTeX? I've searched this site and others, which recommend the python, pythontex, and sympy packages, amongst others, but ...
0
votes
0answers
101 views

PyX with Chinese Characters / Xetex / encoding

I've been struggling with getting PyX to output some Chinese characters. The routes I have been trying are: Getting PyX to use Xetex changing my encoding using ...
0
votes
0answers
145 views

Installing Python on portable TexLive for Mac

I managed to install a portable texlive on my mac. Now I want to install pythontex on it as well. How can I tell the system to install pythontex on my portable folder or how can I install pythontex ...
0
votes
0answers
274 views

“missing autoprint content” error in PythonTeX

I just installed PythonTeX in MiKTeX/windows, with latest python 2.7. The installation looks fine to me. I got all the files in MiKTeX directory and the pythontex.bat file in miktex/bin. Then I try to ...
0
votes
0answers
221 views

get spyder-like color highlighting in pythontex

In my work with Python 3.4, I use spyder (anaconda3 2.0.1) and I like the highlighting of the Spyder editor (version 2.3). Is it possible to have the same highlighting scheme in latex documents ...
0
votes
0answers
265 views

Script to extract and copy from LaTeX files

I have a large LaTeX document, one main and a lot of \input{file} for each chapter. For each of these files I would like to copy them and only keep the Theorems, in other words I'd like to extract and ...