Changes

Jump to navigation Jump to search
781 bytes added ,  11:08, 12 March 2009
changed title hierarchy, added Wolfgang's simplified syntax
< [[Tables Overview]] | [[XML]] >
 
=Introduction=
This mighty table mode is called &ldquo;natural tables&rdquo; or &ldquo;automatic tables.&rdquo; I'd call it &ldquo;HTML tables,&rdquo; because it's very similar to them. They're especially suited for [[XML]] conversions.
</context>
== Multipage TABLEs ==
Try to divide your table into...
</texcode>
== Creating tables from CSV data (Comma Separated Values) == See also [[m-database the database module]]!
<!-- Maybe some other place or a separate page is more appropriate for this section -->
What about separating the values using tabs?
== Designing complex TABLEs ==
Everything is easy when a simple grid is enough. Unfortunately, this
\stoptext
</context>
 
=TABLEs with old table syntax=
 
From the mailing list in March 2009, by Wolfgang Schuster and Hans Hagen:
 
<texcode>
\def\startTABLE
{\dosingleempty\dostartTABLE}
 
\def\dostartTABLE[#1]%
{\bgroup
\bTABLE[#1]%
\let\NC\doTABLENC
\let\NR\doTABLENR
\let\bTR\relax
\let\bTD\relax
\let\bTH\relax
\let\bTN\relax}
 
\def\stopTABLE
{\eTABLE
\egroup}
 
\newconditional\inTABLEnc
 
\unexpanded\def\doTABLENR
{\eTR
\setfalse\inTABLEnc}
 
\unexpanded\def\doTABLENC
{\futurelet\next\dodoTABLENC}
 
\def\dodoTABLENC
{\ifx\next\doTABLENR \else
\expandafter\dododoTABLENC
\fi}
 
\long\def\dododoTABLENC#1\NC
{\ifconditional\inTABLEnc\else\settrue\inTABLEnc\parseTR[][]\fi
\dodoubleempty\parseTD#1\eTD\NC}
</texcode>
[[Category:Tables]]
[[Category:XML]]

Navigation menu