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: [EMAIL PROTECTED]
  http://www.kosek.cz

Reply via email to