From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27639 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Simple problem with quotation paragraph Date: Thu, 04 May 2006 20:04:47 +0200 Message-ID: <445A423F.1060605@gmx.net> 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: multipart/mixed; boundary="------------080108080004030709020207" X-Trace: sea.gmane.org 1146765924 9406 80.91.229.2 (4 May 2006 18:05:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 May 2006 18:05:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 04 20:05:22 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 1FbiCV-0003WO-TO for gctc-ntg-context-518@m.gmane.org; Thu, 04 May 2006 20:05:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59742127C3; Thu, 4 May 2006 20:05:19 +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 01730-04; Thu, 4 May 2006 20:05:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EDE79127BA; Thu, 4 May 2006 20:05:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE455127BA for ; Thu, 4 May 2006 20:05:11 +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-08 for ; Thu, 4 May 2006 20:05:08 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 9134C127B7 for ; Thu, 4 May 2006 20:05:08 +0200 (CEST) Original-Received: (qmail invoked by alias); 04 May 2006 18:05:07 -0000 Original-Received: from i577BA849.versanet.de (EHLO [192.168.1.3]) [87.123.168.73] by mail.gmx.net (mp004) with SMTP; 04 May 2006 20:05:07 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Original-To: mailing list for ConTeXt users In-Reply-To: <21245.159.46.248.233.1146737316.squirrel@mail.rna.nl> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 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:27639 Archived-At: This is a multi-part message in MIME format. --------------080108080004030709020207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Gerben, here is a solution that works with a local layout. For sure there are better ways to reach your desired style, but I have no experience with this stuff. Greets, Peter 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}] > > 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? > > Thanks in advance, > > G > > PS. any sight on a decent ConTeXt book, btw? The manuals and wiki seldomly > give me answers that work for me and often I find ConTeXt rather > counterintuitive, e.g. setupparagraphs for something that is a > table/column kind of thing, or confusing (\define vs \setup vs rest) > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > --------------080108080004030709020207 Content-Type: text/plain; name="gerben.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gerben.tex" % interface=en output=pdftex % Time-stamp: % \setupindenting[medium,yes] \starttext \dorecurse{5}{\input knuth\par\relax} \start % here starts something..... % local definitions (layout/font stuff,...) \startlocal \setupwhitespace[medium] \setupindenting[none] \switchtobodyfont[10pt] %\setuplayout[] \stoplocal % the content between \stoplocal and the final \stop % is shown in the local layout \startnarrower \dorecurse{5}{\input dawkins\relax\par} \stopnarrower \stop % .....and here it ends \dorecurse{5}{\input ward\par\relax} \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: "" %%% End: --------------080108080004030709020207 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------080108080004030709020207--