From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9832 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: \setuplist[] Date: Wed, 13 Nov 2002 19:52:18 +0100 Organization: Boede Sender: ntg-context-admin@ref.ntg.nl Message-ID: <000401c28b4f$3a8d6f20$0700a8c0@vademecum> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0009_01C28B4E.2BF2AF30" X-Trace: main.gmane.org 1037217536 9448 80.91.224.249 (13 Nov 2002 19:58:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2002 19:58:56 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18C3f3-0002SD-00 for ; Wed, 13 Nov 2002 20:58:53 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id F31C410AEA; Wed, 13 Nov 2002 21:00:34 +0100 (MET) Original-Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by ref.ntg.nl (Postfix) with ESMTP id C750910AE6 for ; Wed, 13 Nov 2002 20:59:51 +0100 (MET) Original-Received: from vademecum (a194-109-184-234.dial.xs4all.nl [194.109.184.234]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with SMTP id gADJxdEa084076 for ; Wed, 13 Nov 2002 20:59:50 +0100 (CET) Original-To: "ntg-context" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9832 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9832 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C28B4E.2BF2AF30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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. \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 ------=_NextPart_000_0009_01C28B4E.2BF2AF30 Content-Type: application/octet-stream; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.tex" \setupoutput[pdftex] \setupbodyfont[ss,12pt] \def\Gedichthead#1% {Gedicht\ {#1}} %\setuphead[section][command=\Gedichthead] \setuphead[section][prefix=Gedicht] \setuplist[section][left=Ged.~,right=] \starttext Inhoud: \blank \placecontent \blank[5*big] \section{Spaanse versie} \startnarrower[left] \startlines Las pe\~{n}as y las vaquitas Se van por la misma senda. Las pe\~{n}as son de nosotros, Las vaquitas son ajenas. \blank[small] \quad Eugenio Coserius \stoplines \stopnarrower \section{Duitse versie} \startnarrower[left] \startlines Die Sorgen und die K\"uhe Auf demselben Pfad wandern. Die Sorgen sind die unseren, Die K\"uhe die der andern. \blank[small] \quad Eugenio Coserius \stoplines \stopnarrower \stoptext %\setupcombinedlist[content][left=Art.~,right=,pagenumber=no] ------=_NextPart_000_0009_01C28B4E.2BF2AF30--