Next in thread → Next in month →

RE: [docbook-apps] XREF to area (callout)

From
Date
2007-03-06T12:45:43+00:00
ID
Thread
RE: [docbook-apps] XREF to area (callout)
I'll try as soon as I found my login details for SF ;-).
Here's a little hack to make it working in html (for my case):

    	<xsl:template match="area" mode="xref-to">
    		<xsl:param name="referrer"/>
    		<xsl:param name="xrefstyle"/>
    		<xsl:variable name="position"><xsl:value-of select="count(preceding-sibling::*)+1"/></xsl:variable>
    		<img src="{$callout.graphics.path}{$position}.{$callout.graphics.extension}" alt="{$position}"/>
    	</xsl:template>

Regards.
Ludger 

> -----Original Message-----
> From: Bob Stayton [mailto:] 
> Sent: Montag, 5. M酺z 2007 18:15
> To: Thomas, Ludger; 
> Subject: Re: [docbook-apps] XREF to area (callout)
> 
> I think this is probably an oversight. You can xref to a co 
> element if you are using those, but not to an area element.  
> Can you file a bug report on the DocBook SourceForge site for this?
> 
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> 
> 
> 
> ----- Original Message -----
> From: <>
> To: <>
> Sent: Monday, March 05, 2007 2:45 AM
> Subject: [docbook-apps] XREF to area (callout)
> 
> 
> Dear List,
> Whenever I try to make a xref to a callout the (FO+HTML) stylesheets
> tell me "Don't know what gentext to create for xref to: "area"".
> I'd would expect them to output the corresponding callout icon for the
> xref.
> I wonder how to get xrefs to callouts (the callout icons) in the text.
> 
> Best wishes
> Ludger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
> 
> 
> 
>
Next in thread → Next in month →