Comments (9)
Please provide your input and version of script you use.
from writetex.
I'm using WriteTeX 1.6.2, Inkscape 0.92 r15371, and the input was
https://imgur.com/a/uBwXD
It gives the same error for xelatex too.
This is the complete error vindow:
Traceback (most recent call last):
File "writetex.py", line 347, in
e.affect()
File "D:\Programas\Inkscape\share\extensions\inkex.py", line 283, in affect
self.effect()
File "writetex.py", line 164, in effect
self.merge_pdf2svg_svg(svg_file)
File "writetex.py", line 282, in merge_pdf2svg_svg
doc = inkex.etree.parse(svg_file)
File "src\lxml\lxml.etree.pyx", line 3427, in lxml.etree.parse (src\lxml\lxml.etree.c:78767)
File "src\lxml\parser.pxi", line 1793, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:114608)
File "src\lxml\parser.pxi", line 1819, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:114955)
File "src\lxml\parser.pxi", line 1723, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:113867)
File "src\lxml\parser.pxi", line 1126, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:108614)
File "src\lxml\parser.pxi", line 584, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:102150)
File "src\lxml\parser.pxi", line 694, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:103800)
File "src\lxml\parser.pxi", line 622, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:102669)
IOError: Error reading file 'c:\users\victor\appdata\local\temp\writetex-znmejr\writetex.svg': failed to load external entity "file:/c:/users/victor/appdata/local/temp/writetex-znmejr/writetex.svg"
from writetex.
Do you have pdf2svg in your path? Try to run which pdf2svg
in terminal.
from writetex.
I suppose not, but I can't seem to find the "unofficial pdf2svg binaries" for Windows that you mention on your website.
from writetex.
pdf2svg
releases their official binaries recently, you can download from their repository. The unofficial one can be download from releases page.
from writetex.
Okay, I've installed the binaries, but now I can't even open Inkscape >_<
I get this error:
https://imgur.com/a/wPUOO
Which I guess it could be translated as "Can't find entry point of process g_network_monitor_get_network_metered in the dynamic-link library D:\Programas\Inkscape\libgiomm-2.4-1.dll"
from writetex.
I think you damaged inkscape program, you have to reinstall inkscape. Put pdf2svg into search path, do not copy the files into inkscape folder. They are not compiled with the same version of dynamic libraries, and normally inkscape folder does not in the path variable.
from writetex.
What do you mean by "search path"?
from writetex.
Check this webpage.
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
- [Suggestion] handle_path function puts newpath before old os.environ["PATH"] is better. HOT 1
- Problem using the fourier package HOT 6
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.