From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31214 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: font switches, tables, and grouping Date: Wed, 04 Oct 2006 20:04:44 -0600 Organization: Colorado State University Message-ID: References: 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 1160014128 17885 80.91.229.2 (5 Oct 2006 02:08:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2006 02:08:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 05 04:08:45 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 1GVIc1-0006Hm-O6 for gctc-ntg-context-518@m.gmane.org; Thu, 05 Oct 2006 04:05:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CCE6A1FEA0; Thu, 5 Oct 2006 04:05: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 16626-03; Thu, 5 Oct 2006 04:05:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E333A1FE3A; Thu, 5 Oct 2006 04:05:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 566421FE3A for ; Thu, 5 Oct 2006 04:05:08 +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 16638-02 for ; Thu, 5 Oct 2006 04:04:52 +0200 (CEST) Original-Received: from parker.ACNS.ColoState.EDU (parker.acns.colostate.edu [129.82.100.125]) by ronja.ntg.nl (Postfix) with SMTP id 461561FE38 for ; Thu, 5 Oct 2006 04:04:49 +0200 (CEST) Original-Received: from lamar.ColoState.EDU (lamar.acns.colostate.edu [129.82.100.75]) by parker.ACNS.ColoState.EDU (AIX5.3/8.11.6p2/8.11.0) with ESMTP id k9524j71823034 for ; Wed, 4 Oct 2006 20:04:45 -0600 Original-Received: from ihamid.libarts.colostate.edu (ihamid.libarts.colostate.edu [129.82.187.69]) by lamar.ColoState.EDU (AIX5.2/8.11.6p2/8.11.0) with ESMTP id k9524jr3059938 for ; Wed, 4 Oct 2006 20:04:45 -0600 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera Mail/9.01 (Win32) 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:31214 Archived-At: Hi Aditya, On Wed, 04 Oct 2006 18:02:42 -0600, Aditya Mahajan wrote: > On Wed, 4 Oct 2006, Idris Samawi Hamid wrote: > >> Dear consortium, >> >> font switches do not obey grouping when \start-stoptable is invoked: >> >> =============================== >> Some text >> >> \start\it >> \starttable[|l|l|] >> \NC 2001 \NC Fall \NC\SR >> \stoptable >> \stop >> >> Some text >> =============================== >> >> The second `Some text' comes out italicized. What is happening here and >> how do I fix it? > > This works fine here using > ConTeXt ver: 2006.10.02 09:56 MK II fmt: 2006.10.2 > > \start .. \stop are defined as > > \let\simplestart\bgroup > \let\simplestop \egroup > > So the only way \it will move across the \stop is if \stoptable is > missing a \egroup. But then tex should complain about missing end > group, something like > > (\end occurred inside a group at level 1) > > ### simple group (level 1) entered at line 4 ({) > ### bottom level > > Does your log file say this? Yes, and I think I found the culprit: ==================================== \setuptables[split=yes] \starttext Some text \start\it \starttable[|l|l|] \NC 2001 \NC Fall \NC\SR \stoptable \stop Some text \stoptext ==================================== If you comment out \setuptables[split=yes] it works fine. So there is/was (ConTeXt ver: 2006.08.16) most likely a bug in the splitting mechanism. I'll try the latest beta later and report back. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/