From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61516 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Room for comment on the backside of form Date: Tue, 7 Sep 2010 15:35:15 +0200 Message-ID: <6B1003A7-6FCA-42B4-8385-C7C84D45D502@gmail.com> References: <87vd6h4u46.fsf@linux-lqcw.site> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283866543 17738 80.91.229.12 (7 Sep 2010 13:35:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 13:35:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 07 15:35:40 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OsyKq-0004fm-JS for gctc-ntg-context-518@m.gmane.org; Tue, 07 Sep 2010 15:35:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE92ECA696; Tue, 7 Sep 2010 15:35:35 +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 5yvYHCmtkmDW; Tue, 7 Sep 2010 15:35:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32437CA68C; Tue, 7 Sep 2010 15:35:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD27BCA68C for ; Tue, 7 Sep 2010 15:35:31 +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 CtaNHNYoU2+s for ; Tue, 7 Sep 2010 15:35:20 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 92206CA687 for ; Tue, 7 Sep 2010 15:35:20 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o87DZJsU025518 for ; Tue, 7 Sep 2010 15:35:20 +0200 Original-Received: by fxm3 with SMTP id 3so3700554fxm.14 for ; Tue, 07 Sep 2010 06:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=PEZH5E6RYqSlgRv4sxkr8pzIunPhIgXNWIeMCUZ8WII=; b=cqaj6YbohuyobQWanM8BZhStoE14RIR4yNpI85XrOlE6G7lCOAyuTBszgen/B4zFM/ SzKkpZlWXGqv8xVH1UAYeNx8ngIuCLPx4FA3HWiaGb4l+hy2cqT7S8UkLXXo++uBFFEN Yc4QPJcpipMRJMvXIq2pi2prUmHKwXqH8i87M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=SXeTCfsuMTUbd0mp8zEQQ/rnnt1tYPW+1FowtEw4PjNeyTkUXDsR5GUEt0NLtH1dEG eVKWKBUTpc21MuhW7W5wSNIWjcl9oRL6/+XYTPp7fLE+IwNnstaXTU/8ZkpJmSj6Dqd0 epDWgKwLMjZS0e9xj801FUgtoRVFZEZBzmzts= Original-Received: by 10.223.126.19 with SMTP id a19mr4139709fas.88.1283866519341; Tue, 07 Sep 2010 06:35:19 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2955A1.dip.t-dialin.net [91.41.85.161]) by mx.google.com with ESMTPS id r4sm2811272faa.19.2010.09.07.06.35.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Sep 2010 06:35:18 -0700 (PDT) In-Reply-To: <87vd6h4u46.fsf@linux-lqcw.site> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04D3Nzjxm - 8cafe715286a - 20100907 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61516 Archived-At: Am 07.09.2010 um 14:26 schrieb Cecil Westerhof: > I am still trying to make a useful environment for paper feedback > forms. One thing I am trying to do now, is to but lines on the back > for when someone needs more space to give the feedback. For this I > made the following macro: > \def\PageWithComment[#1]{ > \page > #1 > \crlf\crlf > \thinrules[n=35,inbetween=\vskip1.5ex] > \page > } > > There are several needed optimisations. > For starters the number of lines is hard coded. Is there a way to > calculate them? \def\PageWithComment[#1]% {\page #1 \blank[2*line] \getnoflines{\dimexpr\pagegoal-\pagetotal-3\lineheight\relax} \thinrules[n=\noflines] \page} %\showframe \starttext \PageWithComment[Room for extra comments] \PageWithComment[\input knuth ] \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________