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

learn more… | top users | synonyms

8
votes
0answers
171 views

LaTeX Visual Novel Engine: Does it exist?

Did anyone in the past use LaTeX to create a "visual novel" engine? I've been using http://www.renpy.org/ for rare presentations when I need functionality the beamer class in LaTeX doesn't easily ...
3
votes
0answers
49 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
59 views

How to running Pythontex ?

I have problem running pythontex , and my MWE like this : \documentclass[12pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{pythontex} \begin{document} \py{2+2} ...
2
votes
0answers
159 views

I can't get pythonTEX to work, too few arguments

I have tried to get the pythontex package to work in LaTeX but I get the typical(?) output, after I ran LaTeX, the python code and the LaTeX again. Then I found that I get "pythontex.py: error: too ...
1
vote
0answers
268 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
235 views

Font size change in svg included in pdflatex beamer document

I include an svg I created with matplotlib (see here how - at the bottom) using pyplot.savefig("test.svg") in my latex document. \documentclass{beamer} \usepackage{graphicx} \usepackage{svg} ...
0
votes
0answers
34 views

XeLaTeX does not compile a document when activated from Python 2.7.8

I am debugging a Python 2.7.8 script to compile a document with XeLaTeX. I have a MacTeX 2014 installation which works fine when activated through the command window or TeXmaker. Following is the ...
0
votes
0answers
31 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
56 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
46 views

Using tikz or pgfplots with plasTeX

I'm using plastex to convert LaTeX files to xml code. Is there any way to use tikz or pgfplots with plastex? plastex example1.tex compiles fine: %example1.tex \documentclass{article} ...
0
votes
0answers
89 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
64 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
91 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 ...
0
votes
0answers
55 views

error while running latex code with embedded python code

I am trying to run python code within my latex code. i tried simple hellow world example but i have occured through this error . my latex file name is pyinlt.tex Error: i can't find file ...
0
votes
0answers
299 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
106 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 ...