From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82594 Path: news.gmane.org!not-for-mail From: "Stephens, Kenny" Newsgroups: gmane.comp.tex.context Subject: split natural table Date: Tue, 21 May 2013 16:55:20 +0000 Message-ID: <24ABE1070A5A4041884908141E95A66BB967806F@HSUEX14MBX1.hsutx.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641924385==" X-Trace: ger.gmane.org 1369155400 31443 80.91.229.3 (21 May 2013 16:56:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 16:56:40 +0000 (UTC) To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Tue May 21 18:56:42 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ueprd-0003EK-TR for gctc-ntg-context-518@m.gmane.org; Tue, 21 May 2013 18:56:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50DE5101E7; Tue, 21 May 2013 18:56:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Jv7lKfWAKV4H; Tue, 21 May 2013 18:56:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 87530101E4; Tue, 21 May 2013 18:56:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D16C2101E4 for ; Tue, 21 May 2013 18:56:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yHXsuw88EDcD for ; Tue, 21 May 2013 18:56:31 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 25853101E0 for ; Tue, 21 May 2013 18:56:21 +0200 (CEST) Original-Received: from mail.hsutx.edu (mail.hsutx.edu [209.165.224.134]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4LGuI98013671 for ; Tue, 21 May 2013 18:56:19 +0200 Original-Received: from HSUEX14HUB.hsutx.edu (10.16.1.151) by mail.hsutx.edu (10.16.1.124) with Microsoft SMTP Server (TLS) id 8.2.255.0; Tue, 21 May 2013 11:55:20 -0500 Original-Received: from HSUEX14MBX1.hsutx.edu ([::1]) by HSUEX14HUB.hsutx.edu ([::1]) with mapi id 14.02.0298.004; Tue, 21 May 2013 11:55:20 -0500 Thread-Topic: split natural table Thread-Index: Ac5WQecuh1WQp0vvS1S3rKf0aScxmg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.40.0.31] X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=209.165.224.134; country=US; region=TX; city=Abilene; postalcode=79698; latitude=32.4751; longitude=-99.7348; metrocode=662; areacode=325; http://maps.google.com/maps?q=32.4751,-99.7348&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06JCEUjvJ - 9a01713d9d5a - 20130521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82594 Archived-At: --===============0641924385== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_24ABE1070A5A4041884908141E95A66BB967806FHSUEX14MBX1hsut_" --_000_24ABE1070A5A4041884908141E95A66BB967806FHSUEX14MBX1hsut_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I use a natural table to format my page header. I have another natural tabl= e in the body. When the body's table is split onto the second page it inter= feres 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 incorre= ct header formatting. This behavior also occurs using live.contextgarden.ne= t (today, 2013-05-21). The incorrect header table format occurs with "split=3Dyes" and "split=3Dre= peat" for the body table. If "split=3Dno" then the header table keeps the c= orrect 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=3D0pt, header=3D42pt, headerdistance=3D6pt, ] \setuppagenumbering[location=3D] \setupwhitespace[none] \define\syllabusheader{% \vskip0.1mm \bTABLE[frame=3Doff,width=3D\textwidth] \setupTABLE[c][1][width=3Dfit, align=3Draggedright,style=3D{\bfb\ss}] \setupTABLE[c][2][width=3Dbroad,align=3Dcenter, style=3D{\bfd\ss}] \setupTABLE[c][3][width=3Dfit, align=3Draggedleft, style=3D{\bfb\ss}] \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR \eTABLE } \setupheadertexts[{\framed[corner=3D09,width=3Dbroad,align=3Dcenter,height= =3D\headerheight]% {\syllabusheader}}] \starttext \bTABLE[split=3Drepeat] \setupTABLE[c][1][width=3D10em,align=3D{center,lohi},style=3D{\bfx}] \setupTABLE[r][1][align=3D{hilo,center},style=3D{\bfx}] \setupTABLE[c][2][width=3D20em,style=3D{\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 se= e wrong behavior \eTABLEbody \eTABLE \stoptext --_000_24ABE1070A5A4041884908141E95A66BB967806FHSUEX14MBX1hsut_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I use a natural table to format my page header. I ha= ve 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 correc= t format. Uncomment the last row of the body table to see the incorrect hea= der formatting. This behavior also occurs using live.contextgarden.net (tod= ay, 2013-05-21).

 

The incorrect header table format occurs with “= ;split=3Dyes” and “split=3Drepeat” for the body table. If= “split=3Dno” then the header table keeps the correct format.

 

TexLive 2012 (updated 2013-05-20 to frozen version)<= o:p>

LuaTeX beta-0.70.2-2012052410

ConTeXt: 2012.05.30 11:26 MkIV fmt: 2012.9.13

 

\setuppapersize[letter][letter]

\setuplayout[topspace=3D0pt,

        &nbs= p;    header=3D42pt,

        &nbs= p;    headerdistance=3D6pt,

        &nbs= p;    ]

\setuppagenumbering[location=3D]

\setupwhitespace[none]

\define\syllabusheader{%

\vskip0.1mm

\bTABLE[frame=3Doff,width=3D\textwidth]

  \setupTABLE[c][1][width=3Dfit,  align=3D= raggedright,style=3D{\bfb\ss}]

  \setupTABLE[c][2][width=3Dbroad,align=3Dcente= r,     style=3D{\bfd\ss}]

  \setupTABLE[c][3][width=3Dfit,  align=3D= raggedleft, style=3D{\bfb\ss}]

  \bTR \bTD Left \eTD \bTD Center \eTD \bTD Rig= ht \eTD \eTR

\eTABLE

}

\setupheadertexts[{\framed[corner=3D09,width=3Dbroad= ,align=3Dcenter,height=3D\headerheight]%

        &nbs= p;            &= nbsp;    {\syllabusheader}}]

\starttext

\bTABLE[split=3Drepeat]

  \setupTABLE[c][1][width=3D10em,align=3D{cente= r,lohi},style=3D{\bfx}]

  \setupTABLE[r][1][align=3D{hilo,center},style= =3D{\bfx}]

  \setupTABLE[c][2][width=3D20em,style=3D{\tfx}= ]

  \bTABLEhead

   \bTR\bTH Row number \eTH\bTH Content \e= TH\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

 

--_000_24ABE1070A5A4041884908141E95A66BB967806FHSUEX14MBX1hsut_-- --===============0641924385== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0641924385==--