ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \placetable vs. \placefloat and option "none"
Date: Wed, 8 Jul 2020 14:54:48 +0200	[thread overview]
Message-ID: <4de5c05a-f077-7362-9eaa-4f87bda87ee3@gmail.com> (raw)
In-Reply-To: <59f.6Ap7O.3sFE5ruQaTK.1V1RSk@seznam.cz>

Lukas/ConTeXt schrieb am 08.07.2020 um 12:08:
> Hello,
>
> (– resending now without resulting .pdf to avoid attachment size limit –)
>
> option "none" has different effect with \placetable and \placefloat.
>
> No problem with this, but as I thought both commands raise from the same code (or more precisely: I thought that \placetable is special case (specialization) of \placefloat), I'm a bit surprised that \placefloat[none] keeps caption whilst \placetable[none] supresses it. See the sample:
>
> ----
> \setupexternalfigures[location=default]
>
> \starttext
>    \placetable[force,none]{}{\externalfigure[cow]} % [1]
>    \placefloat[force,none]{}{\externalfigure[cow]}
> \stoptext
> ----
>
> (I'm aware that I'm placing \externalfigure into \placetable in [1] - does it matter?)
>
> - Also relates here: https://wiki.contextgarden.net/Command/placefloat .

The \placefloat command expects the name of the float instance as first 
argument, e.g. \placefloat[table].

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
___________________________________________________________________________________

  reply	other threads:[~2020-07-08 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 10:08 Lukas/ConTeXt
2020-07-08 12:54 ` Wolfgang Schuster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-07-08  4:14 Lukas/ConTeXt

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=4de5c05a-f077-7362-9eaa-4f87bda87ee3@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --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).