[xindy] Fix xindy dataloss with hyperref (\hyperindexformat)
Brought to you by:
jschrod
|
From: Jürgen S. <sp...@ly...> - 2019-12-14 17:15:14
|
Hi!
I suggest the following addition to makeindex.xdy:
--- /usr/local/texlive/current/texmf-
dist/xindy/modules/base/makeindex.xdy
+++ /tmp/meld-tmpa44n5mo1
@@ -9,6 +9,9 @@
;; \see takes two parameters, the second one is for the page number.
;; We don't emit one in xindy, so we add an empty second argument.
(markup-crossref-list :class "see" :open "\see{" :sep "; " :close
"}{}")
+
+(define-crossref-class "hyperindexformat" :unverified)
+(markup-crossref-list :class "hyperindexformat" :open
"\hyperindexformat{" :sep "; " :close "}{}")
;; FIXME: This does not work properly. This should be for entries that
;; have both a locref (e.g., the page number) and a cross reference.
This does not link the \see[also] entries with their targets, but at
least it prints them, fixing the current (long-known) dataloss there is
with xindy, \see[also] and hyperref.
Regards
Jürgen
|