summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-14 20:49:46 +0000
committerKarl Berry <karl@freefriends.org>2021-08-14 20:49:46 +0000
commitd4424601e554a08fb8666350f6aad3cf6486fc92 (patch)
tree35c262e0f94f9afdc1898a43c517686736b4e609 /Master/texmf-dist/doc/lualatex
parent7957729c657298312dd704a7cd42bef27ec9be27 (diff)
xindex (14aug21)
git-svn-id: svn://tug.org/texlive/trunk@60242 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/CHANGELOG4
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/README.md12
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/scripts/xindex-yannis.lua262
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/HADW.pdfbin18924 -> 18345 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/HADW.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute.pdfbin15832 -> 15198 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute2.pdfbin19533 -> 18887 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/buch.ind14
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/buch.pdfbin40170 -> 39090 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/buch.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.ind2
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.pdfbin29389 -> 28627 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo.ind7
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo.pdfbin35447 -> 34621 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo3.pdfbin9494 -> 9220 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo4.idx14
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo4.ind46
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo4.pdfbin0 -> 11887 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/tests/demo4.tex12
-rwxr-xr-xMaster/texmf-dist/doc/lualatex/xindex/tests/runTests.sh4
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdfbin410832 -> 412315 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex38
22 files changed, 134 insertions, 285 deletions
diff --git a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG b/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
index f3ae68df9a1..a8a1703f225 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
+++ b/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG
@@ -1,3 +1,7 @@
+0.31 2021-08-13 - fix introduced bug for roman page numbers
+ - add optional argument -s for standard input
+ - allow piping with standard input
+ - allow more than one input file
0.30 2021-07-07 - added otional argument -b for no label setting in the <index>.ind
0.29 2021-07-05 - don't use language specific names for the labels
- use math.max()
diff --git a/Master/texmf-dist/doc/lualatex/xindex/README.md b/Master/texmf-dist/doc/lualatex/xindex/README.md
index 59a639ac7ab..1a75b7aad77 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/README.md
+++ b/Master/texmf-dist/doc/lualatex/xindex/README.md
@@ -9,13 +9,18 @@ will be included in at least LuaTeX 1.09 (TeXLive 2019)
* xindex-cfg-common.lua -- main config module
* xindex-cfg-uca.lua -- config module for uca
* 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]
+ 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
@@ -25,12 +30,13 @@ possible options are (short,long):
-e,--escapechar (default ")
-n,--noheadings
-a,--no_casesensitive
- -b,--no_label
+ -b,--no_labels
-o,--output (default "")
-l,--language (default en)
-p,--prefix (default L)
-u,--use_UCA
- <input> (string)
+ -s,--use_stdin
+ <files...> (default stdin) .idx file(s)
Testfiles:
diff --git a/Master/texmf-dist/doc/lualatex/xindex/scripts/xindex-yannis.lua b/Master/texmf-dist/doc/lualatex/xindex/scripts/xindex-yannis.lua
deleted file mode 100644
index 2ef45e43606..00000000000
--- a/Master/texmf-dist/doc/lualatex/xindex/scripts/xindex-yannis.lua
+++ /dev/null
@@ -1,262 +0,0 @@
------------------------------------------------------------------------
--- FILE: xindex-yannis.lua
--- DESCRIPTION: configuration file for xindex.lua
--- REQUIREMENTS:
--- AUTHOR: Herbert Voß
--- LICENSE: LPPL1.3
---
--- $Id: xindex-yannis.lua 4 2021-07-07 07:25:04Z hvoss $
------------------------------------------------------------------------
-
-if not modules then modules = { } end modules ['xindex-yannis'] = {
- version = 0.30,
- comment = "main configuration to xindex.lua",
- author = "Herbert Voss",
- copyright = "Herbert Voss",
- license = "LPPL 1.3"
-}
-
-itemPageDelimiter = "," -- Hello, 14
-compressPages = true -- something like 12--15, instaead 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 = "-" -- 14-17 instead of --
-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 \begin{theindex}
-idxnewletter = "\\textbf" -- Only valid if -n is not set
-
-
---[[
- 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
- { 'α', 'ά', 'ὰ', 'ᾶ', 'ἀ', 'ἄ', 'ἂ', 'ἆ', 'ἁ', 'ἅ', 'ἃ', 'ἇ', 'ᾳ', 'ᾴ', 'ᾲ', 'ᾷ', 'ᾀ', 'ᾄ', 'ᾂ', 'ᾆ', 'ᾁ', 'ᾅ', 'ᾃ', 'ᾇ' },
- { 'β', 'ϐ' },
- { 'γ' },
- { 'δ' },
- { 'ε', 'έ', 'ὲ', 'ἐ', 'ἔ', 'ἒ', 'ἑ', 'ἕ', 'ἓ' },
- { 'ζ' },
- { 'η', 'ή', 'ὴ', 'ῆ', 'ἠ', 'ἤ', 'ἢ', 'ἦ', 'ἡ', 'ἥ', 'ἣ', 'ἧ', 'ῃ', 'ῄ', 'ῂ', 'ῇ', 'ᾐ', 'ᾔ', 'ᾒ', 'ᾖ', 'ᾑ', 'ᾕ', 'ᾓ', 'ᾗ' },
- { 'θ' },
- { 'ι', 'ί', 'ὶ', 'ῖ', 'ἰ', 'ἴ', 'ἲ', 'ἶ', 'ἱ', 'ἵ', 'ἳ', 'ἷ', 'ϊ', 'ΐ', 'ῒ', 'ῗ' },
- { 'κ' },
- { 'λ' },
- { 'μ' },
- { 'ν' },
- { 'ξ' },
- { 'ο', 'ό', 'ὸ', 'ὀ', 'ὄ', 'ὂ', 'ὁ', 'ὅ', 'ὃ' },
- { 'π' },
- { 'ρ' },
- { 'σ', 'ς' },
- { 'τ' },
- { 'υ', 'ύ', 'ὺ', 'ῦ', 'ὐ', 'ὔ', 'ὒ', 'ὖ', 'ὑ', 'ὕ', 'ὓ', 'ὗ', 'ϋ', 'ΰ', 'ῢ', 'ῧ' },
- { 'φ' },
- { 'χ' },
- { 'ψ' },
- { 'ω', 'ώ', 'ὼ', 'ῶ', 'ὠ', 'ὤ', 'ὢ', 'ὦ', 'ὡ', 'ὥ', 'ὣ', 'ὧ', 'ῳ', 'ῴ', 'ῲ', 'ῷ', 'ᾠ', 'ᾤ', 'ᾢ', 'ᾦ', 'ᾡ', 'ᾥ', 'ᾣ', 'ᾧ' },
- { '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', 'ž' },
- { 'а' },
- { 'б' },
- { 'в' },
- { 'г', 'ѓ' },
- { 'д' },
- { 'е', 'ё' },
- { 'ж' },
- { 'з' },
- { 'и', 'і' },
- { 'й' },
- { 'к' },
- { 'л' },
- { 'м' },
- { 'н' },
- { 'о' },
- { 'п' },
- { 'р' },
- { 'с' },
- { 'т' },
- { 'у' },
- { 'ф' },
- { 'х' },
- { 'ц' },
- { 'ч' },
- { 'ш' },
- { 'щ' },
- { 'ъ' },
- { 'ы' },
- { 'ь' },
- { 'э' },
- { 'ю' },
- { 'я' },
-}
-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', 'Ž' },
- { 'А' },
- { 'Б' },
- { 'В' },
- { 'Г', 'Ѓ' },
- { 'Д' },
- { 'Е', 'Ё' },
- { 'Ж' },
- { 'З' },
- { 'И', 'І' },
- { 'Й' },
- { 'К' },
- { 'Л' },
- { 'М' },
- { 'Н' },
- { 'О' },
- { 'П' },
- { 'Р' },
- { 'С' },
- { 'Т' },
- { 'У' },
- { 'Ф' },
- { 'Х' },
- { 'Ц' },
- { 'Ч' },
- { 'Ш' },
- { 'Щ' },
- { 'Ъ' },
- { 'Ы' },
- { 'Ь' },
- { 'Э' },
- { 'Ю' },
- { 'Я' },
-}
-
-
-function SORTendhook(list)
- print ("We have "..#list.." total list entries")
- local greek = {}
- local latin = {}
- local cyrillic = {}
- local symbols = {}
- local numbers = {}
- local others = {}
- local firstChar, charType
- local firstCharNumber
- local v
- for i=1,#list do
- v = list[i]
- firstChar = NormalizedUppercase(utf.sub(v["sortChar"],1,1))
- v["sortChar"] = firstChar -- to be sure it is an uppercase unicode char
- firstCharNumber = string.utfvalue(firstChar)
- charType = getCharType(firstChar)
--- print (utf.sub(v["sortChar"],1,1).."->"..firstChar.." ("..firstCharNumber..") ".." ("..charType..")")
- if charType == 0 then
- symbols[#symbols+1] = v
- elseif charType == 1 then
- numbers[#numbers+1] = v
- elseif firstCharNumber > 0x052F then -- 0x052F is last cyrillic character
- others[#others+1] = v
- elseif firstCharNumber >= 0x0400 then -- 0x0400-0x052F cyrillic characters
- cyrillic[#cyrillic+1] = v
- elseif firstCharNumber <= 0x03FF then -- 0x03FF is last greek character
- if firstCharNumber >= 0x0370 then
- greek[#greek+1] = v -- 0x0370-0x03FF greek characters
- elseif firstCharNumber <= 0x024F then
- if firstCharNumber >= 0x041 then -- 0x041-0x024F latin character
- latin[#latin+1] = v
- else
- others[#others+1] = v -- everything else
- end
- end
- end
- end
- print ("We have "..#greek.." Greek entries")
- print ("We have "..#latin.." Latin entries")
- print ("We have "..#cyrillic.." Cyrillic entries")
- print ("We have "..#symbols.." Symbol entries")
- print ("We have "..#numbers.." Number entries")
- print ("We have "..#others.." other entries")
- list = {}
- for i = 1,#greek do list[#list+1] = greek[i] end
- list[#list]["Macro"] = "\\vspace{1cm}"
- for i = 1,#latin do list[#list+1] = latin[i] end
- list[#list]["Macro"] = "\\vspace{1cm}"
- for i = 1,#cyrillic do list[#list+1] = cyrillic[i] end
- list[#list]["Macro"] = "\\vspace{1cm}"
- for i = 1,#symbols do list[#list+1] = symbols[i] end
- for i = 1,#numbers do list[#list+1] = numbers[i] end
- for i = 1,#others do list[#list+1] = others[i] end
- print ("Sorted "..#list.." entries")
- return list
-end
-
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.pdf
index 239f431bc92..44577111ea0 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.tex b/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.tex
index 1a837fd93b5..0ce50d0b10d 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.tex
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/HADW.tex
@@ -4,7 +4,7 @@
\usepackage{libertinus-otf}
\usepackage{babel}
\usepackage{makeidx}
-\usepackage{dtk-logos}
+\usepackage{hvlogos}
\usepackage[table]{xcolor}
\makeatletter
\def\theindex{% only for demonstration
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute.pdf
index d91d9f10ec6..2c353bfa291 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute2.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute2.pdf
index c2b78f3f185..5803dc5eb78 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute2.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/Umlaute2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.ind b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.ind
index 57a3d139cff..d03eb1dbc9e 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.ind
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.ind
@@ -1,15 +1,15 @@
\begin{theindex}
-\par\textbf{Symbols}\label{L-xindex-Symbols}
+\par\textbf{Symbols}\label{L-xindex-symbols}
\nopagebreak[4]
- \item \texttt{\"{}\"{}}, {79}
- \item \texttt{\"{}=}, {79}
- \item \texttt{\"{}\textasciitilde}, {79}
+ \item \texttt{""}, {79}
+ \item \texttt{"=}, {79}
+ \item \texttt{"\textasciitilde}, {79}
\item \euro {}, {67}
\item \textacutedbl , {78}
\indexspace
-\textbf{Numbers}\label{L-xindex-Numbers}
+\textbf{Numbers}\label{L-xindex-numbers}
\nopagebreak[4]
\item 3D, {752}
\item 4:3, {621}
@@ -473,11 +473,10 @@
\subitem -\,Stil, {378}
\subitem -\,Tiefe, {64}
\subitem -\,Warnung, {883}
+ \subitem -\,fett, {411}, {451}
\item Schriftattribut, {660}
\item Schrifteinbindung, {9}
\item Schriftfamilie, {85}, {442}, {595}
- \item Schrift
- \subitem -\,fett, {411}, {451}
\item Schriftgröße, {63}, {87}, {404}
\item Schriftkodierung, {9}, {54}, {70}
\item Schriftstärke, {87}
@@ -548,6 +547,7 @@
\item Tabellenüberschrift
\subitem -\,\nxLPack {longtable}, {259}
\item Tabellenunterschrift
+ \subitem -\,\nxLPack {longtable}, {259}
\item Tabellenverzeichnis, {310}, {475}
\item {\ttfamily tabular} Env., \idxbf{0--218}
\end{theindex}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.pdf
index 5975dd18f7a..02c8d5b81bf 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.tex b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.tex
index 8369a1fc634..923618fe9d7 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/buch.tex
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/buch.tex
@@ -4,7 +4,7 @@
\usepackage{libertinus-otf}
\usepackage{babel}
\usepackage{makeidx}
-\usepackage{dtk-logos}
+\usepackage{hvlogos}
%\newcommand\doublequote{"{}}
\let\nxLnotation\texttt
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.ind b/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.ind
index 854bf918702..639cedcaab3 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.ind
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.ind
@@ -36,7 +36,7 @@
\item demnach, \hyperpage{35}, \hyperpage{38}
\item Demonstration, \hyperpage{29}, \hyperpage{35}
\item den, \hyperpage{46}
- \item der, \hyperpage{9--31}, \hyperpage{34}, \hyperpage{37}, \hyperpage{41}
+ \item der, \hyperpage{34}, \hyperpage{37}, \hyperpage{41}
\item Deshalb, \hyperpage{14}
\item Deutschland, \hyperpage{8}, \hyperpage{27}
\item die, \hyperpage{21}, \hyperpage{39}, \hyperpage{41}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.pdf
index dfe9b33aaa9..0317664d465 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo-hyperref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo.ind b/Master/texmf-dist/doc/lualatex/xindex/tests/demo.ind
index 91c44b327dd..ff3bc67f4ea 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/demo.ind
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo.ind
@@ -1,11 +1,11 @@
\begin{theindex}
-\par\textbf{Symbole}\label{L-xindex-Symbole}
+\par\textbf{Symbols}\label{L-xindex-symbols}
\nopagebreak[4]
\item \textbackslash , {1}
\indexspace
-\textbf{Zahlen}\label{L-xindex-Zahlen}
+\textbf{Numbers}\label{L-xindex-numbers}
\nopagebreak[4]
\item 4711, {1}
@@ -48,7 +48,7 @@
\item demnach, {35}, {38}
\item Demonstration, {29}, {35}
\item den, {46}
- \item der, {9--31}, {34}, {37}, {41}
+ \item der, {34}, {37}, {41}
\item Deshalb, {14}
\item Deutschland, {8}, {27}
\item die, {21}, {39}, {41}
@@ -85,6 +85,7 @@
\item Festakt, {19}
\item Flaggen, {36}
\item Flüchtlinge, {11}
+ \item foo, {1}, \textit{1f}, \see{bar}{2}, {2}, \textbf{3}, {3f}
\item Frust, {17}
\item für, {10}, {26}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/demo.pdf
index 0df70568641..4aa6b007df2 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/demo.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo3.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/demo3.pdf
index b9718a4e31f..76466c1cfa5 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/demo3.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo3.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.idx b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.idx
new file mode 100644
index 00000000000..a97595107eb
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.idx
@@ -0,0 +1,14 @@
+\indexentry {Lamport@{Lamport}, Leslie}{xxxvi}
+\indexentry {Downes@{Downes}, Michael}{xxxvi}
+\indexentry {Gordon@{Gordon}, Peter}{xxxvi}
+\indexentry {Ryan@{Ryan}, Elizabeth}{xxxvi}
+\indexentry {Beeton@{Beeton}, Barbara}{xxxvi}
+\indexentry {Rhead@{Rhead}, David}{xxxvi}
+\indexentry {Vulis@{Vulis}, Michael}{xxxvii}
+\indexentry {Rowley@{Rowley}, Chris}{xxxvii}
+\indexentry {Wong@{Wong}, Wai}{xxxvii}
+\indexentry {Downes@{Downes}, Michael}{xxxvii}
+\indexentry {Wetmore@{Wetmore}, Alan}{xxxvii}
+\indexentry {Knuth@{Knuth}, Donald}{1}
+\indexentry {Knuth@{Knuth}, Donald}{2}
+\indexentry {Lamport@{Lamport}, Leslie}{2}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.ind b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.ind
new file mode 100644
index 00000000000..e2bf40975c5
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.ind
@@ -0,0 +1,46 @@
+
+\begin{theindex}
+
+\indexspace
+\textbf{B}\label{L-xindex-B}
+\nopagebreak[4]
+ \item {Beeton}, Barbara, {xxxvi}
+
+\indexspace
+\textbf{D}\label{L-xindex-D}
+\nopagebreak[4]
+ \item {Downes}, Michael, {xxxvi}, {xxxvii}
+
+\indexspace
+\textbf{G}\label{L-xindex-G}
+\nopagebreak[4]
+ \item {Gordon}, Peter, {xxxvi}
+
+\indexspace
+\textbf{K}\label{L-xindex-K}
+\nopagebreak[4]
+ \item {Knuth}, Donald, {1f}
+
+\indexspace
+\textbf{L}\label{L-xindex-L}
+\nopagebreak[4]
+ \item {Lamport}, Leslie, {xxxvi}, {2}
+
+\indexspace
+\textbf{R}\label{L-xindex-R}
+\nopagebreak[4]
+ \item {Rhead}, David, {xxxvi}
+ \item {Rowley}, Chris, {xxxvii}
+ \item {Ryan}, Elizabeth, {xxxvi}
+
+\indexspace
+\textbf{V}\label{L-xindex-V}
+\nopagebreak[4]
+ \item {Vulis}, Michael, {xxxvii}
+
+\indexspace
+\textbf{W}\label{L-xindex-W}
+\nopagebreak[4]
+ \item {Wetmore}, Alan, {xxxvii}
+ \item {Wong}, Wai, {xxxvii}
+\end{theindex}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.pdf b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.pdf
new file mode 100644
index 00000000000..066fba32940
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.tex b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.tex
new file mode 100644
index 00000000000..b8fdfc2e71b
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/demo4.tex
@@ -0,0 +1,12 @@
+\documentclass[paper=a4,parskip=half-,ngerman]{scrartcl}
+\usepackage{fontspec}
+\usepackage{libertinus-otf}
+\usepackage{babel}
+
+\usepackage{makeidx}
+\begin{document}
+
+\printindex
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/lualatex/xindex/tests/runTests.sh b/Master/texmf-dist/doc/lualatex/xindex/tests/runTests.sh
index 678bfa40e78..d0c5961407f 100755
--- a/Master/texmf-dist/doc/lualatex/xindex/tests/runTests.sh
+++ b/Master/texmf-dist/doc/lualatex/xindex/tests/runTests.sh
@@ -16,6 +16,10 @@ lualatex demo3 > /dev/null
xindex -l de demo3 > /dev/null
lualatex demo3 > /dev/null
+echo "demo4"
+xindex demo4 > /dev/null
+lualatex demo4 > /dev/null
+
echo "demo-hyperref"
xindex demo-hyperref > /dev/null
lualatex demo-hyperref > /dev/null
diff --git a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf
index 0e0af19097c..f182c409f4e 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf
+++ b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex
index 8adac4c59c0..25c8c052ca8 100644
--- a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex
+++ b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex
@@ -36,10 +36,9 @@
\gdef\DoubleperCent{%%}
}
-
\usepackage{xcolor,fancyvrb,varioref}
\usepackage{xltabular}
-\usepackage{dtk-logos} % for Wikipedia W
+\usepackage{hvlogos} % for Wikipedia W
\usepackage{listings}
\usepackage{dtk-extern} % for Wikipedia W
\lstset{basicstyle=\ttfamily\small,language=[LaTeX]TeX}
@@ -81,7 +80,7 @@
\def\setVersion#1{\setVVersion#1!!}
\def\setVVersion#1=#2!!{\def\xIndexVersion{#2}}
-\setVersion{version = 0.30}% can be automatically changed by perl
+\setVersion{version = 0.31}% can be automatically changed by perl
\setkeys{dtk}{cleanup=true,force}
@@ -101,8 +100,9 @@ Mark Baudoin;
Denis Bitouzé;
Brian Dunn;
Michal Hoftich;
+Frank Mittelbach;
Heiko Oberdiek;
-Matteo Paolini;\\
+Matteo Paolini;
Florent Rougon;
Martin Sievers;
Simon Spiegel
@@ -157,7 +157,7 @@ EntryList[2] = {
\subsection{Syntax}
-The \Index{syntax} is \verb|xindex [...] <file>| where \verb|[...]| are optional \Index{argument}s, either in short or
+The \Index{syntax} is \verb|xindex [...] <file(s)>| where \verb|[...]| are optional \Index{argument}s, either in short or
long form which, of course, can be mixed:
\begin{verbatim}
@@ -174,15 +174,38 @@ xindex
[-l,--language ] default is en
[-p,--prefix] default L
[-u,--use_UCA ] default is false
- <input file>
+ [-s,--use_stdin ] default is false
+ <files...> (default stdin) file(s)[.idx] one or more files
\end{verbatim}
For example:
\begin{verbatim}
xindex -q -l fr -b myDoc
+xindex -l de -c DIN2 demo1 demo2 demo3
+xindex -c norsk -o index.ind demo1 demo2.bdx demo3.adx
+\end{verbatim}
+
+\begin{enumerate}
+\item \texttt{-q}: quiet; \texttt{-l fr}: french language setting; \texttt{-b}: no labels; \texttt{myDoc}: input data \texttt{myDoc} or \texttt{myDoc.idx)\newline
+ output data will be \texttt{myDoc.ind} and logfile \texttt{myDoc.ilg}
+\item \texttt{-l de}: german language setting; \texttt{-c DIN2}: config file \texttt{xindex-DIN2.lua}; \texttt{demo1 demo2 demo3}: input data files with or without
+ extension \texttt{.idx} \newline
+ output data will be \texttt{demo1.ind} and logfile \texttt{xindex.ilg}}
+\item \texttt{-c norsk}: config file \texttt{xindex-norsk.lua}; \texttt{-o index.ind}: output file; \texttt{demo1 demo2.bdx demo3.adx}: input data files with or without
+ extension \texttt{.idx} \newline
+ output data will be \texttt{xindex.ind} and logfile \texttt{xindex.ilg}
+\end{enumerate}
+
+It is also possible to use standard input for the index data, which needs the \verb|-s| parameter:
+
+\begin{verbatim}
+cat myDoc.idx | xindex -q -l fr -b -s
+xindex -l de -c DIN2 < myDoc.idx
\end{verbatim}
+
+
\iffalse
local args = require ('xindex-lapp') [[
parameter handling
@@ -198,7 +221,8 @@ local args = require ('xindex-lapp') [[
-l,--language (default en)
-p,--prefix (default L)
-u,--use_UCA
- <input> (string)
+ -s,--use_stdin
+ <files...> (default stdin) [.idx] file(s)
]]
\fi