Hraban's suggestion works really well. I setup hyphenation rules for the underfull boxes of Russian names and reduced the \tolerance to 600.  I'm now down to about 20 underfull boxes which to my eyes look fine.

Thanks again Hraban

Best Wishes

Keith

On 28/07/2023 19:20, Keith McKay wrote:

Thanks Hraban, didn't think of that so will give it a try.
Best Wishes
Keith


On Fri, 28 Jul 2023, 17:28 Henning Hraban Ramm, <texml@fiee.net> wrote:
Am 28.07.23 um 17:04 schrieb Keith McKay:
> I played around with the setups for the align:pass:test4 code below, as
> Hans suggested, and it was changing the \tolerance value which made the
> difference. Increasing the \tolerance value to 1000 eliminated all
> overfull hboxes but still left 79 underfull hboxes. I continued to
> increase the \tolerance value up to 6600 and was left with two overfull
> hboxes. One with a badness of 6641 (warAndPeace1.png) and one with a
> badness of 1097 (warAndPeace2.png). Above the \tolerance of 6600 only
> warAndPeace2.png was left with a badness of 1097. Both of these
> underfull hboxes were at the beginning of a paragraph - "To his Honor"
> in the first png and "Well, you see," in the second png. I not sure a
> reader would spot the second png badness but the first is noticeable to
> my eyes.

Hi Keith,
since both cases are caused by names with accents, did you try to add
hyphenation exceptions for those? Such cases are probably not covered by
English hyphentation rules.

Hraban

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________