ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placetable vs. \placefloat and option "none"
@ 2020-07-08  4:14 Lukas/ConTeXt
  0 siblings, 0 replies; 3+ messages in thread
From: Lukas/ConTeXt @ 2020-07-08  4:14 UTC (permalink / raw)
  To: ntg-context

[-- 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
___________________________________________________________________________________

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

* Re: \placetable vs. \placefloat and option "none"
  2020-07-08 10:08 Lukas/ConTeXt
@ 2020-07-08 12:54 ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2020-07-08 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* \placetable vs. \placefloat and option "none"
@ 2020-07-08 10:08 Lukas/ConTeXt
  2020-07-08 12:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas/ConTeXt @ 2020-07-08 10:08 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

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 .

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: 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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-07-08 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  4:14 \placetable vs. \placefloat and option "none" Lukas/ConTeXt
2020-07-08 10:08 Lukas/ConTeXt
2020-07-08 12:54 ` Wolfgang Schuster

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