This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: [xep-support] Page number citation is not working


[I move this to docbook-apps -list]

I have put the id attributes inside the title element, because I am
also generating an HTML Help and I want the HTML file names to stay
constant, i.e., not of style ch01s02s03 but rather be given the id as
the file name. This is to reduce work, such as correcing the TOC to
be more suitable for a help + correcting my ulinks, each time the
help is generated, if one or more topics are added/removed/moved.

For generating HTML help, I use Instant Saxon and docbook-xsl-1.65.1.

How could I resolve my two goals?

- do I have to give two id's, one to the chapter/sect element and
another to title, and if so, which of the two will I refer to when
inserting xref's ...

Thank you for any insight.

Pirjo

 --- Bob Stayton <bobs@sagehill.net> wrote: 
> Hi Pirjo,
> The problem is that you have your id attributes on the section
> <title>
> elements.  The id attributes should be on the section element
> instead.
> 
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
> 
> 
...

> > ----- Original Message ----- 
> > From: "Pirjo Tinat" <ptinat@yahoo.com>
> > To: <xep-support@renderx.com>
> > Sent: Wednesday, March 02, 2005 1:21 AM
> > Subject: [xep-support] Page number citation is not working
> >
> >
> > Hi,
> >
> > I am using XEP 3.8.3 and docbook-xsl-1.66.1
> >
> > I have added the following to my customization layer:
> > ...
> >    <l:context name="xref">
> >       <l:template name="sect1" text=""%t" on
> > page %p"/>
> >       <l:template name="sect2" text=""%t" on
> > page %p"/>
> >       <l:template name="sect3" text=""%t" on
> > page %p"/>
> >       <l:template name="sect4" text=""%t" on
> > page %p"/>
> >       <l:template name="section" text=""%t" on
> > page %p"/>
> >    </l:context>
> > ...
> >
> > For some reason, the pagenumber is displayed everywhere as page
> > 14. I checked the fo-file, and there the page-number-citation has
> > an empty ref-id:
> > 
> > <fo:page-numbercitation ref-id="" />
> >
> > What could be causing this and how could I correct it?
> >
> >
> > TIA,
> >
> > Pirjo :-)
> >
> > Pirjo Tinat
> > Documentation Specialist
> > Done Information Oy


Send instant messages to your online friends http://uk.messenger.yahoo.com 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]