Re: [NTG-context] Paragraph - the last line handling
On 11/23/2013 2:43 PM, Jan Tosovsky wrote:
On 2013-11-23 Hans Hagen wrote:
On 11/22/2013 11:07 PM, Jan Tosovsky wrote:
in my document there are lot of cases when the last line in the paragraph has a very narrow gap on the right.
\hsize 15.4cm
\input tufte
\parfillskip30pt plus 1 fill \input tufte
Wow, exactly! Thanks a lot.
Sorry for a dumb question, but is there any way how to use it globally for all paragraphs in my document?
no, as i need to think of a decent interface to that (so remind me in a few months) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 2013-11-23 Hans Hagen wrote:
On 11/23/2013 2:43 PM, Jan Tosovsky wrote:
On 2013-11-23 Hans Hagen wrote:
On 11/22/2013 11:07 PM, Jan Tosovsky wrote:
in my document there are lot of cases when the last line in the paragraph has a very narrow gap on the right.
\hsize 15.4cm
\input tufte
\parfillskip30pt plus 1 fill \input tufte
Sorry for a dumb question, but is there any way how to use it globally for all paragraphs in my document?
no, as i need to think of a decent interface to that (so remind me in a few months)
Ok. And is there any temporary hack like redefining \par macro on my side? I've stumbled upon macro redefining somewhere, but I have no idea if this case is doable this way. I am still newbie in the TeX world... Jan
On 2013-11-23 Hans Hagen wrote:
On 11/23/2013 2:43 PM, Jan Tosovsky wrote:
On 2013-11-23 Hans Hagen wrote:
On 11/22/2013 11:07 PM, Jan Tosovsky wrote:
in my document there are lot of cases when the last line in the paragraph has a very narrow gap on the right.
\hsize 15.4cm
\input tufte
\parfillskip30pt plus 1 fill \input tufte
Wow, exactly! Thanks a lot.
Sorry for a dumb question, but is there any way how to use it globally for all paragraphs in my document?
no, as i need to think of a decent interface to that (so remind me in a few months)
When this gap (parfillskip) is set in the beginning of the document, it is shared for all paragraphs within the document. I was not aware of that. But I've encountered this weird edge case. When the text is followed with \stopregister command, the last line has no gap at all: \starttext \hsize 15.3cm % in older versions this value has to be set to 15.4cm \input tufte \parfillskip 30pt plus 1 fill \input tufte \startregister[index][test]{test} \input{tufte} \stopregister[index][test] \stoptext It can be fixed by a blank line inserted before \stopregister command, but this is unacceptable in my case for other reasons. Any idea? Thanks, Jan
participants (2)
-
Hans Hagen
-
Jan Tosovsky