From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46336 Path: news.gmane.org!not-for-mail From: "Bart C. Wise" Newsgroups: gmane.comp.tex.context Subject: Re: Dynamic frame height Date: Mon, 15 Dec 2008 17:45:00 -0700 Message-ID: <200812151745.00916.bntgcontext@wiseguysweb.com> References: <200812151629.40461.bntgcontext@wiseguysweb.com> <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0832390556==" X-Trace: ger.gmane.org 1229388443 8876 80.91.229.12 (16 Dec 2008 00:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 00:47:23 +0000 (UTC) To: Context Mailing List Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 16 01:48:27 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LCO6t-00059z-7R for gctc-ntg-context-518@m.gmane.org; Tue, 16 Dec 2008 01:48:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 198201FB95; Tue, 16 Dec 2008 01:47:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20483-01-4; Tue, 16 Dec 2008 01:45:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BDE61FB82; Tue, 16 Dec 2008 01:45:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BEAAE1FB7F for ; Tue, 16 Dec 2008 01:45:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14646-08-4 for ; Tue, 16 Dec 2008 01:45:06 +0100 (CET) Original-Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by ronja.ntg.nl (Postfix) with ESMTP id C14EE1FB95 for ; Tue, 16 Dec 2008 01:45:05 +0100 (CET) Original-Received: from mx04.mta.xmission.com ([166.70.13.214]) by out02.mta.xmission.com with esmtp (Exim 4.62) (envelope-from ) id 1LCO4V-0000r1-45 for ntg-context@ntg.nl; Mon, 15 Dec 2008 17:45:59 -0700 Original-Received: from bwise.fttp.xmission.com ([166.70.232.60] helo=zeus.localnet) by mx04.mta.xmission.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LCOAH-0004rb-Or for ntg-context@ntg.nl; Mon, 15 Dec 2008 17:51:58 -0700 User-Agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; ) In-Reply-To: <0B3F685D-6424-4F5E-A97B-2CC337ED2F5B@gmail.com> X-XM-SPF: eid=; ; ; mid=; ; ; hst=mx04.mta.xmission.com; ; ; ip=166.70.232.60; ; ; frm=bntgcontext@wiseguysweb.com; ; ; spf=none X-XM-DomainKey: sender_domain=wiseguysweb.com; ; ; sender=bntgcontext@wiseguysweb.com; ; ; status=no signature X-SA-Exim-Connect-IP: 166.70.232.60 X-SA-Exim-Rcpt-To: ntg-context@ntg.nl X-SA-Exim-Mail-From: bntgcontext@wiseguysweb.com X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Context Mailing List X-Spam-Relay-Country: X-SA-Exim-Version: 4.2.1 (built Thu, 07 Dec 2006 04:40:56 +0000) X-SA-Exim-Scanned: Yes (on mx04.mta.xmission.com) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46336 Archived-At: --===============0832390556== Content-Type: multipart/alternative; boundary="Boundary-00=_MovRJVKWvaGhRHD" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_MovRJVKWvaGhRHD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thanks Wolfgang! Bart On Monday 15 December 2008 04:48:03 pm Wolfgang Schuster wrote: > Am 16.12.2008 um 00:29 schrieb Bart C. Wise: > > I'm trying to create a section at the bottom of a page that has a > > number of > > blank lines for writing notes. However, I want the frame and the > > lines to be > > automatically generated from the remaining space on the page. How do I > > control the number of lines and the frame height to achieve the > > desired > > results? > > > > \starttext > > \input tufte > > \blank > > \framed[ > > corner=00 > > ]{ > > \vbox{ > > Notes:\crlf > > \dorecurse{4}{\crlf\thinrule} > > }} > > \stoptext > > Thanks, > > Bart > > %\showframe > > \starttext > > \input tufte > > \blank > > \framed[corner=00,align=right,width=\textwidth] > {\getnoflines{\dimexpr\pagegoal-\pagetotal-2\lineheight\relax}% > Notes:\crlf > \thinrules[n=\noflines]} > > \stoptext > > Wolfgang --Boundary-00=_MovRJVKWvaGhRHD Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit

Thanks Wolfgang!

Bart

On Monday 15 December 2008 04:48:03 pm Wolfgang Schuster wrote:

> Am 16.12.2008 um 00:29 schrieb Bart C. Wise:

> > I'm trying to create a section at the bottom of a page that has a

> > number of

> > blank lines for writing notes. However, I want the frame and the

> > lines to be

> > automatically generated from the remaining space on the page. How do I

> > control the number of lines and the frame height to achieve the

> > desired

> > results?

> >

> > \starttext

> > \input tufte

> > \blank

> > \framed[

> > corner=00

> > ]{

> > \vbox{

> > Notes:\crlf

> > \dorecurse{4}{\crlf\thinrule}

> > }}

> > \stoptext

> > Thanks,

> > Bart

>

> %\showframe

>

> \starttext

>

> \input tufte

>

> \blank

>

> \framed[corner=00,align=right,width=\textwidth]

> {\getnoflines{\dimexpr\pagegoal-\pagetotal-2\lineheight\relax}%

> Notes:\crlf

> \thinrules[n=\noflines]}

>

> \stoptext

>

> Wolfgang

--Boundary-00=_MovRJVKWvaGhRHD-- --===============0832390556== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0832390556==--