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
At 07:52 PM 11/13/2002 +0100, you wrote:
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
strange, can you send me a small test file? Also, try to say \let\localkoprefix\empty at the top of your file Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
At 07:52 PM 11/13/2002 +0100, you wrote:
Hi everybody,
Preparing a document with a adapted header and TOC layout I encountered
Hi Hans,
I tried to insert the \let\localkopprefix\empty at the beginning of the
file.
Compiling did not result in an error. However, the headers are not prefixed.
?-)
Please find attached my testfile
Cheers Willi
----- Original Message -----
From: "Hans Hagen"
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
strange, can you send me a small test file?
Also, try to say \let\localkoprefix\empty at the top of your file
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
At 07:04 PM 11/14/2002 +0100, you wrote:
Hi Hans,
I tried to insert the \let\localkopprefix\empty at the beginning of the file. Compiling did not result in an error. However, the headers are not prefixed. ?-)
prefixing has to do with referencing, it's labels that you have to look for -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
I tried to insert the \let\localkopprefix\empty at the beginning of the file. Compiling did not result in an error. However, the headers are not
----- Original Message -----
From: "Hans Hagen"
?-)
prefixing has to do with referencing, it's labels that you have to look for -)
Do not understand quite wel this statement. - I will look into it. Referencing my first mail on this subject: 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? Cheers Willi
participants (2)
-
Hans Hagen
-
Willi Egger