context-2017-tables.tex /size: 3956 b    last modification: 2020-07-01 14:35
1\usemodule[present-lines]
2
3\definecolor[maincolor][r=.4,b=.4]
4
5\startdocument[title=Tables,subtitle={\CONTEXT\ 2017 Maibach}]
6
7\startchapter[title=Variants]
8
9\startitemize
10    \startitem
11        Good old \TABLE, a wrapper about \TEX's alignment.
12    \stopitem
13    \startitem
14        Running text, break across pages tabulates.
15    \stopitem
16    \startitem
17        Tables that behave like \HTML\ tables therefore called
18        natural tables.
19    \stopitem
20    \startitem
21        A variant on this that is more easy to extend, tagged
22        extreme tables.
23    \stopitem
24    \startitem
25        A low profile linetable mechanism that can span pages
26        and breaks well.
27    \stopitem
28    \startitem
29        A way to make huge tables without overflowing \TEX\ too
30        soon.
31    \stopitem
32\stopitemize
33
34\stopchapter
35
36\startchapter[title=\TABLE]
37
38\startitemize
39    \startitem
40        Based on the \TABLE\ macro package.
41    \stopitem
42    \startitem
43        Detailed control over spacing.
44    \stopitem
45    \startitem
46        Somewhat inconsistent spacing out of the box.
47    \stopitem
48    \startitem
49        Extended with extra features.
50    \stopitem
51    \startitem
52        Mostly rewritten but within the original concept.
53    \stopitem
54\stopitemize
55
56\stopchapter
57
58\startchapter[title=Tabulate]
59
60\startitemize
61    \startitem
62        Mostly meant for tables that are part of the text flow.
63    \stopitem
64    \startitem
65        Breaks paragraphs across pages.
66    \stopitem
67    \startitem
68        Sort of compatible in control with \TABLE.
69    \stopitem
70    \startitem
71        The system that I used most often.
72    \stopitem
73    \startitem
74        It uses multiple passes if needed.
75    \stopitem
76\stopitemize
77
78\stopchapter
79
80\startchapter[title=Natural tables]
81
82\startitemize
83    \startitem
84        Modelled after \HTML\ tables.
85    \stopitem
86    \startitem
87        Often used in \XML\ workflows, possibly as cals tables.
88    \stopitem
89    \startitem
90        To some extend automatic spans horizontally and vertically.
91    \stopitem
92    \startitem
93        There are a couple of (undocumented and obscure) flags that can control
94        behaviour.
95    \stopitem
96    \startitem
97        They can break cross pages if needed.
98    \stopitem
99    \startitem
100        Tables, rows and cells have framed like properties.
101    \stopitem
102    \startitem
103        Not the fastest mechanism as it used several passes (for which it
104        stores all cells).
105    \stopitem
106\stopitemize
107
108\stopchapter
109
110\startchapter[title=Extreme tables]
111
112\startitemize
113    \startitem
114        Again modelled after \HTML\ tables.
115    \stopitem
116    \startitem
117        A few less options but also some more than natural tables.
118    \stopitem
119    \startitem
120        Most work is delegated to \LUA.
121    \stopitem
122    \startitem
123        Uses buffers and therefore nesting is (as with natural tables)
124        possible but with care.
125    \stopitem
126\stopitemize
127
128\stopchapter
129
130\startchapter[title=Line tables]
131
132\startitemize
133    \startitem
134        Written for and used in a project long ago.
135    \stopitem
136    \startitem
137        Meant for huge tables that span multiple pages horizontally
138        and vertically.
139    \stopitem
140    \startitem
141        It only can have simple colored backgrounds.
142    \stopitem
143    \startitem
144        Hardly used.
145    \stopitem
146    \startitem
147        I need to redo (or check) the implementation some day.
148    \stopitem
149\stopitemize
150
151\startchapter[title=Frame tables]
152
153\startitemize
154    \startitem
155        Written for and used for Thomas who needs real huge tables
156        generated from \XML.
157    \stopitem
158    \startitem
159        It's a single pass mechanism.
160    \stopitem
161    \startitem
162        Each cell is a framed.
163    \stopitem
164    \startitem
165        Dimensions need to be adapted when you want predictable output.
166    \stopitem
167    \startitem
168        I might extend it but within reasonable bounds.
169    \stopitem
170\stopitemize
171
172\stopchapter
173
174
175\stopdocument
176