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