Menu

#893 XREF to area broken

output: all formats
closed-fixed
XSL (1066)
7
2007-07-26
2007-03-07
buddylu
No

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.

Discussion

  • buddylu

    buddylu - 2007-03-07

    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>

     
  • buddylu

    buddylu - 2007-03-07
    • priority: 5 --> 7
     
  • buddylu

    buddylu - 2007-03-07
    • assigned_to: nobody --> bobstayton
     
  • Mauritz Jeanson

    Mauritz Jeanson - 2007-03-28

    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.

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2007-07-11
    • status: open --> pending-fixed
     
  • Mauritz Jeanson

    Mauritz Jeanson - 2007-07-11

    Logged In: YES
    user_id=582041
    Originator: NO

    Saxon/Xalan extensions now output IDs needed for cross-refs to callouts placed by coordinates.

     
  • SourceForge Robot

    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).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed