* Tabulate: no hooks?
@ 2001-02-01 9:36 Giuseppe Bilotta
2001-02-02 9:56 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-02-01 9:36 UTC (permalink / raw)
Hello,
I'm using the lates (I hope) version of ConTeXt (the beta version is more recent
than the stable, isn't it?). I tried the snippet from the Up-to-Date on Natural
Tables:
\def\SomeBar#1{\blackrule[#1em]}
\starttabulate[|l|lh\SomeBar|]
\HL
\NC \bf item \NC \bf quantity \NC \NR
\HL
\NC figures \HC {5} \NC \NR
\NC tables \HC {8} \NC \NR
\NC formulas \HC {12} \NC \NR
\HL
\stoptabulate
but the numbers are displayed rather than the bars ... any suggestions?
Thanks.
Giuseppe Bilotta
Using Microsoft products is like
having sex without condoms---but
much less pleasurable
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tabulate: no hooks?
2001-02-01 9:36 Tabulate: no hooks? Giuseppe Bilotta
@ 2001-02-02 9:56 ` Hans Hagen
2001-02-02 21:48 ` Giuseppe Bilotta
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-02-02 9:56 UTC (permalink / raw)
Cc: ConTeXt
At 10:36 AM 2/1/01 +0100, Giuseppe Bilotta wrote:
>Hello,
>
>I'm using the lates (I hope) version of ConTeXt (the beta version is more
recent
>than the stable, isn't it?). I tried the snippet from the Up-to-Date on
Natural
>Tables:
>
>\def\SomeBar#1{\blackrule[#1em]}
>\starttabulate[|l|lh\SomeBar|]
>\HL
>\NC \bf item \NC \bf quantity \NC \NR
>\HL
>\NC figures \HC {5} \NC \NR
>\NC tables \HC {8} \NC \NR
>\NC formulas \HC {12} \NC \NR
>\HL
>\stoptabulate
>
>but the numbers are displayed rather than the bars ... any suggestions?
I guess that it was lost when implementing some alignment extension:
\def\checktabulatehook%
{\ifnum\tabulatetype<2
\global\let\tabulatehook\notabulatehook
\else
\global\let\tabulatehook\dotabulatehook
\fi}
concerning this extension:
\long\def\SomeBar#1 {\blackrule[width=#1em,height=1ex]}
\starttabulate[|l|lh\SomeBar|cg{@}|c.|c,|]
\HL
\NC \bf item \NC \bf quantity \NC @ \NC . \NC , \NC \NR
\HL
\NC figures \HC 5 \NG 12@34 \NG 12.34 \NG 12,34.56 \NC \NR
\NC tables \HC 8 \NG 2@34 \NG 2.34 \NG 2,34.56 \NC \NR
\NC formulas \HC 12 \NG 12@3 \NG 12.3 \NG 12,34.5 \NC \NR
\HL
\stoptabulate
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tabulate: no hooks?
2001-02-02 9:56 ` Hans Hagen
@ 2001-02-02 21:48 ` Giuseppe Bilotta
2001-02-02 23:12 ` Giuseppe Bilotta
0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-02-02 21:48 UTC (permalink / raw)
Cc: ConTeXt
> >
> >but the numbers are displayed rather than the bars ... any suggestions?
>
> I guess that it was lost when implementing some alignment extension:
>
> \def\checktabulatehook%
> {\ifnum\tabulatetype<2
> \global\let\tabulatehook\notabulatehook
> \else
> \global\let\tabulatehook\dotabulatehook
> \fi}
>
will patch, regenerate and check, thanks.
Giuseppe Bilotta
Using Microsoft products is like
having sex without condoms---but
much less pleasurable
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tabulate: no hooks?
2001-02-02 21:48 ` Giuseppe Bilotta
@ 2001-02-02 23:12 ` Giuseppe Bilotta
0 siblings, 0 replies; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-02-02 23:12 UTC (permalink / raw)
> > I guess that it was lost when implementing some alignment extension:
> >
> > \def\checktabulatehook%
> > {\ifnum\tabulatetype<2
> > \global\let\tabulatehook\notabulatehook
> > \else
> > \global\let\tabulatehook\dotabulatehook
> > \fi}
> >
>
> will patch, regenerate and check, thanks.
>
Ok! Perfect!
Giuseppe Bilotta
Using Microsoft products is like
having sex without condoms---but
much less pleasurable
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-02-02 23:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-01 9:36 Tabulate: no hooks? Giuseppe Bilotta
2001-02-02 9:56 ` Hans Hagen
2001-02-02 21:48 ` Giuseppe Bilotta
2001-02-02 23:12 ` Giuseppe Bilotta
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).