Search found 1132 matches
- 2021-01-18 20:09:37
- Forum: Nisus Writer Pro
- Topic: Finding superscript ordinal numbers
- Replies: 14
- Views: 355
Re: Finding superscript ordinal numbers
I am having no luck trying to follow your suggestions--probably something I am doing wrong.When I follow your instructions, I get the "Found no occurrences" message from NW. So I am guessing that I am doing something wrong in the Find box. Here is a screen shot. Can you see anything I have done wro...
- 2021-01-16 05:00:38
- Forum: Nisus Writer Pro
- Topic: Finding superscript ordinal numbers
- Replies: 14
- Views: 355
Re: Finding superscript ordinal numbers
It would be easier if we could delete an instance directly in the "Find Results" window (e.g. with a command in the contextual menu). The "Find Results" window is great to see/navigate/copy results but would be much powerful if it could operate on the underlying multi-part selection. Did you know t...
- 2021-01-15 22:51:13
- Forum: Nisus Writer Pro
- Topic: Finding superscript ordinal numbers
- Replies: 14
- Views: 355
Re: Finding superscript ordinal numbers
Which is why I wrote "probably".
The method I recommend in general is to use "Replace All" less, and "Find All" more. Look at the number of hits and use "Show list of matches" to see what you get. Regular expressions are famously tricky, so it's best not to try to outthink the regexp engine
The method I recommend in general is to use "Replace All" less, and "Find All" more. Look at the number of hits and use "Show list of matches" to see what you get. Regular expressions are famously tricky, so it's best not to try to outthink the regexp engine

- 2021-01-15 16:13:21
- Forum: Nisus Writer Pro
- Topic: Finding superscript ordinal numbers
- Replies: 14
- Views: 355
Re: Finding superscript ordinal numbers
Using PowerFind Pro, put the following expression in the Find field: (\d)(st|nd|rd|th) Select the second parenthesized expression and superscript it by choosing Format > Baseline > Superscript. Also tick the Formatting Sensitive checkbox there. As a slight variant of this approach, I would recommen...
- 2021-01-08 16:44:23
- Forum: Nisus Writer Pro
- Topic: Is "Find Next" possible by attribute (text colour)
- Replies: 12
- Views: 739
Re: Is "Find Next" possible by attribute (text colour)
To do an attribute sensitive search in Nisus using regular Find do the following Make sure you are set to Powerfind or Powerfind Pro "Clean out" the find box (i.e. make sure it has no residual attributes) Insert the Wild Card "Any" Select and apply the attribute—or combination of attributes—you want...
- 2021-01-03 21:03:50
- Forum: Nisus Writer Pro Macros
- Topic: Anchors and anchored text
- Replies: 4
- Views: 1063
Re: Anchors and anchored text
Hello lellius, and happy new year! The macro does work well, except it doesn't find and delete a void anchor. The reason is that I put in a condition which restricts processing to text boxes. I did it that way so it wouldn't delete any floating images. I'm not sure what the "void" anchors would turn...
- 2020-12-30 00:01:02
- Forum: Nisus Writer Pro Macros
- Topic: Anchors and anchored text
- Replies: 4
- Views: 1063
Re: Anchors and anchored text
Something like this?
Code: Select all
$doc = Document.active
foreach $float in $doc.allFloatingContents
if $float.isTextBox
$float.anchorText.insertAtIndex $float.anchorTextRange.location, '[' & $float.text & ']'
$float.removeFromDocument
end
end
- 2020-12-12 01:57:36
- Forum: Nisus Writer Pro
- Topic: Powerfind ninja needed for search question
- Replies: 11
- Views: 1878
Re: Powerfind ninja needed for search question
I had noted the PowerFind Pro expression, but I confess I don't quite understand why it doesn't just begin with the caret. Enlightenment is sought. You mean why the expression is wrapped with '(?: … )'? This creates a non-capturing unit for the paragraph. But now that I think about it, I'm having a...
- 2020-12-11 18:45:28
- Forum: Nisus Writer Pro
- Topic: Powerfind ninja needed for search question
- Replies: 11
- Views: 1878
Re: Powerfind ninja needed for search question
"Paragraph" as used here is a term of art. If you look "under the hood", you can see that it amounts to any repetition of 'text' characters, i.e., characters excluding the return/newline. So it puts no conditions on punctuation. Paragraph in this sense is what computer types usually call "line", exc...
- 2020-12-10 16:18:26
- Forum: Nisus Writer Pro
- Topic: Powerfind ninja needed for search question
- Replies: 11
- Views: 1878
Re: Powerfind ninja needed for search question
Also one other approach you can use in similar cases: Select the styled paragraphs Replace the selected text with—or just insert—a special marker of some kind Find the paragraph followed by the special marker This method can be useful when the styled paragraph does not have some otherwise recognizab...
- 2020-12-10 16:08:07
- Forum: Nisus Writer Pro
- Topic: Powerfind ninja needed for search question
- Replies: 11
- Views: 1878
Re: Powerfind ninja needed for search question
Generally all of your solutions would be possible approaches, though some are easier to approach than others. Since you have the headlines already with a style you can just keep those and delete the ones before them. So find paragraphs that are followed by an identical paragraph. In Powerfind this w...
- 2020-11-21 20:46:55
- Forum: Nisus Writer Pro
- Topic: Outline lists - missing the obvious
- Replies: 8
- Views: 1980
Re: Outline lists - missing the obvious
Putting aside the question of whether list styles should behave as Adrian thinks they should. Returning to my (second) point. "Outline" is not an outline feature. It is just a list style. There is no true Outline feature in Nisus. Instead some of the functionality of an Outline can be approximated u...
- 2020-11-21 07:40:56
- Forum: Nisus Writer Pro
- Topic: Outline lists - missing the obvious
- Replies: 8
- Views: 1980
Re: Outline lists - missing the obvious
The Outline list style works fine for me. NWP 3.2
But it is just a list style. It is not a "real" outline.
But it is just a list style. It is not a "real" outline.
- 2020-11-20 19:45:05
- Forum: Nisus Writer Pro
- Topic: Insert footnote in Table?
- Replies: 4
- Views: 1686
Re: Insert footnote in Table?
To help avoid the need for everyone to revisit those threads full of revised versions of the macro, I can post the most recent version. Please report any problems.
- 2020-11-17 02:45:49
- Forum: Nisus Writer Pro
- Topic: how do you move items up and down lists with keyboard shortcuts ?
- Replies: 5
- Views: 2010
Re: how do you move items up and down lists with keyboard shortcuts ?
I tried to do the same thing but this time create a folder for the added macros, and I could not see the folder when I wanted to assign a shortcut in pref→ menu keys I think the problem — and the reason why Adrian's method works — is that you need to switch out of Nisus and back in. Nisus doesn't u...