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.
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Salman Khilji