1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# xindex
Copyright 2019-2024 Herbert Voß
The files xindex-lapp.lua and xindex-pretty.lua have the MIT licence.
all other files are LPPL 1.3
Unicode compatible index programm for LaTeX. It needs Lua 5.3 which
will be included in at least LuaTeX 1.09 (TeXLive 2019)
* xindex.lua -- main file
* xindex-cfg-common.lua -- main config module
* xindex-cfg-uca.lua -- config module for uca
* xindex-cfg-no_uca.lua -- config module for old mode
* xindex-base.lua -- base file
* xindex-baselib.lua -- base file
* xindex-lib.lua -- functions module
* xindex-lapp.lua -- read parameter
* xindex-unicode.lua -- list of Unicode categories
The syntax of `xindex`
xindex [options] <inputfile>[.idx] <inputfile>[.idx] ...
<prog> | xindex -s ...
cat <input file> | xindex -s ...
xindex -s ... < input file
possible options are (short,long):
-q,--quiet
-h,--help
-v... Verbosity level; can be -v, -vv, -vvv
-c,--config (default cfg)
-e,--escapechar (default ")
-n,--noheadings
-a,--no_casesensitive
-b,--no_labels
-o,--output (default "")
-l,--language (default en)
-p,--prefix (default L)
-g,--no_pagenumber
-s,--use_stdin
-x,--no_UCA
-V,--version
<files...> (default stdin) .idx file(s)
Testfiles:
demo.tex: run
lualatex demo
./xindex.lua demo.idx
lualatex demo
buch.tex: run
./xindex.lua buch.idx
lualatex buch
|