docbook-apps

  • 1.  Re: [docbook-apps] footnotes in tables (docbook 4.5 and 1.75.2 stylesheets)

    Posted 07-22-2010 18:06
    Indeed, your analysis appears to be correct that HTML tables do not handle footnotes
    as table footnotes. They should still appear, but just as ordinary footnotes. I
    would classify this as a bug that needs fixing. Can you file a bug report on the
    DocBook SourceForge site? Thanks.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "Giuseppe Bonelli" <peppo.bonelli@gmail.com>
    To: "apps docbook" <docbook-apps@lists.oasis-open.org>
    Sent: Thursday, July 22, 2010 7:27 AM
    Subject: [docbook-apps] footnotes in tables (docbook 4.5 and 1.75.2 stylesheets)


    > Hi again,
    >
    > in the stock docbook xslt (1.75.2) I see under xhtml/footnote.xsl (and
    > in xhtml-1_1/footnote.xsl as well) that the test to discriminate body
    > text footnotes and table footnotes is done on ancestor::tgroup nodes,
    > which imply support only for CALS tables.
    >
    > Does exists a patch or does this simply means that html table model is
    > not fully supported (I am usinc docbook 4.5) and is better to stick to
    > CALS?
    >
    > Thanks,
    >
    > __peppo
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >




  • 2.  elements inside

    Posted 07-22-2010 18:54
    According to the documentation on DB 5
    (http://www.docbook.org/tdg5/en/html/remark.html), it appears that a large
    number of inline elements ought to be able to appear inside a <remark>
    element. However, the docbook.rng
    (http://www.docbook.org/xml/5.0b9/rng/docbook.rng) appears to allow only a
    few of these:
    inlinemediaobject, remark, superscript, subscript,
    xref, link, olink, anchor, biblioref, alt, annotation,
    indexterm.singular, indexterm.startofrange, indexterm.endofrange,
    phrase, replaceable
    Missing from this list afaict are many of the gui inlines, markup inlines,
    operating system inlines, etc. that the documentation says should be
    allowed (and which I believe DocBook 4.5 allowed).

    Perhaps this is intentional; there are some comments at
    http://www.oasis-open.org/docbook/specs/docbook-5.0b6-spec-wd-01.html to
    the effect that DB5 "drastically" reduced the content models of many
    inlines. This description uses the