From: Hans van der Meer <hansm@science.uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: description fails on \if
Date: Wed, 26 Mar 2008 21:23:37 +0100 [thread overview]
Message-ID: <A50DBE0D-027B-4C9C-B8EF-114BB795ACA2@science.uva.nl> (raw)
In-Reply-To: <115224fb0803260032s54798150y3a2b7fb6ca2d1d6e@mail.gmail.com>
Wolfgang,
From your observation I am inclined to guess that the \ifx falls prey
to the collection of arguments. The \relax can be replaced by an extra
pair {} behind the description: \answerblock{}{}% also typesets
without the if-error.
I more or less conclude that the lookahead from \dodoublegroupempty
does not stop on the \if. If I remember correctly, that behaviour is
to be expected from tex and the prospects for solving it generically
within the format bleak. If Hans Hagen is listening, can he comment on
this?
Hans van der Meer
On 26 mrt 2008, at 08:32, Wolfgang Schuster wrote:
>>
>> Allthough Wolfgang's workaround saves the day, I feel this problem
>> deserves solving inside ConTeXt, not outside it. Someday somewhere
>> another person will stumble on the same problem -- a situation that
>> can and should be avoided, in my view.
>> Therefore I explain the problem here as fully as possible hoping
>> someone knowledgeable with descriptions <<we might need to fall back
>> to Taco or Hans>> will find the best remedy.
>
> I would say the message comes from \dodoublegroupempty in
> \@@description.
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-03-26 20:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-25 19:38 Hans van der Meer
2008-03-26 7:32 ` Wolfgang Schuster
2008-03-26 20:23 ` Hans van der Meer [this message]
2008-03-26 21:52 ` Hans Hagen
2008-03-27 7:37 ` Wolfgang Schuster
2008-03-26 21:51 ` Hans Hagen
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=A50DBE0D-027B-4C9C-B8EF-114BB795ACA2@science.uva.nl \
--to=hansm@science.uva.nl \
--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).