[NTG-context] dealing with footnotes and ol in XML

Pablo Rodriguez oinos at gmx.es
Fri Jan 9 11:41:57 CET 2015

Dear list,

I have the following sample:


    <p>This is the first paragraph.</p>

        <li><p>first item</p></li>
        <li><p>second item</p></li>

    <p>text with footnote<a href="#fn1" class="footnoteRef"

    <p>text with another footnote<a href="#fn2" class="footnoteRef"

    <div class="footnotes">
    <hr />
            <li id="fn1"><p>footnote text</p>
            <p>In two paragraphs<a href="#fnref1">↩</a></p></li>

            <li id="fn2"><p>footnote text</p>
            <p>In two paragraphs<a href="#fnref2">↩</a></p></li>




\startxmlsetups xml:initialize



\startxmlsetups xml:doc

\startxmlsetups xml:footnote





The first issue I’m experiencing is that I don’t know how to avoid that
footnotes (implemented in XML as items in an ordered list) are also
typeset as list items. Footnotes may be inside lists or contain lists,
but footnotes themselves are only implemented as lists. The only way I
know is to disable lists, but this is not an option.

The second issue is that \setupitemize[margin=yes] doesn’t work. What am
I missing here?

Many thanks for your help,


More information about the ntg-context mailing list