Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#476 shade.verbatim not working in programlistingco

closed-fixed
Norman Walsh
XSL (1066)
7
2004-10-29
2003-11-25
Robert Stayton
No

When shade.verbatim is turned on for HTML output,
then a programlistingco with callouts is mishandled. For
each callout, the table used to create the background
shading is terminated, the callout bug is output, and a
new table is started.

This seems to be a bug in the Saxon XSLT extension
that handles callouts.

The attached xml file illustrates the problem when it is
processed to HTML with shade.verbatim on (using
Saxon).

Discussion

  • Robert Stayton
    Robert Stayton
    2003-11-25

    programlistingco example

     
    Attachments
    • priority: 5 --> 7
     
  • Jirka Kosek
    Jirka Kosek
    2004-10-24

    Logged In: YES
    user_id=189932

    I inspected extension code and this wrapping/unwrapping
    stuff is here because callout can appear inside link and in that
    case callout shouldn't be part of such link.

    Extension functions should probably do wrapping and
    unwrapping only if callout is really inside link.

     
  • Norman Walsh
    Norman Walsh
    2004-10-28

    • assigned_to: nobody --> nwalsh
     
  • Norman Walsh
    Norman Walsh
    2004-10-28

    Logged In: YES
    user_id=81663

    It's not just for links, the problem is that you don't want
    any markup around the callout (italics, links, etc.). This
    one's ugly.

    I suppose the answer is to not unwrap the outermost table.
    Or maybe the answer is to fix shade.verbatim so it isn't
    using a table.

     
  • Logged In: YES
    user_id=118135

    Seems like some embedded CSS styling could be generated
    for shade.verbatim instead of a table.

     
  • Norman Walsh
    Norman Walsh
    2004-10-29

    Logged In: YES
    user_id=81663

    "Fixed" in the sense that shade.verbatim is now deprecated
    in the HTML stylesheets.

     
  • Norman Walsh
    Norman Walsh
    2004-10-29

    • status: open --> closed-fixed