[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Bug fix for print stylesheet: <anchor>
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC