Hi everybody,

Preparing a document with a adapted header and TOC layout I encountered the
following problem:

\setuphead[section][prefix=Gedicht] generates the following error:

pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2c 7.3.7x)
(format=cont-en 2002.10.20)
ConTeXt  ver: 2002.10.2  fmt: 2002.10.20  int: english  mes: english
...
section        : 1 Spaanse versie
! Undefined control sequence.
<argument> \localkopprefix

\setupreferenceprefix [#1]->\edef \@@rfprefix {#1
                                                 }\ifx \@@rfprefix \empty
\l...

\dodododosomekop ...renceprefix [\localkopprefix ]
                                                  \fi \dosomebreak \nobreak
...
l.22 \section{Spaanse versie}

Using \def\Gedichthead%... and
\setuphead[section][command=\Gedichthead]
works fine.

What is wrong with using the prefix operator?


In the document also the TOC should be adapted:

\setuplist[section][left=Ged.~,right=]

There is no error on this statement. However the prefix of the line with
'Ged.' does not show.

May be that I miss something in this approach?

Please find attached a minimal test file.

Cheers Willi

Attachment: test.tex
Description: Binary data

Reply via email to