ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tabulate with span columns
@ 2010-11-20 20:16 Herbert Voss
  0 siblings, 0 replies; only message in thread
From: Herbert Voss @ 2010-11-20 20:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

\def\tabulateuse#1{%
  \dorecurse{\numexpr2*#1-1\relax}
            {\span\omit}}
\appendtoks
  \let\use\tabulateuse
  \defineTABLEshorthands
\to \everytabulate

\starttext
\starttabulate[|l|Bc|c|c|c|r|]
\NC a\NC b\NC c \NC d\NC e\NC f\NC\NR
\NC a\NC b\use2 \NC d\NC e\NC f\NC\NR
\NC a\NC b\use3      \NC e\NC f\NC\NR
\NC a\use4           \NC e\NC f\NC\NR
\stoptabulate
\stoptext

why is the 2nd line ok and the 3rd and 4th not?

http://perce.de/temp/xx.png

Herbert
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-20 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20 20:16 tabulate with span columns Herbert Voss

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