[NTG-context] toc and macro

Harry irgksjd at gmx.de
Wed May 27 20:13:08 CEST 2015


I hope that this is the right address to post my question. If not I
would be glad for a tip.

I wanted to do something like this:



%This line uncommented leads to an error





  \doTeil[Hallo][hallo]{Text Text Text Text Text Text Text}



It works if i use #1 direct (like this):
But how can I wrap it in the \tit?
(wrapping #2 works fine)

I wanted to programm \doTeil so, that I can nest it freely (for example
with \input) and the table of content uses the hierarchy of the nesting
to produce a nice TOC.

thanks for help.

Sincerely, Harry

More information about the ntg-context mailing list