source: pst/typesetting/dvisvgm.xml@ c1ff2b71

10.0 10.1 11.0 11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c1ff2b71 was d8321785, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to dhcpcd-9.1.0
Update to evince-3.36.3
Update to lcms2-2.10
Update to gjs-1.64.3
dvisvgm: Minor tweaks in the short descriptions
ImageMagick: Website was redesigned - update the links to the pages referenced in the book.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23235 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 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 <!ENTITY dvisvgm-download-http "https://github.com/mgieseki/dvisvgm/releases/download/&dvisvgm-version;/dvisvgm-&dvisvgm-version;.tar.gz">
8 <!ENTITY dvisvgm-download-ftp " ">
9 <!ENTITY dvisvgm-md5sum "afedba65884793f1a72d9cd741e60097">
10 <!ENTITY dvisvgm-size "3.0 MB">
11 <!ENTITY dvisvgm-buildsize "327 MB (48 MB installed, add 980 MB for the tests)">
12 <!ENTITY dvisvgm-time "0.7 SBU (add 0.6 SBU for the tests, both using parallelism=4)">
13]>
14
15<sect1 id="dvisvgm" xreflabel="dvisvgm-&dvisvgm-version;">
16 <?dbhtml filename="dvisvgm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>dvisvgm-&dvisvgm-version;</title>
24
25 <indexterm zone="dvisvgm">
26 <primary sortas="a-dvisvgm">dvisvgm</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to dvisvgm</title>
31
32 <para>
33 The <application>dvisvgm</application> package converts DVI, EPS and
34 PDF files to SVG format.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&dvisvgm-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&dvisvgm-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &dvisvgm-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &dvisvgm-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &dvisvgm-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &dvisvgm-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">dvisvgm Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <!-- EDITORS: the docs say it needs clipper, but it uses an internal
78 modified version and cannot be built with system clipper -->
79 <xref linkend="gs"/> and
80 <xref linkend="potrace"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="asciidoc"/> with
86 <xref linkend="xmlto"/> and
87 <xref linkend="libxslt"/> (see command explanations),
88 <ulink url="http://dblatex.sourceforge.net/">dblatex</ulink> (with the above) and
89 <!-- version checked for dvisvgm-2.9, 0.7.3 is mentioned in the
90 news and is the latest version at 2020-03-21
91 maybe change to 'a recent version' if that releases faster -->
92 <ulink url="https://github.com/Cyan4973/xxHash/releases/latest">xxHash</ulink>
93 (the current version is included in the tarball)
94 </para>
95
96 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/dvisvgm"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of dvisvgm</title>
103
104<!-- Editors: This is in the book for svg output from asymptote. tested in
105 http://www.linuxfromscratch.org/~ken/asy-nontex-testfiles/asy-test-20200123.tar.xz
106-->
107 <para>
108 To enable the build system to link to
109 <filename class="libraryfile">libkpathsea.so</filename>, as the
110 <systemitem class="username">root</systemitem> user create a symlink from
111 <filename class="directory">/usr/lib</filename>:
112 </para>
113
114<screen role="root"><userinput>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</userinput></screen>
115
116 <para>
117 Now install <application>dvisvgm</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>./configure \
122 --bindir=/opt/texlive/&texlive-year;/bin/${TEXARCH} \
123 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
124 --with-kpathsea=/opt/texlive/&texlive-year; &amp;&amp;
125make</userinput></screen>
126
127 <para>
128 To test the results, issue: <command>make check</command>.
129 </para>
130
131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <para>
143 <command>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</command>:
144 Without this, the program will not link correctly,
145 </para>
146
147 <!-- EDITORS: the doc target to rebuild the manpage (make man) is not
148 recognised unless invoked from the doc directory (unlike make pdf which
149 can be invoked from top-level but needs dblatex), and I see no utility
150 in explaining how to regenerate it. ken -->
151 <para>
152 <command>--with-kpathsea=/opt/texlive/&texlive-year;</command>: This allows
153 the build system to find the headers for <filename
154 class="libraryfile">kpathsea</filename>
155 </para>
156
157 </sect2>
158
159 <sect2 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
164 <segtitle>Installed Libraries</segtitle>
165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
168 <seg>
169 dvisvgm
170 </seg>
171 <seg>
172 None
173 </seg>
174 <seg>
175 None
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="dvisvgm-prog">
186 <term><command>dvisvgm</command></term>
187 <listitem>
188 <para>
189 converts DVI, EPS and PDF files to the SVG format
190 </para>
191 <indexterm zone="dvisvgm dvisvgm-prog">
192 <primary sortas="b-dvisvgm">dvisvgm</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198 </sect2>
199</sect1>
Note: See TracBrowser for help on using the repository browser.