forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sjur Moshagen <sju...@mac.com>
Subject To lm or not to lm - pdf
Date Tue, 19 Aug 2008 12:48:31 GMT
Hello all,

In the main stylesheet for the transformation to fo, the following  
lines caught my attention:

   <xsl:include
         href="helper-pdfoutline.xsl" />
   <xsl:include
         href="footerinfo.xsl" />
   <xsl:include
         href="lm://pdf.transform.helper.pageBreaks" />
   <xsl:include
         href="helper-pageNumber.xsl" />
   <xsl:include
         href="helper-commonElements.xsl" />
   <xsl:include
         href="helper-layout.xsl" />
   <xsl:include
         href="helper-xmpMetadata.xsl" />

Only the third inclusion is using the locationmap.

Is there any reason for this (no-)use of lm lookups, or could I  
rewrite the rest of the inclusions to use locationmap lookups?

Hm, come to think of it - speed might be a good reason why the rest  
are not looked up via locationmaps. But then why the page breaks? One  
would rather expect the commonElements or some other major part to be  
made easily available for customisation (the main reason for lm lookup  
in pdf generation, I assume).

Comments?

Best regards,
Sjur


Mime
View raw message