From: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: tabulate
Date: Wed, 23 Mar 2011 14:01:41 +0100 [thread overview]
Message-ID: <4D89EF35.9000307@FU-Berlin.DE> (raw)
this worked some time ago.
Current minimal mkiv
\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 \use2 b\NC d\NC e\NC f\NC\NR
\NC a\NC \use3 b \NC e\NC f\NC\NR
\NC \use4 a \NC e\NC f\NC\NR
\stoptabulate
\stoptext
system > tex > error on line 10 in file 09-02-30.ctxcrop:
Undefined control sequence ...
1 \def\tabulateuse#1{%
2 \dorecurse{\numexpr2*#1-1\relax}
3 {\span\omit}}
4 \appendtoks
5 \let\use\tabulateuse
6 \defineTABLEshorthands
7 \to \everytabulate
8 \starttext
9 \starttabulate[|l|Bc|c|c|c|r|]
10 >> \NC a\NC b\NC c \NC d\NC e\NC f\NC\NR
11 \NC a\NC \use2 b\NC d\NC e\NC f\NC\NR
12 \NC a\NC \use3 b \NC e\NC f\NC\NR
13 \NC \use4 a \NC e\NC f\NC\NR
14 \stoptabulate
15 \stoptext
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
___________________________________________________________________________________
next reply other threads:[~2011-03-23 13:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 13:01 Herbert Voss [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-13 13:59 Tabulate Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-20 8:27 tabulate Herbert Voss
2010-11-20 10:47 ` tabulate Hans Hagen
2010-11-20 11:39 ` tabulate Hans Hagen
2010-11-20 13:10 ` tabulate Herbert Voss
2010-11-20 13:12 ` tabulate Herbert Voss
2010-11-16 10:07 tabulate Herbert Voss
2010-11-16 10:11 ` tabulate Hans Hagen
2001-09-05 9:35 tabulate Patrick Gundlach
2001-09-05 8:35 tabulate Patrick Gundlach
2001-09-05 8:58 ` tabulate Hans Hagen
1999-05-27 23:39 Tabulate David Arnold
1999-05-28 0:27 ` Tabulate Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D89EF35.9000307@FU-Berlin.DE \
--to=herbert.voss@fu-berlin.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).