Footnote formatting issues
Posted: 2015-03-09 08:49:22
Hello,
Here's the Issue:
I have a question about two specific macros related to fixing problems with footnotes, and why they're not working.
To cut a long story short, I learned the hard way that, in Nisus, certain elements present in the style palette for the style called "Footnote"—such as the delimiter and the space between the delimiter and the footnote text—are actually not part of the style called "Footnote". Instead, it turns out that they are part of the footnote content. It took me a while to figure this out, but I finally turned to the web and found these two pages on the forums:
- "Imported Footnotes not showing default note text"
http://www.nisus.com/forum/viewtopic.php?f=18&t=5679
-Footnote Style not working correctly
http://nisus.com/forum/viewtopic.php?f=18&t=5704
It also turns out that when we make changes to the delimiter and/or the spacing between the delimiter and the footnote text, these changes are not applied to footnotes already present in the text (because they're not part of the style). I have a document of approximately 150 pages, with lots of notes, and am having to modify the styles; because of this particularity in Nisus, some of the changes to the footnotes are not being made.
To deal with this scenario, the first link above provides a macro by Nisus—"Note Delimiter Replace All.nwm"—which applies changes to the style retroactively. The page also provides another macro— "Fix Note Default text.nwm", contributed by a user—which purports to do the same thing.
I downloaded both, but the macro provided by Nisus is not entirely effective: it doesn't fix all the instances of the problems in my (quite long) document (with lots of footnotes). The macro provided by the user does not even run on my system. I receive the following error message: "There was an error on line 17 in the macro 'Fix_Note_Default_text'. Expected a Range object."
I've provided an example file in an attachment which reproduces the problem. The dimensions used in the footnote style are a bit of an exaggeration, but they show the problem clearly: note 1 is correctly formatted, but notes 2–9 won't follow this exact formatting. After running the Nisus macro, the first-line indentation of notes 2–9 remains problematic—the hanging indent won't remain consistent with the first-line indentation. Also, note 6 remains a real problem case.
And Here Are the Questions:
I'm wondering if anyone might be able to explain the following:
(1) Why won't the macro provided by Nisus fix the problem and format the footnote style consistently?
(2) Why does the user's macro not run and result in the the following error message: "There was an error on line 17 in the macro 'Fix_Note_Default_text'. Expected a Range object"?
(3) Is there a way to fix these problems?
I ask because, as you can imagine, with a large quantity of notes, it's pretty bewildering having style changes that won't apply themselves properly, and having to go through a long document, one note at a time.
Any help anyone might be able to offer would be greatly appreciated.
Stef
Here's the Issue:
I have a question about two specific macros related to fixing problems with footnotes, and why they're not working.
To cut a long story short, I learned the hard way that, in Nisus, certain elements present in the style palette for the style called "Footnote"—such as the delimiter and the space between the delimiter and the footnote text—are actually not part of the style called "Footnote". Instead, it turns out that they are part of the footnote content. It took me a while to figure this out, but I finally turned to the web and found these two pages on the forums:
- "Imported Footnotes not showing default note text"
http://www.nisus.com/forum/viewtopic.php?f=18&t=5679
-Footnote Style not working correctly
http://nisus.com/forum/viewtopic.php?f=18&t=5704
It also turns out that when we make changes to the delimiter and/or the spacing between the delimiter and the footnote text, these changes are not applied to footnotes already present in the text (because they're not part of the style). I have a document of approximately 150 pages, with lots of notes, and am having to modify the styles; because of this particularity in Nisus, some of the changes to the footnotes are not being made.
To deal with this scenario, the first link above provides a macro by Nisus—"Note Delimiter Replace All.nwm"—which applies changes to the style retroactively. The page also provides another macro— "Fix Note Default text.nwm", contributed by a user—which purports to do the same thing.
I downloaded both, but the macro provided by Nisus is not entirely effective: it doesn't fix all the instances of the problems in my (quite long) document (with lots of footnotes). The macro provided by the user does not even run on my system. I receive the following error message: "There was an error on line 17 in the macro 'Fix_Note_Default_text'. Expected a Range object."
I've provided an example file in an attachment which reproduces the problem. The dimensions used in the footnote style are a bit of an exaggeration, but they show the problem clearly: note 1 is correctly formatted, but notes 2–9 won't follow this exact formatting. After running the Nisus macro, the first-line indentation of notes 2–9 remains problematic—the hanging indent won't remain consistent with the first-line indentation. Also, note 6 remains a real problem case.
And Here Are the Questions:
I'm wondering if anyone might be able to explain the following:
(1) Why won't the macro provided by Nisus fix the problem and format the footnote style consistently?
(2) Why does the user's macro not run and result in the the following error message: "There was an error on line 17 in the macro 'Fix_Note_Default_text'. Expected a Range object"?
(3) Is there a way to fix these problems?
I ask because, as you can imagine, with a large quantity of notes, it's pretty bewildering having style changes that won't apply themselves properly, and having to go through a long document, one note at a time.
Any help anyone might be able to offer would be greatly appreciated.
Stef