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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to