Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like: ,---- | I. A Section Title | | A. A Subsection Title `---- So far, I can only get ,---- | I. A Section Title | | I.A. A Subsection Title `---- Commend used: \setupsection[section-3][conversion=Romannumerals] \setuplabeltext[section={{},{.}}] \setuphead[section] [style=bold,alternative=normal,textcommand=\uppercase] \setupsection[section-4][conversion=Character] How can I get what I need? Thanks. Michael
Hi,
On Sun, 26 Aug 2007 17:02:59 -0600, Michael
,---- | I. A Section Title | | A. A Subsection Title `----
So far, I can only get
,---- | I. A Section Title | | I.A. A Subsection Title `----
Commend used:
\setupsection[section-3][conversion=Romannumerals] \setuplabeltext[section={{},{.}}] \setuphead[section] [style=bold,alternative=normal,textcommand=\uppercase] \setupsection[section-4][conversion=Character]
Why do you need literal subsections? Why not roll your own section in tandem with \section? The following produces what you want: ============================ \setuphead[section][conversion=Romannumerals] \definehead[SUBsection][section] \setuphead[SUBsection][conversion=Character] \setuplabeltext[section={{},{.}}] \setuplabeltext[SUBsection={{},{.}}] \starttext \section{A Section Title} \SUBsection{A Subsection Title} \stoptext ============================ -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
2007/8/27, Michael
Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like:
,---- | I. A Section Title | | A. A Subsection Title `----
So far, I can only get
,---- | I. A Section Title | | I.A. A Subsection Title `----
Commend used:
\setupsection[section-3][conversion=Romannumerals] \setuplabeltext[section={{},{.}}] \setuphead[section] [style=bold,alternative=normal,textcommand=\uppercase] \setupsection[section-4][conversion=Character]
How can I get what I need? Thanks.
Michael
Hi Michael, you need previousnumber=no in setupsection. \setupsection [section] [conversion=Romannumerals] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setuphead [section] [style=bold, alternative=normal, textcommand=\uppercase] \setupsection [subsection] [previousnumber=no, conversion=Character] \starttext \section{A Section Title} \subsection{A Subsection Title} \stoptext Wolfgang
participants (3)
-
Idris Samawi Hamid
-
Michael
-
Wolfgang Schuster