summaryrefslogtreecommitdiff
path: root/indexing/xindex/doc/xindex-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-21 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2023-01-21 03:01:20 +0000
commit94c0d48361932b4beca57cc5609d26a46270dfeb (patch)
treeffc783a6c17a404847f0b7b46f3d49912497add3 /indexing/xindex/doc/xindex-doc.tex
parent6d3235d032cbed920059ab39370928067056573a (diff)
CTAN sync 202301210301
Diffstat (limited to 'indexing/xindex/doc/xindex-doc.tex')
-rw-r--r--indexing/xindex/doc/xindex-doc.tex111
1 files changed, 80 insertions, 31 deletions
diff --git a/indexing/xindex/doc/xindex-doc.tex b/indexing/xindex/doc/xindex-doc.tex
index 69ecf8f001..767ea1b072 100644
--- a/indexing/xindex/doc/xindex-doc.tex
+++ b/indexing/xindex/doc/xindex-doc.tex
@@ -81,9 +81,9 @@
\def\setVersion#1{\setVVersion#1!!}
\def\setVVersion#1=#2!!{\def\xIndexVersion{#2}}
-\setVersion{version = 0.46}% can be automatically changed by perl
+\setVersion{version = 0.47}% can be automatically changed by perl
-\setkeys{hv}{cleanup=true,force=false}
+\setkeys{hv}{cleanup=false,force=false}
\title{Program and package \texttt{xindex} \\--\\ \normalsize \xIndexVersion\ (\today)}
@@ -104,6 +104,7 @@ Brian Dunn;
Gonzalo Pesquero Serrano;
Michal Hoftich;
Mykel Kochenderfer;
+Alexey Kuznetzov;
Frank Mittelbach;
Peter Müller;
Heiko Oberdiek;
@@ -111,7 +112,8 @@ Matteo Paolini;
Stefan Pinnow;
Florent Rougon;
Martin Sievers;
-Simon Spiegel
+Simon Spiegel;
+Jürhen Spitzmüller;
\clearpage
\section{Introduction}
@@ -214,28 +216,6 @@ xindex -l de -c DIN2 < myDoc.idx
-\iffalse
-local args = require ('xindex-lapp') [[
- parameter handling
- -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)
- -u,--use_UCA
- -s,--use_stdin
- <files...> (default stdin) [.idx] file(s)
-]]
-\fi
-
-
-
The \Index{language} has to be chosen as an international abbreviation in lower- or uppercase letters, see
\url{https://en.wikipedia.org/wiki/ISO_3166-2}
@@ -386,8 +366,9 @@ indexheader = {
fr = {"Symboles","Nombres", "french", "francais", "canadien", "acadian"},
it = {"Simboli", "Numeri", "italian"},
\Japanese jp = {"シンボル","番号","japanese"},
- \DejaVuMono nl = {"Symbolen", "Nummers", "dutch"},
+ \DejaVuMono nl = {"Symbolen", "Nummers", "dutch"},
no = {"Symboler","Tall", "norsk", "nynorsk"},
+ ru = {"Символы", "Числа", "russian"},
}
\end{Verbatim}
@@ -446,7 +427,7 @@ the \Lfile{aux} file(s). This is only possible if package \Lpack{babel} or \Lpa
crop,
xindex,
xindexOptions=-k -e "?",
- force=false,
+ force=true,
runs=2,code,docType=latex,
showFilename,
align=\centering,
@@ -473,7 +454,7 @@ the \Lfile{aux} file(s). This is only possible if package \Lpack{babel} or \Lpa
\item Double doublequote \verb|""| \index{?"?"}
\item At character @ \index{At (?@)}
\end{itemize}
-Run \texttt{xindex} with \texttt{xindex -l "*" -e "?"}\index{123}
+Run \texttt{xindex} with \texttt{xindex -k -e "?"}\index{123}
\newpage
\printindex
\end{document}
@@ -482,6 +463,71 @@ Run \texttt{xindex} with \texttt{xindex -l "*" -e "?"}\index{123}
%Instead of using \verb|-l *| one can also use the parameter \verb|-k| or \verb|--checklang|.
+For the russian language you have to choose the language and the config file.
+This allows to have different indexes with different language.
+
+
+
+
+\begin{externalDocument}[
+% grfOptions={width=\dimexpr\linewidth-2\fboxsep-2\fboxrule},
+ pages={1},
+ frame,
+ compiler=lualatex,
+ crop,
+ xindex,
+ xindexOptions=-u -l RU -c RU,
+ force=true,
+ runs=2,code,docType=latex,
+ showFilename,
+ align=\centering,
+ usefancyvrb,
+% lstOptions={columns=fixed}
+]{xindex}
+%! lualatex
+\documentclass{scrartcl}
+\makeatletter
+\def\theindex{% only for demonstration
+ \section*{\indexname}
+ \parskip\z@ \@plus .3\p@\relax \parindent\z@
+ \let\item\@idxitem}
+\makeatother
+%StartVisiblePreamble
+\usepackage[russian]{babel}
+\usepackage{fontspec}
+\usepackage[regular]{newcomputermodern}
+\defaultfontfeatures{Ligatures=TeX}
+\usepackage{xindex}\makeindex % run with xindex -u -l RU -c RU <file>
+%StopVisiblePreamble
+\pagestyle{empty}
+\begin{document}
+\begin{tabular}{ll}
+ Хвойные: & \verb|\index{Хвойные} |\index{Хвойные}\\
+\quad торрея, &
+ \verb|\index{Хвойные!тисовые!торрея (Torreya)}|%
+ \index{Хвойные!тисовые!торрея (Torreya) }\\
+\quad тис ягодный, &
+ \verb|\index{Хвойные!тисовые!тис!ягодный (Táxus baccata)}|%
+ \index{Хвойные!тисовые!тис!ягодный (Táxus baccata) }\\
+\quad ливанский кедр, &
+ \verb|\index{Хвойные!сосновые!кедр!ливанский (Cedrus libani)}|%
+ \index{Хвойные!сосновые!кедр!ливанский (Cedrus libani)}\\
+\quad ель обыкновенная. &
+ \verb|\index{Хвойные!сосновые!ель!обыкновенная (Pícea ábies)}|%
+ \index{Хвойные!сосновые!ель!обыкновенная (Pícea ábies)}\\[2ex]
+Под колючей ежевикой & \verb|\index{Ежевика (Rúbus) }|%
+ \index{Ежевика (Rúbus)}\\
+жил ушастый ёж. &
+ \verb|\index{Ёж!ушастый (Hemiechinus auritus)}|%
+ \index{Ёж!ушастый (Hemiechinus auritus)}
+\end{tabular}
+\printindex % xindex -u -l RU -c RU <file>
+\end{document}
+\end{externalDocument}
+
+
+
+
\section{Sorting}
@@ -573,8 +619,10 @@ alphabet_upper = { -- for sorting
force=false,
runs=2,code,docType=latex,
showFilename,
+ usefancyvrb,
align=\centering,
- lstOptions={columns=fixed}]{xindex}
+% lstOptions={columns=fixed}
+]{xindex}
%! lualatex
\documentclass[paper=a5]{scrartcl}
\usepackage[ngerman]{babel}
@@ -716,8 +764,9 @@ The following runs with \verb|xindex -l jp <file>|:
docType=latex,
showFilename,
align=\centering,
-% usefancyvrb,
- lstOptions={fontfamily=helvetica}]{xindex}
+ usefancyvrb,
+% lstOptions={fontfamily=helvetica}
+]{xindex}
%! lualatex
\documentclass[a5paper]{article}
%StartVisiblePreamble