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

 Information Developer
 IBM Linux Technology Center
 (512) 838-3937  T/L 678-3937  cell: (512)-296-7830
 [EMAIL PROTECTED]

 There are only 10 kinds of people in the world: those who understand
 binary and those who don't.


Reply via email to