ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
Subject: Re: font switches, tables, and grouping
Date: Wed, 04 Oct 2006 20:04:44 -0600	[thread overview]
Message-ID: <op.tgxep6tknx1yh1@ihamid.libarts.colostate.edu> (raw)
In-Reply-To: <Pine.WNT.4.63.0610041957490.3328@nqvgln>

Hi Aditya,

On Wed, 04 Oct 2006 18:02:42 -0600, Aditya Mahajan <adityam@umich.edu>  
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/

  reply	other threads:[~2006-10-05  2:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-04 16:21 Idris Samawi Hamid
2006-10-05  0:02 ` Aditya Mahajan
2006-10-05  2:04   ` Idris Samawi Hamid [this message]
2006-10-05 17:01     ` Idris Samawi Hamid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tgxep6tknx1yh1@ihamid.libarts.colostate.edu \
    --to=ishamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).