Page 1 of 1

Apply the same footnote multiple times

Posted: Wed Oct 14, 2020 8:39 pm
by jhanna
Hello,

When applying the same footnote to more than one element, the footnote text gets duplicated and the footnote reference number is different. Here is an example produced using PDF Chemistry:

DITA

Code: Select all

        <ol>
            <li>Item 1<xref href="#topic_qzf_r1h_3nb/first-footnote" type="fn"/><fn
                    id="first-footnote">Here is a footnote.</fn></li>
            <li>Item 2</li>
            <li>Item 3<xref href="#topic_qzf_r1h_3nb/first-footnote" type="fn"/></li>
            <li>Item 4</li>
        </ol>
PDF Chemistry Output
footnote_output.png
footnote_output.png (10.28 KiB) Viewed 1526 times
The following is what I would expect to be the result:
footnote_expected.png
footnote_expected.png (7.72 KiB) Viewed 1526 times
Basically, I'm expecting the same output provided as the "use-by-reference" example provided in the DITA spec for footnotes:
https://www.oxygenxml.com/dita/1.3/spec ... l=footnote

Please consider adding this support to Oxygen and Chemistry.

Thank you,
Jonathan

Re: Apply the same footnote multiple times

Posted: Thu Oct 15, 2020 5:10 pm
by julien_lacour
Hello Jonathan,

This problem has already been fixed and will be available starting with the new release of Oxygen PDF Chemistry.
It will be included in the new version of Oxygen (23.0 - release soon)

Regards,
Julien

Re: Apply the same footnote multiple times

Posted: Thu Oct 15, 2020 6:10 pm
by jhanna
Hi Julien,

That's great to hear!

Thanks,
Jonathan