dvisvgm-3.0.4

Introduction to dvisvgm

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

dvisvgm Dependencies

Required

Brotli-1.0.9, ghostscript-10.01.1, and Potrace-1.16

Recommended

Optional

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

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

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:

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

ln -svf $TEXLIVE_PREFIX/lib/libkpathsea.so /usr/lib: Without this, the program will not link correctly,

--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