Introduction to dvisvgm

The dvisvgm package converts DVI, EPS and PDF files to SVG format.

This package is known to build and work properly using an LFS-9.1 platform.

Package Information

dvisvgm Dependencies


ghostscript-9.52 and Potrace-1.16


asciidoc-8.6.9 with xmlto-0.0.28 and libxslt-1.1.34 (see command explanations), dblatex (with the above) and xxHash (the current version is included in the tarball)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dvisvgm

Installation of dvisvgm

To enable the build system to link to libkpathsea.so, as the root user create a symlink from /usr/lib:

ln -svf /opt/texlive/2019/lib/libkpathsea.so /usr/lib

Now install dvisvgm by running the following commands:

./configure                                    \
 --bindir=/opt/texlive/2019/bin/${TEXARCH}     \
 --mandir=/opt/texlive/2019/texmf-dist/doc/man \
 --with-kpathsea=/opt/texlive/2019            &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

ln -svf /opt/texlive/2019/lib/libkpathsea.so /usr/lib: Without this, the program will not link correctly,

--with-kpathsea=/opt/texlive/2019: This allows the build system to find the headers for kpathsea


Installed Program(s): dvisvgm
Installed Librar(y,ies): none
Installed Director(y,ies): none

Short Descriptions


converts DVI, EPS and PDF files to the SVG format

Last updated on 2020-03-21 20:53:31 -0500