forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: plugin: output.pdf: <a> not resolved in helper-commonElements.xsl, bug or feature?
Date Thu, 26 Feb 2009 16:29:25 GMT
2009/2/26 EMMEL Thomas <thomas.emmel@3ds.com>:
> Hi,
>
> there is a line in
> plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
> which I changed locally for me:
>
>
> @@ -368,7 +368,7 @@
>       <xsl:apply-templates/>
>     </fo:block>
>   </xsl:template>
> -  <xsl:template match="link|fork|jump">
> +  <xsl:template match="link|fork|jump|a">
>     <xsl:variable name="color"
>       select="$config/colors/color[@name = 'body']/@link"/>
>     <xsl:choose>
>
> Is it a bug or feature that <a></a> is not supported here?
>
> If I add it, the links will be activated, however they might be not useful
> in all cases yet when generating the wholesite.pdf, where
> external links need to be changed to internal links...

In theory it is "feature".

Internally Forrest does not have the <a> element. Under what
circumstances do you find a document containing an <a> gets processed
by this stylesheet?

Ross

-- 
--
Ross Gardler

OSS Watch - awareness and understanding of open source software
development and use in education
http://www.oss-watch.ac.uk

Mime
View raw message