From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86154 Path: news.gmane.org!not-for-mail From: "Keith J. Schultz" Newsgroups: gmane.comp.tex.context Subject: Re: Testpage with extras Date: Fri, 31 Jan 2014 10:46:26 +0100 Message-ID: <15FF11DF-E7B1-4E41-9E44-7BFF5C8D23A1@uni-trier.de> References: <52EA38AD.9090202@mmnetz.de> <52EAC2E7.5030800@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/mixed; boundary="===============1840228524==" X-Trace: ger.gmane.org 1391161601 8573 80.91.229.3 (31 Jan 2014 09:46:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 09:46:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 31 10:46:48 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W9AgS-0001Jt-F7 for gctc-ntg-context-518@m.gmane.org; Fri, 31 Jan 2014 10:46:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B594B10203; Fri, 31 Jan 2014 10:46:47 +0100 (CET) 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 8TNbN5Tb0XT3; Fri, 31 Jan 2014 10:46:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A0508101E6; Fri, 31 Jan 2014 10:46:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1FB9101E6 for ; Fri, 31 Jan 2014 10:46:43 +0100 (CET) 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 Rn3fBu39wh4z for ; Fri, 31 Jan 2014 10:46:39 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E7882101E3 for ; Fri, 31 Jan 2014 10:46:28 +0100 (CET) Original-Received: from mx1.uni-trier.de (mx1.uni-trier.de [136.199.224.17]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0V9kRZZ000863 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 31 Jan 2014 10:46:28 +0100 X-IronPort-AV: E=Sophos;i="4.95,756,1384297200"; d="scan'208,217";a="9992172" Original-Received: from rzmail.uni-trier.de ([136.199.8.220]) by mx1i.uni-trier.de with ESMTP; 31 Jan 2014 10:46:27 +0100 Original-Received: from [10.0.62.8] (dslb-084-058-250-198.pools.arcor-ip.net [84.58.250.198]) by rzmail.uni-trier.de (Postfix) with ESMTPA id 1A875405F9 for ; Fri, 31 Jan 2014 10:46:27 +0100 (CET) In-Reply-To: <52EAC2E7.5030800@wxs.nl> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=136.199.224.17; country=DE; region=08; city=Trier; latitude=49.7500; longitude=6.6333; http://maps.google.com/maps?q=49.7500,6.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLkxKrXA - f249211cf3d8 - 20140131 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:86154 Archived-At: --===============1840228524== Content-Type: multipart/alternative; boundary="Apple-Mail=_10E51C60-F37F-43D4-B340-CCA16FC1B6EB" --Apple-Mail=_10E51C60-F37F-43D4-B340-CCA16FC1B6EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Hans, Personally, I find the names used sub-optimal! I would think something like conditionalbreak or conditionalpagebreak would be better and verbose. Other names could be ifpagelength, ifpagelengthstill, leftonpage, or = something similar.=20 I assume you have implemented checkpage as an added layer on top of testpage!=20 At least the test is if X lines left on page or still fit on page! I also have a question. Are the commands setuppagechecker sothat=20 \definepagechecker[whatever] \setuppagechecker[whatever] [lines=3D35, voffset=3D10pt, before=3D{\vfill\wordright{(see next page)}\par}, after=3D\noindentation] and also \checkpage [lines=3D35, voffset=3D10pt, before=3D{\vfill\wordright{(see next page)}\par}, after=3D\noindentation] Question: what is the voffset used for? Line height? If so then a better = name for this would be nice, too! regards Keith. Am 30.01.2014 um 22:23 schrieb Hans Hagen : [snip, snip] > new in beta .... please wikify ... >=20 > \definepagechecker > [whatever] > [lines=3D35, > voffset=3D10pt, > before=3D{\vfill\wordright{(see next page)}\par}, > after=3D\noindentation] >=20 > \setupindenting[yes,9pt,first] >=20 > \starttext > \noindentation > \input knuth\par > \input knuth\par > \noindentation > \input knuth\par > \checkpage[whatever] > \input knuth\par > \input knuth\par > \stoptext >=20 > ... i assume that others (read: Wolfgang) will check if the old = testpage is compatible -) >=20 > Hans >=20 > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_10E51C60-F37F-43D4-B340-CCA16FC1B6EB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hi Hans,

Personally, I find the names used sub-optimal!

I would think something = like conditionalbreak or conditionalpagebreak
would = be better and verbose.

Other names could be ifpagelength, ifpagelengthstill, = leftonpage, or something
similar. 

I assume you have = implemented checkpage as an added layer on top
of = testpage! 

At least the test is if X lines left on page or still fit on = page!

I also = have a question. Are the commands setuppagechecker = sothat 

\definepagechecker[whatever]

\setuppagechecker[whatever]
 [lines=3D35,
  voffset=3D10pt,
  = before=3D{\vfill\wordright{(see next page)}\par},
  = after=3D\noindentation]

and also

\checkpage [lines=3D35,
  = voffset=3D10pt,
  before=3D{\vfill\wordright{(see next = page)}\par},
  = after=3D\noindentation]

Question: what is = the voffset used for? Line height? If so then a better name for = this
would be nice, too!

regards
Keith.

Am 30.01.2014 um 22:23 schrieb Hans = Hagen <pragma@wxs.nl>:
[snip, = snip]
new = in beta .... please wikify ...

\definepagechecker
 [whatever]
 [lines=3D35,
  voffset=3D10pt,  before=3D{\vfill\wordright{(see next = page)}\par},
  after=3D\noindentation]

\setupindenting[yes,9pt,first]
\starttext
   \noindentation
   \input knuth\par
   \input knuth\par
   \noindentation
   \input knuth\par
   \checkpage[whatever]
   \input knuth\par
   \input knuth\par
\stoptext

... i assume that others (read: Wolfgang) will = check if the old testpage is compatible -)

Hans

---------------------------------------------------------------= --
          &nb= sp;            = ;            &= nbsp;     Hans Hagen | PRAGMA ADE
          &nb= sp;  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | voip: 087 875 68 74 = | www.pragma-ade.com
          &nb= sp;            = ;            &= nbsp;        | www.pragma-pod.nl
---------------------------------------------------------------= --
_______________________________________________________________= ____________________
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.sup= elec.fr/projects/contextrev/
wiki =     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_10E51C60-F37F-43D4-B340-CCA16FC1B6EB-- --===============1840228524== 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 ___________________________________________________________________________________ --===============1840228524==--