From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30461 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: typesetting verse? Date: Wed, 23 Aug 2006 18:38:26 -0400 (EDT) Message-ID: References: <221cc89e0608222039p4132b4f0jb81c3713be4a59f0@mail.gmail.com> <221cc89e0608231535p624e2394nee8703a037ba1420@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156372746 9428 80.91.229.2 (23 Aug 2006 22:39:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 22:39:06 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 24 00:39:02 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GG1N7-00061I-4N for gctc-ntg-context-518@m.gmane.org; Thu, 24 Aug 2006 00:38:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 882311FE96; Thu, 24 Aug 2006 00:38:52 +0200 (CEST) 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 24637-01-3; Thu, 24 Aug 2006 00:38:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B0D71FE81; Thu, 24 Aug 2006 00:38:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A47751FE81 for ; Thu, 24 Aug 2006 00:38:41 +0200 (CEST) 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 24637-01-2 for ; Thu, 24 Aug 2006 00:38:30 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with SMTP id E517A1FE77 for ; Thu, 24 Aug 2006 00:38:29 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hellskitchen.mr.itd.umich.edu ID 44ECD8E2.D59F4.7059 ; 23 Aug 2006 18:38:28 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <221cc89e0608231535p624e2394nee8703a037ba1420@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30461 Archived-At: On Wed, 23 Aug 2006, Derek Schmidt wrote: > Aditya, > > With the first group of code, I get "indenting=yes" actually appearing > in there; yet the lines aren't indented or closer together > (vertically). I removed the '%' but that didn't seem to make a > difference. Sorry, that should have been \setuplines[indenting=yes]. Have a look at the code posted by Hans sometime back. Aditya > On 8/23/06, Aditya Mahajan wrote: >> On Tue, 22 Aug 2006, Derek Schmidt wrote: >> >>> Hi, >>> >>> Another simple question--have at it! >>> >>> I'd like to typeset some poetry. It should be >> >>> indented, >> >> \startnarrower .... \stopnarrower >> >>> obey lines, >> >> \startlines ... \stoplines (it is more customizable than \obeylines) >> >> You can actually say >> >> \setupindenting[medium] \startlines[indenting=yes] (other options are >> no, yes, odd, even) and see which one you like. >> >>> and the lines should be close together, not like separate paragraphs. >> >> \setupinterlinespace[line=2em] .... \endgraf (default is 2.4 em) >> >>> So far I've got >>> >>> \definestartstop[verse][commands=\obeylines] >> >> So you can try >> >> \def\startverse% >> {\bgroup >> \setupinterlinespace[line=2em] >> \startlines[indenting=yes]} >> >> \def\stopverse% >> {\stoplines >> \endgraf\egroup} >> >> >> You could have also done the equivalent >> >> \definestartstop[verse][before={\setupinterlinespace[line=2em]\startlines}, >> after={\stoplines\endgraf}] >> >> Aditya >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008