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

* Re: Tables and misplaced \noalign
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-01-10 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Jan 10, 2008 6:43 PM, Jürgen Strass <jrg718@gmx.net> wrote:
> 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

Hi Jürgen,

could you try to update your ConTeXt first and if the problem
remains send a example to the list.

Wolfgang
___________________________________________________________________________________
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

* Re: Tables and misplaced \noalign
  2008-01-10 18:04 ` Wolfgang Schuster
@ 2008-01-10 18:33   ` Jürgen Strass
  0 siblings, 0 replies; 3+ messages in thread
From: Jürgen Strass @ 2008-01-10 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster schrieb:
> [...]
> Hi Jürgen,
>
> could you try to update your ConTeXt first and if the problem
> remains send a example to the list.
>
>   
Problem solved! I updated by calling "ctxtools --updatecontext" and now 
everything works out of the box. If I had known that context is so easy 
to update, I would have already done so. I expected that I had to run 
through lots of steps of manual changes.

Thank you very much,
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).