[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY asymptote-download-http "&sourceforge-dl;/asymptote/asymptote-&asymptote-version;.src.tgz">
|
---|
[347e59c] | 8 | <!ENTITY asymptote-download-ftp " ">
|
---|
[0841e371] | 9 | <!ENTITY asymptote-md5sum "98cd8858841e6e833039b85e0b814257">
|
---|
[d4c6b05] | 10 | <!ENTITY asymptote-size "3.4 MB">
|
---|
[0841e371] | 11 | <!ENTITY asymptote-buildsize "147 MB">
|
---|
[1f640004] | 12 | <!ENTITY asymptote-time "2.0 SBU">
|
---|
[347e59c] | 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 |
|
---|
[a0fd5377] | 38 | &lfs82_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="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
[0e6052db] | 76 | <xref linkend="gs"/> and
|
---|
[347e59c] | 77 | <xref linkend="texlive"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
[0e6052db] | 82 | <xref linkend="freeglut"/> and
|
---|
[110481b] | 83 | <xref linkend="gc"/>
|
---|
[347e59c] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[f95867c] | 88 | <xref linkend="gsl"/>,
|
---|
[0e6052db] | 89 | <xref linkend="libsigsegv"/>, and
|
---|
| 90 | <xref linkend="fftw"/>
|
---|
[347e59c] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional (at runtime, to use xasy)</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
[ac1fadc5] | 95 | <ulink url="https://pypi.python.org/pypi/Pillow/">Pillow</ulink>
|
---|
[dbc530b] | 96 | which has a build dependency of
|
---|
| 97 | <xref role="nodep" linkend="python2"/>
|
---|
[ac1fadc5] | 98 | (re-) compiled against
|
---|
[f5cdf41] | 99 | <xref role="nodep" linkend="tk"/> to provide <filename>_tkinter.so</filename>
|
---|
[347e59c] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para condition="html" role="usernotes">
|
---|
| 103 | User Notes: <ulink url="&blfs-wiki;/asymptote"/>
|
---|
| 104 | </para>
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of asymptote</title>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Install <application>asymptote</application> by running the following
|
---|
| 112 | commands:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
---|
[e5345a05] | 116 |
|
---|
| 117 | ./configure --prefix=/opt/texlive/&texlive-year; \
|
---|
| 118 | --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
|
---|
| 119 | --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
|
---|
| 120 | --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
|
---|
| 121 | --libdir=/opt/texlive/&texlive-year;/texmf-dist \
|
---|
| 122 | --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
|
---|
| 123 | --enable-gc=system \
|
---|
| 124 | --with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
|
---|
| 125 | --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &&
|
---|
| 126 |
|
---|
[347e59c] | 127 | make</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | To test the results, issue: <command>make check</command>.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[0841e371] | 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[347e59c] | 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
| 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/tex-prefix.xml"/>
|
---|
| 146 |
|
---|
| 147 | <para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
|
---|
| 148 | This parameter ensures that the <filename class="directory">asymptote</filename>
|
---|
| 149 | directory will similarly overwrite any files installed by install-tl-unx.</para>
|
---|
| 150 |
|
---|
[110481b] | 151 | <para><parameter>--enable-gc=system</parameter>: this ensures that the system
|
---|
| 152 | version of <filename class="libraryfile">libgc.so</filename> will be used
|
---|
| 153 | instead of the version shipped with this package.</para>
|
---|
| 154 |
|
---|
| 155 | <para><parameter>--with-latex= ... --with-context=</parameter>: These switches
|
---|
| 156 | ensure that style files and a tex file will be installed into the
|
---|
| 157 | <application>texlive</application> directories instead of creating a
|
---|
| 158 | <filename class="directory">texmf-local</filename> directory for them.</para>
|
---|
| 159 |
|
---|
[0841e371] | 160 | <!-- commenting for now: 2.44 installs asymptote.info in both places
|
---|
| 161 | so the old version no longer remains
|
---|
| 162 |
|
---|
[f95867c] | 163 | <para>
|
---|
| 164 | <command>rm -fv /opt/texlive/.../asymptote.info</command>:
|
---|
| 165 | This deletes the file installed by <application>texlive</application>.
|
---|
| 166 | Exceptionally, asymptote will create an <filename
|
---|
| 167 | class="directory">asymptote/</filename> subdirectory for its own
|
---|
| 168 | <filename>asymptote.info</filename> even though a possibly older
|
---|
| 169 | version from <xref linkend="texlive"/> is in the main
|
---|
| 170 | <application>texlive</application>
|
---|
| 171 | <filename class="directory">info/</filename> directory. Both the
|
---|
| 172 | new version and the existing <filename>asy-faq.info</filename>
|
---|
| 173 | <emphasis>will</emphasis> be found by <command>info</command>.
|
---|
[0841e371] | 174 | </para>-->
|
---|
[f95867c] | 175 |
|
---|
[347e59c] | 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directory</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
| 187 | <seg>
|
---|
| 188 | asy, xasy
|
---|
| 189 | </seg>
|
---|
| 190 | <seg>
|
---|
| 191 | None
|
---|
| 192 | </seg>
|
---|
| 193 | <seg>
|
---|
[a06d59dc] | 194 | /opt/texlive/&texlive-year;texmf-dist/asymptote,
|
---|
| 195 | /opt/texlive/&texlive-year;/doc/asymptote,
|
---|
[347e59c] | 196 | /opt/texlive/&texlive-year;/info/asymptote
|
---|
| 197 | </seg>
|
---|
| 198 | </seglistitem>
|
---|
| 199 | </segmentedlist>
|
---|
| 200 |
|
---|
| 201 | <variablelist>
|
---|
| 202 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 203 | <?dbfo list-presentation="list"?>
|
---|
| 204 | <?dbhtml list-presentation="table"?>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="asy">
|
---|
| 207 | <term><command>asy</command></term>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>
|
---|
| 210 | is a vector graphics program.
|
---|
| 211 | </para>
|
---|
| 212 | <indexterm zone="asymptote asy">
|
---|
| 213 | <primary sortas="b-asy">asy</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 | </listitem>
|
---|
| 216 | </varlistentry>
|
---|
| 217 |
|
---|
| 218 | <varlistentry id="xasy">
|
---|
| 219 | <term><command>xasy</command></term>
|
---|
| 220 | <listitem>
|
---|
| 221 | <para>
|
---|
| 222 | is a Python script providing the preliminary GUI for asy. It can be
|
---|
| 223 | used for final adjustments of an existing asy file.
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="asymptote xasy">
|
---|
| 226 | <primary sortas="b-xasy">xasy</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|