* Custom Numbering Problem
@ 2004-08-12 5:12 Salman Khilji
2004-08-12 7:28 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Salman Khilji @ 2004-08-12 5:12 UTC (permalink / raw)
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.
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
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Custom Numbering Problem
2004-08-12 5:12 Custom Numbering Problem Salman Khilji
@ 2004-08-12 7:28 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2004-08-12 7:28 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-12 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-12 5:12 Custom Numbering Problem Salman Khilji
2004-08-12 7:28 ` Hans Hagen
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).