OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Re: DOCBOOK: xref or link?



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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC