5 Jun
2024
5 Jun
'24
2:11 p.m.
Am 05.06.24 um 16:03 schrieb ai2472206007@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} section} \section{\cmdii{with command} section} \section{\cmdiii{with command} section} \section{{\rm with command} section} % only this one work well
\stoptext %%%%
Am I missing something important? If so, please tell me what to do. Thank you so much.
What do you mean with “not properly”? \cmdi is not defined Only \cmd has the necessary additional braces to contain the style switch. But I don’t know if that’s your problem. Hraban