The dvisvgm package converts DVI, EPS and PDF files to SVG format.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/mgieseki/dvisvgm/releases/download/3.1.2/dvisvgm-3.1.2.tar.gz
Download MD5 sum: bceb859ea2a68e579b06bf259bbe5a53
Download size: 2.9 MB
Estimated disk space required: 311 MB (45 MB installed, add 958 MB for the tests)
Estimated build time: 0.8 SBU (add 0.5 SBU for the tests, both using parallelism=4)
Brotli-1.1.0, ghostscript-10.02.1, and Potrace-1.16
asciidoc-10.2.0 with xmlto-0.0.28 and libxslt-1.1.39 (see command explanations), dblatex (with the above) and xxHash (the current version is included in the tarball)
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 &&
makeTo test the results, issue: make check.
Now, as the root user:
make install
--with-kpathsea=$TEXLIVE_PREFIX: This allows
the build system to find the headers for kpathsea