Which is the correct algorithm for import filter to create footnotes?
I tried:
// when parsing body text
if (footnote marker encountered)
appendObject(PTO_Field,{"type","footnote_ref","footnote-id",<ordinal>})
// after parsing body text
for each (footnote text)
appendStrux(PTX_SectionFootnote,{"footnote-id",<ordinal>}
appendObject(PTO_Field,{"type","footnote_anchor","footnote-id",<ordinal>})
// parse footnote contents
appendStrux(PTX_EndFootnote)
The resulting document looks weird, the footnotes after 1st are unfocusable, and when editing document occasionally crash. Since no document format specification is available, I would like to know the correct procedure.
Received on Tue Jan 18 21:27:40 2011
This archive was generated by hypermail 2.1.8 : Tue Jan 18 2011 - 21:27:40 CET