2015-01-12 05:06:00 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY asymptote-download-http "&sourceforge-dl;/asymptote/asymptote-&asymptote-version;.src.tgz">
|
2015-01-12 05:06:00 +08:00
|
|
|
<!ENTITY asymptote-download-ftp " ">
|
2017-04-06 03:10:07 +08:00
|
|
|
<!ENTITY asymptote-md5sum "d16909a9189a3177ad2f8cb8161e32e1">
|
2016-05-13 09:21:02 +08:00
|
|
|
<!ENTITY asymptote-size "3.4 MB">
|
2017-03-22 10:11:24 +08:00
|
|
|
<!ENTITY asymptote-buildsize "149 MB">
|
2017-04-06 03:10:07 +08:00
|
|
|
<!ENTITY asymptote-time "2.0 SBU">
|
2015-01-12 05:06:00 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="asymptote" xreflabel="asymptote-&asymptote-version;">
|
|
|
|
<?dbhtml filename="asymptote.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>asymptote-&asymptote-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="asymptote">
|
|
|
|
<primary sortas="a-asymptote">asymptote</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to asymptote</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<application>Asymptote</application> is a powerful descriptive vector
|
|
|
|
graphics language that provides a natural coordinate-based framework for
|
|
|
|
technical drawing. Labels and equations can be typeset with LaTeX.
|
|
|
|
</para>
|
|
|
|
|
2018-02-21 11:09:57 +08:00
|
|
|
&lfs82_checked;
|
2015-01-12 05:06:00 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&asymptote-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&asymptote-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &asymptote-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &asymptote-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &asymptote-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &asymptote-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2017-05-01 02:47:18 +08:00
|
|
|
<xref linkend="gs"/> and
|
2015-01-12 05:06:00 +08:00
|
|
|
<xref linkend="texlive"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2017-05-01 02:47:18 +08:00
|
|
|
<xref linkend="freeglut"/> and
|
2015-06-06 07:21:27 +08:00
|
|
|
<xref linkend="gc"/>
|
2015-01-12 05:06:00 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2017-03-22 10:11:24 +08:00
|
|
|
<xref linkend="gsl"/>,
|
2017-05-01 02:47:18 +08:00
|
|
|
<xref linkend="libsigsegv"/>, and
|
|
|
|
<xref linkend="fftw"/>
|
2015-01-12 05:06:00 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional (at runtime, to use xasy)</bridgehead>
|
|
|
|
<para role="optional">
|
2017-10-14 10:53:52 +08:00
|
|
|
<ulink url="https://pypi.python.org/pypi/Pillow/">Pillow</ulink>
|
2017-10-23 05:36:23 +08:00
|
|
|
which has a build dependency of
|
|
|
|
<xref role="nodep" linkend="python2"/>
|
2017-10-14 10:53:52 +08:00
|
|
|
(re-) compiled against
|
2017-09-16 00:23:51 +08:00
|
|
|
<xref role="nodep" linkend="tk"/> to provide <filename>_tkinter.so</filename>
|
2015-01-12 05:06:00 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/asymptote"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of asymptote</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>asymptote</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
|
2017-03-27 23:00:14 +08:00
|
|
|
|
|
|
|
./configure --prefix=/opt/texlive/&texlive-year; \
|
|
|
|
--bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
|
|
|
|
--datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
|
|
|
|
--infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
|
|
|
|
--libdir=/opt/texlive/&texlive-year;/texmf-dist \
|
|
|
|
--mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
|
|
|
|
--enable-gc=system \
|
|
|
|
--with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
|
|
|
|
--with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &&
|
|
|
|
|
2015-01-12 05:06:00 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2017-03-27 23:00:14 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
rm -fv /opt/texlive/&texlive-year;/texmf-dist/doc/info/asymptote.info</userinput></screen>
|
2015-01-12 05:06:00 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/tex-prefix.xml"/>
|
|
|
|
|
|
|
|
<para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
|
|
|
|
This parameter ensures that the <filename class="directory">asymptote</filename>
|
|
|
|
directory will similarly overwrite any files installed by install-tl-unx.</para>
|
|
|
|
|
2015-06-06 07:21:27 +08:00
|
|
|
<para><parameter>--enable-gc=system</parameter>: this ensures that the system
|
|
|
|
version of <filename class="libraryfile">libgc.so</filename> will be used
|
|
|
|
instead of the version shipped with this package.</para>
|
|
|
|
|
|
|
|
<para><parameter>--with-latex= ... --with-context=</parameter>: These switches
|
|
|
|
ensure that style files and a tex file will be installed into the
|
|
|
|
<application>texlive</application> directories instead of creating a
|
|
|
|
<filename class="directory">texmf-local</filename> directory for them.</para>
|
|
|
|
|
2017-03-22 10:11:24 +08:00
|
|
|
<para>
|
|
|
|
<command>rm -fv /opt/texlive/.../asymptote.info</command>:
|
|
|
|
This deletes the file installed by <application>texlive</application>.
|
|
|
|
Exceptionally, asymptote will create an <filename
|
|
|
|
class="directory">asymptote/</filename> subdirectory for its own
|
|
|
|
<filename>asymptote.info</filename> even though a possibly older
|
|
|
|
version from <xref linkend="texlive"/> is in the main
|
|
|
|
<application>texlive</application>
|
|
|
|
<filename class="directory">info/</filename> directory. Both the
|
|
|
|
new version and the existing <filename>asy-faq.info</filename>
|
|
|
|
<emphasis>will</emphasis> be found by <command>info</command>.
|
|
|
|
</para>
|
|
|
|
|
2015-01-12 05:06:00 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
asy, xasy
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2015-06-30 05:03:10 +08:00
|
|
|
/opt/texlive/&texlive-year;texmf-dist/asymptote,
|
|
|
|
/opt/texlive/&texlive-year;/doc/asymptote,
|
2015-01-12 05:06:00 +08:00
|
|
|
/opt/texlive/&texlive-year;/info/asymptote
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="asy">
|
|
|
|
<term><command>asy</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a vector graphics program.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="asymptote asy">
|
|
|
|
<primary sortas="b-asy">asy</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xasy">
|
|
|
|
<term><command>xasy</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a Python script providing the preliminary GUI for asy. It can be
|
|
|
|
used for final adjustments of an existing asy file.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="asymptote xasy">
|
|
|
|
<primary sortas="b-xasy">xasy</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|