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] DocBook 4.5, XSL 1.72.0 and FOP 0.93 all working together?


El Miércoles, 11 de Abril de 2007 22:32, T.G. Mutato escribió:

> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book SYSTEM "dtd/4.5/docbookx.dtd">
> <book>
>  <bookinfo>
>   <title>My First Book</title>
>   <author><firstname>Jane</firstname><surname>Doe</surname></author>
>   <copyright><year>1998</year><holder>Jane Doe</holder></copyright>
>  </bookinfo>
>  <chapter id="chapterone">
>   <title id="atitleid">Here's our Chapter Title</title>
>   <indexterm>
>    <primary>a nice index entry</primary>
>   </indexterm>


Appart what Bob said, if you want to keep the indexterm tags in their current 
position, use @zone attributes, like this:


   <indexterm zone="chapterone">
    <primary>a nice index entry</primary>
   </indexterm>

and add this to your pdfdoc.xsl:

<xsl:template match="indexterm"/>

When using @zone attributes the <fo:wrapper> elemments aren't needed and that 
prevent FOP adding an extra blank line in the fo:wrapper possition.


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org


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