This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: DOCBOOK: xref or link?
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Re: DOCBOOK: xref or link?
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Sat, 09 Jun 2001 21:25:54 +0200
- References: <Pine.LNX.4.21.0106071216170.12804-100000@miami.datech2.er.heitec.net><8766e8wkpt.fsf@nwalsh.com><4.2.0.58.20010608164928.00d0f9b0@webmail.lure.u-psud.fr><3B20F2E0.CC3A5E80@cogent.ca>
Bob McIlvride wrote:
>
> Laurent Pointal wrote:
> > I dont know if this can change the result, but where do you put the id
> > definition ? In the title tag or in the chapter tag ?
>
> In the chapter tag. Jade doesn't appear to support xrefs to titles.
> When I tried, I got this message:
>
> jade:../main.sgml:43:2:E: [xref to TITLE unsupported]
Make chapter target of your xref and then change rendering of xref in
DSSSL stylesheet. Look at file common/dbl1en.dsl and modify following
lines
(list (normalize "chapter") (if %chapter-autolabel%
"&Chapter; %n"
"the &chapter; called %t"))
to
(list (normalize "chapter") (if %chapter-autolabel%
"&Chapter; %n - %t"
"the &chapter; called %t"))
%t is substitued by chapter title. Cleaner method than directly
modifying stylesheets is place whole (en-xref-strings) definition into
your customized stylesheet.
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz