From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27638 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Simple problem with quotation paragraph Date: Thu, 4 May 2006 13:34:07 -0400 (EDT) Message-ID: References: <21245.159.46.248.233.1146737316.squirrel@mail.rna.nl> 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 1146764078 2736 80.91.229.2 (4 May 2006 17:34:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 May 2006 17:34:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 04 19:34:28 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 1FbhiU-00067A-8F for gctc-ntg-context-518@m.gmane.org; Thu, 04 May 2006 19:34:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87250127C0; Thu, 4 May 2006 19:34:17 +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 00832-03; Thu, 4 May 2006 19:34:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 571A3127B8; Thu, 4 May 2006 19:34:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6FDC4127B8 for ; Thu, 4 May 2006 19:34:10 +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 00759-06 for ; Thu, 4 May 2006 19:34:09 +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 A4D6612783 for ; Thu, 4 May 2006 19:34:08 +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 445A3B0D.759F6.6513 ; 4 May 2006 13:34:06 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <21245.159.46.248.233.1146737316.squirrel@mail.rna.nl> 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:27638 Archived-At: On Thu, 4 May 2006, Gerben Wierda wrote: > I am having a simple problem I can't solve by reading the manuals. > > I want to quote a fragment of a book which contains amongst others a > discussion (Plato's Protagoras to be precise). Normally, my book has no > whitespace between paragraphs and small indentation, but here I want a > small amount of whitespace between paragraphs and also narrower. I'd like > to setup some form of quotation paragraph style to use. I started out with > \startquotation but I do not want quotes, so now I use startnarrower, but > what I need is a paragraph style. Maybe another font (1pt smaller) is nice > too. And noindenting while the rest of the book uses indenting. > > What I would like to do is something like > > \startBookQuote > \stopBookQuote > > and on the inside I get a small whitespace between paragraphs, no > indentation, a smaller font and a narrower textwidth. > > My last try was: > > \defineparagraphs[BookQuote][n=1,before={\indenting[never]\whitespace\startnarrower},after={\indenting[yes]\nowhitespace\stopnarrower}] \startstop narrower form a group, so \indenting[yes] and \nowhitespace have no effect. You should change the order of those with stopnarrow. > in my environment file, but that gave me page breaks as soon as > \startBookQuote was given and the quotes themselves do not receive page > breaks, hence a quote more than one page (I have a few) ends up being a > column of one page but just running from the page. > > So, it seems \defineparagraphs is out, because I do not get page breaks > inside the quote. But what should I do? Does this work? \definestartstop [BookQuote] [before={\startnarrower\whitespace\setupindenting[no]\tfx}, after={\stopnarrower}] I am using \tfx for a smaller font, but you can define your own for getting something 1pt smaller. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008