From: "Lukas/ConTeXt" <lpr.context@email.cz>
To: <ntg-context@ntg.nl>
Subject: \placetable vs. \placefloat and option "none"
Date: Wed, 08 Jul 2020 06:14:07 +0200 (CEST) [thread overview]
Message-ID: <4l4.6Ap70.1Ph}7j35UBJ.1V1MGl@seznam.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
Hello,
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 .
Best regards,
Lukas
[-- Attachment #2: t2.mkiv --]
[-- Type: text/plain, Size: 168 bytes --]
\setupexternalfigures[location=default]
\starttext
\placetable[force,none]{}{\externalfigure[cow]}
\placefloat[force,none]{}{\externalfigure[cow]}
\stoptext
[-- Attachment #3: t2.pdf --]
[-- Type: application/pdf, Size: 12155 bytes --]
[-- Attachment #4: 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
___________________________________________________________________________________
next reply other threads:[~2020-07-08 4:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 4:14 Lukas/ConTeXt [this message]
2020-07-08 10:08 Lukas/ConTeXt
2020-07-08 12:54 ` Wolfgang Schuster
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='4l4.6Ap70.1Ph}7j35UBJ.1V1MGl@seznam.cz' \
--to=lpr.context@email.cz \
--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).