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]

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


Hi Bob,

Oh dear. 'use.id.as.filename' IS set to 1. 

The person who originally made the customization layer unfortunately
didn't quite grasp the idea of customization and edited several files
instead of just one and now I will have to sift through quite a few
of them to find the problem (that person has moved on two years ago).
Well, I had to do this eventually, as I have already noticed that
newer than 1.65.1 versions break the customization. (sigh)

Thank you for your time, Bob!

Pirjo :-)

 --- Bob Stayton <bobs@sagehill.net> wrote: 
> Hi Pirjo,
> I'm a little confused.  The stylesheets support using the id value
> of the
> element (not the id of the title) as the chunk filename if you set
> the
> stylesheet parameter 'use.id.as.filename' to 1.  If you use that,
> and move
> the id attributes to the element start tags, then you will get what
> you
> want.
> 
> I think you must have had a customization that used the title's id
> as the
> chunk filename.  If so, you can remove it.
> 
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
> 
> 
> ----- Original Message ----- 
> From: "Pirjo Tinat" <ptinat@yahoo.com>
> To: "Bob Stayton" <bobs@sagehill.net>; "docbook-apps"
> <docbook-apps@lists.oasis-open.org>
> Sent: Friday, March 04, 2005 12:04 AM
> Subject: [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
> >
> >
> 
> 
>  

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]