[47d5a9e5] | 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 " ">
|
---|
[fbd4f65] | 9 | <!ENTITY dvisvgm-md5sum "46f80dd3b68acf79d47e89c3e4ee1179">
|
---|
[47d5a9e5] | 10 | <!ENTITY dvisvgm-size "3.0 MB">
|
---|
[fbd4f65] | 11 | <!ENTITY dvisvgm-buildsize "328 MB (49 MB installed, add 950 MB for the tests)">
|
---|
| 12 | <!ENTITY dvisvgm-time "0.8 SBU (add 0.6 SBU for the tests, both using parallelism=4)">
|
---|
[47d5a9e5] | 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 |
|
---|
[af3c081] | 37 | &lfs91_checked;
|
---|
[47d5a9e5] | 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 -->
|
---|
[8a3826d] | 79 | <xref linkend="brotli"/>,
|
---|
[041a1e0] | 80 | <xref linkend="gs"/> and
|
---|
[47d5a9e5] | 81 | <xref linkend="potrace"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
[8a3826d] | 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="woff2"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[47d5a9e5] | 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="asciidoc"/> with
|
---|
| 92 | <xref linkend="xmlto"/> and
|
---|
| 93 | <xref linkend="libxslt"/> (see command explanations),
|
---|
| 94 | <ulink url="http://dblatex.sourceforge.net/">dblatex</ulink> (with the above) and
|
---|
[a4188ba] | 95 | <!-- version checked for dvisvgm-2.9, 0.7.3 is mentioned in the
|
---|
| 96 | news and is the latest version at 2020-03-21
|
---|
[47d5a9e5] | 97 | maybe change to 'a recent version' if that releases faster -->
|
---|
[041a1e0] | 98 | <ulink url="https://github.com/Cyan4973/xxHash/releases/latest">xxHash</ulink>
|
---|
[47d5a9e5] | 99 | (the current version is included in the tarball)
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para condition="html" role="usernotes">
|
---|
| 103 | User Notes: <ulink url="&blfs-wiki;/dvisvgm"/>
|
---|
| 104 | </para>
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of dvisvgm</title>
|
---|
| 109 |
|
---|
[e99822d] | 110 | <!-- Editors: This is in the book for svg output from asymptote. tested in
|
---|
| 111 | http://www.linuxfromscratch.org/~ken/asy-nontex-testfiles/asy-test-20200123.tar.xz
|
---|
| 112 | -->
|
---|
[47d5a9e5] | 113 | <para>
|
---|
| 114 | To enable the build system to link to
|
---|
| 115 | <filename class="libraryfile">libkpathsea.so</filename>, as the
|
---|
| 116 | <systemitem class="username">root</systemitem> user create a symlink from
|
---|
| 117 | <filename class="directory">/usr/lib</filename>:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Now install <application>dvisvgm</application> by running the following
|
---|
| 124 | commands:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>./configure \
|
---|
| 128 | --bindir=/opt/texlive/&texlive-year;/bin/${TEXARCH} \
|
---|
| 129 | --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
|
---|
| 130 | --with-kpathsea=/opt/texlive/&texlive-year; &&
|
---|
| 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | To test the results, issue: <command>make check</command>.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
[a4188ba] | 141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[47d5a9e5] | 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="commands">
|
---|
| 146 | <title>Command Explanations</title>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
| 149 | <command>ln -svf /opt/texlive/&texlive-year;/lib/libkpathsea.so /usr/lib</command>:
|
---|
| 150 | Without this, the program will not link correctly,
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <!-- EDITORS: the doc target to rebuild the manpage (make man) is not
|
---|
| 154 | recognised unless invoked from the doc directory (unlike make pdf which
|
---|
| 155 | can be invoked from top-level but needs dblatex), and I see no utility
|
---|
| 156 | in explaining how to regenerate it. ken -->
|
---|
| 157 | <para>
|
---|
| 158 | <command>--with-kpathsea=/opt/texlive/&texlive-year;</command>: This allows
|
---|
| 159 | the build system to find the headers for <filename
|
---|
| 160 | class="libraryfile">kpathsea</filename>
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
[d8321785] | 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
[47d5a9e5] | 172 |
|
---|
| 173 | <seglistitem>
|
---|
| 174 | <seg>
|
---|
| 175 | dvisvgm
|
---|
| 176 | </seg>
|
---|
| 177 | <seg>
|
---|
[d8321785] | 178 | None
|
---|
[47d5a9e5] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
[d8321785] | 181 | None
|
---|
[47d5a9e5] | 182 | </seg>
|
---|
| 183 | </seglistitem>
|
---|
| 184 | </segmentedlist>
|
---|
| 185 |
|
---|
| 186 | <variablelist>
|
---|
| 187 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 188 | <?dbfo list-presentation="list"?>
|
---|
| 189 | <?dbhtml list-presentation="table"?>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="dvisvgm-prog">
|
---|
| 192 | <term><command>dvisvgm</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
| 195 | converts DVI, EPS and PDF files to the SVG format
|
---|
| 196 | </para>
|
---|
| 197 | <indexterm zone="dvisvgm dvisvgm-prog">
|
---|
| 198 | <primary sortas="b-dvisvgm">dvisvgm</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | </variablelist>
|
---|
| 204 | </sect2>
|
---|
| 205 | </sect1>
|
---|