Search found 992 matches

by phspaelti
2019-04-09 02:11:25
Forum: Nisus Writer Pro
Topic: How to search for a 1 cell table
Replies: 5
Views: 2197

Re: How to search for a 1 cell table

Since they all have the same text, wouldn't searching for the text work? What do you want to do with them when you find them? Macro code for finding one cell tables would be as follows: $doc = Document.active $oneCellTables = Array.new foreach $table in $doc.text.tables if ($table.rowCount == 1) && ...
by phspaelti
2019-03-01 08:21:38
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 3256

Re: A macro converting numbered texts to endnotes

But then I don't understand the find pattern at the line 33: '^$0(.+$0\n)+'; if '$0' stands for the found reference number, the first one should be '^1(.+1\n)+'. But such a formula does not match any string... Martin comments for this part of the macro "# find the corresponding note text". If I und...
by phspaelti
2019-03-01 01:43:51
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 3256

Re: A macro converting numbered texts to endnotes

Hello Nobumi, I'm glad you got it to work. So I guess it was worth providing more than one macro! Also it shows that with macros it's really best not just to hope someone can write one for you, but to at least have some idea how they work so you can get the result you want. I don't understand the me...
by phspaelti
2019-02-28 00:18:39
Forum: Nisus Writer Pro
Topic: how move items up / down a list?
Replies: 12
Views: 5828

Re: how move items up / down a list?

Hello Howard, I take it you understand why this happens. Your item "21" has a restart on it which is some kind of invisible "memo" on the list item itself. Unfortunately the only way to know this is to look in the "Format:Lists" submenu, where the name of the first item changes from "Restart Numberi...
by phspaelti
2019-02-26 19:28:21
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 3256

Re: A macro converting numbered texts to endnotes

It also looks like Philip's macro has some errors. I tried it on Nobumi's sample text and it failed. That's probably because Philip's macro tries to be more efficient in exactly calculating all the notes upfront. That process is going to be faster, but more brittle. I did only one quick test on Nob...
by phspaelti
2019-02-26 09:28:48
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 3256

Re: A macro converting numbered texts to endnotes

Hello Nobumi, The basic steps will be: Find the numbers in your text Use the information to copy the note text Create endnotes using the copied text Remove the text endnotes The exact way to do this is driven by the commands of the Nisus macro language. So to create an endnote you'll need to use the...
by phspaelti
2019-02-20 17:57:12
Forum: Nisus Writer Pro
Topic: how move items up / down a list?
Replies: 12
Views: 5828

Re: how move items up / down a list?

Hi. In what way has it not worked well? I'm not aware of anything having changed in NWP 3.0 that would affect the functioning. So if you could let me know how the outcome of the macro is different from what you expect…
by phspaelti
2019-02-20 11:24:34
Forum: Nisus Writer Pro
Topic: Different headers/Different footers
Replies: 2
Views: 1000

Re: Different headers/Different footers

Hello Armando, and welcome to Nisus. You are correct. If you want to have one header run from page 1 - 20, and then a different header from page 21 - 40, then you will need to insert a section break at the bottom of page 20. This will give you a new section and those buttons will become active. A si...
by phspaelti
2019-02-16 08:27:22
Forum: Nisus Writer Pro
Topic: Column question
Replies: 2
Views: 997

Re: Column question

Insert > Column Break
by phspaelti
2019-02-15 20:40:59
Forum: Nisus Writer Pro
Topic: PDF Page Numbering Retention
Replies: 5
Views: 1762

Re: PDF Page Numbering Retention

With all due respect, Adrian, your "cure" sounds worse than the disease. I would have thought that Guru would want to index and generate the index from his rtf original, not try to painfully restore the pagination from the pdf sent to them by their editor. Surely the editor's pdf is just for referen...
by phspaelti
2019-02-15 17:44:24
Forum: Nisus Writer Pro
Topic: PDF Page Numbering Retention
Replies: 5
Views: 1762

Re: PDF Page Numbering Retention

Let me get this straight, you are talking about a pdf that was generated by someone else (using Word or other) from your original file, and you want to know if there are any deviations in pagination? There is obviously no built-in command in Nisus (or any other program) to synch pagination with a pd...
by phspaelti
2019-02-15 04:51:45
Forum: Nisus Writer Pro
Topic: Changing default margins
Replies: 4
Views: 1538

Re: Changing default margins

You should change the margins in your Nisus New File. Look in Preferences > New File > Advanced and open the file for editing.
by phspaelti
2019-02-13 02:42:02
Forum: Nisus Writer Pro
Topic: Selecting all tables
Replies: 5
Views: 1975

Re: Selecting all tables

The Formatting Examiner Palette sure has a lot of superpowers 8) But I'm not sure that this will work for what Kadah is trying to do, though it may depend on the formatting. Here is a simple macro solution which will select just the tables, i.e., all table cells. $doc = Document.active $doc.setSelec...
by phspaelti
2019-02-11 19:44:36
Forum: Nisus Writer Pro
Topic: Really really strange behavior editing PowerFind Pro string
Replies: 11
Views: 3524

Re: Really really strange behavior editing PowerFind Pro string

I'd like to reconfirm that I know this problem, and have seen it many times, though not recently. When it starts, it is very annoying, and it's not possible to get rid of it easily. It is very confusing, but ultimately simple: the insertion point in the Find dialog is "off by 1". This makes it very ...
by phspaelti
2019-02-11 15:24:40
Forum: Nisus Writer Pro
Topic: Really really strange behavior editing PowerFind Pro string
Replies: 11
Views: 3524

Re: Really really strange behavior editing PowerFind Pro string

I can confirm that I have seen this behavior as well. When this starts to happen, the cursor appears to be one character to the right of where the insertion point actually is. The only way to edit the find expression is to move the cursor with the cursor keys and keep the offset in mind. I'm really ...