AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Table footnotes within thead not displayed in output #197

Closed steinbacher01 closed 3 years ago

steinbacher01 commented 3 years ago

Table footnotes within the thead element are not displayed in the output. The footnote content is displayed as expected below the table, but the reference # and link are missing from the tablehead entries.

table-thead-fn

TableFN

I tested this on the base PDF5.ml plugin with the same result.

I can attach a sample if needed.

Thanks,

Leroy Steinbacher

ToshihikoMakita commented 3 years ago

I can attach a sample if needed.

Thank you, please attach the minimum test data.

steinbacher01 commented 3 years ago

table-fn-sample.zip

A different writer reported that this works in their table. This is probably related to the morerows attribute in the thead row entry.

ToshihikoMakita commented 3 years ago

Thank you. I will try it as soon as possible.

ToshihikoMakita commented 3 years ago

I found the cause. In DITA authoring, fn with @id must be referenced with xref. Otherwise the footnote reference character (*N) will not appeared. I attached revised authoring:

r_crated_uncrated_Myo_weight_measuremnt_clearance.zip

The revised result is as follows:

fn_New

3.2.2.16 http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/base/fn.html#fn

A footnote that specifies an @id attribute is a use-by-reference footnote. Upon output, it does not appear anywhere unless it has been referenced using an with the @type attribute set to "fn".

Hope this helps your understanding.

steinbacher01 commented 3 years ago

Thanks for quick response. I made the change you suggested and it is now working as exptected.