ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (\start)tables and \tables
@ 2000-03-15 18:02 Tobias Burnus
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 2000-03-15 18:02 UTC (permalink / raw)
  Cc: Hans Hagen

Hi,

% I use somwhere
\starttable[...]
\stoptable

% and then

\starttablehead %tabellenueberschrift
\HL
\NC     \NC $v_e/\rm~m\cdot s^{-1}$\NC $-v_g/\rm~m\cdot s^{-1}$\NC $r$/m
\NC $q$/C                 \NC $q/e_0$ \NC\SR
\HL
\stoptablehead %tabellenueberschrift
\starttabletail %tabellenende
\HL
\stoptabletail %tabellenende

\starttables[|r|l|l|l|l|l|]
...
\stoptables

The problem is: The head and tail of tables isn't used.
If I remove the \starttable ... \stoptable it works suddenly.

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (\start)tables and \tables
  2000-03-15 21:55 ` Hans Hagen
@ 2000-03-16 10:07   ` Tobias Burnus
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 2000-03-16 10:07 UTC (permalink / raw)
  Cc: ntg-context

Hallo Hans,

> You may give this one a try (@@ added): 
\unprotect
> \def\stoptabel%
>   {\TABLEtail
>    \global\let\@@TABLEhead\empty
>    \global\let\@@TABLEtail\empty
>    \finishTABLE
>    \ifinsidefloat\else
>      \stopbaselinecorrection % \outer..
>      \goodbreak % compensates all the nobreaks
>    \fi
>    \egroup}
\protect

This works.

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (\start)tables and \tables
       [not found] <Pine.BSF.4.10.10003151900250.8437-100000@ringo.physik.fu-b erlin.de>
  2000-03-15 20:51 ` Hans Hagen
@ 2000-03-15 21:55 ` Hans Hagen
  2000-03-16 10:07   ` Tobias Burnus
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2000-03-15 21:55 UTC (permalink / raw)
  Cc: ntg-context

Hi Tobias, 

You may give this one a try (@@ added): 

\def\stoptabel%
  {\TABLEtail
   \global\let\@@TABLEhead\empty
   \global\let\@@TABLEtail\empty
   \finishTABLE
   \ifinsidefloat\else
     \stopbaselinecorrection % \outer..
     \goodbreak % compensates all the nobreaks
   \fi
   \egroup}

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (\start)tables and \tables
       [not found] <Pine.BSF.4.10.10003151900250.8437-100000@ringo.physik.fu-b erlin.de>
@ 2000-03-15 20:51 ` Hans Hagen
  2000-03-15 21:55 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2000-03-15 20:51 UTC (permalink / raw)
  Cc: ntg-context

At 07:02 PM 3/15/2000 +0100, Tobias Burnus wrote:

>The problem is: The head and tail of tables isn't used.
>If I remove the \starttable ... \stoptable it works suddenly.

Hm. I'll look into it. Did you know this one? 

\starttypen
\definetabletemplate[test][|||][before][after]
\stoptypen

This also means that one can define table heads and tails
by name!

\starttypen
\starttablehead[before]
\HL \VL first \VL second \VL \SR \HL
\stoptablehead
\stoptypen

This is conceptually better: 

\starttable [test] 
....
\stoptable

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-16 10:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-15 18:02 (\start)tables and \tables Tobias Burnus
     [not found] <Pine.BSF.4.10.10003151900250.8437-100000@ringo.physik.fu-b erlin.de>
2000-03-15 20:51 ` Hans Hagen
2000-03-15 21:55 ` Hans Hagen
2000-03-16 10:07   ` Tobias Burnus

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