source: pst/typesetting/dvisvgm.xml@ 616b6a18

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 616b6a18 was 0539191, checked in by Ken Moffat <ken@…>, 2 years ago

Update to dvisvgm-2.13.4.

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