From: Jean-Philippe Rey <jean-philippe.rey@ecp.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setuphead command "! Argument of \xxx has an extra }."
Date: Fri, 25 Jan 2013 18:30:46 +0100 [thread overview]
Message-ID: <4EE874EC-06F3-4BB5-AE89-7EE6612CDA8E@ecp.fr> (raw)
In-Reply-To: <20130125160036.GH10044@homerow>
Le 25 janv. 2013 à 17:00, Marco Patzer a écrit :
> On 2013–01–25 Jean-Philippe Rey wrote:
>
>> \def\ChapterHead#1#2{#1 --- #2}
>
> \define[2]\ChapterHead{#1 --- #2}
>
> or
>
> \unexpanded\def\ChapterHead#1#2{#1 --- #2}
It works. Thank you very much.
--
Jean-Philippe Rey Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr 92295 Châtenay-Malabry Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2013-01-25 17:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 15:52 Jean-Philippe Rey
2013-01-25 16:00 ` Marco Patzer
2013-01-25 17:30 ` Jean-Philippe Rey [this message]
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=4EE874EC-06F3-4BB5-AE89-7EE6612CDA8E@ecp.fr \
--to=jean-philippe.rey@ecp.fr \
--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).