ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <gundlach@irb.cs.uni-dortmund.de>
Subject: definehead and section=
Date: Tue, 30 Oct 2001 17:38:52 +0100	[thread overview]
Message-ID: <200110301638.f9UGcqj17139@sol.cs.uni-dortmund.de> (raw)

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.
<to be read again> 
                   }
\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 -


             reply	other threads:[~2001-10-30 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30 16:38 Patrick Gundlach [this message]
2001-10-31  9:27 ` Hans Hagen
2001-11-02 13:47 Patrick Gundlach
     [not found] <Your message of "Wed, 31 Oct 2001 10:27:51 +0100." <5.1.0.14.1.20011031102548.031d6828@server-1>
2001-11-02 15:17 ` Patrick Gundlach
2001-11-02 17:44   ` Hans Hagen
2001-11-02 20:35     ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200110301638.f9UGcqj17139@sol.cs.uni-dortmund.de \
    --to=gundlach@irb.cs.uni-dortmund.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).