Questions tagged [dvisvgm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
103 views

Tikz patterns library and dvisvgm4ht

Does the dvisvgm4ht driver with make4ht support the TikZ Patterns library? The following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{patterns} \def\pgfsysdriver{pgfsys-dvisvgm4ht....
0
votes
0answers
57 views

Anki cloze card do not work with LaTeX [duplicate]

I am trying to get Anki to work with LaTeX. I have a custom card type with the following header: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
55 views

Link style in svg by dvisvgm output

dvisvgm converts my presentation with links indicated by a frame around it. My test file is named Hyper_Test.tex. I get this with following commands sequence: latex Hyper_Test.tex latex Hyper_Test....
0
votes
0answers
55 views

How can I modify the SVG's viewBox while using dvisvgm

I have been converting tex files into svg: lualatex --output-format=dvi flowchart.tex dvisvgm flowchart.dvi but the SVG's attributes always holds a view box with min-x, min-y value of viewBox='-72....
2
votes
1answer
68 views

why does dvisvgm fail on this tikz figure?

\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[scale=1.3] \draw[help lines] grid (5, 5); \draw[fill=magenta!10] (1, 1) rectangle (2, 2); \draw[fill=magenta!10] (2, 1) rectangle ...
2
votes
1answer
219 views

Making dvisvgm and Ghostscript from MacTeX talk to each other

I am trying to use dvisvgm to convert pdf files to svg files. When I call dvisvgm --pdf test.pdf (for example), I get the response ERROR: Ghostscript is required to process PDF files. Both programs ...
0
votes
1answer
103 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 ...
5
votes
0answers
146 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
387 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
462 views

LaTeX3 error “Backend request inconsistent” when using xelatex + dvisvgm

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
92 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
304 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
108 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
54 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
217 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
211 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
614 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
141 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
302 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
105 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
1answer
3k 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
590 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
745 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
96 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
252 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
275 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
348 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\) \...