From ea648e70a989cca190cd7403fe892fd2dcc290b4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 20:37:14 +0200 Subject: Adding upstream version 1:9.11.5.P4+dfsg. Signed-off-by: Daniel Baumann --- docutil/patch-db2latex-duplicate-template-bug | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 docutil/patch-db2latex-duplicate-template-bug (limited to 'docutil/patch-db2latex-duplicate-template-bug') diff --git a/docutil/patch-db2latex-duplicate-template-bug b/docutil/patch-db2latex-duplicate-template-bug new file mode 100644 index 0000000..c9354ae --- /dev/null +++ b/docutil/patch-db2latex-duplicate-template-bug @@ -0,0 +1,75 @@ +;; This is a patch to work around a known bug in db2latex. Apparently +;; xsltproc's error checking got a lot better since the authors of +;; db2latex last tested this, so a clear language violation that +;; xsltproc used to ignore now prevents xsltproc from working with +;; db2latex. +;; +;; On FreeBSD you can simply drop this patch into the directory +;; /usr/ports/textproc/db2latex/files/ and the ports system should +;; take it from there. I've sent this patch off to the port +;; maintainer but have not yet heard anything back. +;; +;; I don't really know whther this is the "right" fix, but it seems to +;; work, and I'm pretty sure that the code this patch deletes does not +;; work as it stands, so at worst the result after applying this patch +;; should be no worse than the result without this patch. +;; +;; YMMV. If this patch breaks, you get to keep both pieces. + +Index: xsl/qandaset.mod.xsl +--- xsl/qandaset.mod.xsl.~1~ Sun Jan 4 08:22:27 2004 ++++ xsl/qandaset.mod.xsl Fri Apr 1 22:30:20 2005 +@@ -363,53 +363,4 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- question +- answer +- qandadiv +- qandaset +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + -- cgit v1.2.3