diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-12 20:10:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-12 20:10:27 +0000 |
commit | d20f9677d689f13b39eb57a646df66b0007c8d19 (patch) | |
tree | 241fcc0b297aa144dad8636a2959d85bfe829e49 /Master/texmf-dist/doc/lualatex | |
parent | a7d3f79e117748f61a6518141c2da1335178ba21 (diff) |
xindex (12jul23)
git-svn-id: svn://tug.org/texlive/trunk@67614 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/xindex/CHANGELOG | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf | bin | 565339 -> 580513 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex | 79 |
3 files changed, 70 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG b/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG index 6cfaa2610f2..e7718d89abb 100644 --- a/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG +++ b/Master/texmf-dist/doc/lualatex/xindex/CHANGELOG @@ -1,3 +1,7 @@ +0.51 2023-07-10 - change \parenLeft|Right to \braceLeft|Right + - added option for a fix for hyperref if using "| +0.50 2023-07-08 - fix for introduced bug +0.49 2023-07-06 - fix for sorting symbols in unicode and ASCII 0.48 2023-06-21 - added option -g|--no_pagenumber 0.47 2023-01-20 - added support for russian language 0.46 2023-01-18 - fix for Czech character ch diff --git a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf Binary files differindex b34251bf041..aae3e089272 100644 --- a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf +++ b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.pdf diff --git a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex index bf2dd746da2..0c5974e0463 100644 --- a/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex +++ b/Master/texmf-dist/doc/lualatex/xindex/xindex-doc.tex @@ -81,7 +81,7 @@ \def\setVersion#1{\setVVersion#1!!} \def\setVVersion#1=#2!!{\def\xIndexVersion{#2}} -\setVersion{version = 0.49}% can be automatically changed by perl +\setVersion{version = 0.51}% can be automatically changed by perl @@ -274,7 +274,7 @@ are alphabetized. \makeatother %StartVisiblePreamble \usepackage{makeidx}\makeindex -\usepackage{xindex}% for \left|\rightParen +\usepackage{xindex}% for \barceLeft|Right %StopVisiblePreamble \pagestyle{empty} \begin{document} @@ -285,8 +285,8 @@ are alphabetized. \item Doublequote \verb|"| \index{""} \item Double doublequote \verb|""| \index{""""} \item At character @ \index{At ("@)}\index{"@} -\item Left paranthesis \{ \index{\parenLeft} -\item Right paranthesis \} \index{\parenRight} +\item Left paranthesis \{ \index{\braceLeft} +\item Right paranthesis \} \index{\braceRight} \end{itemize} run \texttt{xindex -u <file.idx>}\index{file.idx@\texttt{<file.idx>}|textit}\index{123} \index{Etage} \index{Ètagé} @@ -295,8 +295,8 @@ run \texttt{xindex -u <file.idx>}\index{file.idx@\texttt{<file.idx>}|textit}\ind \end{document} \end{externalDocument} -It is by design that the parentheses \{ and \} cannot be used as index entry. The \emph{package} -xindex defines the two commands \Lcs{parenLeft} and \Lcs{parenRight} which can be used instead +It is by design that the braces \{ and \} cannot be used as index entry. The \emph{package} +xindex defines the two commands \Lcs{braceLeft} and \Lcs{braceRight} which can be used instead (see examples above and and below). The same example without using unicode sorting (no option \Loption{-u}): @@ -325,7 +325,7 @@ The same example without using unicode sorting (no option \Loption{-u}): \makeatother %StartVisiblePreamble \usepackage{makeidx}\makeindex -\usepackage{xindex}% for \left|\rightParen +\usepackage{xindex}% for \braceLeft|\braceRight %StopVisiblePreamble \pagestyle{empty} \begin{document} @@ -336,8 +336,8 @@ The same example without using unicode sorting (no option \Loption{-u}): \item Doublequote \verb|"| \index{""} \item Double doublequote \verb|""| \index{""""} \item At character @ \index{At ("@)}\index{"@} -\item Left paranthesis \{ \index{\parenLeft} -\item Right paranthesis \} \index{\parenRight} +\item Left paranthesis \{ \index{\braceLeft} +\item Right paranthesis \} \index{\braceRight} \end{itemize} run \texttt{xindex -u <file.idx>}\index{file.idx@\texttt{<file.idx>}|textit}\index{123} \index{Etage} \index{Ètagé} @@ -371,8 +371,8 @@ The two characters \verb|{}| cannot be used as \verb|\{\}| inside the argument o The package \Lpack{xindex} defines the two helper macros \begin{verbatim} -\providecommand\parenLeft{\{} -\providecommand\parenRight{\}} +\providecommand\braceLeft{\{} +\providecommand\braceRight{\}} \end{verbatim} The following example shows how to use it: @@ -410,8 +410,8 @@ The following example shows how to use it: \item Doublequote \verb|"| \index{>"} \item Double doublequote \verb|""| \index{>">"} \item At character @ \index{At (>@)} -\item Group start \{ \index{\parenLeft} -\item Group end \{ \index{\parenRight} +\item Group start \{ \index{\braceLeft} +\item Group end \{ \index{\braceRight} \end{itemize} Run \texttt{xindex} with \texttt{xindex -e ">"}\index{<file.idx>}\index{123} \newpage @@ -2231,6 +2231,59 @@ Foo\index{foo!bar2!baz2} \end{document} \end{externalDocument} +The following example fixes a problem with \Lpack{hyperref} and escaping the | character + + +\begin{externalDocument}[ +% grfOptions={width=\dimexpr\linewidth-2\fboxsep-2\fboxrule}, +% mpwidth=0.55\linewidth, + pages={3}, + frame=false, + compiler=lualatex, + crop, + force=true, + shellesc, +% xindex, +% xindexOptions=-, + runs=2,code,docType=latex, + showFilename, + align=\centering, +% grfOptions={width=\linewidth}, + lstOptions={columns=fixed}]{xindex} +%! lualatex --shell-escape +\documentclass{article} +\usepackage{libertinus} +\let\NewPage\newpage% only for demo +\makeatletter +\renewcommand\newpage{\NewPage\let\ps@plain\ps@empty} +\makeatother +%StartVisiblePreamble +\usepackage[imakeidx]{xindex} +\usepackage{hvindex} +\makeindex[columns=4, columnsep=6pt, options=--fix_hyperref] +\usepackage[unicode]{hyperref} +%StopVisiblePreamble +\pagestyle{empty} +\begin{document} + Symbols:\\ + ! \index{"!} " \index{""} \# \index{#@\#} \$ \index{$@\$} + \% \index{%@\%} \& \index{&@\&} ' \index{'} ) \index{)} + ( \index{(} * \index{*} + \index{+} , \index{,@,\,} + - \index{-} . \index{.} / \index{/} : \index{:} + ; \index{;} < \index{<} = \index{=} > \index{>} + ? \index{?} @ \index{"@} [ \index{[} ] \index{]} + \_ \index{_@\_} ` \index{`} | \index{\textbar} + \newpage\index{"|}\index{123}\Index{Post} + \{ \index{\braceLeft} \} \index{\braceRight} + \textbackslash \index{\@\textbackslash} + \textasciicircum \index{^@\textasciicircum} + \textasciitilde \index{~@\textasciitilde} + Alphabet: \Index{Z},\Index{Zeppelin}\Index{Foo}\dots + \Index{...@\ldots} + \printindex +\end{document} +\end{externalDocument} + \printindex \end{document} |