Search found 565 matches
- 2023-01-21 01:23:46
- Forum: Nisus Writer Pro Macros
- Topic: Encourage Later Line Break
- Replies: 5
- Views: 2524
Encourage Later Line Break
G'day, all First, the aim: I want to tighten the kerning at each space in a line of fully justified text until either a fragment of the first word in the following line jumps up to the end of the initial line or there is no point in tightening it further. The word to be split would separate either b...
- 2023-01-20 16:44:17
- Forum: Nisus Writer Pro
- Topic: bookmark highlight color
- Replies: 2
- Views: 948
Re: bookmark highlight color
G'day, dougeddy et al
Preferences > Appearance > Colors > Selection > Inactive Selection
Cheers,
Adrian
Preferences > Appearance > Colors > Selection > Inactive Selection
Cheers,
Adrian
- 2022-12-19 06:10:50
- Forum: Nisus Writer Pro
- Topic: Absolutely frustrating behaviour of pictures and text boxes
- Replies: 13
- Views: 2387
Re: Absolutely frustrating behaviour of pictures and text boxes
G’day, all
What I said about Undo isn't quite right. One shouldn't expect Undo to undo each return insertion progressively. Removal of them all at once is the expected behavior. I must have thought otherwise because of the slow-motion insertion of all those returns.
Cheers,
Adrian
What I said about Undo isn't quite right. One shouldn't expect Undo to undo each return insertion progressively. Removal of them all at once is the expected behavior. I must have thought otherwise because of the slow-motion insertion of all those returns.
Cheers,
Adrian
- 2022-12-19 04:49:41
- Forum: Nisus Writer Pro
- Topic: Absolutely frustrating behaviour of pictures and text boxes
- Replies: 13
- Views: 2387
Re: Absolutely frustrating behaviour of pictures and text boxes
G'day, ArchDuke et al I did some testing for you. There could be a bug (or several) here. Insert an image at the beginning of a paragraph (not the first) in a "Lorem ipsum" document. Placement is "Inline with Text". Change Placement to "Floats with Paragraph". Now place...
- 2022-12-17 05:49:47
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, all Here is a Macro that addresses my original problem which was to preserve paragraph formatting (specifically, alignment at the Right Line Indent) when a paragraph is interrupted by an interposed Section. I have named this more comprehensive Macro "Paragraph Straddling Section”. #Nisus...
- 2022-12-17 00:39:48
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, Philip et al Here's my version of Philip's Macro. #NisusMacroProperty Name: Extend Line to Right Line Indent # Code mostly thanks to Philip Spaelti. # Select the line containing the insertion point. $doc = Document.active $loc = $doc.textSelection.location $range = $doc.text.rangeOfLineAtInde...
- 2022-12-16 22:02:49
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, Philip et al No, the problem lies in the definition of $spaceSels. It should just find each space, without the characters either side of it. $spaceSels = $sel.text.find ' ', 'Ea', $sel.range Then it works! I can see why you might have wanted to find those adjacent characters, Philip, but I ma...
- 2022-12-16 19:31:40
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, Philip et al I tried to implement this idea, but I couldn't get the syntax to work for me, so I’m grateful for your latest contribution, Philip. It seems to work except for one small problem. In addition to loosening the kerning at spaces, it loosens the kerning between the first and second c...
- 2022-12-16 06:01:35
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, all A different approach! The problem lies with overinclusive kerning. Rather than adjusting the kerning at multiple locations at once, we need to do it one location at a time. Loosen the kerning at the first space in the line; if that's not enough, leave it loosened there and loosen also at ...
- 2022-12-16 05:27:22
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, all Pursuing the idea in my previous posting, I see that the Macro Language contains a .tailIndent Attribute and a Set Tail Indent command. It may be that one could use the former to retrieve the current setting of the Right Line Indent and the latter to progressively shift it leftwards until...
- 2022-12-15 20:34:00
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G’day, all Maybe a better approach would be to find the amount of trailing white space (in points, presumably) and then distribute that among appropriate locations (eg, spaces) in the line. Differential adjustments may need to be made, but the discrepancies may not be obvious to the reader. Cheers, ...
- 2022-12-15 20:19:10
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, Philip et al I've had a bit of a closer look at this. It is immaterial whether the line ends with a period or not. The discrepancy just happened to show in a line I had that ended with a period. The reason we can still end up with a bit of white space at the end of a line is that progressive ...
- 2022-12-15 16:47:26
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Re: Extend Line to Right Line Indent
G'day, Philip et al That was quick! Thanks, Philip. Yes, the second version is better and looks like it does what I want. However, if the line ends on a period, the period may not end up at the Right Line Indent. Your "different kludge" wouldn't work here because, if I understand it correc...
- 2022-12-15 15:34:24
- Forum: Nisus Writer Pro Macros
- Topic: Extend Line to Right Line Indent
- Replies: 14
- Views: 4199
Extend Line to Right Line Indent
G'day, all I sometimes want to interrupt the flow of text in a document by inserting a new Section with different properties. But I want the text succeeding the Section to continue the flow of the text preceding the Section. Problems arise when the new Section splits an indented paragraph into two p...
- 2022-12-12 16:16:00
- Forum: Nisus Writer Pro
- Topic: Tutor/help
- Replies: 7
- Views: 1626
Re: Tutor/help
G'day, all I'm afraid I don't have time to go into this in detail just now, but it makes a difference if you have a Style's "Based on" setting set to "None" rather than something else (like "Normal" perhaps). Try this with a Character Style and apply it to a whole word ...