* [NTG-context] Opinions wanted
@ 2026-02-27 10:09 Mikael Sundqvist
2026-02-27 11:24 ` [NTG-context] " Henning Hraban Ramm
0 siblings, 1 reply; 8+ messages in thread
From: Mikael Sundqvist @ 2026-02-27 10:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
Hi all,
Hans and I are exploring some new alignment features, in particular
ragged right. One of the problems is to get a "nice rag". Attached is
a sample with three different settings for various hsizes. The quote
comes from a Twain book, and is in German, since that might be more
challenging.
So, please, which one, if any, look in general better, and, more
importantly, why?
The prize you might get is a new keyword to align.
/Hans and Mikael
[-- Attachment #2: 260227-4.pdf --]
[-- Type: application/pdf, Size: 84315 bytes --]
[-- Attachment #3: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 10:09 [NTG-context] Opinions wanted Mikael Sundqvist
@ 2026-02-27 11:24 ` Henning Hraban Ramm
2026-02-27 14:00 ` Taco Hoekwater
2026-02-27 15:31 ` Jim
0 siblings, 2 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2026-02-27 11:24 UTC (permalink / raw)
To: ntg-context
Am 27.02.26 um 11:09 schrieb Mikael Sundqvist:
> Hi all,
>
> Hans and I are exploring some new alignment features, in particular
> ragged right. One of the problems is to get a "nice rag". Attached is
> a sample with three different settings for various hsizes. The quote
> comes from a Twain book, and is in German, since that might be more
> challenging.
>
> So, please, which one, if any, look in general better, and, more
> importantly, why?
>
> The prize you might get is a new keyword to align.
Thank you for looking into this. Very nice choice of text!
Good “Flattersatz” (ragged setting) in opposite to “Rauhsatz”
(unjustified setting) should avoid hyphenation and should have a good
rhythm, i.e. alternation of longer and shorter lines, the “Flatterzone”
(ragged width, underfull tolerance) can be quite big.
Under these criteria, none of the samples is good, all have too many
hyphenations, and in “bad” places (not only at composite word
boundaries). While the hyphenation differs, none of the examples avoids
“bad” hyphenations.
All have rivers with the quotation marks.
The short lines could be even shorter, otherwise the rhythm of all three
examples is acceptable. I miss protrusion.
I can’t decide which example I like best – all three have their
“moments” in some areas.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 11:24 ` [NTG-context] " Henning Hraban Ramm
@ 2026-02-27 14:00 ` Taco Hoekwater
2026-02-27 15:10 ` Mikael Sundqvist
2026-02-27 15:31 ` Jim
1 sibling, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2026-02-27 14:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 27 Feb 2026, at 12:24, Henning Hraban Ramm <texml@fiee.net> wrote:
>
> Am 27.02.26 um 11:09 schrieb Mikael Sundqvist:
>> Hi all,
>> Hans and I are exploring some new alignment features, in particular
>> ragged right. One of the problems is to get a "nice rag". Attached is
>> a sample with three different settings for various hsizes. The quote
>> comes from a Twain book, and is in German, since that might be more
>> challenging.
>> So, please, which one, if any, look in general better, and, more
>> importantly, why?
>> The prize you might get is a new keyword to align.
>
> Thank you for looking into this. Very nice choice of text!
>
> Good “Flattersatz” (ragged setting) in opposite to “Rauhsatz” (unjustified setting) should avoid hyphenation and should have a good rhythm, i.e. alternation of longer and shorter lines, the “Flatterzone” (ragged width, underfull tolerance) can be quite big.
>
> Under these criteria, none of the samples is good, all have too many hyphenations, and in “bad” places (not only at composite word boundaries). While the hyphenation differs, none of the examples avoids “bad” hyphenations.
> All have rivers with the quotation marks.
> The short lines could be even shorter, otherwise the rhythm of all three examples is acceptable. I miss protrusion.
>
> I can’t decide which example I like best – all three have their “moments” in some areas.
What Hraban said ;)
My additional two cents:
1st cent: In my opinion the first and last full lines would ideally be shorter than the second and penultimate line. This is the rule for ragged right titles and should work equally well for full paragraphs.
2nd cent: With ragged typesetting, a hyphenation on the final full line should be forbidden(“Pla-\break ckerei” is exceptionally bad)
3rd cent (bonus): If there is this much text, it would be not be hard to make sure the last (partial) line is at least two long or three short words long.
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 14:00 ` Taco Hoekwater
@ 2026-02-27 15:10 ` Mikael Sundqvist
2026-02-27 15:53 ` Taco Hoekwater
0 siblings, 1 reply; 8+ messages in thread
From: Mikael Sundqvist @ 2026-02-27 15:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
On Fri, 27 Feb 2026 at 15:03, Taco Hoekwater <taco@bittext.nl> wrote:
>
>
>
> > On 27 Feb 2026, at 12:24, Henning Hraban Ramm <texml@fiee.net> wrote:
> >
> > Am 27.02.26 um 11:09 schrieb Mikael Sundqvist:
> >> Hi all,
> >> Hans and I are exploring some new alignment features, in particular
> >> ragged right. One of the problems is to get a "nice rag". Attached is
> >> a sample with three different settings for various hsizes. The quote
> >> comes from a Twain book, and is in German, since that might be more
> >> challenging.
> >> So, please, which one, if any, look in general better, and, more
> >> importantly, why?
> >> The prize you might get is a new keyword to align.
> >
> > Thank you for looking into this. Very nice choice of text!
> >
> > Good “Flattersatz” (ragged setting) in opposite to “Rauhsatz” (unjustified setting) should avoid hyphenation and should have a good rhythm, i.e. alternation of longer and shorter lines, the “Flatterzone” (ragged width, underfull tolerance) can be quite big.
> >
> > Under these criteria, none of the samples is good, all have too many hyphenations, and in “bad” places (not only at composite word boundaries). While the hyphenation differs, none of the examples avoids “bad” hyphenations.
> > All have rivers with the quotation marks.
> > The short lines could be even shorter, otherwise the rhythm of all three examples is acceptable. I miss protrusion.
> >
> > I can’t decide which example I like best – all three have their “moments” in some areas.
>
> What Hraban said ;)
Thanks for your thoughts!
>
> My additional two cents:
>
> 1st cent: In my opinion the first and last full lines would ideally be shorter than the second and penultimate line. This is the rule for ragged right titles and should work equally well for full paragraphs.
Like
XXX XX
XXXXXXX XX
XXX XXXXX
XX XXXXXXX
XXXXXX XX
XXXXXXXXXX
XXXXX
?
> 2nd cent: With ragged typesetting, a hyphenation on the final full line should be forbidden(“Pla-\break ckerei” is exceptionally bad)
We did not alter the hyphenation setup, but indeed higher penalties
here would make sense. \setupalign[lesshyphenation] did a pretty good
job.
> 3rd cent (bonus): If there is this much text, it would be not be hard to make sure the last (partial) line is at least two long or three short words long.
That is also not set up in the examples. But \setupalign[lessorphans]
did a good job.
Again, thanks.
Let me next broaden the request a bit: Can you point to (pdf) examples
where ragged right looks a) very good and b) not good? It gets a bit
more concrete when looking at examples.
/Mikael
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 11:24 ` [NTG-context] " Henning Hraban Ramm
2026-02-27 14:00 ` Taco Hoekwater
@ 2026-02-27 15:31 ` Jim
2026-02-27 17:51 ` Henning Hraban Ramm
2026-02-27 21:31 ` Hans Hagen via ntg-context
1 sibling, 2 replies; 8+ messages in thread
From: Jim @ 2026-02-27 15:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
I've heard a phrase about opinions, but it is too impolite to repeat here.
Anyway...
On Fri, Feb 27, 2026 at 12:24 (+0100), Henning Hraban Ramm wrote:
> Am 27.02.26 um 11:09 schrieb Mikael Sundqvist:
>> Hi all,
>> Hans and I are exploring some new alignment features, in particular
>> ragged right. One of the problems is to get a "nice rag". Attached is
>> a sample with three different settings for various hsizes. The quote
>> comes from a Twain book, and is in German, since that might be more
>> challenging.
>> So, please, which one, if any, look in general better, and, more
>> importantly, why?
>> The prize you might get is a new keyword to align.
> Thank you for looking into this. Very nice choice of text!
> Good “Flattersatz” (ragged setting) in opposite to “Rauhsatz” (unjustified
> setting) should avoid hyphenation and should have a good rhythm, i.e.
> alternation of longer and shorter lines, the “Flatterzone” (ragged width,
> underfull tolerance) can be quite big.
> Under these criteria, none of the samples is good, all have too many
> hyphenations, and in “bad” places (not only at composite word boundaries).
> While the hyphenation differs, none of the examples avoids “bad”
> hyphenations.
> All have rivers with the quotation marks.
> The short lines could be even shorter, otherwise the rhythm of all three
> examples is acceptable. I miss protrusion.
I find the rivers in the middle and rightmost column to be horribly
jarring. The leftmost column is bad, but (IMHO) considerably less bad.
> I can’t decide which example I like best – all three have their “moments” in
> some areas.
(FWIW) I have the same feeling. For reasons I can't articulate I have a
very mild overall preference for the first column. But is that only
because the river is less bad? I don't know.
Having said that, I think you erred by showing the three choices in
different colours, because different colours might affect how these are
viewed and preferred. Do I prefer the first column because of its colour
for some strange reason? I can't say.
Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 15:10 ` Mikael Sundqvist
@ 2026-02-27 15:53 ` Taco Hoekwater
0 siblings, 0 replies; 8+ messages in thread
From: Taco Hoekwater @ 2026-02-27 15:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
>
>>
>> My additional two cents:
>>
>> 1st cent: In my opinion the first and last full lines would ideally be shorter than the second and penultimate line. This is the rule for ragged right titles and should work equally well for full paragraphs.
>
> Like
>
> XXX XX
> XXXXXXX XX
> XXX XXXXX
> XX XXXXXXX
> XXXXXX XX
> XXXXXXXXXX
> XXXXX
>
> ?
Yes. But compared to Hraban’s observations, this was just a minor remark.
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 15:31 ` Jim
@ 2026-02-27 17:51 ` Henning Hraban Ramm
2026-02-27 21:31 ` Hans Hagen via ntg-context
1 sibling, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2026-02-27 17:51 UTC (permalink / raw)
To: ntg-context
Am 27.02.26 um 16:31 schrieb Jim:
>> I can’t decide which example I like best – all three have their “moments” in
>> some areas.
>
> (FWIW) I have the same feeling. For reasons I can't articulate I have a
> very mild overall preference for the first column. But is that only
> because the river is less bad? I don't know.
>
> Having said that, I think you erred by showing the three choices in
> different colours, because different colours might affect how these are
> viewed and preferred. Do I prefer the first column because of its colour
> for some strange reason? I can't say.
I was also wondering if I slightly preferred the second column because
it’s black (“looks like type” or has highest contrast).
Really good “Flattersatz” is usually manual work and it’s not always
possible, depending on the text.
But as mentioned, hyphenation and underfull tolerance (or how that’s
called) settings can probably lead to better results.
It also depends on the goal – the 3rd example needs less lines, and that
might be more important than optical harmony.
It would be nice if you could document it clearly in that way:
more/less lines with more/less hyphenation/risk of rivers/whatever.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Opinions wanted
2026-02-27 15:31 ` Jim
2026-02-27 17:51 ` Henning Hraban Ramm
@ 2026-02-27 21:31 ` Hans Hagen via ntg-context
1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen via ntg-context @ 2026-02-27 21:31 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
On 2/27/2026 4:31 PM, Jim wrote:
> I find the rivers in the middle and rightmost column to be horribly
> jarring. The leftmost column is bad, but (IMHO) considerably less bad.
Rivers here are a bit of a coincidence because these quotes stress space
due to the small blobs. Even a river detector would be fooled.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-02-27 21:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27 10:09 [NTG-context] Opinions wanted Mikael Sundqvist
2026-02-27 11:24 ` [NTG-context] " Henning Hraban Ramm
2026-02-27 14:00 ` Taco Hoekwater
2026-02-27 15:10 ` Mikael Sundqvist
2026-02-27 15:53 ` Taco Hoekwater
2026-02-27 15:31 ` Jim
2026-02-27 17:51 ` Henning Hraban Ramm
2026-02-27 21:31 ` Hans Hagen via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).