From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95136 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Orphans and widows in Natural Tables Date: Fri, 10 Jun 2016 00:50:55 +0200 Message-ID: <5759F2CF.6000503@gmail.com> References: <20160609202108.GN39769@lahore> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4230950395905412483==" X-Trace: ger.gmane.org 1465512702 16941 80.91.229.3 (9 Jun 2016 22:51:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 22:51:42 +0000 (UTC) To: Pavneet Arora , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 10 00:51:30 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bB8nN-0004aa-FR for gctc-ntg-context-518@m.gmane.org; Fri, 10 Jun 2016 00:51:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E3C9DF0B8; Fri, 10 Jun 2016 00:51:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GFA-WDmWwMU7; Fri, 10 Jun 2016 00:51:07 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 782C3F0BB; Fri, 10 Jun 2016 00:51:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0C767F0B9 for ; Fri, 10 Jun 2016 00:51:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6pPAgfMM7OC for ; Fri, 10 Jun 2016 00:51:06 +0200 (CEST) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 76808F0B8 for ; Fri, 10 Jun 2016 00:50:56 +0200 (CEST) Original-Received: by mail-wm0-f45.google.com with SMTP id k204so79389857wmk.0 for ; Thu, 09 Jun 2016 15:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=h9dp9ivqsvBJh51PCfr7vjPPsqHeJeia20y0Gii4Fsc=; b=QV7UKDz5OGGjjb9iTX7Ikt2HZ3j/pGwbtFbLxqVlqST/tKfCD1mhpZgN3Sa0IXAyhP z1wYOJI73+U83vFbflC3zwsyijsZaPVZYFBK5G0ECxBpwNwQ2S5fpDXx3u1hZO1vPcqE lKTF9bmiT8ZpcskfCeOzyOFeIyMLqrvlivAJm+Niet/lS3d19LbxGM+0A307vwYP6nUE zoKzvcisdioxxQeZin9qophT4jLzBcTw7eDburI4KrdUlF+Pv96B7jU898uBeAE8uKRp lMUX31sNbOx5lXxYxJlN99DZMyy0LvA4PolPlU/ulm5873cvlF0U2VBufq5s9eFPnuDN tlcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=h9dp9ivqsvBJh51PCfr7vjPPsqHeJeia20y0Gii4Fsc=; b=Q8Ev1zyCmLwBSQaCQaVisuVdVsfVO0qXoTyMx4rCgarPWCz5TtMyRMQa6IXR9ukOUe ywsIf2gn5HxeeUyKITcQX7JfOPv3D++U8uOXtJmY3Iz7aWIh6T3IA9f6aYwb1sZ6j58O cLV4sCwuA+PDAyjHpRq4bOTUgVvLIWhYst6nzykpMo70+LFiCFvuQw0zsI0jMyBWgqaR 7ejU+B+HAJhGH73bXjXmgoKPHiPE51XBm52IV+yTlQmlOVn/g5l792xG22/9bqqroUDv PZTreU26hVKKwR82hTYz0lRNTNJGwSxsdwTszoEYpO3mp+8DcuVIWMXknxw1XXzqPSSk rADQ== X-Gm-Message-State: ALyK8tItzIy4CW5cOMTGYdLqGhjSbHrc2ruO+X/N2okify+o/UoY3/tNABnmiLomnnCorg== X-Received: by 10.28.126.2 with SMTP id z2mr5760832wmc.73.1465512656052; Thu, 09 Jun 2016 15:50:56 -0700 (PDT) Original-Received: from keima.localdomain (x2f2deea.dyn.telefonica.de. [2.242.222.234]) by smtp.gmail.com with ESMTPSA id j2sm1758184wjz.15.2016.06.09.15.50.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2016 15:50:55 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <20160609202108.GN39769@lahore> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:95136 Archived-At: This is a multi-part message in MIME format. --===============4230950395905412483== Content-Type: multipart/alternative; boundary="------------090104010903060100090001" This is a multi-part message in MIME format. --------------090104010903060100090001 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Pavneet Arora > 9. Juni 2016 um 22:21 > Related to my previous enquiry, I have the same issue with another part > of the report card that uses Natural Tables. > > I'd like to keep two rows together as a unit, and not have the table > split between them. Is that possible, and how? > > advTHANKSance > > > > \definefontfamily[mainface][rm][Latin Modern Roman] > \definefontfamily[mainface][ss][Latin Modern Sans] > \definefontfamily[mainface][tt][Latin Modern Typewriter] > \definefontfamily[mainface][mm][Latin Modern Math] > %\definefontfamily[mainface][rm][Andada][sc=file:AndadaSC-Regular.otf] > %\definefontfamily[mainface][ss][Fira Sans] > %\definefontfamily[mainface][tt][Inconsolata] > %\definefontfamily[mainface][mm][Latin Modern Math] > > \setupbodyfont[mainface,9pt] > > \starttext > \setupTABLE[frame=off, split=repeat] > \setupTABLE[r][last][bottomframe=on] > \setupTABLE[c][1][width=3.0in] > \setupTABLE[c][2][width=0.5in, align=flushright] > \setupTABLE[c][3][width=0.5in, align=flushright] > \setupTABLE[c][4][width=2.5in] > \bTABLE > \bTABLEhead > \bTR[topframe=on, bottomframe=on] > \bTH {\bf Unit Description} \eTH > \bTH {\bf Weight} \eTH > \bTH {\bf Mark} \eTH > \bTH \eTH > \eTR > \eTABLEhead > \bTABLEbody > \dorecurse{10}{ > %% Need to keep Unit description row and comment row together. > \bTR[topframe=on] > \bTD {\sc Unit } \eTD > \bTD 10 \eTD > \bTD 99 \eTD > \bTD \eTD > \eTR > \bTR \bTR[samepage=before] > \bTD[nc=4] \input lorem.tex \eTD > \eTR > } > \eTABLEbody > \eTABLE > \stoptext > > <<<< MWE Wolfgang --------------090104010903060100090001 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
9.= =20 Juni 2016 um 22:21
Re= lated to my previous enquiry, I have the same issue with another part
of=20 the report card that uses Natural Tables.

I'd like to keep two=20 rows together as a unit, and not have the table
split between them.=20 Is that possible, and how?

advTHANKSance



\definefontfamily[mainface][rm][Latin Modern Roman]
\definefontfamily[mainface][ss][Latin Modern Sans]
\= definefontfamily[mainface][tt][Latin Modern Typewriter]
\definefontfamily[mainface][mm][Latin Modern=20 Math]
%\definefontfamily[mainface][rm][Andada][sc=3Dfile:AndadaSC-Regular= .otf]
%\definefontfamily[mainface][ss][Fira Sans]
%\definefontfamily[mainface][tt][Inconsolata]
%\definefontfa= mily[mainface][mm][Latin Modern Math]

\setupbodyfont[mainface,9pt]

\starttext
=20 \setupTABLE[frame=3Doff, split=3Drepeat]
=20 \setupTABLE[r][last][bottomframe=3Don]
=20 \setupTABLE[c][1][width=3D3.0in]
\setupTABLE[c][2][width=3D0.5in,=20 align=3Dflushright]
\setupTABLE[c][3][width=3D0.5in,=20 align=3Dflushright]
\setupTABLE[c][4][width=3D2.5in]
\bTABL= E
\bTABLEhead
\bTR[topframe=3Don, bottomframe=3Don]
=20 \bTH {\bf Unit Description} \eTH
\bTH {\bf Weight} \eTH
=20 \bTH {\bf Mark} \eTH
\bTH \eTH
\eTR
=20 \eTABLEhead
\bTABLEbody
\dorecurse{10}{
%% Need to=20 keep Unit description row and comment row together.
=20 \bTR[topframe=3Don]
\bTD {\sc Unit } \eTD
\bTD 10=20 \eTD
\bTD 99 \eTD
\bTD \eTD
\eTR
=20 \bTR
=C2=A0=C2=A0=C2=A0 \bTR[samepage=3Dbefore]
\bTD[nc=3D4] \input lorem.tex \eTD
\eTR
}<= br> \eTABLEbody
\eTABLE
\stoptext

<<<< MWE
Wolfgang
--------------090104010903060100090001-- --===============4230950395905412483== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4230950395905412483==--