[NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
Hi,

how can I suppress the extra line in the header of the example on contextgarden 
(http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from 
\setuptabulate helps but I'd like to keep header repetition.

Thanks,
Florian

___
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
___


Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:08:22, Florian Wobbe wrote:
 Hi,
 
 how can I suppress the extra line in the header of the example
 on contextgarden
 (http://wiki.contextgarden.net/Tabulate#Headers)? Removing
 header=repeat from \setuptabulate helps but I'd like to keep
 header repetition.

Hi Florian,

wrapping it into a “\placetable”-float seems to get rid of it:

···8

\setuptabulate[split=yes,header=repeat]

\starttext 

\starttabulatehead
  \HL
  \NC {\bf format char} \NC {\bf meaning} \NC \NR
  \HL
\stoptabulatehead

\placetable[here]{none}{%
  \starttabulate[|r|l|]
  \NC c \NC centered  \AR
  \NC l \NC left aligned  \AR
  \NC r \NC right aligned \AR
  \stoptabulate
}

\stoptext

% vim:ft=context
···8

Regards, Philipp



 
 Thanks,
 Florian
 
 ___
 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpSHbawDhAGe.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
 how can I suppress the extra line in the header of the example
 on contextgarden
 (http://wiki.contextgarden.net/Tabulate#Headers)? Removing
 header=repeat from \setuptabulate helps but I'd like to keep
 header repetition.
 
 Hi Florian,
 
 wrapping it into a “\placetable”-float seems to get rid of it

Hi Philipp,

in deed it does with \placetable[here]. I should have added that I wrapped it 
inside \placetable[split] to split the table over several pages. Unfortunately 
this messes up the header lines:

\setuptabulate[split=yes,header=repeat]

\starttabulatehead
 \HL
 \NC {\bf format char} \NC {\bf meaning} \NC \NR
 \HL
\stoptabulatehead

\placetable[split]{none}{%
 \starttabulate[|r|l|]
   \dorecurse{20}{
 \NC c \NC centered  \AR
 \NC l \NC left aligned  \AR
 \NC r \NC right aligned \AR
 \HL}
 \stoptabulate
}

Best,
Florian

___
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
___


Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:53:11, Florian Wobbe wrote:
  how can I suppress the extra line in the header of the example
  on contextgarden
  (http://wiki.contextgarden.net/Tabulate#Headers)? Removing
  header=repeat from \setuptabulate helps but I'd like to keep
  header repetition.
  
  Hi Florian,
  
  wrapping it into a “\placetable”-float seems to get rid of it
 
 Hi Philipp,
 
 in deed it does with \placetable[here]. I should have added
 that I wrapped it inside \placetable[split] to split the table
 over several pages. Unfortunately this messes up the header
 lines:

Sorry, I should have expected that. All I can say is that the
stray spacing vanishes with double-line headers:

··8·

\starttabulatehead
  \HL 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \HL 
\stoptabulatehead

··8·

Messing around with tabl-tbl.mkiv didn’t get me any further here.
Good luck, Philipp

 
 \setuptabulate[split=yes,header=repeat]
 
 \starttabulatehead
  \HL
  \NC {\bf format char} \NC {\bf meaning} \NC \NR
  \HL
 \stoptabulatehead
 
 \placetable[split]{none}{%
  \starttabulate[|r|l|]
\dorecurse{20}{
  \NC c \NC centered  \AR
  \NC l \NC left aligned  \AR
  \NC r \NC right aligned \AR
  \HL}
  \stoptabulate
 }
 
 Best,
 Florian
 
 ___
 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpihGit1fIOu.pgp
Description: PGP signature
___
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
___


Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
 how can I suppress the extra line in the header of the example
 on contextgarden
 (http://wiki.contextgarden.net/Tabulate#Headers)? Removing
 header=repeat from \setuptabulate helps but I'd like to keep
 header repetition.
 
 Hi Florian,
 
 wrapping it into a “\placetable”-float seems to get rid of it
 
 Hi Philipp,
 
 in deed it does with \placetable[here]. I should have added
 that I wrapped it inside \placetable[split] to split the table
 over several pages. Unfortunately this messes up the header
 lines:
 
 Sorry, I should have expected that. All I can say is that the
 stray spacing vanishes with double-line headers:

But then, the second header line vanishes on the second page. Leaving out the 
\HL at the end of the header would be another solution:

 ··8·
 
 \starttabulatehead
  \HL 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \NC {\bf format char} \NC {\bf meaning} \NC \NR 
  \HL 
 \stoptabulatehead

\starttabulatehead
 \HL
 \NC {\bf format char} \NC {\bf meaning} \NC \NR
\stoptabulatehead

 ··8·

And starting \starttabulate[|r|l|] with \HL messes the header up again:

\starttabulatehead
 \HL
 \NC {\bf format char} \NC {\bf meaning} \NC \NR
\stoptabulatehead

\placetable[split]{none}{%
 \starttabulate[|r|l|]
 \HL
 \dorecurse{20}{
 \NC c \NC centered  \AR
 \NC l \NC left aligned  \AR
 \NC r \NC right aligned \AR
 \HL}
 \stoptabulate
}

 Messing around with tabl-tbl.mkiv didn’t get me any further here.
 Good luck, Philipp

Well, thanks for your efforts,
Florian

___
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
___