Search found 1300 matches

by phspaelti
2023-03-03 08:20:11
Forum: Other Nisus Products
Topic: Comparing Nisus Classic to Nisus Writer Pro
Replies: 1
Views: 3126

Re: Comparing Nisus Classic to Nisus Writer Pro

Here's are a few features that I remember Nisus Classic having that I (sometimes) miss. Multiple character styles applied to the same text Automatic numbers that could be anywhere in the text, not tied to a list style Transparent/hidden text Automatic macros, that would run on certain actions "...
by phspaelti
2023-03-03 08:10:50
Forum: Nisus Writer Pro
Topic: hiding specific numbers
Replies: 1
Views: 723

Re: hiding specific numbers

I'm trying to think what you mean by "specific" numbers. I can think of two things. 1. If you want to hide page numbers (in the header/footer) on blank pages, you would probably have to make those pages a separate section. Then you can either have a different header/footer on those pages, ...
by phspaelti
2023-02-10 08:31:46
Forum: Nisus Writer Pro Macros
Topic: Find and replace using attributes works, but macro doesn't
Replies: 11
Views: 3104

Re: Find and replace using attributes works, but macro doesn't

I can confirm—as has Adrian already—that apparently the "No Subscript" style does not seem to be operative in a macroized statement.
Of course these commands, where the applied style in the macro code is critical, are extremely delicate.
by phspaelti
2023-01-28 18:44:19
Forum: Nisus Writer Pro Macros
Topic: Way to sort a list?
Replies: 2
Views: 1478

Re: Way to sort a list?

As long as the items in your list are all single paragraphs you can just use the Sort command.
by phspaelti
2023-01-22 17:54:06
Forum: Nisus Writer Pro
Topic: Page number stops between sections
Replies: 1
Views: 712

Re: Page number stops between sections

Check your section settings (in the palette). Most likely your later section is set to have "Different Footers". Either uncheck this, to give both sections the same footer, or add the page number to the footer of the later section.
by phspaelti
2023-01-21 23:44:40
Forum: Nisus Writer Pro Macros
Topic: Encourage Later Line Break
Replies: 5
Views: 2240

Re: Encourage Later Line Break

Hello Adrian, I'm glad it works for you. One relates to argument syntax. When does one enclose an argument in parentheses and when does one separate it from the command by a space? Probably a smart way to think about it would be that you always need parentheses. So any command should always be follo...
by phspaelti
2023-01-21 08:31:28
Forum: Nisus Writer Pro Macros
Topic: Encourage Later Line Break
Replies: 5
Views: 2240

Re: Encourage Later Line Break

Hello Adrian, If I understand correctly you are trying to do the opposite of what you (we) were doing last time, i.e., successively tighten until a word from the following line pops up. The simplest idea to my mind is to simply check what the bound of the current line is until it changes. Like this:...
by phspaelti
2023-01-16 20:31:25
Forum: Nisus Writer Pro
Topic: Can we add some Indexing features?
Replies: 3
Views: 1139

Re: Can we add some Indexing features?

Moving on, can we add a way to manually order index entries, rather than alphabetically? Here I am thinking about my 2 level index of "cases" and "statutes" and "rules." Rules comes before statutes alphabetically, but I would sometimes like to put my index in the order...
by phspaelti
2023-01-16 19:54:09
Forum: Nisus Writer Pro
Topic: Can we add some Indexing features?
Replies: 3
Views: 1139

Re: Can we add some Indexing features?

Is it possible to add an option to use the word "Passim" to the indexing options? This is frequently used in legal table of authorities if a citation is on multiple pages; usually at least 4 times. Passim, of course, would replace the page number in the index one would use for a table of ...
by phspaelti
2023-01-10 18:45:24
Forum: Nisus Writer Pro Macros
Topic: Select and put in array.
Replies: 3
Views: 1681

Re: Select and put in array.

I just want to add one more thing here, which is tangential to the above discussion. If you use the Find All style method to make a selection, NWP will find the relevant paragraphs, but the returned subtexts will all contain the final newline for each paragraph. If you want to get rid of these, then...
by phspaelti
2023-01-10 17:35:12
Forum: Nisus Writer Pro Macros
Topic: Select and put in array.
Replies: 3
Views: 1681

Re: Select and put in array.

Hello Lou, Non-contiguous selections in NWP are already in an array. For example if you have used a find command to make such a selection then $array = $doc.textSelections will return an array. However the array will be one containing selection objects. This is usually good enough, and can even be a...
by phspaelti
2023-01-07 21:08:42
Forum: Nisus Writer Pro
Topic: Watermark settings won't stick: v. 3.3
Replies: 2
Views: 823

Re: Watermark settings won't stick: v. 3.3

I tried a very quick test, and what I find is this: I apply the watermark to a section only and NWP correctly reflects this. I.e., it shows the watermark only in that section. BUT if you open the settings it shows the watermark as "Entire Document". This doesn't seem to affect the way the ...
by phspaelti
2023-01-01 01:58:22
Forum: Nisus Writer Pro Macros
Topic: Select a list as a group.
Replies: 9
Views: 3059

Re: Select a list as a group.

loulesko wrote: 2022-12-29 13:24:53 What is the \X stand for?
Hello Lou, Happy new year.
The wildcard "\X" selects anything. So "\X+" matches whatever you have. It corresponds to the wildcard Any.
by phspaelti
2022-12-16 18:07:51
Forum: Nisus Writer Pro Macros
Topic: Extend Line to Right Line Indent
Replies: 14
Views: 3812

Re: Extend Line to Right Line Indent

$doc = Document.active $loc = $doc.textSelection.location $range = $doc.text.rangeOfLineAtIndex $loc $start = $range.location $end = $range.bound - 1 $sel = TextSelection.new $doc.text, $range $spaceSels = $sel.text.find '. +.', 'Ea', $sel.range $kern = 0.05 $i = 0 while $doc.text.lineNumberAtIndex...
by phspaelti
2022-12-15 16:33:54
Forum: Nisus Writer Pro Macros
Topic: Extend Line to Right Line Indent
Replies: 14
Views: 3812

Re: Extend Line to Right Line Indent

Instead of using kerning, how about a different kludge; add a dummy phrase at the end of the line and color it white. Of course this kludge depends on. you having the extra space for the line with the dummy.