#755 inlinemediaobject gets lost in reference TOC

output: HTML
closed-fixed
XSL (1066)
5
2006-04-12
2006-03-28
Davor Ocelic
No

To make the story short, see
http://www.icdevgroup.org/docs/orderchecks.html .

You see how the "New" icon properly appears in the item
title, but not in the TOC. More than a year ago I was
told this was a bug and should be fixed.

Michael Smith also says: "
The HTML stylesheet is currently doing this
for Refpurpose in the ToC:

<xsl:value-of select="refnamediv/refpurpose"/>

That makes it just take the string value of the
contents. It should be doing an apply-templates.
"

Regards,
-doc

Discussion

    • assigned_to: nobody --> xmldoc
     
  • Logged In: YES
    user_id=118135

    Note that although DocBook 4 says Inlinemediaobject is
    not valid in Refpurpose, it is valid in DocBook 5. So we
    need to handle it correctly. I did a quick fix and I
    found that if I do an apply-templates instead of a
    value-of, I now get an extra u8212 (em dash) after the
    hyphen in the ToC between the refname and refpurpose.
    But I like that em dash better anyway, so I reckon I
    will adjust the code to not generate the hypen instead
    of having it not generate the em dash.

     
  • Logged In: YES
    user_id=118135

    Fixed in HTML only. See snapshot and release notes
    for reason why I didn't change FO stylesheets at all.

     
  • Logged In: YES
    user_id=118135

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
    • milestone: 447636 --> output: HTML
    • status: open --> pending-fixed
     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1312539

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