* Global \setup has no effect while ad-hoc setting does
@ 2020-02-14 1:21 Exp
2020-02-14 5:30 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Exp @ 2020-02-14 1:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 924 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1225 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Global \setup has no effect while ad-hoc setting does
2020-02-14 1:21 Global \setup has no effect while ad-hoc setting does Exp
@ 2020-02-14 5:30 ` Wolfgang Schuster
2020-02-14 6:04 ` Henri Menke
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-02-14 5:30 UTC (permalink / raw)
To: ntg-context
On Fri, 14 Feb 2020 02:21:03 +0100
Exp <exprosic@gmail.com> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Global \setup has no effect while ad-hoc setting does
2020-02-14 5:30 ` Wolfgang Schuster
@ 2020-02-14 6:04 ` Henri Menke
0 siblings, 0 replies; 3+ messages in thread
From: Henri Menke @ 2020-02-14 6:04 UTC (permalink / raw)
To: ntg-context
On 2/14/20 6:30 PM, Wolfgang Schuster wrote:
> On Fri, 14 Feb 2020 02:21:03 +0100
> Exp <exprosic@gmail.com> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-14 6:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 1:21 Global \setup has no effect while ad-hoc setting does Exp
2020-02-14 5:30 ` Wolfgang Schuster
2020-02-14 6:04 ` Henri Menke
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).