Changes

Jump to navigation Jump to search
1,506 bytes added ,  05:50, 17 June 2021
m
Added section-10 for settings and multiple TABLEs in a single page
Note that every element must use <tt>\b</tt> ... <tt>\e</tt>.
Willi Egger wrote a [[This Way - My Way#MyWay|My Way]] how he set a typesetter's lead type case: [http://dl.contextgarden.net/myway/NaturalTables.pdf Use of natural tables]
= Multipage TABLEs =
= Creating tables from CSV data (Comma Separated Values) =
See also [[mM-database|the database module]]!
and [http://dl.contextgarden.net/myway/csv.pdf Creating Tables using CSV (Comma-separated values)] by Mojca Miklavec
From the mailing list at 2005-11-09 by Vit Zyka, modified by Hans Hagen:
<texcodecontext source="yes">\starttextsetuppapersize[A5]
% distance mechanism, per column (H)
\eTABLE
}
 \stoptext</texcodecontext>
== Row Offset/Gap ==
<texcode>
Text\footnote{Normal Footnote}
\bTABLE[split=repeat,align=normal]
\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
\bTR\bTD Foo\note[x] \eTD\eTR
\eTABLE
\flushnotes
More Text\footnote{Another Normal Footnote}
</texcode>
<context mode=mkiv source=no>
\setupnote[footnote][location=text]
\setupnotations[alternative=serried]
\starttext
Text\footnote{Normal Footnote}
\bTABLE[split=repeat,align=normal]
\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR \bTR\bTD Foo \note[x] \eTD\eTR\eTABLE\flushnotesMore Text\footnote{Another Normal Footnote}Note that the context wiki is eating the footnote numbers, but that they are there anyways.\placefootnotes\stoptext  </context> = Settings for multiple TABLEs in a single page = Please note that if you have multiple TABLEs in a single page, use the \start & \stop commands to ensure the locality of the attributes of each table. Else settings from one TABLE might have strange effects on the settings of another. When you need a certain setup for multiple tables you can put all \setupTABLE commands in a setups-environment and load these settings at the start of the table, e.g. <texcode>\startsetups [tablesettings] \setupTABLE [r] [1] [..,..=..,..] \setupTABLE [c] [2] [..,..=..,..]\stopsetups \bTABLE[setups=tablesettings] ...\eTABLE</texcode> When you need individual settings for each table add \start before the setup-commands and \stop after the table, this keeps all setups local to the current table, e.g. <texcode>\start \setupTABLE [r] [1] [..,..=..,..]\setupTABLE [c] [2] [..,..=..,..] \bTABLE ...\eTABLE \flushnotesstop
</texcode>
24

edits

Navigation menu