* Itemize and natural tables
@ 2018-09-23 15:33 Jan Willem Flamma
2018-09-23 17:09 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Jan Willem Flamma @ 2018-09-23 15:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1200 bytes --]
Dear list members,
I’m able to combine itemize and tabulate as per:
https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html>
Also, based on this discussion, I understand that combining modes and tabulate is not possible. Instead modes must be comined with natural tables.
https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html>
A logical follow up questions is if itemize can be combined with natural tables that include modes like in the MWE below.
MWE:
\startsetups [table]
\setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]
\setupTABLE [column] [1] [width=4cm,align=flushleft]
\setupTABLE [row] [1] [toffset=5pt]
\setupTABLE [column] [2] [width=4cm,align=flushleft]
\stopsetups
\enablemode[test]
\starttext
\bTABLE [setups=table]
\bTR \bTC Item 1 \eTC \bTC Column 1 \eTC \startmode[test] \bTC Column 2 \eTC \stopmode \eTR
\bTR \bTC Item 2 \eTC \bTC Column 1 \eTC \startmode[test] \bTC Column 2 \eTC \stopmode \eTR
\eTABLE
\stoptext
Kind regards,
Jan Wilem Flamma
[-- Attachment #1.2: Type: text/html, Size: 5222 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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: Itemize and natural tables
2018-09-23 15:33 Itemize and natural tables Jan Willem Flamma
@ 2018-09-23 17:09 ` Wolfgang Schuster
2018-09-24 6:48 ` Jan Willem Flamma
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2018-09-23 17:09 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jan Willem Flamma
[-- Attachment #1.1: Type: text/plain, Size: 2041 bytes --]
You would use the \itemtag command in the same way as you would do it
with tabulate
\starttext
\startitemize[n]
\bTABLE
\bTR
\bTD (\itemtag) Item 1 \eTD
\eTR
\eTABLE
\stopitemize
\stoptext
but there is a bug which prevents the item counter to appear in the
output (which I will report in a different thread).
Wolfgang
Jan Willem Flamma schrieb am 23.09.18 um 17:33:
> Dear list members,
>
> I’m able to combine itemize and tabulate as per:
> https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html
>
> Also, based on this discussion, I understand that combining modes and
> tabulate is not possible. Instead modes must be comined with natural
> tables.
> https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html
>
> A logical follow up questions is if itemize can be combined with
> natural tables that include modes like in the MWE below.
>
> MWE:
>
> \startsetups [table]
> \setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]
> \setupTABLE [column] [1] [width=4cm,align=flushleft]
> \setupTABLE [row] [1] [toffset=5pt]
> \setupTABLE [column] [2] [width=4cm,align=flushleft]
> \stopsetups
>
> \enablemode[test]
>
> \starttext
>
> \bTABLE [setups=table]
> \bTR \bTC Item 1 \eTC \bTC Column 1 \eTC\startmode[test] \bTC
> Column 2 \eTC \stopmode \eTR
> \bTR \bTC Item 2 \eTC \bTC Column 1 \eTC \startmode[test] \bTC
> Column 2 \eTC \stopmode \eTR
> \eTABLE
>
> \stoptext
>
> Kind regards,
> Jan Wilem Flamma
>
>
>
>
> ___________________________________________________________________________________
> 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: 6985 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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: Itemize and natural tables
2018-09-23 17:09 ` Wolfgang Schuster
@ 2018-09-24 6:48 ` Jan Willem Flamma
2018-09-25 16:51 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Jan Willem Flamma @ 2018-09-24 6:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2972 bytes --]
Thank you, also for the follow up in reporting the bug.
I have playing around with \item at various positions but hadn’t considered using \itemtag.
As a more general question:
My understanding is that in a tabulate environment \NI is short for \NC \itemtag \NC
Is that the case as well in a TABLE environment. E.g., \NI is short for \bTD \itemtag \eTD?
> On 23 Sep 2018, at 19:09, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
>
> You would use the \itemtag command in the same way as you would do it with tabulate
>
> \starttext
>
> \startitemize[n]
> \bTABLE
> \bTR
> \bTD (\itemtag) Item 1 \eTD
> \eTR
> \eTABLE
> \stopitemize
>
> \stoptext
>
> but there is a bug which prevents the item counter to appear in the output (which I will report in a different thread).
>
> Wolfgang
>
>
> Jan Willem Flamma schrieb am 23.09.18 um 17:33:
>> Dear list members,
>>
>> I’m able to combine itemize and tabulate as per:
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html>
>>
>> Also, based on this discussion, I understand that combining modes and tabulate is not possible. Instead modes must be comined with natural tables.
>> https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html>
>>
>> A logical follow up questions is if itemize can be combined with natural tables that include modes like in the MWE below.
>>
>> MWE:
>>
>> \startsetups [table]
>> \setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]
>> \setupTABLE [column] [1] [width=4cm,align=flushleft]
>> \setupTABLE [row] [1] [toffset=5pt]
>> \setupTABLE [column] [2] [width=4cm,align=flushleft]
>> \stopsetups
>>
>> \enablemode[test]
>>
>> \starttext
>>
>> \bTABLE [setups=table]
>> \bTR \bTC Item 1 \eTC \bTC Column 1 \eTC \startmode[test] \bTC Column 2 \eTC \stopmode \eTR
>> \bTR \bTC Item 2 \eTC \bTC Column 1 \eTC \startmode[test] \bTC Column 2 \eTC \stopmode \eTR
>> \eTABLE
>>
>> \stoptext
>>
>> Kind regards,
>> Jan Wilem Flamma
>>
>>
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 8567 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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: Itemize and natural tables
2018-09-24 6:48 ` Jan Willem Flamma
@ 2018-09-25 16:51 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2018-09-25 16:51 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jan Willem Flamma
[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]
Jan Willem Flamma schrieb am 24.09.18 um 08:48:
> Thank you, also for the follow up in reporting the bug.
>
> I have playing around with \item at various positions but hadn’t
> considered using \itemtag.
>
> As a more general question:
> My understanding is that in a tabulate environment \NI is short for
> \NC \itemtag \NC
Yes but you can also write \NI[<reference>] which is short for \NC
\itemtag[<reference>] \NC
> Is that the case as well in a TABLE environment. E.g., \NI is short
> for \bTD \itemtag \eTD?
There is no shortcut for the \itemtag command for natural tables.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1392 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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
end of thread, other threads:[~2018-09-25 16:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-23 15:33 Itemize and natural tables Jan Willem Flamma
2018-09-23 17:09 ` Wolfgang Schuster
2018-09-24 6:48 ` Jan Willem Flamma
2018-09-25 16:51 ` 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).