Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Henri Menke


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
> ___
> 
___
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
___


Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Wolfgang Schuster
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},
^^^

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
___


[NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread 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}
]
\starttext
\startframedtext%[align={verytolerant, stretch}]
xx. x  xx- xx , xx xxx xxx xx
\type{yyy}.
  xx x  x xx x xx  xxx.
\stopframedtext
\stoptext
```

while the following works:

```
\setupframedtext[
  width=broad,
  align={verytolerant, stretch}
]
\starttext
\startframedtext[align={verytolerant, stretch}]
xx. x  xx- xx , xx xxx xxx xx
\type{yyy}.
  xx x  x xx x xx  xxx.
\stopframedtext
\stoptext
```

ConTeXt version: `mtx-context | current version: 2019.03.21 21:39`.

Any help would be appreciated.

Best,
Exp
___
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
___