From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5963 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: definehead and section= Date: Tue, 30 Oct 2001 17:38:52 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <200110301638.f9UGcqj17139@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396520 6061 80.91.224.250 (23 Oct 2002 18:08:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:08:40 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5963 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5963 Hi, once again, a (probably simple) thing I don't know how to do: the file is: -------------- \definehead[teil][section=section-1] \setuphead[teil][head=nomarking,style=\tfc] \starttext \teil{one} \input tufte \stoptext -------------- and it gives me an error: [...] This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1) entering extended mode (./defhead.tex{/app/unido-inf/sun4_56/tetex/1.0.7/share/texmf/pdftex/config/pdf tex.cfg} ConTeXt ver: 2001.7.11 fmt: 2001.7.16 int: english mes: english [...] system : mark teil defined [teil] system : mark teilnumber defined [teilnumber] systems : begin file defhead at line 3 ! Missing number, treated as zero. } \plaatskopnormaal ...}\hskip \numberheaddistance } \vbox {\localkopsetup \han... \doplaatskopnummertekst ...onhead \endgraf \fi }}} }\endheadplacement {#1}{#5} \dodododosomekop ...mmer ]{\finalsectionnumber }}} \writesection {#1}{#4}{#5}... l.4 \teil{one} ? x what am I doing wrong? Do I understand something wrong? Even with a self-defined sectiontype it is the same error: \definesection[mysec] \setupsection[mysec] [conversion=Character, previousnumber=no] \definehead[teil][section=mysec] Viele Grüße, Patrick Gundlach - I TeX, therefore I am -