forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: To lm or not to lm - pdf
Date Fri, 22 Aug 2008 21:03:21 GMT
Thorsten Scherler wrote:
> On Tue, 2008-08-19 at 15:48 +0300, Sjur Moshagen wrote:
>> 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?
> 
> I would say yes we should use the locationmap since that makes it easy
> overwritable. 
> 
> I reckon nobody came around to implement the corresponding matches, feel
> free to do so if you want.

As I'm (probably) the one who did the transfer to LM in the first place 
I can't think of any reason why I did not do it using the LM. Quite 
possibly these were added after the LM tranfer and done by someone who 
didn't know how it worked.

Ross

Mime
View raw message