Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
I was asking myself that too as I fall into this trap from time to time. I 
would have thought that global settings are just that, global, and that other 
elements inherit these settings unless they modify them.

Denis

Von: ntg-context  im Auftrag von Marco Patzer via 
ntg-context 
Gesendet: Freitag, 3. Dezember 2021 13:21:40
An: mailing list for ConTeXt users
Cc: Marco Patzer
Betreff: Re: [NTG-context] Bad linebreak in figure caption

On Fri, 3 Dec 2021 09:14:59 +0100
Taco Hoekwater  wrote:

> Captions have their own alignment setting:
>
>  \setupcaption[figure][align={verytolerant,stretch}]

Thanks. Wikified:

  https://wiki.contextgarden.net/Command/setuptolerance

Is there a good reason why captions (as well as e.g. framed texts)
don't honour the global tolerance setting?

Marco
___
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] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100
Taco Hoekwater  wrote:

> Captions have their own alignment setting:
> 
>  \setupcaption[figure][align={verytolerant,stretch}]

Thanks. Wikified:

  https://wiki.contextgarden.net/Command/setuptolerance

Is there a good reason why captions (as well as e.g. framed texts)
don't honour the global tolerance setting?

Marco
___
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] Bad linebreak in figure caption

2021-12-03 Thread Taco Hoekwater via ntg-context


> On 2 Dec 2021, at 19:37, Marco Patzer via ntg-context  
> wrote:
> 
> On Mon, 29 Nov 2021 16:44:07 +0100
> Marco Patzer via ntg-context  wrote:
> 
>> Why does ConTeXt not break the line between "unnecessary" and "FOO"?
> 
> Any ideas how to fix this?

Captions have their own alignment setting:

 \setupcaption[figure][align={verytolerant,stretch}]

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 / 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] Bad linebreak in figure caption

2021-12-02 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 16:44:07 +0100
Marco Patzer via ntg-context  wrote:

> Why does ConTeXt not break the line between "unnecessary" and "FOO"?

Any ideas how to fix this?

Marco
___
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] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi!

The caption "FOO" runs into the right figure's caption:

\setuplayout [width=18.4cm]
\setuptolerance [verytolerant, stretch]  %% even with stretch

\starttext
  \startplacefigure
\startfloatcombination
  \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever]
\framed[width=.4\textwidth]{}
  \stopplacefigure
  \startplacefigure [title={Lorem ipsum dolor siit amet}]
\framed[width=.4\textwidth]{}
  \stopplacefigure
\stopfloatcombination
  \stopplacefigure
\stoptext

Why does ConTeXt not break the line between "unnecessary" and "FOO"?
How to kindly persuade it to do so?

Marco

LMTX 2021.11.26 11:38
___
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
___