Comments (4)
It actually works correctly because your example creates a DVI file that contains the PS special header=
which requires the PS handler to be loaded:
[page 1 0 0 0 0 0 0 0 0 0]
push:
xxx: 'header=l3backend-dvips.pro'
pop:
...
You can prevent this e.g. with document class option dvisvgm
. The corresponding DVI file won't contain the PS special.
from dvisvgm.
I try to do the following, and it still would initialize ghostscript.
dvisvgm checks if Ghostscript is available when registering the PS special handler together with the other special handlers. This requires to dlopen the GS library if it's not directly linked to dvisvgm which could increase the execution time.
The PS handler itself is only initialized before processing the first PS special.
I'm not sure if it's easily possible to defer the GS check as well. I have to look into this. You can completely turn off the GS handler with --no-specials=ps
.
Also, the "textual format" or "dumped format" of the DVI looks interesting, how did you produce that?
That's the output of dviasm
.
from dvisvgm.
I've changed the registration of the PS special handler a bit so that it doesn't require to call Ghostscript any longer. GS functions are now only called when PS specials are processed.
from dvisvgm.
I try to do the following, and it still would initialize ghostscript.
pdflatex -jobname=d --output-format=dvi << 'EOF'
\documentclass[dvisvgm]{article}
\begin{document}
hello world
\end{document}
EOF
Also, the "textual format" or "dumped format" of the DVI looks interesting, how did you produce that? (edit: okay it's dvitype
.)
from dvisvgm.
Related Issues (20)
- Assertion violation + core dump HOT 3
- Raster instead of vector HOT 1
- Missing text from PDF >> SVG HOT 6
- Baseline incorrect with Chinese characters HOT 15
- Ghostscript 10.01.0+ support HOT 6
- Hyphen character missing when using luatex with DVI output HOT 5
- PDF -> SVG: Pixels cut-off on right border HOT 4
- pstricks: PostScript error: undefined in NodeScale HOT 7
- Request for reduced information verbosity level/flag HOT 6
- TL build patch: potrace HOT 2
- TL build patch: main src/Makefile.am HOT 1
- InvalidDVIFileException in upTeX DVI only on Solaris HOT 2
- color gradient missing in svg file HOT 4
- Breakage with libgs-10.02 creating svg file from asy. HOT 15
- 3D plots in PDFs generated with `interp` shading disappear from SVG HOT 1
- Unable to convert Japanese characters to SVG from DVI HOT 13
- Ghostscript sill not found (macOS) HOT 4
- Wrong clipping and viewport with multiple pages converted at once HOT 2
- element id overlap HOT 1
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 dvisvgm.