[NTG-context] Section head without numbers, ToC with numbers

Erik Margraf erik.margraf at gmail.com
Mon Oct 5 07:04:12 CEST 2015


This does the trick! Thank you!

On Mon, Oct 5, 2015 at 2:27 AM, Aditya Mahajan <adityam at umich.edu> wrote:

> On Sun, 4 Oct 2015, Erik Margraf wrote:
>
> On Sat, Oct 3, 2015 at 11:51 PM, Aditya Mahajan <adityam at umich.edu> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20151005/ee4547b7/attachment.html>


More information about the ntg-context mailing list