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.
The little hack generates an image, so it 'works' in some sense, but it does not create a real cross-reference. There is no target for the link, since the Java callout extensions do not output any IDs that can be used as targets. In html/xref.xsl, there is a template with match="area|areaset" that is commented out for this reason.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1256861
Originator: YES
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>
Logged In: YES
user_id=582041
Originator: NO
The little hack generates an image, so it 'works' in some sense, but it does not create a real cross-reference. There is no target for the link, since the Java callout extensions do not output any IDs that can be used as targets. In html/xref.xsl, there is a template with match="area|areaset" that is commented out for this reason.
Logged In: YES
user_id=582041
Originator: NO
Saxon/Xalan extensions now output IDs needed for cross-refs to callouts placed by coordinates.
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).