dvisvgm-3.6

Introduction to dvisvgm

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

[Note]

Note

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

Package Information

  • Download (HTTP): https://github.com/mgieseki/dvisvgm/releases/download/3.6/dvisvgm-3.6.tar.gz

  • Download MD5 sum: 46cf1f6d7092df0b65b68413ce19e1c2

  • Download size: 2.8 MB

  • Estimated disk space required: 268 MB (net 7 MB installed after overwriting files in $TEXLIVE_PREFIX/texmf-dist/, add 948 MB for the tests)

  • Estimated build time: 0.8 SBU (add 0.5 SBU for the tests, both using parallelism=4)

dvisvgm Dependencies

Required

Brotli-1.2.0, ghostscript-10.06.0, Potrace-1.16, and texlive-20250308

Recommended

Optional

asciidoc-10.2.1 with xmlto-0.0.29 and libxslt-1.1.45, dblatex (with the above) and xxHash (the current version is included in the tarball)

Installation of dvisvgm

The test suite assumes that a modern version of Python has been installed as plain python. Changing this to use python3 requires a sed to one Makefile.in file.

Install dvisvgm by running the following commands:

TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&

sed -i 's/python/&3/' tests/Makefile.in         &&
./configure                                     \
    --bindir=$TEXLIVE_PREFIX/bin/${TEXARCH}     \
    --mandir=$TEXLIVE_PREFIX/texmf-dist/doc/man \
    --with-kpathsea=$TEXLIVE_PREFIX             &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--with-kpathsea=$TEXLIVE_PREFIX: This allows the build system to find the headers for kpathsea

Contents

Installed Programs: dvisvgm
Installed Libraries: None
Installed Directories: None

Short Descriptions

dvisvgm

converts DVI, EPS and PDF files to the SVG format