The nbsps in the language files prevent the line from breaking between the term and 
the number. I.e. it keeps you from ending up with:

blah blah blah blah blah blah Appendix
A blah blah blah blah.

I doubt that's valuable enough to keep if it breaks passivetex's bookmarks, tho it's 
really a passivetex problem. 

David

> -----Original Message-----
> From: Dennis Grace [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: DOCBOOK-APPS: PassiveTeX bookmarks fix
> 
> 
> If you generate PDF using PassiveTeX, the bookmarks for chapters and
> sections come out looking like this:
> 
>   Chapter"A0'fotex3."A0'fotexDownloading and Installing Cabbage
>          3.1"A0'fotexHandling Kohlrabi
>          3.2"A0'fotexSpecial Precautions for Brussel Sprouts
> 
> Apparently the "A0fotex is how fotex.xmt interprets the 
>   included for
> each space in the fo. The   is apparently generated from 
> the  
> inserted in lieu of spaces in the language files for the 
> title-numbered
> context, which looks something like this (in the en.xml file):
> 
>     <l:context name="title-numbered">
>        <l:template name="appendix" text="Appendix&#160;%n.&#160;%t"/>
>        <l:template name="bridgehead" text="%n.&#160;%t"/>
>        <l:template name="chapter" text="Chapter&#160;%n.&#160;%t"/>
>        <l:template name="sect1" text="%n.&#160;%t"/>
>        <l:template name="sect2" text="%n.&#160;%t"/>
>        <l:template name="sect3" text="%n.&#160;%t"/>
>        <l:template name="sect4" text="%n.&#160;%t"/>
>        <l:template name="sect5" text="%n.&#160;%t"/>
>        <l:template name="section" text="%n.&#160;%t"/>
>        <l:template name="simplesect" text="%t"/>
>     </l:context>
> 
>  I put the following in my customization layer for fo
> 
>  <xsl:param name="local.l10n.xml" select="document('')"/>
> 
>  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
>  <l:l10n language="en">
>     <l:context name="title-numbered">
>        <l:template name="appendix" text="Appendix %n. %t"/>
>        <l:template name="bridgehead" text="%n. %t"/>
>        <l:template name="chapter" text="Chapter %n. %t"/>
>        <l:template name="sect1" text="%n. %t"/>
>        <l:template name="sect2" text="%n. %t"/>
>        <l:template name="sect3" text="%n. %t"/>
>        <l:template name="sect4" text="%n. %t"/>
>        <l:template name="sect5" text="%n. %t"/>
>        <l:template name="section" text="%n. %t"/>
>        <l:template name="simplesect" text="%t"/>
>     </l:context>
> 
>  </l:l10n>
>  </l:i18n>
> 
>  and eliminated the stray fotex marks. The bookmarks look good, and I
>  haven't found any negative consequence of this change, yet. 
> Anyone know
>  why those entities are in the en.xml file vice spaces?
> 
>  Thanks.
> 
>  Dennis Grace
> 
> 

Reply via email to