I've got a document with some xtables. If I use \startplacetable[location=none]
the tables don't have a "Table X" label, but they float and end up in locations where I don't want them. If I use \startplacetable[location=force]
the tables do have a "Table X" label (which I don't want), but the tables do show up where I want them, that is, they don't float.
How do I get rid of the "Table X" label when I use \startplacetable[location=force]
?
Also, when I constructed the example I used
\startmode[locationforce]
\startplacetable[location=force]
\stopmode
\startnotmode[locationforce]
\startplacetable[location=none]
\stopmode
so I could build both outputs from the same input file. When the locationforce
mode was not set the command finished with no errors, but when the locationforce
mode was set the command finished with the error:
tex error > tex error on line 229 in file ./table-location-label-wrong.ctx: The file ended when scanning an argument.
however, when I used
\doifmodeelse{locationforce}{\startplacetable[location=force]}{\startplacetable[location=none]}
instead, it worked fine.
Even when I use the --noconsole
option on my context
invocation, there is a lot of information that is written to the console. It looks like the information is repeated for each run context makes over the file. Is there some way to get this information to show up in the log file, instead of on the console?
ConTeXt's version information:
ConTeXt ver: 2021.06.13 19:21 LMTX fmt: 2021.6.13 int: english/english.
I've attached my example (table-location-label.ctx
), the GNUmakefile I use to build it using --mode so that the same source produces both the version with location=force and location=none, and the two PDF output files (table-location-label-none.pdf
and table-location-label-force.pdf
).
I've also attached the version where I tried to use \startmode
/\startnotmode
(table-location-label-wrong.ctx
).