From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19185 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Two problems with my chapter quote setup Date: Sat, 19 Mar 2005 20:42:49 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1111261275 10895 80.91.229.2 (19 Mar 2005 19:41:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2005 19:41:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 20:41:15 2005 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 1DCjoo-0000Zq-A8 for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2005 20:41:06 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 758581287C; Sat, 19 Mar 2005 20:42:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05365-04-3; Sat, 19 Mar 2005 20:42:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0CC4128A0; Sat, 19 Mar 2005 20:42:54 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B3901128A0 for ; Sat, 19 Mar 2005 20:42:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05365-04-2 for ; Sat, 19 Mar 2005 20:42:51 +0100 (CET) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with ESMTP id F00251287C for ; Sat, 19 Mar 2005 20:42:51 +0100 (CET) Original-Received: from ii2.demon.nl ([82.161.98.36]:12406 helo=mail.rna.nl) by post-23.mail.nl.demon.net with esmtp (Exim 4.43) id 1DCjqV-000J4S-S6 for ntg-context@ntg.nl; Sat, 19 Mar 2005 19:42:51 +0000 Original-Received: from [192.168.2.87] (hermione-a.rna.nl [192.168.2.87]) by mail.rna.nl (Postfix) with ESMTP id 8F6947A153 for ; Sat, 19 Mar 2005 20:42:47 +0100 (CET) Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19185 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19185 I've got this in my environment file: \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \def\ChQuoteFormat#1{\starttext% \startalignment[left]% \startnarrower[4*left] \noindent{\hyphenpenalty 10000\em #1}% \stopnarrower\stopalignment\stoptext\blank} \setuphead[chapter] [page=3Dleft, before=3D{\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines% \page[right]\blank[2*big]}, after=3D{\ClearChapterQuote\blank[3*big]}% \noheaderandfooterlines] I've got two problems with this setup: First, even with the \hyphenpenalty I get this line breaking: For what can a man accomplish that has not been done a million times before? What can he say that he will not find in Lao-Tse or the Bhagavad-gita or the Prophet Isa- iah? John Steinbeck =97 Sweet Thursday (Interestingly, when I copy/paste this from Apple's Preview.app I get For what can a man accomplish that has not been done a million times=20 before? What can he say that he will not find in Lao-Tse or the=20 Bhagavad-gita or the Prophet Isaiah? John Steinbeck =97 Sweet Thursday) no -, no line break, etc. Anyway: this line breaking is really ugly. I=20= can fix this by hand, but I'd rather have this working automatically. My second problem is that I get two empty numbered pages between=20 chapters. As in page 13: last text of chapter 1 page 14: empty page with page number page 15: empty page with page number page 16: page with quote and no page number page 17: first page of chapter 2 no page number I'd like to get rid of pages 14 and 15. I think I need to only do a=20 page=3Dleft when I am on a right page at that time (page=3Deven has the=20= same result) Thanks, G=