ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: description fails on \if
Date: Thu, 27 Mar 2008 08:37:22 +0100	[thread overview]
Message-ID: <115224fb0803270037u76ed672cl517b8ed2e08acae6@mail.gmail.com> (raw)
In-Reply-To: <A50DBE0D-027B-4C9C-B8EF-114BB795ACA2@science.uva.nl>

On Wed, Mar 26, 2008 at 9:23 PM, Hans van der Meer <hansm@science.uva.nl> wrote:
> 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.

You could also add "title=no" to \definedescription[answerblock], this stops
TeX from looking after a optional argument between the braces.

> 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?

I tried your module also with my ancient ConTeXt from august last year
and it did also show this effect. Your module is broken since a very long time.

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2008-03-27  7:37 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
2008-03-26 21:52     ` Hans Hagen
2008-03-27  7:37     ` Wolfgang Schuster [this message]
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=115224fb0803270037u76ed672cl517b8ed2e08acae6@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).