From: "Stephens, Kenny" <kstephens@hsutx.edu>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: split natural table
Date: Tue, 21 May 2013 16:55:20 +0000 [thread overview]
Message-ID: <24ABE1070A5A4041884908141E95A66BB967806F@HSUEX14MBX1.hsutx.edu> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2022 bytes --]
I use a natural table to format my page header. I have another natural table in the body. When the body's table is split onto the second page it interferes with the formatting of the header's table, but only the header-table on the first page. I've included an example. Run as-is, the header has the correct format. Uncomment the last row of the body table to see the incorrect header formatting. This behavior also occurs using live.contextgarden.net (today, 2013-05-21).
The incorrect header table format occurs with "split=yes" and "split=repeat" for the body table. If "split=no" then the header table keeps the correct format.
TexLive 2012 (updated 2013-05-20 to frozen version)
LuaTeX beta-0.70.2-2012052410
ConTeXt: 2012.05.30 11:26 MkIV fmt: 2012.9.13
\setuppapersize[letter][letter]
\setuplayout[topspace=0pt,
header=42pt,
headerdistance=6pt,
]
\setuppagenumbering[location=]
\setupwhitespace[none]
\define\syllabusheader{%
\vskip0.1mm
\bTABLE[frame=off,width=\textwidth]
\setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}]
\setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}]
\setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}]
\bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR
\eTABLE
}
\setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]%
{\syllabusheader}}]
\starttext
\bTABLE[split=repeat]
\setupTABLE[c][1][width=10em,align={center,lohi},style={\bfx}]
\setupTABLE[r][1][align={hilo,center},style={\bfx}]
\setupTABLE[c][2][width=20em,style={\tfx}]
\bTABLEhead
\bTR\bTH Row number \eTH\bTH Content \eTH\eTR
\eTABLEhead
\bTABLEbody
\bTR\bTC 1 \eTC\bTC \input{knuth} \eTC\eTR
\bTR\bTC 2 \eTC\bTC \input{knuth} \eTC\eTR
\bTR\bTC 3 \eTC\bTC \input{knuth} \eTC\eTR
% \bTR\bTC 4 \eTC\bTC \input{knuth} \eTC\eTR % Uncomment this line to see wrong behavior
\eTABLEbody
\eTABLE
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 5608 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________
next reply other threads:[~2013-05-21 16:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 16:55 Stephens, Kenny [this message]
2013-05-21 17:20 ` Wolfgang Schuster
2013-05-22 2:58 ` Stephens, Kenny
2013-05-22 3:17 ` Wolfgang Schuster
2013-05-22 4:28 ` Stephens, Kenny
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=24ABE1070A5A4041884908141E95A66BB967806F@HSUEX14MBX1.hsutx.edu \
--to=kstephens@hsutx.edu \
--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).