Questions tagged [dvisvgm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
38 views

Bad pdf conversion using dvisvgm [closed]

I'm trying to convert this pdf file to svg file. Using dvisvgm (2.9.1) with dvisvgm --pdf testfile.pdf, it gives me this ugly result. Using pdf2svg (0.2.3) gives me this better result. I tried some ...
4
votes
0answers
62 views

Using OpenType font with `dvilualatex` and `dvisvgm`

From the manual page of dvisvgm I learned that dvisvgm can convert and embed OpenType fonts in SVG output. Indeed, this perfectly works with the example code listed below, if I process it with ...
10
votes
2answers
367 views

How to get the opposite of {?x} and {?y}?

For certain applications, such as transformations of SVG objects, I need the opposite (times -1) of the current position's x and y coordinates, such as in \special{dvisvgm:raw <g id='myGroup' ...
3
votes
1answer
118 views

Backend inconsistent error when using xelatex with dvisvgm backend

The following example aims to produce an svg output, using tikz library animations. % main.tex \documentclass[tikz, dvisvgm]{standalone} \usetikzlibrary{animations} \begin{document} \tikz \node :...
2
votes
1answer
53 views

Generating SVG with element IDs

I'm creating a family tree using the genealogytree package. I intend to use the output for both print and an interactive web page. For the web page, I can generate an SVG by using dvilualatex and ...
1
vote
0answers
117 views

dvisvgm: DVI to SVG issue

I am trying to convert a DVI to SVG on Manjaro / Arch Linux, but it just won't work. I use the following latex (test.tex) to create a dvi file (test.div) \documentclass{standalone} \usepackage{tikz} ...
2
votes
1answer
50 views

Why does dvisvgm produce faulty svg code for some expressions involving fractions and certain fonts?

I would like to ask for help with figuring out exactly what triggers a weird phenomenon concerning rendering of textstyle fractions in certain fonts with dvisvgm (version 2.6.3, distributed as part of ...
2
votes
1answer
41 views

Glyph- (not stroke-) based SVG clipped at baseline

If I process the file \documentclass{standalone} \usepackage{DejaVuSans} \renewcommand*\familydefault{\sfdefault} \usepackage[T1]{fontenc} \begin{document} \fontsize{9mm}{10mm}\selectfont {\bfseries ...
2
votes
0answers
167 views

Compilation in DVI with driver 'dvisvgm' is not successful in MiKTeX [closed]

Environment: Windows 10 (x64); MiKTeX 2.9.7206-x64, GPL Ghostscript 9.25 (2018-09-13) Shared TeX installation; 'animate' package 2019/08/22; 'dvisvgm' 2.6.3 (utility from MiKTeX); 2017/...
1
vote
0answers
88 views

beamer and latex + dvisvgm

I have the following .tex file \documentclass{beamer} \begin{document} \frame{\frametitle{Title} \begin{itemize} \item On both pages \pause \item Only appears on the second page ...
4
votes
1answer
224 views

Phantom nodes for TikZ animation

I am writing an animation in TikZ, where I often have one node appearing in different contexts and want to animate the path it takes from one setting to the other, for now I am preparing the settings ...
2
votes
0answers
76 views

how to fix inline math alignment in svg mode when using tex4ht?

fyi, reported also to tex4ht bug tracking https://puszcza.gnu.org.ua/bugs/index.php?424 This is a problem I knew about for years now, and never got the chance to ask about it except now. When using ...
5
votes
1answer
191 views

how to improve SVG for math resolution in tex4ht?

make4ht now supports both mathjax and svg for math. I noticed that the math displayed in the browser when using mathjax mode looks sharper/crisper than when using svg for math. So this question ...
3
votes
0answers
80 views

Missing text when using dvisvgm in conjunction with an eps file

When running dvisvgm to convert a dvi file to svg I'm loosing the text information which is part of the eps file. When running pdflatex the output is correct. \documentclass{standalone} \usepackage{...
0
votes
0answers
1k views

MikTeX, Anki and Latex in Windows 10. Error executing dvipng. Sorry, but dvipng did not succeed

I have installed Anki and MikTeX in Windows 10 to create anki flashcards with LaTeX. I have installed MikTeX because I read that it's the best way to install dvipng and dvisvgm. After creating a ...
3
votes
2answers
493 views

How to fix PostScript error “undefined in resourcestatus”?

I created a batch file animator.bat taking two parameters (a TeX input filename without extension and the number of pages). rem animator.bat rem %1 TeX filename without extension rem %2 The number ...
2
votes
1answer
417 views

How to create an SVG animation from a single common input file that is also used by others?

I have a single input file as follows. % input.tex \documentclass[pstricks]{standalone} \usepackage{pst-plot} \begin{document} \multido{\i=25+25,\r=2.5+2.5}{144}{% \pspicture[algebraic,plotpoints=\i,...
2
votes
1answer
84 views

tex4ht conflict with math in table vs. outside table when using SVG

I found a problem using tex4ht with SVG for math. I needed to make a table and put math in it. I found that the same math inside the table looks bad compared to the math outside the table. After ...
0
votes
0answers
85 views

How to export a tikzpicture to svg with text tags? [duplicate]

Premise I don't know if this was already asked but I searched for it and only found something relevant but nothing that solved my problem. Probably the most related question is How to create non-...
1
vote
0answers
245 views

How can I make dvisvgm work with non-default fonts?

When running dvisvgm to convert a dvi to svg, I get the error WARNING: can't embed font 'mi-kurierri'. (Or something corresponding to any non-default font I try) It used to work, but I tried to ...
4
votes
1answer
257 views

Different SVG Output for mathematics symbols with dvisvgm used with htlatex or make4ht

The tex file with the following code is to be converted into html. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \(\implies\) and \(\iff\) \\ \(a \implies b\) \...