ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tabulate and header=repeat
@ 2015-03-21 17:22 Alan BRASLAU
  2015-03-21 17:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Alan BRASLAU @ 2015-03-21 17:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I have a simple problem with headers and tabulate spread over multiple
pages. In the following MWE, the header's \HL gets rendered twice on
its first instance (the first page). My error must be something simple
(and obvious)?

Thanks

Alan




\setupbodyfont [dejavu,12pt]

\setuptabulate[split=yes,header=repeat]

\starttext
\starttabulatehead
\NC \type{\input} \NC text \NC\NR
\HL
\stoptabulatehead
\starttabulate [|r|p|]
\NC knuth   \NC \input knuth   \NC\NR
\NC tufte   \NC \input tufte   \NC\NR
\NC ward    \NC \input ward    \NC\NR
\NC darwin  \NC \input darwin  \NC\NR
\NC dawkins \NC \input dawkins \NC\NR
\NC reich   \NC \input reich   \NC\NR
\HL
\stoptabulate
\stoptext
___________________________________________________________________________________
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] 3+ messages in thread

* Re: tabulate and header=repeat
  2015-03-21 17:22 tabulate and header=repeat Alan BRASLAU
@ 2015-03-21 17:50 ` Wolfgang Schuster
  2015-03-21 21:05   ` Alan BRASLAU
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2015-03-21 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 21.03.2015 um 18:22 schrieb Alan BRASLAU <alan.braslau@cea.fr>:
> 
> Hello,
> 
> I have a simple problem with headers and tabulate spread over multiple
> pages. In the following MWE, the header's \HL gets rendered twice on
> its first instance (the first page). My error must be something simple
> (and obvious)?

There are actually three different rule command (\FL, \ML and \LL)
which are used from the \HL dependent on the position in the table
and in the table header this auto selection can be wrong because
ConTeXt uses \ML while \LL should be used instead. To fix the double
rule on the first page use \LL as last rule in the header.

\starttabulatehead
\NC \type{\input} \NC text \NC\NR
\LL
\stoptabulatehead

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

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

* Re: tabulate and header=repeat
  2015-03-21 17:50 ` Wolfgang Schuster
@ 2015-03-21 21:05   ` Alan BRASLAU
  0 siblings, 0 replies; 3+ messages in thread
From: Alan BRASLAU @ 2015-03-21 21:05 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Sat, 21 Mar 2015 18:50:29 +0100
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

>  in the table header this auto selection can be wrong because
> ConTeXt uses \ML while \LL should be used instead. To fix the double
> rule on the first page use \LL as last rule in the header.

Thank you.

I have modified the wiki as well.

Alan
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2015-03-21 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-21 17:22 tabulate and header=repeat Alan BRASLAU
2015-03-21 17:50 ` Wolfgang Schuster
2015-03-21 21:05   ` Alan BRASLAU

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