ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: Re: \setupfloatcaption align=
Date: Wed, 11 Apr 2018 22:41:41 +0200	[thread overview]
Message-ID: <67f119fe-ea26-1a9e-89e7-d8e6eb3f3d4f@xs4all.nl> (raw)
In-Reply-To: <20180411141325.05818288@poo.hsd1.co.comcast.net>

On 4/11/2018 10:13 PM, Alan Braslau wrote:
> Hello list,
> 
> According to the interface files
> (texmf-context/tex/context/interface/mkiv)
> \setupfloatcaption takes an align= parameter (inherits from
> \setupalign). Additionally, it suggests that the location= parameter
> can take the keywords tolerant, verytolerant and stretch.
> 
> None of this appears to work.
> 
> \setupcaption [figure] [align=verytolerant]
> is ignored, and
> \setupcaption [figure] [location={bottom,verytolerant}]
> gives unexpected and surprising results.
> 
> I cheat, and use
> \setupcaption [figure] [style={\setupalign[verytolerant]}]
> but this is hardly a proper solution.

no mwe exposing your problem

> Question: Why do figure captions NOT inherit from \setupalign, i.e.
> \setupalign[verytolerant] in a preamble does not have an effect on
> float captions?
> 
> Question2: What is going on with \setupfloatcaption ?
some heuristics to determine the best width ... so that you still get a 
reasonable caption with very narrow figures and not excessive captions 
with too wide figures and when possible a one liner ... it's no problem 
adding some variants (there are some dimensions that can be set already) 
but the current mechanism is not going to change

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2018-04-11 20:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11 20:13 Alan Braslau
2018-04-11 20:41 ` Hans Hagen [this message]
2018-04-11 20:51   ` Alan Braslau
2018-04-12  8:09     ` Hans Hagen
2018-04-12 15:54       ` Alan Braslau
2018-04-12 16:11         ` Hans Hagen
2018-04-12 16:56           ` Alan Braslau
2018-04-12 16:59             ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67f119fe-ea26-1a9e-89e7-d8e6eb3f3d4f@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).