[347e59c] | 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 asymptote-download-http "&sourceforge-repo;/sourceforge/asymptote/asymptote-&asymptote-version;.src.tgz">
|
---|
| 8 | <!ENTITY asymptote-download-ftp " ">
|
---|
| 9 | <!ENTITY asymptote-md5sum "9c817c2a9763294d3b66e4b57054eed3">
|
---|
| 10 | <!ENTITY asymptote-size "1.8 MB">
|
---|
| 11 | <!ENTITY asymptote-buildsize "163 MB">
|
---|
| 12 | <!ENTITY asymptote-time "2.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="asymptote" xreflabel="asymptote-&asymptote-version;">
|
---|
| 16 | <?dbhtml filename="asymptote.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>asymptote-&asymptote-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="asymptote">
|
---|
| 26 | <primary sortas="a-asymptote">asymptote</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to asymptote</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Asymptote</application> is a powerful descriptive vector
|
---|
| 34 | graphics language that provides a natural coordinate-based framework for
|
---|
| 35 | technical drawing. Labels and equations can be typeset with LaTeX.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[a456eedd] | 38 | &lfs77_checked; &gcc5_checked;
|
---|
[347e59c] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&asymptote-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&asymptote-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &asymptote-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &asymptote-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &asymptote-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &asymptote-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Required patch:
|
---|
| 79 | <ulink url="&patch-root;/asymptote-&asymptote-version;-ghostscript_fix-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect3">Asymptote Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="gs"/>,
|
---|
| 89 | <xref linkend="texlive"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="freeglut"/> (for 3D drawing)
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 98 | <para role="optional">
|
---|
| 99 | <ulink url="http://www.fftw.org/">FFTW</ulink>,
|
---|
| 100 | <xref linkend="gsl"/>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Optional (at runtime, to use xasy)</bridgehead>
|
---|
| 104 | <para role="optional">
|
---|
| 105 | <ulink url="http://effbot.org/downloads/Imaging-1.1.7.tar.gz">Imaging</ulink>
|
---|
| 106 | which needs
|
---|
| 107 | <!-- hard-coded because I'm not sure if the book scripts will find this and move
|
---|
| 108 | it to svn/ -->
|
---|
| 109 | <ulink url="http://www.linuxfromscratch.org/patches/downloads/Imaging/Imaging-1.1.7-freetype_fix-1.patch">Imaging-1.1.7-freetype_fix-1.patch</ulink>
|
---|
| 110 | and has a build dependency of
|
---|
| 111 | <xref linkend="python2"/> (re-) compiled against <xref linkend="tk"/>
|
---|
| 112 | to provide <filename>_tkinter.so</filename>
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para condition="html" role="usernotes">
|
---|
| 116 | User Notes: <ulink url="&blfs-wiki;/asymptote"/>
|
---|
| 117 | </para>
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="installation">
|
---|
| 121 | <title>Installation of asymptote</title>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Install <application>asymptote</application> by running the following
|
---|
| 125 | commands:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
---|
| 129 | patch -Np1 -i ../asymptote-&asymptote-version;-ghostscript_fix-1.patch &&
|
---|
| 130 | ./configure --prefix=/opt/texlive/&texlive-year; \
|
---|
| 131 | --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
|
---|
| 132 | --datarootdir=/opt/texlive/&texlive-year; \
|
---|
| 133 | --libdir=/opt/texlive/&texlive-year;/texmf-dist \
|
---|
| 134 | --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &&
|
---|
| 135 | make</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | To test the results, issue: <command>make check</command>.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
| 142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
| 151 |
|
---|
| 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 153 | href="../../xincludes/tex-prefix.xml"/>
|
---|
| 154 |
|
---|
| 155 | <para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
|
---|
| 156 | This parameter ensures that the <filename class="directory">asymptote</filename>
|
---|
| 157 | directory will similarly overwrite any files installed by install-tl-unx.</para>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
| 163 |
|
---|
| 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Programs</segtitle>
|
---|
| 166 | <segtitle>Installed Libraries</segtitle>
|
---|
| 167 | <segtitle>Installed Directory</segtitle>
|
---|
| 168 |
|
---|
| 169 | <seglistitem>
|
---|
| 170 | <seg>
|
---|
| 171 | asy, xasy
|
---|
| 172 | </seg>
|
---|
| 173 | <seg>
|
---|
| 174 | None
|
---|
| 175 | </seg>
|
---|
| 176 | <seg>
|
---|
| 177 | /opt/texlive/&texlive-year;/asymptote, /opt/texlive/&texlive-year;/doc/asymptote,
|
---|
| 178 | /opt/texlive/&texlive-year;/info/asymptote
|
---|
| 179 | </seg>
|
---|
| 180 | </seglistitem>
|
---|
| 181 | </segmentedlist>
|
---|
| 182 |
|
---|
| 183 | <variablelist>
|
---|
| 184 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 185 | <?dbfo list-presentation="list"?>
|
---|
| 186 | <?dbhtml list-presentation="table"?>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="asy">
|
---|
| 189 | <term><command>asy</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>
|
---|
| 192 | is a vector graphics program.
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="asymptote asy">
|
---|
| 195 | <primary sortas="b-asy">asy</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="xasy">
|
---|
| 201 | <term><command>xasy</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | is a Python script providing the preliminary GUI for asy. It can be
|
---|
| 205 | used for final adjustments of an existing asy file.
|
---|
| 206 | </para>
|
---|
| 207 | <indexterm zone="asymptote xasy">
|
---|
| 208 | <primary sortas="b-xasy">xasy</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | </variablelist>
|
---|
| 214 |
|
---|
| 215 | </sect2>
|
---|
| 216 |
|
---|
| 217 | </sect1>
|
---|