ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Multipage xtables starts at the wrong page
@ 2014-01-07 19:17 Marco Pallante
  2014-01-09 12:08 ` Marco Patzer
  0 siblings, 1 reply; 10+ messages in thread
From: Marco Pallante @ 2014-01-07 19:17 UTC (permalink / raw)
  To: ntg-context

Hello everyone,

I'm using ConTeXt to write a technical manual and I'm facing with some
strange behavior I don't know how to overcome.

I need a multipage table and I'm using the xtables. This is a (stripped
down) version of a part of my document:

\mainlanguage [en]

\setupxtable
  [externaldocs]
  [split=repeat, header=repeat, bodyfont=8pt, foregroundstyle=\ss,
   option=stretch, align=middle, frame=off, bottomframe=on,
   framecolor=elitalblue]
\setupxtable
  [externaldocsheader]
  [background=color,
   backgroundcolor=black, foregroundcolor=white,
   foregroundstyle=\ss\bf]

\starttext

\chapter{Introduction}

\startxtable [externaldocs]
  \startxtablehead
    \startxrow [externaldocsheader]
      \startxcell AD No. \stopxcell
      \startxcell Title \stopxcell
      \startxcell Doc No. \stopxcell
      \startxcell Issue \stopxcell
      \startxcell Date \stopxcell
      \startxcell Applicability \stopxcell
    \stopxrow
  \stopxtablehead

  \startxtablebody
  \dorecurse{60}{
    \startxrow
      \startxcell AD No. \stopxcell
      \startxcell Title \stopxcell
      \startxcell Doc No. \stopxcell
      \startxcell Issue \stopxcell
      \startxcell Date \stopxcell
      \startxcell Applicability \stopxcell
    \stopxrow
  }
  \stopxtablebody
\stopxtable

\stoptext

What I get, however, is a table that starts at page 2 and not just after
the chapter head.

If the number of rows is smaller and the table fit the first page, then
it starts at the right place.

What I'm doing wrong?

Thank you very much,

Marco

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


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

end of thread, other threads:[~2014-01-10 10:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-07 19:17 Multipage xtables starts at the wrong page Marco Pallante
2014-01-09 12:08 ` Marco Patzer
2014-01-09 14:26   ` Marco Pallante
2014-01-09 14:49     ` Marco Patzer
2014-01-09 15:16       ` Marco Pallante
2014-01-09 15:30         ` Marco Patzer
2014-01-09 17:08           ` Hans Hagen
2014-01-10  9:51           ` Marco Pallante
2014-01-10 10:17             ` Mojca Miklavec
2014-01-10 10:37             ` Marco Patzer

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