From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42872 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: problem with \appendtoks \to\everypar Date: Wed, 30 Jul 2008 22:25:03 +0200 Message-ID: <4890CE1F.80005@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217449664 10672 80.91.229.12 (30 Jul 2008 20:27:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 20:27:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 30 22:28:34 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KOIGm-0006Ng-Te for gctc-ntg-context-518@m.gmane.org; Wed, 30 Jul 2008 22:27:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 941081FBB8; Wed, 30 Jul 2008 22:26:39 +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 13832-01-5; Wed, 30 Jul 2008 22:26:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FBF11FB7F; Wed, 30 Jul 2008 22:25:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A85E1FB5A for ; Wed, 30 Jul 2008 22:25:49 +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 10560-03-5 for ; Wed, 30 Jul 2008 22:25:09 +0200 (CEST) Original-Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by ronja.ntg.nl (Postfix) with ESMTP id 0B3461FBD4 for ; Wed, 30 Jul 2008 22:25:09 +0200 (CEST) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id m6UKP3M9084839 for ; Wed, 30 Jul 2008 22:25:09 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42872 Archived-At: Steffen Wolfrum wrote: > Hi, > > > There is no hangover for italics. Please have a look: This is a typical TeX gotcha. Don't start a paragraph with a group, because the \everypar will be executed within the group. The problem is not the italics but the { . > > > \starttext > \def\hangover{\hangafter=1\hangindent=1em} > > \definestartstop[hangingarea] > [before={\bgroup\appendtoks\hangover\to\everypar}, > after=\egroup] > > \starthangingarea > \input tufte Do this: \leavevmode {\it italic} text roman test text roman test text roman test text > roman test text roman test text roman test text roman test text roman > test text roman test text > \stophangingarea Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________