From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61519 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Room for comment on the backside of form Date: Tue, 07 Sep 2010 17:03:34 +0200 Message-ID: <87hbi1wq7t.fsf@linux-lqcw.site> References: <87vd6h4u46.fsf@linux-lqcw.site> <6B1003A7-6FCA-42B4-8385-C7C84D45D502@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283871839 11130 80.91.229.12 (7 Sep 2010 15:03:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 15:03:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 07 17:03:53 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 1OsziA-0008Ba-4l for gctc-ntg-context-518@m.gmane.org; Tue, 07 Sep 2010 17:03:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A766CA6A4; Tue, 7 Sep 2010 17:03:49 +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 UvVDbffvoEuH; Tue, 7 Sep 2010 17:03:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01691CA695; Tue, 7 Sep 2010 17:03:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A534ACA695 for ; Tue, 7 Sep 2010 17:03:40 +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 UFaoH74qmMsW for ; Tue, 7 Sep 2010 17:03:38 +0200 (CEST) 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 01F10CA593 for ; Tue, 7 Sep 2010 17:03:37 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o87F3bxL009032 for ; Tue, 7 Sep 2010 17:03:37 +0200 Original-Received: by ewy28 with SMTP id 28so3150604ewy.14 for ; Tue, 07 Sep 2010 08:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=ZtbAbEdDRGO6BpPkINYc1VlhTYYStU/paYmIFyZSQqY=; b=QMgp6hQ4jEoDXSsJhi6kQcgYoxCRtWoTTzIDfJtBCw2enDX0Aw3RNi6Nsc7tGYkhvN bTYv+5Th/iO6XYSM6rm7IHoenk9uAoAybjdOIrOzozssfidjtSe82+wc8bNrFeeIo2B9 b+wV4XRNP0GauhxJ1UJo4m6EQvDCn6MvJqUW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; b=r8pGrrsNj9ocRPJHejqR6rhH2Woe6C457ruF1F+RsaMgLMznorf35dKV57ec6y6Qwt 47ngXsithbCoE7B+SG5cq+l2aqjW1OmeLjoMvOBY5ZRryzg39IpUzcjh1dxYXtIidWJ9 as3za2B1xvdcNAi5q0o4zEwtP4oNsHolTxqic= Original-Received: by 10.216.174.69 with SMTP id w47mr5161202wel.25.1283871816939; Tue, 07 Sep 2010 08:03:36 -0700 (PDT) Original-Received: from linux-lqcw.site (84-53-123-169.wxdsl.nl [84.53.123.169]) by mx.google.com with ESMTPS id o49sm4229928wej.19.2010.09.07.08.03.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Sep 2010 08:03:35 -0700 (PDT) In-Reply-To: <6B1003A7-6FCA-42B4-8385-C7C84D45D502@gmail.com> (Wolfgang Schuster's message of "Tue, 7 Sep 2010 15:35:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0bD3P3BDD - d47e48b8e9b7 - 20100907 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61519 Archived-At: Op dinsdag 7 sep 2010 15:35 CEST schreef Wolfgang Schuster: >> 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} I tried something like that, but that generated 32 pages. Had properly to do with the inbetween. I changed it to: \def\PageWithComment[#1]{ \page #1 \blank {\switchtobodyfont[2.3em] \getnoflines{\dimexpr\pagegoal-\pagetotal-3\lineheight\relax} \thinrules[n=\noflines] } \page} For the inbetween by thinrules I use 1.4em, but to get the same space I need to use here 2.3em. Do not know why. -- Cecil Westerhof M CLDWesterhof@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________