This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Bug fix for print stylesheet: <anchor>
- To: <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: Bug fix for print stylesheet: <anchor>
- From: "Karl Critz" <kcritz at mathworks dot com>
- Date: Tue, 30 May 2000 17:26:42 -0400
- Cc: <ndw at nwalsh dot com>
- Organization: The Mathworks
I have a bug fix submission to include in the next version of the DocBook
stylesheets.
---------------------
The problem: links using the RTF backend would always go to the top of the
document because an anchor was not being inserted into the document. I
found the solution to this problem in dbindex.dsl:
(element indexterm
;; This is different than (empty-sosofo) alone because the backend
;; will hang an anchor off the empty sequence. This allows the index
;; to point to the indexterm (but only if the indexterm has an ID).
(make sequence (empty-sosofo)))
----------------------
I recommend that the same treatment be given to element anchor in
dblink.dsl:
(element anchor
;; This is different than (empty-sosofo) alone because the backend
;; will hang an anchor off the empty sequence. This allows links
;; to point to the anchor (but only if the indexterm has an ID).
(make sequence (empty-sosofo)))
----------------
Note that the current rule for anchor looks like this:
(element anchor (empty-sosofo))
----------------
Cheers!
-karl