Comments (6)
Can try to use preamble file instead of "trade above as contents". Giving a path for the preamble file, and implementing the solution on stack overflow.
from writetex.
Thanks for the quick answer. I have tried a preamble file, but the result is the same. The proposed solution on stack overflow is that "The problem are the packages fourier and lmodern. You have lo load lmodern before fourier". However, I do not use the package lmodern. Is it possible that this package is loaded by the script writetex.py after my entry of fourier? In fact, reading the code of writetex.py, I guess the only package loaded by writetex.py is geometry.sty, is that right? I have tried also to put \usepackage{fourier} directly on writetex.py after or before \usepackage{geometry} (to see whether there might be some incompatibility between both packages) but the result is the same.
from writetex.
Because this plugin only automating the work flow, you problem should be something wrong with the TeX code. You can first try to produce the result you want in a TeX file, then copy to the plugin.
from writetex.
The TeX code is very simple:
\usepackage{fourier} in the preamble, and
Compiling this outside the WriteTex plugin displays this equation correctly; inside WriteTex, however, the "=" sign disappears.
Thank you in any case for your fantastic plugin.
from writetex.
I have tried again your idea of trying to produce first the result in a TeX file. The problem I find is that the Preamble File that WriteTeX asks for is not completely independent of writetex.py. For example, I write the file header.inc, put it in the extensions folder of Inkscape (where I have writetex.py) and ask WriteTeX to load it by putting "header.inc" in the field "Preamble File". My "header.inc" file starts with "\documentclass{memoir}". When I run WriteTeX, it gives the message
"C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
! LaTeX Error: Two \documentclass or \documentstyle commands.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
l.4 \documentclass{
memoir}
Therefore, WriteTeX loads something (at least the documentclass) before executing the Preamble File. Since I do not know what exactly WriteTeX loads (which packages) before executing the Preamble, I cannot tell it to reproduce exactly the code that works independently in a TeX file.
from writetex.
If this is the case, I think the problem maybe from the document class. You can try to change the template lines in writetex.py to see whether the symbol can display.
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
- error 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
- IndexError on use HOT 1
- 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.