Comments (7)
Please share a screenshot on the input.
from writetex.
from writetex.
If you remove the preamble, what will happen?
You can also comment out these lines and check the temporary folder to see what happened.
from writetex.
The problem is the variable tmp_dir passed to command xelatex.
The user name of my computer exceeds 8 characters. So the 'username' in the tmp_dir variable uses the short format "haohao~1" insteadly.
However, for some reason, the variable tmp_dir
passed to xelatex contains some spaces between ~ and 1. That's why xelatex throwed an error when reading the 'writetex.tex' file.
I changed the system's temp varible to another directory for the time being and writetex works again.
from writetex.
Thanks for updating. Do not know how xelatex
handles the short format path. If you find a solution for this issue, please make a PR. Thanks!
from writetex.
It's not the problem of xelatex. I have tried the command "xelatex c:\user\haohao~1.......writetex.tex", and xelatex works well.
The problem is the variable 'tmp_dir' passed to xelatex seems like:
`c:\user\haohao~
1......writetex.tex'
So xelatex just got the contents before 1.
from writetex.
I cannot find similar issue on internet. Python's mkstemp seems working correctly. If you have time, please try to find out a valid command by using custom latex command function.
from writetex.
Related Issues (20)
- Windows: unknown encoding: string-escape HOT 6
- WriteText won't output Figure HOT 5
- Won't render equations HOT 7
- update the "Latex source" field with the current selected equation in the drawing. HOT 2
- Add the option to use the "pdftocario" as the pdf to svg converter HOT 5
- ImportError: No module named inkex HOT 1
- update needed for Inkscape version 1.0 HOT 3
- 建议直接使用 mathjax 进行公式渲染 HOT 7
- dvisvgm maybe another possibility to convert dvi/pdf to svg
- Latex error : writetex.log not found HOT 4
- Path environment not set correctly when running from within a Mac OSX .app bundle. HOT 5
- Does not work with inkscape HOT 2
- Traceback after WriteTeX installation on Ubuntu HOT 4
- is there an option to re-edit latex? HOT 2
- FileNotFoundError HOT 2
- WriteTeX and Inkscape 1.2 HOT 8
- [Suggestion] handle_path function puts newpath before old os.environ["PATH"] is better. HOT 1
- Problem using the fourier package HOT 6
- Error reading temp file HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from writetex.