source: pst/typesetting/dvisvgm.xml@ 845db20

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 845db20 was 9ed84ee, checked in by Ken Moffat <ken@…>, 2 years ago

Update to dvisvgm-2.13.3.

  • Property mode set to 100644
File size: 7.3 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 "5f41b3d26fa41be9ca8bd73447308fce">
12 <!ENTITY dvisvgm-size "3.0 MB">
13 <!ENTITY dvisvgm-buildsize "276 MB (41 MB installed, add 920 MB for the tests)">
14 <!ENTITY dvisvgm-time "0.8 SBU (add 0.6 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-->
116 <para>
117 To enable the build system to link to
118 <filename class="libraryfile">libkpathsea.so</filename>, as the
119 <systemitem class="username">root</systemitem> user create a symlink from
120 <filename class="directory">/usr/lib</filename>:
121 </para>
122
123<screen role="root"><userinput>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</userinput></screen>
124
125 <para>
126 The testsuite assumes that a modern version of <application>Python</application>
127 has been installed as plain <command>python</command>. Changing this to use
128 <command>python3</command> requires a sed to one <filename>Makefile.in</filename>
129 file.
130 </para>
131
132 <para>
133 Install <application>dvisvgm</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>sed -i 's/python/&amp;3/' tests/Makefile.in &amp;&amp;
138./configure \
139 --bindir=/opt/texlive/&texlive-year;/bin/${TEXARCH} \
140 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
141 --with-kpathsea=/opt/texlive/&texlive-year; &amp;&amp;
142make</userinput></screen>
143
144 <para>
145 To test the results, issue: <command>make check</command>.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
159 <para>
160 <command>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</command>:
161 Without this, the program will not link correctly,
162 </para>
163
164 <para>
165 <command>autoreconf -fiv</command>: The versions of
166 <application>autoconf</application> and <application>automake</application>
167 used when this package was created are older than the current versions in
168 LFS. That causes 'make' to fail when it reaches the 'tests' subdirectory
169 unless autoreconf is forced to install missing (i.e. newer) auxiliary
170 files.
171 </para>
172
173 <!-- EDITORS: the doc target to rebuild the manpage (make man) is not
174 recognised unless invoked from the doc directory (unlike make pdf which
175 can be invoked from top-level but needs dblatex), and I see no utility
176 in explaining how to regenerate it. ken -->
177 <para>
178 <command>--with-kpathsea=/opt/texlive/&texlive-year;</command>: This allows
179 the build system to find the headers for <filename
180 class="libraryfile">kpathsea</filename>
181 </para>
182
183 </sect2>
184
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Programs</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
194 <seg>
195 dvisvgm
196 </seg>
197 <seg>
198 None
199 </seg>
200 <seg>
201 None
202 </seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="dvisvgm-prog">
212 <term><command>dvisvgm</command></term>
213 <listitem>
214 <para>
215 converts DVI, EPS and PDF files to the SVG format
216 </para>
217 <indexterm zone="dvisvgm dvisvgm-prog">
218 <primary sortas="b-dvisvgm">dvisvgm</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.