Page 1 of 1

NWP FootNotes and Booklets

Posted: 2012-01-31 05:33:12
by GMT+3:00
How can I put the footnotes number (in the text and footnotes) between two parentheses?

And, can I print Booklet in NWP (not brochure)? and how?


TIA
:roll:

Re: NWP FootNotes and Booklets

Posted: 2012-01-31 14:49:44
by martin
GMT+3:00 wrote:How can I put the footnotes number (in the text and footnotes) between two parentheses?
This isn't actually currently possible, sorry. We have it on our list of features to add, but I can't say when you'll see it exactly.

In the meantime, you might find the attached macro helpful. When you run it, all note references in the main body will have parentheses inserted around them. After the macro runs, these newly inserted parentheses will be selected so you can format them if you wish (you could also add whatever formatting steps you wish to the macro itself).
And, can I print Booklet in NWP (not brochure)? and how?
Not directly no, but I believe there are utilities out there that will allow one to print/convert any PDF (eg: as saved by NWP) into a booklet.

Re: NWP FootNotes and Booklets

Posted: 2012-01-31 19:49:24
by GMT+3:00
Thnx Martin :)

What is the statement to superscript the parentheses in the main body of the doc? And how can I jump (as a statement in the macro) to the footnotes and rerun the macro, and deselect all?

Another Q: How can I align the sparater Footnotes line to the rghit?

TIA :roll:

Re: NWP FootNotes and Booklets

Posted: 2012-02-01 00:44:49
by martin
GMT+3:00 wrote:What is the statement to superscript the parentheses in the main body of the doc?
It's actually just the menu command name itself, ie:

Code: Select all

Superscript
Or if you want to be entirely specific:

Code: Select all

Menu ":Format:Baseline:Superscript"
Although, probably you just want to apply your note reference style to the inserted parentheses:

Code: Select all

Menu ":Format:Character Style:Note Reference"
And how can I jump (as a statement in the macro) to the footnotes and rerun the macro, and deselect all?
I'm not sure I understand exactly what you're asking. Do you want to remove the parentheses?
Another Q: How can I align the sparater Footnotes line to the rghit?
The separator line will align itself with the direction of your document section. So if you change your section to be "Right to Left", the divider line will be right aligned. Note that changing your section direction changes other things, like in which direction columns snake.

Re: NWP FootNotes and Booklets

Posted: 2012-02-01 03:57:32
by GMT+3:00
I'm not sure I understand exactly what you're asking. Do you want to remove the parentheses?
The macro parenthesize only the number of the footnotes reference, and not the number of the footnotes text at the bottom!
And after the macro finishes I'd like it to deselect the footnotes!

(Sorry, I'm working with Endnotes and not Footnotes), I think it does not matter in my case! correct? :oops:


:idea: Is it possible to do the initiation and the parenthesize of each endnote in one macro? (on the go!)

Re: NWP FootNotes and Booklets

Posted: 2012-02-01 17:08:23
by martin
GMT+3:00 wrote:The macro parenthesize only the number of the footnotes reference, and not the number of the footnotes text at the bottom!
That's correct, it is not possible for the macro to parenthesize the reference numbers in the note area at the bottom/end, sorry.
And after the macro finishes I'd like it to deselect the footnotes!
That's not difficult. You'll want to use the "Select End" command, which places the insertion point at the end of the selection. Although, it sounds like you don't care to see the inserted parentheses at all, so let's restore something like the original selection by changing the final bit of macro code to:

Code: Select all

# select inserted characters
If $inserted.count > 0 
	$doc.setSelection($inserted)
	Menu ":Format:Character Style:Note Reference"
End
$doc.setSelection($startingSelection)
I'll attach an updated macro that uses that code here.
(Sorry, I'm working with Endnotes and not Footnotes), I think it does not matter in my case! correct? :oops:
Don't worry, the macro works on both footnotes and endnotes.
:idea: Is it possible to do the initiation and the parenthesize of each endnote in one macro? (on the go!)
Perhaps.. do you mean that you want the parentheses added when you insert a new endnote?

Re: NWP FootNotes and Booklets

Posted: 2012-02-01 19:32:49
by GMT+3:00
martin wrote:Perhaps.. do you mean that you want the parentheses added when you insert a new endnote?
Yes. Only for each inserted Endnote at a time! I mean, have the command of inserting Endnote inside the macro and let the macro parenthesize this Endnote only not the whole doc, so when I wont to add a new Endnote I just need to run the macro :!:
(Sorry for repeating myself :| )

TIA, and I really appreciate your help. :)

Re: NWP FootNotes and Booklets

Posted: 2012-02-02 01:39:27
by martin
I think this macro will do what you want. Just run it instead of inserting an endnote as normal.

Re: NWP FootNotes and Booklets

Posted: 2012-02-02 02:57:11
by GMT+3:00
martin wrote:I think this macro will do what you want. Just run it instead of inserting an endnote as normal.
Yes, and thnx a lot. 8)