source: pst/typesetting/dvisvgm.xml@ 469426fe

ken/TL2024 trunk
Last change on this file since 469426fe was a596bd2, checked in by Ken Moffat <zarniwhoop@…>, 2 months ago

Tag dvisvgm.

On the 2023 source it works in my texlive tests without any
warning (the latest binary gave a warning and I was not sure
if that had worked) - it seems that using 'display' from ImageMagick
might have been the problem (always an unusual way of showing an
svg file), using firefox works ok.

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- This can be accessed via https://dvisvgm.de/Downloads/
8 NOT via the tags at github - those use autogen.sh -->
9 <!ENTITY dvisvgm-download-http "https://github.com/mgieseki/dvisvgm/releases/download/&dvisvgm-version;/dvisvgm-&dvisvgm-version;.tar.gz">
10 <!ENTITY dvisvgm-download-ftp " ">
11 <!ENTITY dvisvgm-md5sum "905f4000faebddb25c73886d09390f80">
12 <!ENTITY dvisvgm-size "2.9 MB">
13 <!ENTITY dvisvgm-buildsize "313 MB (45 MB installed, add 958 MB for the tests)">
14 <!ENTITY dvisvgm-time "0.8 SBU (add 0.5 SBU for the tests, both using parallelism=4)">
15]>
16
17<sect1 id="dvisvgm" xreflabel="dvisvgm-&dvisvgm-version;">
18 <?dbhtml filename="dvisvgm.html"?>
19
20
21 <title>dvisvgm-&dvisvgm-version;</title>
22
23 <indexterm zone="dvisvgm">
24 <primary sortas="a-dvisvgm">dvisvgm</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to dvisvgm</title>
29
30 <para>
31 The <application>dvisvgm</application> package converts DVI, EPS and
32 PDF files to SVG format.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&dvisvgm-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&dvisvgm-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &dvisvgm-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &dvisvgm-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &dvisvgm-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &dvisvgm-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">dvisvgm Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <!-- EDITORS: the docs say it needs clipper, but it uses an internal
76 modified version and cannot be built with system clipper -->
77 <xref linkend="brotli"/>,
78 <xref linkend="gs"/>,
79 <xref linkend="potrace"/>, and
80 <xref linkend="texlive"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="woff2"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="asciidoc"/> with
91 <xref linkend="xmlto"/> and
92 <xref linkend="libxslt"/> (see command explanations),
93 <ulink url="https://dblatex.sourceforge.net/">dblatex</ulink> (with the above) and
94 <!-- version checked for dvisvgm-2.9, 0.7.3 is mentioned in the
95 news and is the latest version at 2020-03-21
96 maybe change to 'a recent version' if that releases faster -->
97 <ulink url="https://github.com/Cyan4973/xxHash/releases/latest">xxHash</ulink>
98 (the current version is included in the tarball)
99 </para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of dvisvgm</title>
105
106<!-- Editors: This is in the book for svg output from asymptote. tested in
107 https://www.linuxfromscratch.org/~ken/asy-nontex-testfiles/asy-test-20200123.tar.xz
108 Can also be tested with texlive including tikz
109 https://www.linuxfromscratch.org/~ken/tex-testfiles/ https://www.linuxfromscratch.org/~ken/
110 Or, use use it to convert first or specified page(s) of a PDF to SVG - see the man page
111-->
112
113 <!-- symlink for kpathsea moved to texlive so that if it already exists for
114 evince from a previous year it will be recreated -->
115
116 <para>
117 The test suite assumes that a modern version of <application>Python</application>
118 has been installed as plain <command>python</command>. Changing this to use
119 <command>python3</command> requires a sed to one <filename>Makefile.in</filename>
120 file.
121 </para>
122
123 <para>
124 Install <application>dvisvgm</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>sed -i 's/python/&amp;3/' tests/Makefile.in &amp;&amp;
129./configure \
130 --bindir=$TEXLIVE_PREFIX/bin/${TEXARCH} \
131 --mandir=$TEXLIVE_PREFIX/texmf-dist/doc/man \
132 --with-kpathsea=$TEXLIVE_PREFIX &amp;&amp;
133make</userinput></screen>
134
135 <para>
136 To test the results, issue: <command>make check</command>.
137 </para>
138
139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>make install</userinput></screen>
144
145 </sect2>
146
147 <sect2 role="commands">
148 <title>Command Explanations</title>
149
150<!-- This is now done in Texlive
151 <para>
152 <command>ln -svf $TEXLIVE_PREFIX/lib/libkpathsea.so /usr/lib</command>:
153 Without this, the program will not link correctly,
154 </para>
155-->
156<!-- The autoreconf command is not used above anymore.
157 <para>
158 <command>autoreconf -fiv</command>: The versions of
159 <application>autoconf</application> and <application>automake</application>
160 used when this package was created are older than the current versions in
161 LFS. That causes 'make' to fail when it reaches the 'tests' subdirectory
162 unless autoreconf is forced to install missing (i.e. newer) auxiliary
163 files.
164 </para>
165-->
166
167 <!-- EDITORS: the doc target to rebuild the manpage (make man) is not
168 recognised unless invoked from the doc directory (unlike make pdf which
169 can be invoked from top-level but needs dblatex), and I see no utility
170 in explaining how to regenerate it. ken -->
171 <para>
172 <parameter>--with-kpathsea=$TEXLIVE_PREFIX</parameter>: This allows
173 the build system to find the headers for <filename
174 class="libraryfile">kpathsea</filename>
175 </para>
176
177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
186
187 <seglistitem>
188 <seg>
189 dvisvgm
190 </seg>
191 <seg>
192 None
193 </seg>
194 <seg>
195 None
196 </seg>
197 </seglistitem>
198 </segmentedlist>
199
200 <variablelist>
201 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
202 <?dbfo list-presentation="list"?>
203 <?dbhtml list-presentation="table"?>
204
205 <varlistentry id="dvisvgm-prog">
206 <term><command>dvisvgm</command></term>
207 <listitem>
208 <para>
209 converts DVI, EPS and PDF files to the SVG format
210 </para>
211 <indexterm zone="dvisvgm dvisvgm-prog">
212 <primary sortas="b-dvisvgm">dvisvgm</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 </variablelist>
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.