[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: link
/ Christoph Spiel <cspiel@hammersmith-consulting.com> was heard to say: | On Thu, Feb 15, 2001 at 06:07:01PM -0500, Norman Walsh wrote: | > / Bob Stayton <bobs@sco.COM> was heard to say: | > | But why not just put the id="refidref" attribute in the | > | <appendix> start tag and drop the <anchor> (heh heh, sorry | > | about the pun). | > | > That's what I'd do. But I fixed the bug, too :-) | | Actually, I do *not* consider this a bug and therefore the fix | inappropriate (Sorry, Norm!). The xml-syntax uses tags as generalized | braces, thus it is to be expected that everything within the braces is | treated the same. Why should <anchor> be an exception? The purpose of an anchor is to provide an ID for a location. There should be exactly one occurrence of that ID, that's the point. It happens that there was a bug, I really think it was a bug, in earlier versions of the stylesheets. If you used an anchor in a title, that anchor was output in both the table of contents and the actual chapter title. (It may even have been output in title cross-references, but I don't think so.) That's wrong. The "generated text" uses of the chapter title aren't semantically the chapter title, or at least I don't think they are. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | There has never been a perfect http://www.oasis-open.org/docbook/ | government, because men have Chair, DocBook Technical Committee | passions; and if they did not have | passions, there would be no need | for government.--Voltaire
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC