docbook-apps

  • 1.  footnote mark rendering with 1.77.1 stylesheets

    Posted 10-16-2013 19:46
    hi,
    I am having a problem with footnote mark rendering with the 1.77.1
    stylesheets.

    The actual footnote is rendered correctly, including the backreference to
    the footnote marker;
    the problem is with the inline rendering of the footnote mark.

    Details:
    I render the footnote example from the doc
    http://www.docbook.org/tdg5/en/html/footnote.html

    and I'm using the html/chunk.xsl stylesheet with no customization (xsltproc
    on freebsd 8):

    The rendered footnote mark is structured like this:
    ----------------




    [1] will be charged etc...

    ----------------

    I think the '[1]' should be inside the 'sup' tag.
    However, as far as I can tell, the html/footnotes.xsl seems to be correct.

    Is that a bug?

    thanks,
    --Tim



  • 2.  Re: [docbook-apps] footnote mark rendering with 1.77.1 stylesheets

    Posted 10-17-2013 09:38
    On 16.10.2013 21:46, Tim Arnold wrote:
    > The rendered footnote mark is structured like this:
    > ----------------
    >
    >
    >

    >
    > [1] will be charged etc...
    >
    > Is that a bug?

    Probably yes, but probably not in the stylesheets.

    Are you sure that you were looking on the direct result of
    transformation and there were no additional step applied to HTML like
    HTML-tidy?

    Have you been looking at HTML source or have you been using DOM
    inspector in your browser?

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
    ------------------------------------------------------------------
    Bringing you XML Prague conference http://xmlprague.cz
    ------------------------------------------------------------------