![](https://secure.gravatar.com/avatar/21621c02d6a6ab7b07b4a6982b6ec68e.jpg?s=120&d=mm&r=g)
Hello all, We are writing a magazine with my friends and I am going to typeset it with ConTEXt. It works fine but I ran into the problem with heads. In our magazine articles will be grouped in sections (e.g. poetry, short stories, programming). I need to hide section heads in text but to show them in TOC and page headers. So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC. Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_ section_head_data_without_typesetting_them_in_the_text seems to not work for me. Thanks for help. -- Mikoláš Štrajt
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 23.08.2013 um 08:56 schrieb Mikoláš Štrajt
Hello all,
We are writing a magazine with my friends and I am going to typeset it with ConTEXt. It works fine but I ran into the problem with heads.
In our magazine articles will be grouped in sections (e.g. poetry, short stories, programming). I need to hide section heads in text but to show them in TOC and page headers.
So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC.
Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_section_head_data_without_type... seems to not work for me.
Thanks for help.
\definehead[test][section] \setuphead [test] [placehead=empty, before=, after=] \setupheadertexts[test] \starttext \showframe \placelist[test] \test{Knuth} \dorecurse{10}{\input knuth\par} \test{Tufte} \dorecurse{10}{\input tufte\par} \test{Zapf} \dorecurse{10}{\input zapf\par} \test{Ward} \dorecurse{10}{\input ward\par} \stoptext Wolfgang
participants (2)
-
Mikoláš Štrajt
-
Wolfgang Schuster