I've seen a couple of threads about missing or truncated footnote numbers when importing Word documents into Quark. I've experienced the same problem, and wrote a short macro for Word in Microsoft Visual Basic that helps the situation. It does two things: (see the next post for an improved version)
- before each footnote reference in the body text, it inserts the number of the footnote and a '#' character, both in superscript
- at the beginning of each footnote, it inserts the number of the footnote and '##'
This way, footnote references can be easily searched for and recovered even if they get truncated during import. As a plus, superscript formatting gets preserved in the body text if imported right. '##' can be replaced by an appropriate character (I use a nonbreaking n-space).
Here is the script itself:
For i = 1 To ActiveDocument.Footnotes.Count
x$ = Str$(ActiveDocument.Footnotes.Item(i).Index)
ActiveDocument.Footnotes.Item(i).Range.InsertBefore Text:=(x$ + "##")
s = ActiveDocument.Footnotes.Item(i).Reference.Start
Selection.SetRange Start:=s, End:=s
Selection.Font.Superscript = True
Selection.TypeText Text:=(x$ + "#")
Next
In order to use it, in Word, go to Tools -> Macro -> Macros..., type in an appropriate name, click Create, and paste the above text between the Sub and End Sub tags. To run it, make sure the cursor is in the body text (not in the footnotes), select Tools -> Macro -> Macros..., select the macro created, and click Run.
Hope this helps!