diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-21 03:02:04 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-21 03:02:04 +0000 |
commit | 418f27fe2e2b233c282c7388ed4f2bf3461a958f (patch) | |
tree | d52e162eeef9ce2f96597577dec046a9ecd9bd83 /macros/luatex/latex/letgut/doc/xindex-letgut.lua | |
parent | 932716f98734dec3d6502355f5618e5895729499 (diff) |
CTAN sync 202203210302
Diffstat (limited to 'macros/luatex/latex/letgut/doc/xindex-letgut.lua')
-rw-r--r-- | macros/luatex/latex/letgut/doc/xindex-letgut.lua | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/macros/luatex/latex/letgut/doc/xindex-letgut.lua b/macros/luatex/latex/letgut/doc/xindex-letgut.lua new file mode 100644 index 0000000000..3bd7e7cd02 --- /dev/null +++ b/macros/luatex/latex/letgut/doc/xindex-letgut.lua @@ -0,0 +1,94 @@ +----------------------------------------------------------------------- +-- FILE: xindex-letgut.lua +-- DESCRIPTION: configuration file for xindex.lua +-- REQUIREMENTS: +-- AUTHOR: Denis Bitouzé +-- LICENSE: LPPL1.3 +-- +-- $Id: xindex-letgut.lua 22 2022-03-11 dbitouze $ +----------------------------------------------------------------------- + +if not modules then modules = { } end modules ['xindex-cfg'] = { + version = 0.41, + comment = "French configuration to xindex.lua", + author = "Denis Bitouzé", + copyright = "Denis Bitouzé", + license = "LPPL 1.3" +} + +itemPageDelimiter = "," -- Hello, 14 +compressPages = true -- something like 12--15, instead of 12,13,14,15. the |( ... |) syntax is still valid +fCompress = false -- 3f -> page 3, 4 and 3ff -> page 3, 4, 5 +minCompress = 2 -- 14--17 or +rangeSymbol = "-" +numericPage = true -- for non numerical pagenumbers, like "VI-17" +sublabels = {"", "\\,", "\\,", "\\,"} -- for the (sub(sub(sub-items first one is for item +pageNoPrefixDel = "" -- a delimiter for page numbers like "VI-17" -- not used !!! +indexOpening = "" -- commands after envStart +idxnewletter = "\\textbf" -- Only valid if -n is not set +envStart = "\\begin{theindex}" +envStop = "\\end{theindex}" + +--[[ + Each character's position in this array-like table determines its 'priority'. + Several characters in the same slot have the same 'priority'. +]] +alphabet_lower = { -- for sorting + { ' ' }, -- only for internal tests + { 'a', 'á', 'à', 'ä', 'â', 'å', 'æ', }, + { 'b' }, + { 'c', 'ç' }, + { 'd' }, + { 'e', 'é', 'è', 'ë', 'ê' }, + { 'f' }, + { 'g' }, + { 'h' }, + { 'i', 'í', 'ì', 'î', 'ï' }, + { 'j' }, + { 'k' }, + { 'l' }, + { 'm' }, + { 'n', 'ñ' }, + { 'o', 'ó', 'ò', 'ö', 'ô', 'ø', 'œ', 'ø'}, + { 'p' }, + { 'q' }, + { 'r' }, + { 's', 'š' }, + { 'ss', 'ß' }, + { 't' }, + { 'u', 'ú', 'ù', 'ü' , 'û'}, + { 'v' }, + { 'w' }, + { 'x' }, + { 'y', 'ý', 'ÿ' }, + { 'z', 'ž' } +} +alphabet_upper = { -- for sorting + { ' ' }, + { 'A', 'Á', 'À', 'Ä', 'Å', 'Æ', 'Â' }, + { 'B' }, + { 'C', 'Ç' }, + { 'D' }, + { 'E', 'È', 'É', 'Ë', 'Ê' }, + { 'F' }, + { 'G' }, + { 'H' }, + { 'I', 'Í', 'Ì', 'Ï', 'Î' }, + { 'J' }, + { 'K' }, + { 'L' }, + { 'M' }, + { 'N', 'Ñ' }, + { 'O', 'Ó', 'Ò', 'Ö', 'Ø','Œ', 'Ø', 'Ô'}, + { 'P' }, + { 'Q' }, + { 'R' }, + { 'S', 'Š' }, + { 'T' }, + { 'U', 'Ú', 'Ù', 'Ü', 'Û' }, + { 'V' }, + { 'W' }, + { 'X' }, + { 'Y', 'Ý', 'Ÿ' }, + { 'Z', 'Ž' } +} |