bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] makeinfo's DocBook index output


From: José Fonseca
Subject: [PATCH] makeinfo's DocBook index output
Date: Thu, 7 Nov 2002 00:31:28 +0000
User-agent: Mutt/1.4i

Hi,

Attached is a patch to fix a bug in the DocBook index output. The bug is
that the expanded index entries were being used but, as in the HTML
case, this is no good.

This cause problems such as (from xlstproc):

make.xml:13717: error: error parsing attribute name
   <primaryie><D (automatic variable), see <xref linkend="Automatic"></primary
                  ^

And even the unique tags are output'd:

make.xml:12105: error: docbParseStartTag: invalid element name
   <secondaryie>quoting with \ (backslash) <1>, see <xref linkend="Text-Functi
                                            ^

I took me quite a while to figure this out but I believe this patch does
the Right Thing. At least I hope so.

Please tell me if you need more feedback regarding this and whether you
accept it or not.

José Fonseca


PS: FYI I've hunted this bug (and plan to hunt a few more) in the scope
of producing DevHelp books (a GNOME online-help system for developers)
and CHM (Windows Compiled HTML-Help) books from the documentation of
popular GNU tools, using DocBook XML as an intermediary format and a
series of XSL stylesheets. Everything is already in place (check
http://mefriss1.swan.ac.uk/~jfonseca/devhelp/source/ ), except these minor
glitches in makeinfo.

Attachment: makeinfo-docbook-index.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]