From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84243 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: columns vs. paragraphs, and a question about fillinrule Date: Thu, 12 Sep 2013 17:31:44 -0400 Message-ID: <20130912213144.GE23953@darjiling> Reply-To: Pavneet Arora , mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379021514 19875 80.91.229.3 (12 Sep 2013 21:31:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 21:31:54 +0000 (UTC) To: ConTeXt Mailing list Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 12 23:31:58 2013 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 1VKEUW-0006oy-Vm for gctc-ntg-context-518@m.gmane.org; Thu, 12 Sep 2013 23:31:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2251E101FB; Thu, 12 Sep 2013 23:30:10 +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 6Gze95lEjtU5; Thu, 12 Sep 2013 23:30:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 86777101EC; Thu, 12 Sep 2013 23:30:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B38FE101EC for ; Thu, 12 Sep 2013 23:30:07 +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 ukDX5lTygb1D for ; Thu, 12 Sep 2013 23:30:05 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id ABE62101EB for ; Thu, 12 Sep 2013 23:30:05 +0200 (CEST) Original-Received: from charkha.pavastupa.com (teresa.yourinstantserver.com [173.230.253.20] (may be forged)) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8CLVnRM003580 for ; Thu, 12 Sep 2013 23:31:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by charkha.pavastupa.com (Postfix) with ESMTP id 5140186C2AA for ; Thu, 12 Sep 2013 17:33:52 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at charkha.pavastupa.com Original-Received: from charkha.pavastupa.com ([127.0.0.1]) by localhost (charkha.pavastupa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id evmG3qi+Gdaq for ; Thu, 12 Sep 2013 17:33:49 -0400 (EDT) Original-Received: from pavastupa.com (unknown [64.229.122.233]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: pavneet_arora@pavastupa.com) by charkha.pavastupa.com (Postfix) with ESMTPSA id C54AB86C253 for ; Thu, 12 Sep 2013 17:33:48 -0400 (EDT) Content-Disposition: inline X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=173.230.253.20; country=US; region=MI; city=Dearborn; postalcode=48124; latitude=42.3027; longitude=-83.2456; metrocode=505; areacode=313; http://maps.google.com/maps?q=42.3027,-83.2456&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKolvOPO - ea77f48c02eb - 20130912 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:84243 Archived-At: As part of this legal document set that I have been working to put together, I needed side-by-side text. Looking at the wiki, I noticed that there are at least 3 methods: columns, paragraphs, columnsets. I only attempted two, but they seem to have quite different results. I understood that columns were for simple cases. However, in my MWE below, the \column command breaks the "columns" in unusual way. One can also swap out the order of the paragraphs and columns methods; the results are similar. Also, one can adjust the dorecurse command with additional lorems to see where the "columns" land on the page. Again results are similar. Any suggestions? Another question: I am trying to have the numbers in the \fillinrule command to be hanging so that the rules are lined up. Is this possible, and if so how best to do it? advTHANKSance. MWE: \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,height=9.5in,backspace=1.25in,width=6in] \setuppagenumbering[location=] \usemodule[simplefonts] \setmainfont[gentiumalt] \setupbodyfont[11pt] \setupinterlinespace[line=3.2ex] \setupwhitespace[big] \starttext \startalignment[middle] {\tfc AN IMPORTANT LEGAL DOCUMENT} \stopalignment \blank[2*big] \dorecurse{1}{\input lorem\par} \blank[2*big] {\tt paragraphs} method: \defineparagraphs[mypar][n=3,before={\blank},after={\blank}] \setupparagraphs[mypar][1][width=.5\textwidth] \setupparagraphs[mypar][2][width=.1\textwidth] \setupparagraphs[mypar][3][width=.4\textwidth] \startmypar WITNESSES: \fillinrules[n=3,interlinespace=small,width=broad,separator=]{1.} \fillinrules[n=3,interlinespace=small,width=broad,separator=]{2.} \mypar \mypar (TESTATOR)\crlf Ms. B.E. Def\crlf \stopmypar {\tt columns} method: \startcolumns[n=2] WITNESSES: \fillinrules[n=3,interlinespace=small,width=broad,separator=]{1.} \fillinrules[n=3,interlinespace=small,width=broad,separator=]{2.} \column (TESTATOR)\crlf Mr. B.E. Def\crlf \stopcolumns \stoptext -- ---- Pavneet Arora m: 647.406.6843 Waroc Informatik t: 416.937.9276 ___________________________________________________________________________________ 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 ___________________________________________________________________________________