Global \setup has no effect while ad-hoc setting does
![](https://secure.gravatar.com/avatar/1e84c20c3eda070f244e406bdbc3d286.jpg?s=120&d=mm&r=g)
Dear list, I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext%[align={verytolerant, stretch}] xx. xxxxxxxxx xxxx xxxxxx-xxxx xx xxxx, xx xxxxxxx xxx xxxxxx \type{yyyyyyyyyyyyyyy}. xxxx xxxx xxxxxxxxxxxxxx xxxxx xxxx xxxxx xx xxxxxxxxx xx xxxxxxxx xxxxxxx. \stopframedtext \stoptext ``` while the following works: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext[align={verytolerant, stretch}] xx. xxxxxxxxx xxxx xxxxxx-xxxx xx xxxx, xx xxxxxxx xxx xxxxxx \type{yyyyyyyyyyyyyyy}. xxxx xxxx xxxxxxxxxxxxxx xxxxx xxxx xxxxx xx xxxxxxxxx xx xxxxxxxx xxxxxxx. \stopframedtext \stoptext ``` ConTeXt version: `mtx-context | current version: 2019.03.21 21:39`. Any help would be appreciated. Best, Exp
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
On Fri, 14 Feb 2020 02:21:03 +0100
Exp
Dear list,
I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work:
``` \setupframedtext[ width=broad, align={verytolerant, stretch}
You need a command at the end of the argument because the line end adds a space. align={verytolerant, stretch}, ^^^ Wolfgang
![](https://secure.gravatar.com/avatar/60f3cc97f94fa3690ba406f8c1a7fc4f.jpg?s=120&d=mm&r=g)
On 2/14/20 6:30 PM, Wolfgang Schuster wrote:
On Fri, 14 Feb 2020 02:21:03 +0100 Exp
wrote: Dear list,
I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work:
``` \setupframedtext[ width=broad, align={verytolerant, stretch}
You need a command at the end of the argument because the line end adds a space.
align={verytolerant, stretch}, ^^^
This comes up like every other day. I've documented this now in https://wiki.contextgarden.net/Unexpected_behavior#Assignments
Wolfgang ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Exp
-
Henri Menke
-
Wolfgang Schuster