ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bad linebreak in figure caption
@ 2021-11-29 15:44 Marco Patzer via ntg-context
  2021-12-02 18:37 ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Patzer via ntg-context @ 2021-11-29 15:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bad linebreak in figure caption
  2021-11-29 15:44 Bad linebreak in figure caption Marco Patzer via ntg-context
@ 2021-12-02 18:37 ` Marco Patzer via ntg-context
  2021-12-03  8:14   ` Taco Hoekwater via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-02 18:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Mon, 29 Nov 2021 16:44:07 +0100
Marco Patzer via ntg-context <ntg-context@ntg.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bad linebreak in figure caption
  2021-12-02 18:37 ` Marco Patzer via ntg-context
@ 2021-12-03  8:14   ` Taco Hoekwater via ntg-context
  2021-12-03 12:21     ` Marco Patzer via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater via ntg-context @ 2021-12-03  8:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater



> On 2 Dec 2021, at 19:37, Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:
> 
> On Mon, 29 Nov 2021 16:44:07 +0100
> Marco Patzer via ntg-context <ntg-context@ntg.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bad linebreak in figure caption
  2021-12-03  8:14   ` Taco Hoekwater via ntg-context
@ 2021-12-03 12:21     ` Marco Patzer via ntg-context
  2021-12-03 12:30       ` Denis Maier via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Patzer via ntg-context @ 2021-12-03 12:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco Patzer

On Fri, 3 Dec 2021 09:14:59 +0100
Taco Hoekwater <taco@bittext.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bad linebreak in figure caption
  2021-12-03 12:21     ` Marco Patzer via ntg-context
@ 2021-12-03 12:30       ` Denis Maier via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Maier via ntg-context @ 2021-12-03 12:30 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier

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 <ntg-context-bounces@ntg.nl> im Auftrag von Marco Patzer via ntg-context <ntg-context@ntg.nl>
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 <taco@bittext.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-03 12:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 15:44 Bad linebreak in figure caption Marco Patzer via ntg-context
2021-12-02 18:37 ` Marco Patzer via ntg-context
2021-12-03  8:14   ` Taco Hoekwater via ntg-context
2021-12-03 12:21     ` Marco Patzer via ntg-context
2021-12-03 12:30       ` Denis Maier via ntg-context

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).