ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tables and misplaced \noalign
@ 2008-01-10 17:43 Jürgen Strass
  2008-01-10 18:04 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jürgen Strass @ 2008-01-10 17:43 UTC (permalink / raw)
  To: ntg-context

Hi,

when I'm trying to use tables (\starttables ... \stoptables), I'm often 
getting the following error:

---

! Misplaced \noalign.
\TABLEnoalign ->\noalign
                         \bgroup \let \noalign \relax \let \next =
\insertTABLEtail ->\TABLEnoalign
                                 {\global \settrue \preventTABLEbreak 
\globa...

\stoptables ...erepeattail \else \insertTABLEtail
                                                  \fi \finishTABLE 
\egroup \...
l.148 \stoptables

---

On the mailing list archives, I already found some code posted by Hans 
Hagen that solves the issue in case of the "\starttable ... \stoptable" 
command. I had to insert the following code in my cont-new.tex file:

\def\stoptable
  {\chuckTABLEautorow % before the tail
   \insertTABLEtail
   \TABLEnoalign{\globalletempty\@@TABLEhead}%
   \TABLEnoalign{\globalletempty\@@TABLEtail}%
   \finishTABLE
   \doifelsenothing\@@tiframe
     {\ifinsidefloat\else
        \stopbaselinecorrection
        \goodbreak % compensates all the nobreaks
      \fi}
     \stopframedcontent
   \egroup}

For the "tables" commands it doesn't work though, even not after 
changing "\def\stoptable" to "\def\stoptables". Does anyone have an idea 
what to do about it?

ctxtools gives the following details about my context version under WinXP:

CtxTools | context version: 2007.01.12 15:56 
(c:/TeXLive2007/texmf-dist/tex/cont
ext/base/context.tex)
CtxTools | context version: 2007.01.12 15:56 
(c:/TeXLive2007/texmf-dist/tex/cont
ext/base/cont-new.tex)

Thanks in advance for any help,
Jürgen

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


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

end of thread, other threads:[~2008-01-10 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10 17:43 Tables and misplaced \noalign Jürgen Strass
2008-01-10 18:04 ` Wolfgang Schuster
2008-01-10 18:33   ` Jürgen Strass

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