source: pst/typesetting/xindy.xml@ 150482f

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 150482f was 150482f, checked in by Ken Moffat <ken@…>, 7 years ago

Texlive-2017, and tag most of it for gcc-7.1. For the binary installer I have not tagged that (only installed the release on 8.0), but I did run the pretest, and therefore ncurses5 and readline6, on a gcc-7.1 system.

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

  • Property mode set to 100644
File size: 7.4 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 &lfs80_checked;
42 &gcc7_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&xindy-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&xindy-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &xindy-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &xindy-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &xindy-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &xindy-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>Required patch: <ulink
82 url="&patch-root;/xindy-&xindy-version;-upstream_fixes-1.patch"/></para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">Xindy Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="clisp"/>,
91 <xref linkend="texlive"/>
92 </para>
93
94 <para condition="html" role="usernotes">
95 User Notes: <ulink url="&blfs-wiki;/xindy"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of xindy</title>
101
102 <para>
103 Install <application>xindy</application> by running the following
104 commands:
105 </para>
106
107<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
108
109sed -i "s/ grep -v '^;'/ awk NF/" make-rules/inputenc/Makefile.in &amp;&amp;
110
111patch -Np1 -i ../xindy-&xindy-version;-upstream_fixes-1.patch &amp;&amp;
112
113./configure --prefix=/opt/texlive/&texlive-year; \
114 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
115 --datarootdir=/opt/texlive/&texlive-year; \
116 --includedir=/usr/include \
117 --libdir=/opt/texlive/&texlive-year;/texmf-dist \
118 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &amp;&amp;
119
120make LC_ALL=POSIX</userinput></screen>
121
122 <para>
123 This package does not have a testsuite.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <para>
138 <command>sed -i "s/ grep -v '^;'/ awk NF/" ...</command>: The build
139 sorts files in latin{1..3} encodings to create latin.xdy, and unicode
140 versions of these to create utf8.xdy after using
141 <command>grep -v '^;'</command> to remove blank lines. With
142 <application>grep-2.23</application> any data not in the expected
143 encoding is treated as binary, resulting in a useless file. This
144 command uses an alternative way of removing blank lines.
145 </para>
146
147 <para>
148 <command>patch -Np1 -i ../xindy-&xindy-version;-upstream_fixes-1.patch</command>:
149 <application>Xindy</application> is now maintained at CTAN. This patch
150 updates the source to match what is used for the &texlive-year; texlive
151 binary version ( but ignoring changes which were only made to allow for
152 spaces in pathnames).
153 </para>
154
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/tex-prefix.xml"/>
157
158 <para><parameter>--includedir=/usr/include</parameter>:
159 This parameter ensures that the <filename>kpathsea</filename>
160 headers from <xref linkend="texlive"/> will be found.</para>
161
162 <para>
163 <command>make LC_ALL=POSIX</command>: with the current version of
164 <application>coreutils</application> it is essential to build
165 <application>xindy</application> in the POSIX (or C) locale because in a
166 UTF-8 locale the file <filename>latin.xdy</filename> will contain only a
167 heading and then a line '<literal>Binary file (standard input)
168 matches</literal>' instead of the many lines of
169 <application>lisp</application> merge-rule commands it ought to contain.
170 </para>
171
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176
177 <segmentedlist>
178 <segtitle>Installed Programs</segtitle>
179 <segtitle>Installed Libraries</segtitle>
180 <segtitle>Installed Directory</segtitle>
181
182 <seglistitem>
183 <seg>
184 tex2xindy, texindy, xindy
185 </seg>
186 <seg>
187 None
188 </seg>
189 <seg>
190 /opt/texlive/&texlive-year;/texmf-dist/xindy
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="tex2xindy">
201 <term><command>tex2xindy</command></term>
202 <listitem>
203 <para>
204 transforms a LaTeX index file into a xindy raw index file.
205 </para>
206 <indexterm zone="xindy tex2xindy">
207 <primary sortas="b-tex2xindy">tex2xindy</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="texindy">
213 <term><command>texindy</command></term>
214 <listitem>
215 <para>
216 is a wrapper for xindy that turns on many LaTeX conventions by default.
217 </para>
218 <indexterm zone="xindy texindy">
219 <primary sortas="b-texindy">texindy</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="xindy-prog">
225 <term><command>xindy</command></term>
226 <listitem>
227 <para>
228 creates a sorted and tagged index from a raw LaTeX index.
229 </para>
230 <indexterm zone="xindy xindy">
231 <primary sortas="b-xindy">xindy</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 </variablelist>
237
238 </sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.