W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2003

PDF TOC number appearance

From: Anton Wardaschko (PA) <anton.wardaschko@packetalarm.com>
Date: Tue, 22 Apr 2003 10:53:25 +0200
Message-ID: <96C21E6379D63F479ECD0BA5442808DA4E1DEF@lagoon.webart.net>
To: <www-xsl-fo@w3.org>
Hi!

see the Screenshot. The alignment of the numbers is not exact. What should i do to fix it?

I use DocBook with Norm's stelysheet version 1.60.1

Here is a part from the toc.line template.

<!-- Unterkapitel sect2 normal -->
    <xsl:when test="local-name(.)='sect2'">
     <fo:block 	text-align-last="justify"
      			end-indent="{$toc.indent.width}pt"
      			last-line-end-indent="-{$toc.indent.width}pt">
      	<fo:inline keep-with-next.within-line="always">
      	  <fo:basic-link internal-destination="{$id}">
	        <xsl:if test="$label != ''">
	          <xsl:copy-of select="$label"/>
	          <xsl:value-of select="$autotoc.label.separator"/>
	        </xsl:if>
          <xsl:apply-templates select="." mode="title.markup"/>
          </fo:basic-link>
        </fo:inline>
        
        <fo:inline keep-together.within-line="always">
          <xsl:text> </xsl:text>
          <fo:leader 	leader-pattern="dots"
			leader-pattern-width="3pt"
			leader-alignment="reference-area"
                 	keep-with-next.within-line="always"/>
          <xsl:text> </xsl:text> 
          <fo:basic-link internal-destination="{$id}">
            <fo:page-number-citation ref-id="{$id}"/>
          </fo:basic-link>
        </fo:inline>
      </fo:block>
    </xsl:when>

CU
Anton


pdf-toc-pagenumbers2.gif
(image/gif attachment: pdf-toc-pagenumbers2.gif)

Received on Tuesday, 22 April 2003 04:53:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT