Fw: PDF template customization [continued]

View: New views
1 Messages — Rating Filter:   Alert me  

Fw: PDF template customization [continued]

by Bugzilla from etiennel@scientology.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

Thanks for your tips, that helped a lot. The @isIncluded test now works and I can now
show the included document title and a mark to show it's included as I wanted.

The <xsl:copy-of select="someelement"/> some how did not work, I get an error in Daisy
processing... Probably something I'm doing wrong. Though, I really would like to make
this work as it would definitely help me solve many problems. Here is what I did:

  <xsl:template match="d:document">
    <xsl:choose>
      <xsl:when test="/document/@isIncluded = 'true'">
        <fo:block xsl:use-attribute-sets="h1"><xsl:value-of select="@name"/></fo:block>
      </xsl:when>
    </xsl:choose>
        <fo:block><xsl:copy-of select="/document"/></fo:block>
   ...

Do you see anything wrong? That's in document-to-xslfo.xsl. I tried a few variation of
the select part.


The last things I'm struggling with in regards to the immediate PDF customization I'm
doing are:

1. The footnotes don't show if the link is in a table, or list.
2. The footnotes from embedded document restart at 1 instead of continuing.
3. Header shifting of embedded documents does not seem to occur.

Any idea/tip on debugging these points?

Thanks ahead!

Etienne






_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy