Search found 41 matches

by johseb
2021-01-16 06:28:39
Forum: Nisus Writer Pro
Topic: Finding superscript ordinal numbers
Replies: 12
Views: 199

Re: Finding superscript ordinal numbers

Thank you Adryan and Philip. I didn't know that you can command click individual hits in the Find Results window to add/subtract them from the selection. That's indeed useful. There's only a small detail to notice: command clicking an hit doesn't scroll the document to show the hit (as it does when ...
by johseb
2021-01-16 01:06:04
Forum: Nisus Writer Pro
Topic: Finding superscript ordinal numbers
Replies: 12
Views: 199

Re: Finding superscript ordinal numbers

Checking the results before formatting is for sure a sensible piece of advice. Correct me if I'm wrong but it seems that the only way to delete a false positive is to re-select it keeping the ⌘ key pressed. Is there any other/better way? I'm asking because I find the described de-selection operation...
by johseb
2021-01-08 16:37:00
Forum: Nisus Writer Pro
Topic: Is "Find Next" possible by attribute (text colour)
Replies: 12
Views: 479

Re: Is "Find Next" possible by attribute (text colour)

Have you tried the Formatting Examiner palette? The FE is one of the most useful and flexible additions in NWP3.

You just have to select the attribute (blue text color in your case) and use the arrows.

Screen Shot 2021-01-09 at 01.30.10.png
Screen Shot 2021-01-09 at 01.30.10.png (25.69 KiB) Viewed 474 times
by johseb
2020-10-30 07:08:57
Forum: Nisus Writer Pro
Topic: Equation numbering methods.
Replies: 13
Views: 7600

Re: Equation numbering methods.

Adrian, you're right, there's for sure room for improvements when it comes to figure/table captions and equation numbering (e.g. simpler ways to create numbering per chapter or create figure/tale lists, etc; all possible now but no so smooth). Re vertical adjustment of baseline, I noticed that hover...
by johseb
2020-10-30 05:37:44
Forum: Nisus Writer Pro
Topic: Equation numbering methods.
Replies: 13
Views: 7600

Re: Equation numbering methods.

Hi Adrian, your method works perfectly. Thanks for the tip! My example was purposely extreme but I guess the number of a significant proportion of equations will be off-center (even though by a small amount). The table method automatically takes care of the vertical aligment of the numbers but Marti...
by johseb
2020-10-30 02:29:39
Forum: Nisus Writer Pro
Topic: Equation numbering methods.
Replies: 13
Views: 7600

Re: Equation numbering methods.

Martin, ingenious indeed but placing the equation image inline you'll end up with the equation number aligned with the bottom of the image.
The effect is apparent when inserting multiline equations.

Are there any soutions to this problem?
by johseb
2020-10-28 14:51:06
Forum: Nisus Writer Pro Macros
Topic: Move table rows
Replies: 3
Views: 2714

Re: Move table rows

Thank you Martin, the macro now works like a charm (and thanks to Philip for writing the two original macros).
by johseb
2020-10-28 07:07:32
Forum: Nisus Writer Pro Macros
Topic: Move table rows
Replies: 3
Views: 2714

Move table rows

I downloaded a couple of macros to move table rows up/down (written by @phspaelti and shared in the thread https://nisus.com/forum/viewtopic.php?f=18&t=6732&p=30721&hilit=move+table+rows+Down#p30721). The "Move down" macro works perfectly but the "Move up" macro doesn't. I had a look to the macros b...
by johseb
2020-08-25 06:37:36
Forum: Nisus Writer Pro Macros
Topic: Macro command to Import from Style Library…
Replies: 8
Views: 7650

Re: Macro command to Import from Style Library…

Have you tried granting access to the specific file you are going to use (Case Report.rtf)? The message reads "file doesn't exist" so it seems to expect a file. In any case the Macro Reference suggests to use the built-in macro "Manage Macro File Access" to grant access once and for all. For instanc...
by johseb
2020-08-25 01:29:04
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 3276

Re: Highlight paragraphs with border(s)

Philip, that is really ingenious! Thanks again; the macro now works perfectly. Here it is in the final form if anyone else is interested: $doc = Document.active $paras = $doc.text.find('^.+\n','Ea') $green = Color.green $highlightedParas = Array.new foreach $para in $paras $attr = $para.text.display...
by johseb
2020-08-24 01:56:21
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 3276

Re: Highlight paragraphs with border(s)

Thanks Philip, very instructive. So, given that paragraphLineAttributesForEdge returns a LineAttributes object, I guess I can write something like: if $attr.paragraphLineAttributesForEdge('top').lineType == "Solid" or even (to detect any type of border): if $attr.paragraphLineAttributesForEdge('top'...
by johseb
2020-08-23 14:40:55
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 3276

Re: Highlight paragraphs with border(s)

Hi philip, thanks for your constant support on the forum! At this point only @martin can probably throw some light on the matter. Building a macro is not an easy task. Once a year, maybe less, I put togheter a few pieces of code stolen here and there but I must admit that I never got to grasp the la...
by johseb
2020-08-23 08:47:27
Forum: Nisus Writer Pro Macros
Topic: Highlight paragraphs with border(s)
Replies: 8
Views: 3276

Highlight paragraphs with border(s)

I'm trying to write a simple macro that checks every paragraph of the open document and highlight it if the paragraph has one or more borders. Here's my first attempt: $doc = Document.active $paras = $doc.text.find('^.+\n','Ea') $green = Color.green forEach $para in $paras $attr = $para.text.display...
by johseb
2020-03-23 17:19:35
Forum: Nisus Writer Pro
Topic: Content in table row to continue next page?
Replies: 3
Views: 1883

Re: Content in table row to continue next page?

+1 for this feature request. It would be also very useful to have 1. An option to repeat table header on each page (for tables spanning multiple pages). 2. Ability to add text with vertical baseline; I don't know if the description wording is correct so here's an example: Screen Shot 2020-03-24 at 0...
by johseb
2019-09-26 10:01:07
Forum: Nisus Writer Pro
Topic: Line spacing when using Combining Diacritical Marks
Replies: 22
Views: 12091

Re: Line spacing when using Combining Diacritical Marks

Please try selecting the character fully. If there's no selection and you just have an insertion point (caret) the palette won't show that any font substitution has occurred, because no character is actually selected. Selecting the character inside a table gives the correct result for me as well bu...