From: Alexey Mahotkin Date: Thu, 20 Sep 2007 21:26:21 GMT Subject: [PATCH] handle Docbook XSL 1.72 (incompletely) Message-ID: hi, Fedora Core 7 has docbook-style-xsl-1.72.0-2.fc7 git-diff manpage (and couple of more, using callouts) is broken here: EXAMPLES Various ways to check your working tree $ git diff \fB(1)\fR $ git diff --cached \fB(2)\fR $ git diff HEAD \fB(3)\fR .sp \fB1. \fRChanges in the working tree not yet staged for the next commit. I have fixed this for 1.72 (and probably 1.7x in general), but it does not work under older Docbook XSL, e.g. 1.6x. I guess we could check for version number during build, but cannot provide complete patch, so here is the interim solution: diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index af5b155..ec9060c 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -28,11 +28,11 @@ ifdef::backend-docbook[] {title} ifdef::doctype-manpage[] - .ft C +⌂ft C endif::doctype-manpage[] | ifdef::doctype-manpage[] - .ft + ⌂ft endif::doctype-manpage[] {title#} diff --git a/Documentation/callouts.xsl b/Documentation/callouts.xsl index 6a361a2..b1b6882 100644 --- a/Documentation/callouts.xsl +++ b/Documentation/callouts.xsl @@ -1,17 +1,17 @@ - + - .sp + .sp - + - .br + ⌂br