From f50ae72ec3417cae55dd4e085991c01af9fdc5f1 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Wed, 11 Feb 2009 20:37:59 +0100 Subject: Initial commit --- docutil/patch-db2latex-xsltproc-title-bug | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docutil/patch-db2latex-xsltproc-title-bug (limited to 'docutil/patch-db2latex-xsltproc-title-bug') diff --git a/docutil/patch-db2latex-xsltproc-title-bug b/docutil/patch-db2latex-xsltproc-title-bug new file mode 100644 index 0000000..88d6c24 --- /dev/null +++ b/docutil/patch-db2latex-xsltproc-title-bug @@ -0,0 +1,29 @@ +;; $Id: patch-db2latex-xsltproc-title-bug,v 1.2 2007/01/12 22:24:20 sra Exp $ +;; +;; This patches around a problem that I don't completely understand, +;; and which may in fact be an xsltproc bug rather than a db2latex +;; bug. Symptom is that the generated \title{} contains not only the +;; book title but also the concatenation of all the chapter titles. +;; This makes no sense, it doesn't happen with saxon, it doesn't +;; happen with all versions of xsltproc, and attempts to trace this +;; with --verbose and leave me more wondering whether +;; it's me or xsltproc that doesn't understand the XSLT pattern +;; matching rules. +;; +;; All that said, the change below prevents the bad behavior and +;; should be completely harmless, so it will do as a workaround. + +Index: xsl/book-article.mod.xsl +--- xsl/book-article.mod.xsl.~1~ Tue May 3 21:51:18 2005 ++++ xsl/book-article.mod.xsl Sat May 7 09:00:26 2005 +@@ -87,8 +87,8 @@ + + + \title{ +- +- ++ ++ + } + + \author{ -- cgit