[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: legalnotice id
On Thu, Nov 15, 2001 at 12:29:13PM -0500, Tammy Fox wrote: > I have my stylesheet set to generate a link to a separate > HTML page for the legalnotice. My legalnotice has > an id set for it: <legalnotice id="legalnotice">, > but the HTML filename for it is still randomly generated. > Am I doing something wrong or is this a bug? I think this is intentional. Take a look at html/dbparam.dsl:300 where there is this comment: ;; Name of the output file for legal notices if ;; '%generate-legalnotice-link%' is true. Since several legal ;; notices may occur (in a Set of Books, for example), this is no ;; longer a fixed filename. How about this?: (define ($legalnotice-link-file$ legalnotice) (if (and %use-id-as-filename% (attribute-string (normalize "id") legalnotice)) (string-append (case-fold-down (attribute-string (normalize "id") legalnotice)) %html-ext%) (string-append "ln" (number->string (all-element-number legalnotice)) %html-ext%))) Tim. */
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC