![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
T. Kurt Bond schrieb am 17.07.2021 um 08:38:
I have the following file:
\setupfloat[table][default=nonumber]
\starttext \section[title={Tables without force}]
Here is a table without a caption, unforced.
\startplacetable[location=none] \bTABLE \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR \eTABLE \stopplacetable
Here is a table with a caption, unforced.
\startplacetable[title={Table With A Caption}] \bTABLE \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR \eTABLE \stopplacetable
This is after the table with a caption.
\section[title={Tables with force}]
Here is a table without a caption, forced.
\startplacetable[location={force,none}] \bTABLE \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR \eTABLE \stopplacetable
Here is a table with a caption, forced.
\startplacetable[title={Table With A Caption},location=force] \bTABLE \bTR\bTD r1c1 \eTD\bTD r1c2\eTD\eTR \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR \eTABLE \stopplacetable
This is after the table with a caption. \stoptext
The second pair of tables have force added. [...] Why does the last table have "Table 1", when there is a \setupfloat[table][default=nonumber]?
The default value is only used when you provide no arguments to the location key which isn't the case for your last table. To get rid of the counter add "nonumber" to the location argument, e.g. \startplacetable[title=...,location={nonumber,force}] but you can also disable the counter for all table floats with \setupcaption [table] [number=no]. Wolfgang