Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-15 Thread T. Kurt Bond
That did it!  Thanks!

On Mon, Jun 14, 2021 at 5:52 AM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> T. Kurt Bond  schrieb am Mo., 14. Juni 2021, 09:23:
>
>> I've got three questions:
>>
>>1.
>>
>>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]?
>>
>>
> \startplacetable [location={force,none}]
>
> 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
>
> ___
>


-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
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
___


Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread Wolfgang Schuster
T. Kurt Bond  schrieb am Mo., 14. Juni 2021, 09:23:

> I've got three questions:
>
>1.
>
>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]?
>
>
\startplacetable [location={force,none}]

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
___


[NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread T. Kurt Bond
I've got three questions:

   1.

   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]?
   2.

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

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

-- 
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io


table-location-label-force.pdf
Description: Adobe PDF document


table-location-label-none.pdf
Description: Adobe PDF document


table-location-label-wrong.ctx
Description: Binary data


table-location-label.ctx
Description: Binary data
___
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
___