source: pst/typesetting/xindy.xml@ 2cbfee09

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 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 nosym 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 2cbfee09 was 2cbfee09, checked in by Ken Moffat <ken@…>, 9 years ago

Build xindy in the POSIX locale, thanks to Pierre and Bruce for help in debugging what I miscategorised as an i686 problem.

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

  • Property mode set to 100644
File size: 6.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 xindy-download-http "http://tug.ctan.org/support/xindy/base/xindy-&xindy-version;.tar.gz">
8 <!ENTITY xindy-download-ftp " ">
9 <!ENTITY xindy-md5sum "221acfeeb0f6f8388f89a59c56491041">
10 <!ENTITY xindy-size "506 KB">
11 <!ENTITY xindy-buildsize "15 MB">
12 <!ENTITY xindy-time "less than 0.1 SBU">
13]>
14
15<sect1 id="xindy" xreflabel="xindy-&xindy-version;">
16 <?dbhtml filename="xindy.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>xindy-&xindy-version;</title>
24
25 <indexterm zone="xindy">
26 <primary sortas="a-xindy">xindy</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to xindy</title>
31
32 <para>
33 <!-- LaTeX for the system, but just latex for the command -->
34 <application>Xindy</application> is an index processor that can be used
35 to generate book-like indexes for arbitrary document-preparation systems.
36 This includes systems such as TeX and LaTeX, the roff-family,
37 SGML/XML-based systems (e.g., HTML) that process some kind of text and
38 generate indexing information.
39 </para>
40
41 &lfs76_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&xindy-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&xindy-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &xindy-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &xindy-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &xindy-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &xindy-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Xindy Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="clisp"/>,
82 <xref linkend="texlive"/>
83 </para>
84
85 <para condition="html" role="usernotes">
86 User Notes: <ulink url="&blfs-wiki;/xindy"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of xindy</title>
92
93 <para>
94 Install <application>xindy</application> by running the following
95 commands:
96 </para>
97
98<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
99
100SAVE_LC_ALL=$LC_ALL &amp;&amp;
101LC_ALL=POSIX &amp;&amp;
102
103./configure --prefix=/opt/texlive/&texlive-year; \
104 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
105 --datarootdir=/opt/texlive/&texlive-year; \
106 --includedir=/usr/include \
107 --libdir=/opt/texlive/&texlive-year;/texmf-dist \
108 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &amp;&amp;
109make &amp;&amp;
110LC_ALL=$SAVE_LC_ALL &amp;&amp; unset SAVE_LC_ALL
111</userinput></screen>
112
113 <para>
114 This package does not have a testsuite.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>make install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <para>
129 <parameter>SAVE_LC_ALL=...</parameter>: with the current version of
130 <application>coreutils</application> it is essential to build
131 <application>xindy</application> in the POSIX (or C) locale because in a
132 UTF-8 locale the file <filename>latin.xdy</filename> will contain only a
133 heading and then a line '<literal>Binary file (standard input)
134 matches</literal>' instead of the many lines of
135 <application>lisp</application> merge-rule commands it ought to contain.
136 </para>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/tex-prefix.xml"/>
140
141 <para><parameter>--includedir=/usr/include</parameter>:
142 This parameter ensures that the <filename>kpathsea</filename>
143 headers from <xref linkend="texlive"/> will be found.</para>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directory</segtitle>
154
155 <seglistitem>
156 <seg>
157 tex2xindy, texindy, xindy
158 </seg>
159 <seg>
160 None
161 </seg>
162 <seg>
163 /opt/texlive/&texlive-year;/texmf-dist/xindy
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="tex2xindy">
174 <term><command>tex2xindy</command></term>
175 <listitem>
176 <para>
177 transforms a LaTeX index file into a xindy raw index file.
178 </para>
179 <indexterm zone="xindy tex2xindy">
180 <primary sortas="b-tex2xindy">tex2xindy</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="texindy">
186 <term><command>texindy</command></term>
187 <listitem>
188 <para>
189 is a wrapper for xindy that turns on many LaTeX conventions by default.
190 </para>
191 <indexterm zone="xindy texindy">
192 <primary sortas="b-texindy">texindy</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="xindy-prog">
198 <term><command>xindy</command></term>
199 <listitem>
200 <para>
201 creates a sorted and tagged index from a raw LaTeX index.
202 </para>
203 <indexterm zone="xindy xindy">
204 <primary sortas="b-xindy">xindy</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 </variablelist>
210
211 </sect2>
212
213</sect1>
Note: See TracBrowser for help on using the repository browser.