↧
Answer by David Carlisle for Python cannot compile LaTeX file
tex relative paths are relative to the working directory from where the program was started, not the directory of the main file. can you get python to do cd foo; xeletex fileinstead of xelatex foo/file?
View ArticleAnswer by user49901 for Python cannot compile LaTeX file
So I guess you get the error because you are compiling from the parent of the texfile when using python/conda, but from the texfile directory in texpad.You could either set the TEXINPUTS environment...
View ArticlePython cannot compile LaTeX file
I am using a CondaPython installation and Jupyter to work with a script producing a LaTeX file I want to compile. These are the relevant code lines:import subprocessxelatex=...
View Article