Creating footnotes on import

From: ????? <>
Date: Tue Jan 18 2011 - 21:29:39 CET

Which is the correct algorithm for import filter to create footnotes?

I tried:

// when parsing body text

if (footnote marker encountered)

// after parsing body text

for each (footnote text)
   // parse footnote contents

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