[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 05.06.2024 um 16:03: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} You can use \definehighlight to create a custom command for a style. The case where you want a slash before the text you have to

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread ai2472206007
I was careless. thank you ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : ht

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 16:03 schrieb ai2472206...@yeah.net: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi{with command