ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Custom Numbering Problem
Date: Thu, 12 Aug 2004 09:28:54 +0200	[thread overview]
Message-ID: <411B1C36.9030900@wxs.nl> (raw)
In-Reply-To: <200408112212.51175.skhilji@tampabay.rr.com>

Salman Khilji wrote:

>Two problems:
>
>1)  With the following:
>
>\setuphead[section][ownnumber=yes]
>\setupbodyfont[cmr,12pt]
>\starttext
>\completecontent
>\section{1a0101}{Objective}
>There is no objective at this moment.
>\stoptext
>
>
>There is no spacing between the text "1a0101" and "Objective" in the table of 
>contents---this looks really ugly.
>  
>
\setuplist[chapter,section][width=4em]

>However, what I really want is the ownnumber to apply to \title, not a 
>\section.  So if I do this:
>
>\setuphead[title][ownnumber=yes]
>\setupbodyfont[cmr,12pt]
>\starttext
>\completecontent
>\title{1a0101}{Minimum Radius Turn}
>\section{Objective}
>There is no objective at this moment.
>\stoptext
>  
>
titles are unnumbered heads

\definehead[MyTitle][chapter]

\setuphead[MyTitle][ownnumber=yes]

\MyTitle{}{}

(\placelist[MyTitle] etc)

>Then the number 1a0101 does not appear right next to a title. (I only see 
>"Minimum Radius Turn" as opposed to the expected "1a0101  Minimum Radius 
>Turn".  Also my \section{Objective} has numbering.  I thought numbering was 
>turned off by default on \title \section \subsection etc.
>
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>================================================================
>Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
>Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd.
>
>
>
>  
>


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

      reply	other threads:[~2004-08-12  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12  5:12 Salman Khilji
2004-08-12  7:28 ` Hans Hagen [this message]

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=411B1C36.9030900@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).