source: pst/typesetting/asymptote.xml@ c5353a8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c5353a8 was f95867c, checked in by Ken Moffat <ken@…>, 7 years ago

asymptote-2.40

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18526 af4574ff-66df-0310-9fd7-8a98e5e911e0

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