ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* extra line in tabulate headers
@ 2011-03-10 10:08 Florian Wobbe
  2011-03-10 10:32 ` Philipp Gesang
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Wobbe @ 2011-03-10 10:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: extra line in tabulate headers
  2011-03-10 10:08 extra line in tabulate headers Florian Wobbe
@ 2011-03-10 10:32 ` Philipp Gesang
  2011-03-10 10:53   ` Florian Wobbe
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Gesang @ 2011-03-10 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1699 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

* Re: extra line in tabulate headers
  2011-03-10 10:32 ` Philipp Gesang
@ 2011-03-10 10:53   ` Florian Wobbe
  2011-03-10 11:50     ` Philipp Gesang
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Wobbe @ 2011-03-10 10:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

* Re: extra line in tabulate headers
  2011-03-10 10:53   ` Florian Wobbe
@ 2011-03-10 11:50     ` Philipp Gesang
  2011-03-10 12:03       ` Florian Wobbe
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Gesang @ 2011-03-10 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2298 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

* Re: extra line in tabulate headers
  2011-03-10 11:50     ` Philipp Gesang
@ 2011-03-10 12:03       ` Florian Wobbe
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Wobbe @ 2011-03-10 12:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

end of thread, other threads:[~2011-03-10 12:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10 10:08 extra line in tabulate headers Florian Wobbe
2011-03-10 10:32 ` Philipp Gesang
2011-03-10 10:53   ` Florian Wobbe
2011-03-10 11:50     ` Philipp Gesang
2011-03-10 12:03       ` Florian Wobbe

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