Odd Footnote Refs when importing from Word

Everything related to our flagship word processor.
Post Reply
hoberdiek
Posts: 32
Joined: 2012-02-20 13:38:34

Odd Footnote Refs when importing from Word

Post by hoberdiek »

Sometimes -- not always, but frequently enough -- when I import a Word for Mac document into Nisus, the footnote reference in the text is fine, but there is occasionally a "double" number (e.g., "7" "7") in the footnote itself; i.e., two separate references. One can be deleted without affecting the text, which is what I've been doing manually, but wish it never happened -- and doesn't always.

I also had a related problem that I haven't been able to sort and the document looks awful! After numbering as about with double numbers, the footnote reference in the text said "10", but the footnote reference in the footnote itself read "10" "1"....and all subsequent footnotes were (e.g.) "11", "2" and so on. I couldn't get rid of the "smaller" numbers because that would have deleted the reference number, and thus deleted the text. So I will have to 'white out' the 'start over' numbers. (I even tried breaking the document into sections, but to no avail.)

Advice? Thanks!
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Odd Footnote Refs when importing from Word

Post by martin »

hoberdiek wrote:Sometimes -- not always, but frequently enough -- when I import a Word for Mac document into Nisus, the footnote reference in the text is fine, but there is occasionally a "double" number (e.g., "7" "7") in the footnote itself; i.e., two separate references. One can be deleted without affecting the text, which is what I've been doing manually, but wish it never happened -- and doesn't always.
This could be a bug in our importer. Could you send us a file that imports with the unwanted double reference numbers for us to look at?
After numbering as about with double numbers, the footnote reference in the text said "10", but the footnote reference in the footnote itself read "10" "1"....and all subsequent footnotes were (e.g.) "11", "2" and so on. I couldn't get rid of the "smaller" numbers because that would have deleted the reference number, and thus deleted the text. So I will have to 'white out' the 'start over' numbers. (I even tried breaking the document into sections, but to no avail.)
This sounds strange, and I'm honestly not sure I understand exactly. Could you send us an example file/snippet that shows this too? Thanks!
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Odd Footnote Refs when importing from Word

Post by martin »

In working privately with hoberdiek, we discovered the cause. The footnotes in the document had both custom note references set, as well as regular text directly adjacent to the footnote numbers that happened to look like a reference, but were not actually part of the reference. That's a little confusing, so a screenshot might help:
noteref.png
noteref.png (10.44 KiB) Viewed 3429 times
The green highlighted "1" is a note reference, but the other "1" is just plain text that is part of the regular document content.

It seems these oddities crept into the file over time, as it was passed between Word Perfect, Microsoft Word, and finally Nisus Writer. I'm attaching a macro that cleans out these kinds of confusing note numbering (by removing all custom note references and deleting numbers adjacent to any note reference).
Attachments
Note Reference Cleaning.nwm
(22.96 KiB) Downloaded 351 times
Post Reply