[daisy] numbered items above ten in pdf book

Andreas Deininger adeininger at googlemail.com
Fri Jul 13 03:04:27 CDT 2007


2007/7/13, Scott Warren <scottwarren at ocom.com.au>:
> I just had this issue myself the solution (in-case you have not figured it
> out yet) is
>
> Change the document-to-xslfo.xsl in your skin and look for the template as
> below and make the change below
>
>   <xsl:template match="ol/li">
>       <fo:list-item xsl:use-attribute-sets="list.item">
>           <fo:list-item-label>
>               <fo:block>
>                   <xsl:number format="1."/>
>               </fo:block>
>           </fo:list-item-label>
> <!--          <fo:list-item-body start-indent="body-start()"> -->
>           <fo:list-item-body start-indent="body-start() +
> 0.5em"><!--Changed-->
>               <fo:block>
>                   <xsl:apply-templates/>
>               </fo:block>
>           </fo:list-item-body>
>       </fo:list-item>
>   </xsl:template>
>
> Hope this helps.

Please note that the proposal above fixes the display of lists in pdfs
directly produced from daisy documents. However Tom was asking about a
solution for books produced in form of a pdf document. I just
submitted a fix for DSY-496 that fixes both issues.

Regards
Andreas


More information about the daisy mailing list