From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32022 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Bug with \quotation ? Date: Sun, 03 Dec 2006 15:03:07 +0100 Message-ID: <4572D91B.3040506@elvenkind.com> References: <725B1506-A3B1-4880-9CC6-63D7D1DEF630@uni-bonn.de> 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 1165154616 17643 80.91.229.2 (3 Dec 2006 14:03:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2006 14:03:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 03 15:03:33 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 1GqrwB-0006WG-Vb for gctc-ntg-context-518@m.gmane.org; Sun, 03 Dec 2006 15:03:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1CB01FB30; Sun, 3 Dec 2006 15:00:58 +0100 (CET) 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 17745-05; Sun, 3 Dec 2006 15:00:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 418521FB2D; Sun, 3 Dec 2006 15:00:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 937CF1FB30 for ; Sun, 3 Dec 2006 15:00:50 +0100 (CET) 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 18223-02-2 for ; Sun, 3 Dec 2006 15:00:47 +0100 (CET) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with SMTP id 3B74F1FB27 for ; Sun, 3 Dec 2006 15:00:47 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:48830 helo=[10.10.0.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1Gqrvy-000Mkf-8c for ntg-context@ntg.nl; Sun, 03 Dec 2006 14:03:10 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <725B1506-A3B1-4880-9CC6-63D7D1DEF630@uni-bonn.de> 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:32022 Archived-At: Thomas A. Schmitz wrote: > Hi all, > > there seems to be a bug with the \quotation command: ConTeXt doesn't > break the line after the closing quotes it generates. Here's a small > test file showing the problem (hope the utf-encoding makes it through > the mail): ... > > I tried reading core-mis.tex, but wasn't able to find where this > behavior comes from. This is tricky: at the end of the quoted material, the sequence is \penalty10000 \hskip\delimitedtextsignal And that sequence does not actually allow a line break (thanks to the \penalty10000). A number of low-level hacks is possible, but I am not sure which one is best. Something like this redefinition works (the penalty is new): \definedelimitedtext [quotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\penalty0 }, leftmargin=standard] Best, Taco