Re: [NTG-context] Section head without numbers, ToC with numbers
On Sun, 4 Oct 2015, Erik Margraf wrote:
On Sat, Oct 3, 2015 at 11:51 PM, Aditya Mahajan
wrote: On Sat, 3 Oct 2015, Erik Margraf wrote:
Dear List,
is it possible to achieve the following:
First section .... Some Text
Second section .... Some Text
Table of Contents 1 First section 2 Second section
(Untested):
\setuphead[section][numbercommand=\gobbleoneargument]
thanks for your answer! This comes close, but has the problem, that the section head is indented.
\starttext \setuphead[section][numbercommand=\gobbleoneargument] \placelist[section] \section{First section} \input knuth \stoptext
Add distance=0pt to the settings. Aditya
This does the trick! Thank you!
On Mon, Oct 5, 2015 at 2:27 AM, Aditya Mahajan
On Sun, 4 Oct 2015, Erik Margraf wrote:
On Sat, Oct 3, 2015 at 11:51 PM, Aditya Mahajan
wrote: On Sat, 3 Oct 2015, Erik Margraf wrote:
Dear List,
is it possible to achieve the following:
First section .... Some Text
Second section .... Some Text
Table of Contents 1 First section 2 Second section
(Untested):
\setuphead[section][numbercommand=\gobbleoneargument]
thanks for your answer! This comes close, but has the problem, that the
section head is indented.
\starttext \setuphead[section][numbercommand=\gobbleoneargument] \placelist[section] \section{First section} \input knuth \stoptext
Add distance=0pt to the settings.
Aditya
participants (2)
-
Aditya Mahajan
-
Erik Margraf