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 Pr
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}
Marco
signature.asc
Description: Digital signature
___
If y
Hi,
I am trying to use a homemade command to display chapter heads but I
systematically get the following error:
! Argument of \ChapterHead has an extra }.
Here is my minimal example
\def\ChapterHead#1#2{#1 --- #2}
\setuphead[chapter][command=\ChapterHead]
\starttext
\chapter{Hello}
Some text