Search found 1300 matches
- 2023-08-08 16:27:03
- Forum: Nisus Writer Pro
- Topic: Underline not showing for leading tab
- Replies: 8
- Views: 1907
Re: Underline not showing for leading tab
… and it all looks good — until you hit the return, at which point the entire line becomes underlined. That is apparently how carriage returns are treated when they have the underline attribute. Just select the return and turn the underline off. I must say that I hadn't known any of this before thi...
- 2023-08-07 23:16:34
- Forum: Nisus Writer Pro
- Topic: Underline not showing for leading tab
- Replies: 8
- Views: 1907
Re: Underline not showing for leading tab
Unfortunately, special Space characters such as Zero Width Space cannot be underlined. Coming a bit late to this discussion, but the fixed-width space ("option space") underlines just fine. In general for the discussed purpose I would have recommended using a (string of) option-spaces ins...
- 2023-07-17 06:40:07
- Forum: Nisus Writer Pro
- Topic: how to increase the number point size in a numbered list style?
- Replies: 2
- Views: 1230
Re: how to increase the number point size in a numbered list style?
When I check your LS1 list style in the style sheet it seems to have a 7pt Palatino specified. That is what enforces the smaller style for the list numbers. If you want the list style to take on the attributes of the style LIst 1 # you should remove that specification.
- 2023-07-02 22:15:57
- Forum: Nisus Writer Pro
- Topic: Find/Replace-window - Font size
- Replies: 5
- Views: 1616
Re: Find/Replace-window - Font size
Are you changing the font size? You should change the Zoom factor of the Find Window. The Find Window will remember the Zoom setting.
- 2023-06-22 03:05:40
- Forum: Nisus Writer Pro Macros
- Topic: Change the Normal Style via Macro
- Replies: 5
- Views: 2179
Re: Change the Normal Style via Macro
Hi Lou, The simplest way to do this is in a macro is to paste a sample that contains the relevant style. The macro language has a special command for this, and so the following code will do this: $doc = Document.active $styleSample = 'Example' $doc.addStyles $styleSample, 'replace' Note that for thi...
- 2023-06-20 01:10:40
- Forum: Nisus Writer Pro
- Topic: Insert footnote in Table?
- Replies: 8
- Views: 8189
Re: Insert footnote in Table?
Dear Dieter,
Thank you for the update. If you do find a situation where the macro misperforms and gives you such messages, please feel free to send me the relevant file and I will try to improve the macro.
Best
Philip
Thank you for the update. If you do find a situation where the macro misperforms and gives you such messages, please feel free to send me the relevant file and I will try to improve the macro.
Best
Philip
- 2023-06-18 22:40:07
- Forum: Nisus Writer Pro
- Topic: In a macro, remove formatting from a text variable
- Replies: 4
- Views: 984
Re: In a macro, remove formatting from a text variable
Hello Allen, Okay. Now I understand better what you are trying to achieve. It might be good to keep some terms clear. One of the advantages of Nisus Writer is that it can work with Attributed Text , text with styling attributes. I prefer to reserve the term Styles for Character/Paragraph styles, whi...
- 2023-06-17 01:45:23
- Forum: Nisus Writer Pro
- Topic: Insert footnote in Table?
- Replies: 8
- Views: 8189
Re: Insert footnote in Table?
Hello Dieter, I'm sorry for the trouble. Let me try to understand the situation. You are using the macro to insert a footnote in a table, and you are getting the stated error message. Does this happen for you consistently, or only in certain cases? I must admit that at the referenced location in the...
- 2023-06-15 18:15:44
- Forum: Nisus Writer Pro
- Topic: In a macro, remove formatting from a text variable
- Replies: 4
- Views: 984
Re: In a macro, remove formatting from a text variable
Now having reread what you are actually looking for, I should say that, if your macro is collecting lots of pieces from the original document and then gathering them for output elsewhere, sure you could use my little swap each time you collect a piece. But I suspect it might be much better to approa...
- 2023-06-15 18:03:10
- Forum: Nisus Writer Pro
- Topic: In a macro, remove formatting from a text variable
- Replies: 4
- Views: 984
Re: In a macro, remove formatting from a text variable
I want to remove all formatting except styles from the variable (emphasis mine :wink: ) This is probably very simple :P In principle you might think this is the place to use the Push Target Selection command, but as the Macro Reference says explicitly, Menu commands don't affect such targets, and i...
- 2023-06-13 17:40:00
- Forum: Nisus Writer Pro
- Topic: Feature request. Table header auto repeat on multiple pages
- Replies: 4
- Views: 5778
Re: Feature request. Table header auto repeat on multiple pages
Indeed, that would be a great feature.
- 2023-04-24 07:26:40
- Forum: Nisus Writer Pro
- Topic: Switch to secondary font
- Replies: 7
- Views: 1894
Re: Switch to secondary font
Hi Ted, I just tried this, and this is what it looks like for me: Secondary Font.jpg As far as I can tell it works. If I have some Japanese in my English text it uses the Secondary Font selected to display the Japanese. But to be honest, that is not the way I would want to handle it. In order to add...
- 2023-03-17 16:16:52
- Forum: Nisus Writer Pro
- Topic: Finding SHORTEST Text
- Replies: 2
- Views: 814
Re: Finding SHORTEST Text
"+" gives a 'greedy' repetition
"+?" gives the shortest.
By the way in your expression you can just use a position match rather than 'replacing' the return:
^[^\n\f]+?\: +
PS: If you use the Find box, the menus have these repeaters listed
"+?" gives the shortest.
By the way in your expression you can just use a position match rather than 'replacing' the return:
^[^\n\f]+?\: +
PS: If you use the Find box, the menus have these repeaters listed
- 2023-03-16 06:18:44
- Forum: Nisus Writer Pro Macros
- Topic: Help needed with Show Find Results
- Replies: 2
- Views: 1607
Re: Help needed with Show Find Results
The problem is that your hash $found does not contain anything. You initialize it. But then you do the Find command in the GUI, which isn't going to have any effect on $found. You can get the effect that you (perhaps) intend, by changing the code as follows: $doc = Document.active $found = $doc.text...
- 2023-03-08 00:13:56
- Forum: Nisus Writer Pro
- Topic: Linking documents to a “style collection” — Is it possible?
- Replies: 2
- Views: 914
Re: Linking documents to a “style collection” — Is it possible?
If you insist on "automatic", this is not possible. A style library is simply a repository of styles that you can reuse. If you edit the styles later, the documents that have been created using earlier versions of the library are not changed in any way. What you can do is, once the library...