ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Can you make a \setupTABLE only apply to one table?
@ 2020-12-06  3:01 T. Kurt Bond
  2020-12-06  3:20 ` Jairo A. del Rio
  2020-12-06  7:11 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: T. Kurt Bond @ 2020-12-06  3:01 UTC (permalink / raw)
  To: context mailing list


[-- Attachment #1.1: Type: text/plain, Size: 210 bytes --]

If I understand correctly, \setupTABLE applies to each table after the
\setupTABLE, correct?  If so, can you make it only apply to one table?

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

[-- Attachment #1.2: Type: text/html, Size: 529 bytes --]

[-- Attachment #2: 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] 4+ messages in thread

* Re: Can you make a \setupTABLE only apply to one table?
  2020-12-06  3:01 Can you make a \setupTABLE only apply to one table? T. Kurt Bond
@ 2020-12-06  3:20 ` Jairo A. del Rio
  2020-12-06  3:22   ` T. Kurt Bond
  2020-12-06  7:11 ` Aditya Mahajan
  1 sibling, 1 reply; 4+ messages in thread
From: Jairo A. del Rio @ 2020-12-06  3:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1114 bytes --]

Hi,
You could enclose your table and setup using \bgroup and \egroup

\bgroup
\setupTABLE ...
\bTABLE ... \eTABLE
\egroup

\begingroup ... \endgroup also works, although I have to admit I'm not
aware of the differences between both.

Regards,

Jairo :)

El sáb., 5 de dic. de 2020 10:01 p. m., T. Kurt Bond <tkurtbond@gmail.com>
escribió:

> If I understand correctly, \setupTABLE applies to each table after the
> \setupTABLE, correct?  If so, can you make it only apply to one table?
>
> --
> T. Kurt Bond, tkurtbond@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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2473 bytes --]

[-- Attachment #2: 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] 4+ messages in thread

* Re: Can you make a \setupTABLE only apply to one table?
  2020-12-06  3:20 ` Jairo A. del Rio
@ 2020-12-06  3:22   ` T. Kurt Bond
  0 siblings, 0 replies; 4+ messages in thread
From: T. Kurt Bond @ 2020-12-06  3:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1878 bytes --]

Thanks for the help!


On Sat, Dec 5, 2020 at 10:21 PM Jairo A. del Rio <jairoadelrio6@gmail.com>
wrote:

> Hi,
> You could enclose your table and setup using \bgroup and \egroup
>
> \bgroup
> \setupTABLE ...
> \bTABLE ... \eTABLE
> \egroup
>
> \begingroup ... \endgroup also works, although I have to admit I'm not
> aware of the differences between both.
>
> Regards,
>
> Jairo :)
>
> El sáb., 5 de dic. de 2020 10:01 p. m., T. Kurt Bond <tkurtbond@gmail.com>
> escribió:
>
>> If I understand correctly, \setupTABLE applies to each table after the
>> \setupTABLE, correct?  If so, can you make it only apply to one table?
>>
>> --
>> T. Kurt Bond, tkurtbond@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
>>
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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, tkurtbond@gmail.com, https://tkurtbond.github.io

[-- Attachment #1.2: Type: text/html, Size: 4209 bytes --]

[-- Attachment #2: 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] 4+ messages in thread

* Re: Can you make a \setupTABLE only apply to one table?
  2020-12-06  3:01 Can you make a \setupTABLE only apply to one table? T. Kurt Bond
  2020-12-06  3:20 ` Jairo A. del Rio
@ 2020-12-06  7:11 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2020-12-06  7:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 5 Dec 2020, T. Kurt Bond wrote:

> If I understand correctly, \setupTABLE applies to each table after the
> \setupTABLE, correct?  If so, can you make it only apply to one table?

If you really need it for one table:

\bTABLE
\setupTABLE[...][...]
\setupTABLE[...][...]
\bTR ... \eTR
\eTABLE

A better option is to add it inside a setup:

\startsetup table:formatting
  \setupTABLE[...][...]
  \setupTABLE[...][...]
\stopsetup

\bTABLE[setups={table:formatting}]
....
\eTABLE

Aditya

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2020-12-06  7:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06  3:01 Can you make a \setupTABLE only apply to one table? T. Kurt Bond
2020-12-06  3:20 ` Jairo A. del Rio
2020-12-06  3:22   ` T. Kurt Bond
2020-12-06  7:11 ` Aditya Mahajan

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