ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <gundlach@irb.cs.uni-dortmund.de>
Cc: gundlach@sol.cs.uni-dortmund.de
Subject: Re: definehead and section=
Date: Fri, 02 Nov 2001 14:47:12 +0100	[thread overview]
Message-ID: <200111021347.fA2DlCv08360@sol.cs.uni-dortmund.de> (raw)

Hi,

now it works. Thanks

one comment/question

it looks, as if the higher level sections must be defined before 
the lower level sections:

\definesection[losec]
\setupsection[losec]
 [conversion=characters,
  previousnumber=no]
\definehead[Lopart][section=losec]
\setuphead[Lopart][head=nomarking,style=\tfc,distance=1em] 

\definesection[hisec]
\setupsection[hisec]
 [conversion=Romannumerals,
  previousnumber=no]
\definehead[Hipart][section=hisec]
\setuphead[Hipart][head=nomarking,style=\tfc,distance=1em] 

\starttext
\Hipart{hione}
\Lopart{loone}
\Lopart{lotwo}
\Hipart{hitwo}
\Lopart{lothree}
\input tufte
\stoptext

If you switch the two definitions (the \definesection[..] is 
sufficient) around, the sections are in correct ordering and 
numbering.

This should be stated in the manual. (I have read this part more 
than once but could not find a note.)

Viele Grüße,

  Patrick Gundlach

- I TeX, therefore I am -


             reply	other threads:[~2001-11-02 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-02 13:47 Patrick Gundlach [this message]
     [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
  -- strict thread matches above, loose matches on Subject: below --
2001-10-30 16:38 Patrick Gundlach
2001-10-31  9:27 ` Hans Hagen

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=200111021347.fA2DlCv08360@sol.cs.uni-dortmund.de \
    --to=gundlach@irb.cs.uni-dortmund.de \
    --cc=gundlach@sol.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).