Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock X-Debbugs-Cc: debian-tex-ma...@lists.debian.org
Please unblock package xindy [ Reason ] The latest upload introduces a long existing patch to fix/introduce the cooperation between hyperref & xindy. [ Impact ] The patch introduces a long existing patch to fix/introduce the cooperation between hyperref & xindy: https://sourceforge.net/p/xindy/bugs/62/ [ Tests ] We have a standard test suite for testing the package and processing documents. [ Risks ] The fix is rather trivial and introduces a crossref-class definition. No existing code is changed. The documentaion is updated accordingly. [ Checklist ] [X] all changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in testing unblock xindy/2.5.1.20160104-10 -- sigmentation fault
diff -Nru xindy-2.5.1.20160104/debian/changelog xindy-2.5.1.20160104/debian/changelog --- xindy-2.5.1.20160104/debian/changelog 2021-01-16 21:56:30.000000000 +0100 +++ xindy-2.5.1.20160104/debian/changelog 2021-03-09 09:46:02.000000000 +0100 @@ -1,3 +1,9 @@ +xindy (2.5.1.20160104-10) unstable; urgency=medium + + * Apply patch from xindy PR 6 to fix hyperref compatibility. + + -- Norbert Preining <norb...@preining.info> Tue, 09 Mar 2021 17:46:02 +0900 + xindy (2.5.1.20160104-9) unstable; urgency=medium [ Debian Janitor ] diff -Nru xindy-2.5.1.20160104/debian/patches/series xindy-2.5.1.20160104/debian/patches/series --- xindy-2.5.1.20160104/debian/patches/series 2021-01-16 20:52:42.000000000 +0100 +++ xindy-2.5.1.20160104/debian/patches/series 2021-03-09 09:46:02.000000000 +0100 @@ -4,3 +4,4 @@ xindy-use-kpsewhich norwegianutf8.pl.in lintian_national-encoding +xindy-fix-hyperref-compatibility.patch diff -Nru xindy-2.5.1.20160104/debian/patches/xindy-fix-hyperref-compatibility.patch xindy-2.5.1.20160104/debian/patches/xindy-fix-hyperref-compatibility.patch --- xindy-2.5.1.20160104/debian/patches/xindy-fix-hyperref-compatibility.patch 1970-01-01 01:00:00.000000000 +0100 +++ xindy-2.5.1.20160104/debian/patches/xindy-fix-hyperref-compatibility.patch 2021-03-09 09:46:02.000000000 +0100 @@ -0,0 +1,79 @@ +From 39b3b4dbdb34fad12092e091da9bac68b8f880a6 Mon Sep 17 00:00:00 2001 +From: Juergen Spitzmueller <sp...@lyx.org> +Date: Sun, 15 Dec 2019 08:22:38 +0100 +Subject: [PATCH 1/2] Add support for \hyperindexformat + +Addresses https://sourceforge.net/p/xindy/bugs/62/ +--- + modules/base/makeindex.xdy | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/modules/base/makeindex.xdy b/modules/base/makeindex.xdy +index c859eca..94db4bb 100644 +--- a/modules/base/makeindex.xdy ++++ b/modules/base/makeindex.xdy +@@ -17,6 +17,11 @@ + (define-crossref-class "seealso") + (markup-crossref-list :class "seealso" :open "\seealso{" :sep "; " :close "}{}") + ++;; \hyperindexformat is a wrapper to \see and \seealso added by hyperref. ++;; We treat it like \see and \seealso ++(define-crossref-class "hyperindexformat" :unverified) ++(markup-crossref-list :class "hyperindexformat" :open "\hyperindexformat{" :sep "; " :close "}{}") ++ + ;; Subentries in cross references are seperated by comma for all + ;; crossref classes. + (markup-crossref-layer-list :sep ", ") + +From ac9e2c628f2e8e9c6b28de2bb00248bea3f41165 Mon Sep 17 00:00:00 2001 +From: Juergen Spitzmueller <sp...@lyx.org> +Date: Tue, 17 Dec 2019 09:10:56 +0100 +Subject: [PATCH 2/2] Update manpages + +--- + user-commands/texindy.in | 10 ++-------- + user-commands/xindy.in | 10 ++-------- + 2 files changed, 4 insertions(+), 16 deletions(-) + +diff --git a/user-commands/texindy.in b/user-commands/texindy.in +index f876aba..653e51d 100755 +--- a/user-commands/texindy.in ++++ b/user-commands/texindy.in +@@ -308,14 +308,8 @@ behaviour. + + For more complex usage, when C<bbb> is not an identifier, no such + compatibility definitions exist and may also not been created with +-current B<xindy>. In particular, this means that by default the LaTeX +-package C<hyperref> will create raw index files that cannot be +-processed with B<xindy>. This is not a bug, this is the unfortunate +-result of an intented incompatibility. It is currently not possible to +-get both hyperref's index links and use B<xindy>. +- +-A similar situation is reported to exist for the C<memoir> LaTeX +-class. ++current B<xindy>. Such a situation is reported to exist for the ++C<memoir> LaTeX class. + + Programmers who know Common Lisp and Lex and want to work on a remedy + should please contact the author. +diff --git a/user-commands/xindy.in b/user-commands/xindy.in +index 452725a..7322fea 100644 +--- a/user-commands/xindy.in ++++ b/user-commands/xindy.in +@@ -260,14 +260,8 @@ behaviour. + + For more complex usage, when C<bbb> is not an identifier, no such + compatibility definitions exist and may also not been created with +-current B<xindy>. In particular, this means that by default the LaTeX +-package C<hyperref> will create raw index files that cannot be +-processed with B<xindy>. This is not a bug, this is the unfortunate +-result of an intented incompatibility. It is currently not possible to +-get both hyperref's index links and use B<xindy>. +- +-A similar situation is reported to exist for the C<memoir> LaTeX +-class. ++current B<xindy>. Such a situation is reported to exist for the ++C<memoir> LaTeX class. + + Programmers who know Common Lisp and Lex and want to work on a remedy + should please contact the author.
signature.asc
Description: PGP signature