From fd2a9e871c98dc06c7a1e9eb7e1b098743cbf437 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 16 Jul 2023 17:43:58 +0200 Subject: gnu: Add texlive-dvisvgm. * gnu/packages/tex.scm (texlive-dvisvgm): New variable. --- gnu/packages/tex.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 85fa9971fb..fcad13abc5 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1911,6 +1911,31 @@ grid underneath the page material--very useful for measuring and eliminating paper feed errors!") (license license:gpl3+))) +(define-public texlive-dvisvgm + (package + (name "texlive-dvisvgm") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/man/man1/dvisvgm.1" + "doc/man/man1/dvisvgm.man1.pdf") + (base32 + "1fz3sa7p9wk2g1v0bpy87vz7nxwrh5bsfl4m734n6lhsh1bkj6fb"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/dvisvgm") + (synopsis + "Convert DVI, EPS, and PDF files to Scalable Vector Graphics format (SVG)") + (description + "Dvisvgm is a command line utility that converts TeX DVI as well as EPS +and PDF files to the XML-based Scalable Vector Graphics (SVG) format. It +provides full font support including virtual fonts, font maps, and sub-fonts. +If necessary, @command{dvisvgm} vectorizes Metafont's bitmap output in order +to always create lossless scalable output. The embedded SVG fonts can +optionally be replaced with graphics paths so that applications that do not +support SVG fonts are enabled to render the graphics properly.") + (license license:gpl3+))) + (define-public texlive-fontools (package (name "texlive-fontools") -- cgit v1.2.3