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] | [List Home]

Subject: Re: [docbook-apps] why does xsltproc create drafts from DocBook XML?

On Fri, 9 Jan 2004, Bob Stayton wrote:

> ----- Original Message -----
> From: "Tom Peters" <tpeters@xs4all.nl>

> > Excellent!  These parameters give the best output I've seen sofar.
> > Two things could be improved:

> > 2) The Register (Index) of <glossterm>s at the end refers to page 2 in all
> > cases.  What can I do about that?  Do I need to run a separate program to
> > build an index first?  This is built-in in the toolchain that uses TeX.
> I'm not sure what this is. Normally glossterms don't generate page
> references.
> Is this built from <indexterm> elements in the document?  If so, then it
> should
> work automatically with correct page references.  Can you provide a sample?

Yes, I think it comes from indexterms I put into glossentries:

<glossentry id="Absorptie">
        <indexterm zone="A"><primary>Absorptie</primary></indexterm>
                <glossseealso otherterm="Emissie"></glossseealso>
                <glossseealso otherterm="Spectrum"></glossseealso>

Where in the file that contains the main text, which is different from the
file that has the glossary, I specified:

<part label="A" id="A">

(I want the main text file indexed, for the terms that are in the

Apparently in the .fo file it translates to:

<fo:list-block provisional-distance-between-starts="2in"
provisional-label-separation="0.25in" space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:list-item
space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em" id="Absorptie"><fo:list-item-label
start-indent="body-start()"><fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em"/><fo:block>Zie
ook Emissie, Spectrum.</fo:block></fo:list-item-body></fo:list-item>

I think the index entry in the .fo file is:

<fo:block><fo:block>Absorptie, <fo:basic-link


	Tom "thriving on chaos" Peters

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