From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9852 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: Re: \setuplist[] Date: Thu, 14 Nov 2002 19:04:30 +0100 Organization: Boede Sender: ntg-context-admin@ntg.nl Message-ID: <000801c28c22$e8e9fa60$0700a8c0@vademecum> References: <5.1.0.14.1.20021114010521.02c456a8@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0017_01C28C10.A8EFAC00" X-Trace: main.gmane.org 1037308488 21165 80.91.224.249 (14 Nov 2002 21:14:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 21:14:48 +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 18CRK3-0005VE-00 for ; Thu, 14 Nov 2002 22:14:47 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 615F610AE9; Thu, 14 Nov 2002 22:16:31 +0100 (MET) Original-Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by ref.ntg.nl (Postfix) with ESMTP id EFB0510AE6 for ; Thu, 14 Nov 2002 22:15:03 +0100 (MET) Original-Received: from vademecum (a194-109-191-142.dial.xs4all.nl [194.109.191.142]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with SMTP id gAELEtmA020924 for ; Thu, 14 Nov 2002 22:15:03 +0100 (CET) Original-To: 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@ntg.nl X-BeenThere: ntg-context@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:9852 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9852 This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C28C10.A8EFAC00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: Sent: Thursday, November 14, 2002 1:06 AM Subject: Re: [NTG-context] \setuplist[] > 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. > > \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 > > ------=_NextPart_000_0017_01C28C10.A8EFAC00 Content-Type: application/octet-stream; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.tex" \setupoutput[pdftex] \setupbodyfont[ss,12pt] \let\localkopprefix\empty \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_0017_01C28C10.A8EFAC00--