summaryrefslogtreecommitdiff
path: root/tex/context/base/core-tbl.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2003-01-31 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2003-01-31 00:00:00 +0100
commitd0b8c8944555fc6250ff5af04c01acfe37b93e0d (patch)
treed45ae8a596085c8f3b1384181854b3d0d9bc57c0 /tex/context/base/core-tbl.tex
parente65a436deb332118831156075846acc80fb9d386 (diff)
downloadcontext-d0b8c8944555fc6250ff5af04c01acfe37b93e0d.tar.gz
stable 2003.01.31
Diffstat (limited to 'tex/context/base/core-tbl.tex')
-rw-r--r--tex/context/base/core-tbl.tex64
1 files changed, 49 insertions, 15 deletions
diff --git a/tex/context/base/core-tbl.tex b/tex/context/base/core-tbl.tex
index 4923a290f..e0c662039 100644
--- a/tex/context/base/core-tbl.tex
+++ b/tex/context/base/core-tbl.tex
@@ -594,6 +594,41 @@
\let\tabulateheadcontent\empty
\let\tabulatetailcontent\empty
+% \def\checkfulltabulatecontent
+% {\ifundefined{\??tt\currenttabulate\v!hoofd}%
+% \let\tabulateheadcontent\empty
+% \else
+% \@EA\let\@EA\tabulateheadcontent
+% \csname\??tt\currenttabulate\v!hoofd\endcsname
+% \fi
+% \ifundefined{\??tt\currenttabulate\v!voet}%
+% \let\tabulatetailcontent\empty
+% \else
+% \@EA\let\@EA\tabulatetailcontent
+% \csname\??tt\currenttabulate\v!voet\endcsname
+% \fi}
+%
+% \newconditional\tabulatesomeamble
+%
+% % \def\fulltabulatecontent
+% % {\tabulatecontent}
+%
+% \def\fulltabulatecontent
+% {\ifx\tabulateheadcontent\empty\else
+% \TABLEnoalign{\global\settrue\tabulatesomeamble}%
+% \tabulateheadcontent
+% \TABLEnoalign{\global\setfalse\tabulatesomeamble}%
+% \fi
+% \ignorespaces\tabulatecontent
+% \ifx\tabulatetailcontent\empty\else
+% \TABLEnoalign{\global\settrue\tabulatesomeamble}%
+% \tabulatetailcontent
+% \fi}
+%
+% the previous code breaks on first \HL
+
+\newconditional\tabulatesomeamble
+
\def\checkfulltabulatecontent
{\ifundefined{\??tt\currenttabulate\v!hoofd}%
\let\tabulateheadcontent\empty
@@ -606,25 +641,24 @@
\else
\@EA\let\@EA\tabulatetailcontent
\csname\??tt\currenttabulate\v!voet\endcsname
- \fi}
-
-\newconditional\tabulatesomeamble
-
-% \def\fulltabulatecontent
-% {\tabulatecontent}
-
-\def\fulltabulatecontent
- {\ifx\tabulateheadcontent\empty\else
- \TABLEnoalign{\global\settrue\tabulatesomeamble}%
- \tabulateheadcontent
- \TABLEnoalign{\global\setfalse\tabulatesomeamble}%
\fi
- \ignorespaces\tabulatecontent
+ \ifx\tabulateheadcontent\empty\else
+ \def\tabulateheadcontent
+ {\TABLEnoalign{\global\settrue\tabulatesomeamble}%
+ \tabulateheadcontent
+ \TABLEnoalign{\global\setfalse\tabulatesomeamble}}%
+ \fi
\ifx\tabulatetailcontent\empty\else
- \TABLEnoalign{\global\settrue\tabulatesomeamble}%
- \tabulatetailcontent
+ \def\tabulatetailcontent
+ {\TABLEnoalign{\global\settrue\tabulatesomeamble}%
+ \tabulatetailcontent}%
\fi}
+\def\fulltabulatecontent
+ {\tabulateheadcontent
+ \tabulatecontent
+ \tabulatetailcontent}
+
\setvalue{\e!start\e!tabulatehead}%
{\dosingleempty\dostartstarttabulatehead}