source: pst/typesetting/asymptote.xml@ fa3edfef

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 fa3edfef was fa3edfef, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format pst

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

  • Property mode set to 100644
File size: 8.2 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-dl;/asymptote/asymptote-&asymptote-version;.src.tgz">
8 <!ENTITY asymptote-download-ftp " ">
9 <!ENTITY asymptote-md5sum "f09aaf2944672927cded7634f6b10c11">
10 <!ENTITY asymptote-size "4.5 MB">
11 <!ENTITY asymptote-buildsize "198 MB (with all the dependencies which are within BLFS)">
12 <!ENTITY asymptote-time "2.3 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. As
36 well as EPS, PDF and PNG output it can produce WebGL 3D HTML rendering
37 and (using <application>dvisvgm</application>) SVG output.
38 </para>
39
40 &lfs91_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&asymptote-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&asymptote-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &asymptote-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &asymptote-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &asymptote-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &asymptote-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="gs"/> and
79 <xref linkend="texlive"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="freeglut"/>,
85 <xref linkend="gc"/>,
86 <xref linkend="glew"/>,
87 <xref linkend="glm"/> and
88 <xref linkend="libtirpc"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended at runtime</bridgehead>
92 <para role="recommended">
93 <xref role="runtime" linkend="dvisvgm"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="fftw"/>,
99 <xref linkend="gsl"/>,
100 <xref linkend="libsigsegv"/>
101
102 </para>
103
104 <bridgehead renderas="sect4">Optional (at runtime, to use xasy)</bridgehead>
105 <para role="optional">
106 <ulink url="https://pypi.org/project/PyQt5/">PyQt5</ulink> (not tested),
107 which has a build dependency of <xref linkend="qt5"/>
108 </para>
109
110 <para condition="html" role="usernotes">
111 User Notes: <ulink url="&blfs-wiki;/asymptote"/>
112 </para>
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of asymptote</title>
117
118<!-- Editors: for testing this, the minimal latex functionality is
119 covered by the cylinder and triangle tests in
120 http://www.linuxfromscratch.org/~ken/tex-testfiles/latex-test-20190318.tar.xz
121 but the more interesting stuff (WebM html, svg, png, pdf) is tested in
122 http://www.linuxfromscratch.org/~ken/asy-nontex-testfiles/asy-test-20200123.tar.xz
123-->
124 <para>
125 Install <application>asymptote</application> by running the following
126 commands:
127 </para>
128
129<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
130
131./configure --prefix=/opt/texlive/&texlive-year; \
132 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
133 --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
134 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
135 --libdir=/opt/texlive/&texlive-year;/texmf-dist \
136 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
137 --enable-gc=system \
138 --with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
139 --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &amp;&amp;
140
141make</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>make check</command>.
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install</userinput></screen>
152
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/tex-prefix.xml"/>
160
161 <para>
162 <parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
163 This parameter ensures that the <filename
164 class="directory">asymptote</filename> directory will similarly
165 overwrite any files installed by install-tl-unx.
166 </para>
167
168 <para>
169 <parameter>--enable-gc=system</parameter>: this ensures that the system
170 version of <filename class="libraryfile">libgc.so</filename> will be used
171 instead of the version shipped with this package.
172 </para>
173
174 <para>
175 <parameter>--with-latex= ... --with-context=</parameter>: These switches
176 ensure that style files and a tex file will be installed into the
177 <application>texlive</application> directories instead of creating a
178 <filename class="directory">texmf-local</filename> directory for them.
179 </para>
180
181 <!-- commenting for now: 2.44 installs asymptote.info in both places
182 so the old version no longer remains
183
184 <para>
185 <command>rm -fv /opt/texlive/.../asymptote.info</command>:
186 This deletes the file installed by <application>texlive</application>.
187 Exceptionally, asymptote will create an <filename
188 class="directory">asymptote/</filename> subdirectory for its own
189 <filename>asymptote.info</filename> even though a possibly older
190 version from <xref linkend="texlive"/> is in the main
191 <application>texlive</application>
192 <filename class="directory">info/</filename> directory. Both the
193 new version and the existing <filename>asy-faq.info</filename>
194 <emphasis>will</emphasis> be found by <command>info</command>.
195 </para>-->
196
197 </sect2>
198
199 <sect2 role="content">
200 <title>Contents</title>
201
202 <segmentedlist>
203 <segtitle>Installed Programs</segtitle>
204 <segtitle>Installed Libraries</segtitle>
205 <segtitle>Installed Directory</segtitle>
206
207 <seglistitem>
208 <seg>
209 asy, xasy
210 </seg>
211 <seg>
212 None
213 </seg>
214 <seg>
215 /opt/texlive/&texlive-year;texmf-dist/asymptote,
216 /opt/texlive/&texlive-year;/doc/asymptote,
217 /opt/texlive/&texlive-year;/info/asymptote
218 </seg>
219 </seglistitem>
220 </segmentedlist>
221
222 <variablelist>
223 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
224 <?dbfo list-presentation="list"?>
225 <?dbhtml list-presentation="table"?>
226
227 <varlistentry id="asy">
228 <term><command>asy</command></term>
229 <listitem>
230 <para>
231 is a vector graphics program.
232 </para>
233 <indexterm zone="asymptote asy">
234 <primary sortas="b-asy">asy</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="xasy">
240 <term><command>xasy</command></term>
241 <listitem>
242 <para>
243 is a Python3 script providing a Qt5 GUI for asy.
244 </para>
245 <indexterm zone="asymptote xasy">
246 <primary sortas="b-xasy">xasy</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 </variablelist>
252
253 </sect2>
254
255</sect1>
Note: See TracBrowser for help on using the repository browser.