Author: ken
Date: Sun Jan 11 13:06:00 2015
New Revision: 15327
Log:
Add separate asymptote and indy. Various consistency edits and rephrasing
Texlive pass 1 now describes itself as just texlive from source, the original
texlive page is no longer rendered : I will archive the latter and then rename
the pass1 file in later commits, then look at what might optionally xref to the
binary page.
Added:
trunk/BOOK/pst/typesetting/xindy.xml (contents, props changed)
trunk/BOOK/xsoft/other/asymptote.xml (contents, props changed)
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/packages.ent
trunk/BOOK/pst/printing/gs.xml
trunk/BOOK/pst/typesetting/tex-path.xml
trunk/BOOK/pst/typesetting/texlive-pass1.xml
trunk/BOOK/pst/typesetting/typesetting.xml
trunk/BOOK/xsoft/other/other.xml
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Sun Jan 11 12:41:20
2015 (r15326)
+++ trunk/BOOK/introduction/welcome/changelog.xml Sun Jan 11 13:06:00
2015 (r15327)
@@ -48,6 +48,14 @@
<para>January 11th, 2015</para>
<itemizedlist>
<listitem>
+ <para>[ken] - Separate asymptote and xindy from texlive.
+ Note that xindy does not at the moment work on i686. Remove
+ the second build of texlive. Fixes
+ <ulink url="&blfs-ticket-root;5956">#5956</ulink>
+ and partly addresses
+ <ulink url="&blfs-ticket-root;5926">#5926</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[fernando] - Update to ffmpeg-2.5.3. Fixes
<ulink url="&blfs-ticket-root;6025">#6025</ulink>.</para>
</listitem>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Sun Jan 11 12:41:20 2015 (r15326)
+++ trunk/BOOK/packages.ent Sun Jan 11 13:06:00 2015 (r15327)
@@ -589,6 +589,7 @@
<!ENTITY firefox-version "34.0.5">
<!-- Chapter 36 -->
+<!ENTITY asymptote-version "2.32">
<!ENTITY balsa-version "2.5.1">
<!ENTITY ekiga-version "4.0.1">
<!ENTITY feh-version "2.12">
@@ -746,8 +747,10 @@
<!-- Chapter 47 -->
<!ENTITY texlive-version "20140525">
<!-- the year is used when setting up PATHs in the tl-installer
- page, as well as to reference the directory in texlive -->
+ page, as well as to reference the directory in texlive, also
+ in asymptote (above) and xindy -->
<!ENTITY texlive-year "2014">
<!ENTITY biber-version "1.9">
<!ENTITY biblatex-version "2.9">
+<!ENTITY xindy-version "2.5.1">
Modified: trunk/BOOK/pst/printing/gs.xml
==============================================================================
--- trunk/BOOK/pst/printing/gs.xml Sun Jan 11 12:41:20 2015 (r15326)
+++ trunk/BOOK/pst/printing/gs.xml Sun Jan 11 13:06:00 2015 (r15327)
@@ -181,7 +181,8 @@
<note>
<para>
The shared library depends on <xref linkend="gtk2"/>. It is only used
in
- external programs like <xref linkend="imagemagick"/>.
+ external programs like <xref linkend="asymptote"/> and
+ <xref linkend="imagemagick"/>.
</para>
</note>
Modified: trunk/BOOK/pst/typesetting/tex-path.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/tex-path.xml Sun Jan 11 12:41:20 2015
(r15326)
+++ trunk/BOOK/pst/typesetting/tex-path.xml Sun Jan 11 13:06:00 2015
(r15327)
@@ -46,10 +46,10 @@
/etc/profile</command>.</para>
<para>If you arrived here after installing the TeX Live binary and do not
- wish to build from source, your installation is now complete. To continue
- building from source, please procede to <xref linkend="texlive"/>.</para>
+ wish to build from source, your installation is now complete.</para>
- <para>Alternatively, if you do not wish to install the programs for asy,
- xindy, and biber (on a from-source build) you can stop here.</para>
+ <para>Alternatively, if this is a from-source build you can now install
+ <xref linkend="asymptote"/>, <xref linkend="biber"/> and <xref
+ linkend="xindy"/> if you wish.</para>
</sect1>
Modified: trunk/BOOK/pst/typesetting/texlive-pass1.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/texlive-pass1.xml Sun Jan 11 12:41:20
2015 (r15326)
+++ trunk/BOOK/pst/typesetting/texlive-pass1.xml Sun Jan 11 13:06:00
2015 (r15327)
@@ -4,14 +4,13 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!ENTITY texlive-pass1-download-http " ">
- <!ENTITY texlive-pass1-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
- <!ENTITY texlive-pass1-md5sum "09ee265ff51637827559affc7304078c">
- <!ENTITY texlive-pass1-size "40 MB">
-
- <!-- when measured, 900MB for pass 1 itself, 3.6 GB for texmf -->
- <!ENTITY texlive-pass1-buildsize "3.6 GB including the additional
download">
- <!ENTITY texlive-pass1-time "8.2 SBU including the additional
download">
+ <!ENTITY texlive-download-http " ">
+ <!ENTITY texlive-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
+ <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
+ <!ENTITY texlive-size "40 MB">
+
+ <!ENTITY texlive-buildsize "3.6 GB including the additional download">
+ <!ENTITY texlive-time "8.2 SBU including the additional download">
<!ENTITY texlive-texmf-download-http " ">
<!ENTITY texlive-texmf-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
@@ -21,57 +20,56 @@
]>
-<sect1 id="texpass1" xreflabel="texlive-&texlive-version;-source pass 1">
- <?dbhtml filename="texlive-pass1.html"?>
+<sect1 id="texlive" xreflabel="texlive-&texlive-version;">
+ <?dbhtml filename="texlive.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
- <title>texlive-&texlive-version;-source pass 1</title>
+ <title>texlive-&texlive-version;-source</title>
- <indexterm zone="texpass1">
- <primary sortas="a-texpass1">texlive-pass-1</primary>
+ <indexterm zone="texlive">
+ <primary sortas="a-texlive">texlive</primary>
</indexterm>
<sect2 role="package">
- <title>Introduction to TeX Live from source, pass 1</title>
-
- <para>Most of TeX Live can be built from source without difficulty.
- However, <application>xindy</application> (for indexing) needs working
- versions of <command>latex</command> and <command>pdflatex</command>
- when configure is run, and the testsuite for <command>asy</command>
- (for vector graphics) will fail if TeX has not already been installed.
- </para>
-
- <para>In addition, it is necessary to create various symlinks at the end of
- this install.</para>
+ <title>Introduction to TeX Live from source</title>
- <para>We can later rebuild texlive in <xref linkend="texlive"/> to include
- xindy. There we will install xindy and also build and install asy.</para>
+ <para>Most of TeX Live can be built from source without a pre-existing
+ installation, but <application>xindy</application> (for indexing) needs
+ working versions of <command>latex</command> and
<command>pdflatex</command>
+ when configure is run, and the testsuite and install for
+ <command>asy</command> (for vector graphics) will fail if TeX has not
+ already been installed. Additionally, <application>biber</application> is
+ not provided within the <application>texlive</application> source.</para>
+
+ <para>All of those packages are dealt with on their own pages and can be
+ built after installing this package and proceeding to
+ <xref linkend="tex-path"/>.</para>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
- <para>Download (HTTP): <ulink
url="&texlive-pass1-download-http;"/></para>
+ <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
</listitem>
<listitem>
- <para>Download (FTP): <ulink
url="&texlive-pass1-download-ftp;"/></para>
+ <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
</listitem>
<listitem>
- <para>Download MD5 sum: &texlive-pass1-md5sum;</para>
+ <para>Download MD5 sum: &texlive-md5sum;</para>
</listitem>
<listitem>
- <para>Download size: &texlive-pass1-size;</para>
+ <para>Download size: &texlive-size;</para>
</listitem>
<listitem>
- <para>Estimated disk space required: &texlive-pass1-buildsize;</para>
+ <para>Estimated disk space required: &texlive-buildsize;</para>
</listitem>
<listitem>
- <para>Estimated build time: &texlive-pass1-time;</para>
+ <para>Estimated build time: &texlive-time;</para>
</listitem>
</itemizedlist>
@@ -101,7 +99,7 @@
</listitem>
</itemizedlist>
- <bridgehead renderas="sect3">TeX Live from source pass 1
Dependencies</bridgehead>
+ <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
@@ -118,20 +116,20 @@
href="../../xincludes/texoptional.xml"/>
<bridgehead renderas="sect4">Runtime dependencies</bridgehead>
- <!-- text for runtime deps, shared with tl-installer and pass 1 -->
+ <!-- text for runtime deps, shared with tl-installer -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/texruntime.xml"/>
<para condition="html" role="usernotes">User Notes:
- <ulink url="&blfs-wiki;/texlive-pass1"/></para>
+ <ulink url="&blfs-wiki;/texlive"/></para>
</sect2>
<sect2 role="installation">
- <title>Installation of TeX Live, pass 1</title>
+ <title>Installation of TeX Live</title>
<para>
- Install TeX Live pass 1 by running the following commands:
+ Install TeX Live by running the following commands:
</para>
<!-- the configure switches should be identical to those in the
@@ -255,36 +253,36 @@
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <varlistentry id="texpass1-programs">
+ <varlistentry id="texlive-programs">
<term><command>TeX programs</command></term>
<listitem>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/texprogs.xml"/>
- <indexterm zone="texpass1 texpass1-programs">
- <primary sortas="b-texpass1-programs">TeX Live programs</primary>
+ <indexterm zone="texlive texlive-programs">
+ <primary sortas="b-texlive-programs">TeX Live programs</primary>
</indexterm>
</listitem>
</varlistentry>
- <varlistentry id="libkpathsea-texpass1">
+ <varlistentry id="libkpathsea">
<term><filename class="libraryfile">libkpathsea.so</filename></term>
<listitem>
<para>
(kpathsearch) exists to look up a file in a list of directories.
</para>
- <indexterm zone="texpass1 libkpathsea">
+ <indexterm zone="texlive libkpathsea">
<primary sortas="c-libkpathsea">libkpathsea.so</primary>
</indexterm>
</listitem>
</varlistentry>
- <varlistentry id="libptexenc-texpass1">
+ <varlistentry id="libptexenc">
<term><filename class="libraryfile">libptexenc.so</filename></term>
<listitem>
<para>
is a library for Japanese pTeX (publishing TeX).
</para>
- <indexterm zone="texpass1 libptexenc">
+ <indexterm zone="texlive libptexenc">
<primary sortas="c-libptexenc">libptexenc.so</primary>
</indexterm>
</listitem>
Modified: trunk/BOOK/pst/typesetting/typesetting.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/typesetting.xml Sun Jan 11 12:41:20 2015
(r15326)
+++ trunk/BOOK/pst/typesetting/typesetting.xml Sun Jan 11 13:06:00 2015
(r15327)
@@ -28,28 +28,32 @@
linkend="tl-installer"/> instructions,. After installing, they can run
<command>tlmgr</command> to update their system.</para>
- <para>Most people reading BLFS will wish to build from source. You can either
- do as BLFS used to do, by starting with
<application>install-tl-unx</application>,
- or you can avoid the binary files completely and begin at
- <xref linkend="texpass1"/> which will install most of
+ <para>Most people reading BLFS will wish to build from source. BLFS used to
+ start by installing <application>install-tl-unx</application> and then use
that
+ to bootstrap the build. Nowadays, we build almost the whole of
+ <application>texlive</application> <emphasis>without</emphasis> a binary
install,
+ by adding the separately-packaged texmf files into this build. For this,
begin
+ at <xref linkend="texlive"/> which will install most of
<application>texlive</application>, together with <emphasis>all</emphasis>
of the
- supporting files. This almost-complete install is then used to build two
- remaining parts of <application>texlive</application>, xindy and asy (that
- involves recompiling all of the package, but not reinstalling all of
it).</para>
+ supporting files. This almost-complete install can then be used to build the
+ remaining parts of <application>texlive</application>, <xref
+ linkend="asymptote"/>, <xref linkend="xindy"/> and <xref linkend="biber"/>.
+ </para>
<para>Because the texmf files (including documentation, fonts, scripts and
supporting files) are all in one tarball, it is not practical to limit what
gets extracted in a sensible way (e.g. to exclude one or other of the
typesetting
- engines).</para>
+ engines) when building from source in this manner.</para>
- <para>After that, people building from source will wish to install <xref
- linkend="biber"/>, which is supplied separately, to complete the full
- installation.</para>
+ <para>In either case, BLFS installs into
+ <filename class="directory">/opt/texlive/&texlive-year;</filename> with the
sole
+ exception of two libraries from the source install which are installed into
+ <filename class="directory">/usr/lib</filename> for convenience.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="tl-installer.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="texlive-pass1.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tex-path.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="biber.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xindy.xml"/>
</chapter>
Added: trunk/BOOK/pst/typesetting/xindy.xml
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/BOOK/pst/typesetting/xindy.xml Sun Jan 11 13:06:00 2015
(r15327)
@@ -0,0 +1,204 @@
+<?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;
+
+ <!ENTITY xindy-download-http
"http://tug.ctan.org/support/xindy/base/xindy-&xindy-version;.tar.gz">
+ <!ENTITY xindy-download-ftp " ">
+ <!ENTITY xindy-md5sum "221acfeeb0f6f8388f89a59c56491041">
+ <!ENTITY xindy-size "506 KB">
+ <!ENTITY xindy-buildsize "15 MB">
+ <!ENTITY xindy-time "less than 0.1 SBU">
+]>
+
+<sect1 id="xindy" xreflabel="xindy-&xindy-version;">
+ <?dbhtml filename="xindy.html"?>
+
+ <sect1info>
+ <othername>$LastChangedBy$</othername>
+ <date>$Date$</date>
+ </sect1info>
+
+ <title>xindy-&xindy-version;</title>
+
+ <indexterm zone="xindy">
+ <primary sortas="a-xindy">xindy</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title>Introduction to xindy</title>
+
+ <para>
+ <!-- LaTeX for the system, but just latex for the command -->
+ <application>Xindy</application> is an index processor that can be used
+ to generate book-like indexes for arbitrary document-preparation systems.
+ This includes systems such as TeX and LaTeX, the roff-family,
+ SGML/XML-based systems (e.g., HTML) that process some kind of text and
+ generate indexing information.
+ </para>
+
+ <note>
+ <para>
+ At the moment, this works on x86_64 but does not work on 32-bit x86.
+ Help in debugging this will be welcomed.
+ </para>
+ </note>
+
+ &lfs76_checked;
+
+ <bridgehead renderas="sect3">Package Information</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Download (HTTP): <ulink url="&xindy-download-http;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download (FTP): <ulink url="&xindy-download-ftp;"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download MD5 sum: &xindy-md5sum;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Download size: &xindy-size;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated disk space required: &xindy-buildsize;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Estimated build time: &xindy-time;
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">Xindy Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Required</bridgehead>
+ <para role="required">
+ <xref linkend="clisp"/>,
+ <xref linkend="texlive"/>
+ </para>
+
+ <para condition="html" role="usernotes">
+ User Notes: <ulink url="&blfs-wiki;/xindy"/>
+ </para>
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of xindy</title>
+
+ <para>
+ Install <application>xindy</application> by running the following
+ commands:
+ </para>
+
+<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e
's/$/-linux/') &&
+./configure --prefix=/opt/texlive/&texlive-year; \
+ --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
+ --datarootdir=/opt/texlive/&texlive-year; \
+ --includedir=/usr/include \
+ --libdir=/opt/texlive/&texlive-year;/texmf-dist \
+ --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &&
+make</userinput></screen>
+
+ <para>
+ This package does not have a testsuite.
+ </para>
+
+ <para>
+ Now, as the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+ </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>--includedir=/usr/include</parameter>:
+ This parameter ensures that the <filename>kpathsea</filename>
+ headers from <xref linkend="texlive"/> will be found.</para>
+
+ </sect2>
+
+ <sect2 role="content">
+ <title>Contents</title>
+
+ <segmentedlist>
+ <segtitle>Installed Programs</segtitle>
+ <segtitle>Installed Libraries</segtitle>
+ <segtitle>Installed Directory</segtitle>
+
+ <seglistitem>
+ <seg>
+ tex2xindy, texindy, xindy
+ </seg>
+ <seg>
+ None
+ </seg>
+ <seg>
+ /opt/texlive/&texlive-year;/texmf-dist/xindy
+ </seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="tex2xindy">
+ <term><command>tex2xindy</command></term>
+ <listitem>
+ <para>
+ transforms a LaTeX index file into a xindy raw index file.
+ </para>
+ <indexterm zone="xindy tex2xindy">
+ <primary sortas="b-tex2xindy">tex2xindy</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="texindy">
+ <term><command>texindy</command></term>
+ <listitem>
+ <para>
+ is a wrapper for xindy that turns on many LaTeX conventions by
default.
+ </para>
+ <indexterm zone="xindy texindy">
+ <primary sortas="b-texindy">texindy</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="xindy-prog">
+ <term><command>xindy</command></term>
+ <listitem>
+ <para>
+ creates a sorted and tagged index from a raw LaTeX index.
+ </para>
+ <indexterm zone="xindy xindy">
+ <primary sortas="b-xindy">xindy</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
+</sect1>
Added: trunk/BOOK/xsoft/other/asymptote.xml
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/BOOK/xsoft/other/asymptote.xml Sun Jan 11 13:06:00 2015
(r15327)
@@ -0,0 +1,217 @@
+<?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;
+
+ <!ENTITY asymptote-download-http
"&sourceforge-repo;/sourceforge/asymptote/asymptote-&asymptote-version;.src.tgz">
+ <!ENTITY asymptote-download-ftp " ">
+ <!ENTITY asymptote-md5sum "9c817c2a9763294d3b66e4b57054eed3">
+ <!ENTITY asymptote-size "1.8 MB">
+ <!ENTITY asymptote-buildsize "163 MB">
+ <!ENTITY asymptote-time "2.1 SBU">
+]>
+
+<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>
+
+ &lfs76_checked;
+
+ <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="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Required patch:
+ <ulink
url="&patch-root;/asymptote-&asymptote-version;-ghostscript_fix-1.patch"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <bridgehead renderas="sect3">Asymptote Dependencies</bridgehead>
+
+ <bridgehead renderas="sect4">Required</bridgehead>
+ <para role="required">
+ <xref linkend="gs"/>,
+ <xref linkend="texlive"/>
+ </para>
+
+ <bridgehead renderas="sect4">Recommended</bridgehead>
+ <para role="recommended">
+ <xref linkend="freeglut"/> (for 3D drawing)
+ </para>
+
+ <bridgehead renderas="sect4">Optional</bridgehead>
+ <para role="optional">
+ <ulink url="http://www.fftw.org/">FFTW</ulink>,
+ <xref linkend="gsl"/>
+ </para>
+
+ <bridgehead renderas="sect4">Optional (at runtime, to use
xasy)</bridgehead>
+ <para role="optional">
+ <ulink
url="http://effbot.org/downloads/Imaging-1.1.7.tar.gz">Imaging</ulink>
+ which needs
+ <!-- hard-coded because I'm not sure if the book scripts will find this and
move
+ it to svn/ -->
+ <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>
+ and has a build dependency of
+ <xref linkend="python2"/> (re-) compiled against <xref linkend="tk"/>
+ to provide <filename>_tkinter.so</filename>
+ </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/') &&
+patch -Np1 -i ../asymptote-&asymptote-version;-ghostscript_fix-1.patch
&&
+./configure --prefix=/opt/texlive/&texlive-year; \
+ --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
+ --datarootdir=/opt/texlive/&texlive-year; \
+ --libdir=/opt/texlive/&texlive-year;/texmf-dist \
+ --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &&
+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>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+ </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>
+
+ </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>
+ /opt/texlive/&texlive-year;/asymptote,
/opt/texlive/&texlive-year;/doc/asymptote,
+ /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>
Modified: trunk/BOOK/xsoft/other/other.xml
==============================================================================
--- trunk/BOOK/xsoft/other/other.xml Sun Jan 11 12:41:20 2015 (r15326)
+++ trunk/BOOK/xsoft/other/other.xml Sun Jan 11 13:06:00 2015 (r15327)
@@ -18,6 +18,7 @@
<para>These programs use the X Window System and don't fit easily into any
of the other chapters.</para>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="asymptote.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="balsa.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ekiga.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="feh.xml"/>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page