From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bug: Messy results when using "table" in head and multi-page "tables" in text
Date: Mon, 21 Jan 2008 12:26:24 +0100 [thread overview]
Message-ID: <47948160.8060103@gmx.net> (raw)
In-Reply-To: <AA981F42-AF1F-453C-8BD0-E5CBE84197B5@zarm-technik.de>
Hi Carsten,
I'm not quite sure if this is a help (was just playing around with it
while watching snooker).
I had to clear|redefine the table head|tail in the page head (or is this
intended?). There are still some unwanted vertical offsets above|below
the page head. If you use a hbox instead of a vbox for the page head you
will see the difference on the last page. So this space is introduced by
the splitted table somehow. Don't ask me for details ;)
Best wishes,
Peter
Carsten Fechtmann schrieb:
> Dear ConTeXt experts,
>
> I have setup a page layout where I use "table" in the page-head for
> formatting quite a bit of stuff. (The example below is just a simple
> as can be basic idea, to show the overall effect)
> Now - as I can't prevent later users of this layout environment - to
> not use \starttables ... \stoptables I naturally would like for this
> to work in the text region as well.
> This works fine and as advertised (well mostly, see below) as long as
> the table does not spill over to the next page. In which case, things
> start to look very messy, indeed.
>
> From my (simple) point of view it looks like ConTeXt gets confused
> about which format to use for which table and tries to do them all at
> the same place or something.
>
> Any chance to get this fixed ?
>
> Thanks in advance
> Carsten
>
> P.S.: There is an additional bug (also concerning the single page
> version and not related to having a "table" in the pagehead), which
> puts in an extra (empty) gap in between the end of the tablebody and
> the tablefoot when the tablefoot starts with \HL (and there is no \HL
> at the end of tablebody).
> Things work when putting the \HL at the end of the tablebody, but then
> no \HL will be put on top of the foot for any intermediate pages of
> the table, which is certainly not what one would usually want in this
> case.
>
>
> Anyway, here a simple version of this to demonstrate the effect(s)
>
> \setuppagenumbering[location=]
> \setupheadertexts[\setups{pagehead}][][\setups{pagehead}][]
> \startsetups[pagehead]
> \SetTableToWidth{\makeupwidth}
> \starttable[|p(40mm)|p(60mm)|p(40mm)|]
> \HL
> \VL \leftaligned{left} \VL \midaligned{middle} \VL
> \rightaligned{right} \VL\SR
> \HL
> \stoptable
> \stopsetups
>
> \starttext
>
> \start
> \SetTableToWidth{\makeupwidth}
> \setuptables[split=repeat]
> \starttablehead
> \HL
> \VL Head \VL\SR
> \HL
> \stoptablehead
> \starttabletail
> \HL % This results in an additional bug,
> % i.e. an extra / unwanted gap
> \VL Foot \VL\SR
> \HL
> \stoptabletail
> \starttables[|p(.95\textwidth)|]
> \VL \input knuth \VL\FR
> %\dorecurse{1}{\VL \input tufte \VL\MR}
> \dorecurse{10}{\VL \input tufte \VL\MR}
> \VL \input knuth \VL\LR
> % \HL % putting \HL here does not introduce
> % that unwanted gap ...?!?
> \stoptables
> \stop
>
> \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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-01-21 11:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 11:37 Carsten Fechtmann
2008-01-20 13:10 ` Wolfgang Schuster
2008-01-20 15:22 ` Carsten Fechtmann
2008-01-20 16:18 ` Wolfgang Schuster
2008-01-20 19:07 ` Carsten Fechtmann
2008-01-21 9:25 ` Wolfgang Schuster
2008-01-21 11:26 ` Peter Rolf [this message]
2008-01-21 11:45 ` Peter Rolf
2008-01-23 22:11 ` Carsten Fechtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47948160.8060103@gmx.net \
--to=indiego@gmx.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).