OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:bobs@sagehill.net] 
> Sent: Montag, 5. März 2007 18:15
> To: Thomas, Ludger; docbook-apps@lists.oasis-open.org
> 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
> bobs@sagehill.net
> 
> 
> ----- Original Message -----
> From: <Ludger.Thomas@iese.fraunhofer.de>
> To: <docbook-apps@lists.oasis-open.org>
> 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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 
> 
> 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]