Chapter title in headertexts only
Hello list, I am trying to suppress chapter heading and at the same time use chapter title in the headertext. Is it possible with mkIV? Best Piotr -- http://okle.pl
Sorry, forgot about a minimal example. Here it is.
\setuphead[chapter][placehead=no]
\setupheadertexts[][chapter][][]
\starttext
\chapter{my chapter}
\input knuth
\stoptext
2013/5/2 Piotr Kopszak
Hello list,
I am trying to suppress chapter heading and at the same time use chapter title in the headertext. Is it possible with mkIV?
Best
Piotr -- http://okle.pl
OK, found a sufficiant solution
\setuphead[chapter][placehead=no]
\setupheadertexts[][\setups{a}][][]\
\startsetups[a]
\expanded{\fetchmark[a][first]}
\stopsetups
\definemarking[a]
\starttext
\chapter{my chapter}
\marking[a]{my chapter}
\input knuth
\stoptext
Any other ideas?
Piotr
2013/5/2 Piotr Kopszak
Sorry, forgot about a minimal example. Here it is.
\setuphead[chapter][placehead=no] \setupheadertexts[][chapter][][] \starttext \chapter{my chapter} \input knuth \stoptext
2013/5/2 Piotr Kopszak
: Hello list,
I am trying to suppress chapter heading and at the same time use chapter title in the headertext. Is it possible with mkIV?
Best
Piotr -- http://okle.pl
Am 02.05.2013 um 17:20 schrieb Piotr Kopszak
OK, found a sufficiant solution
\setuphead[chapter][placehead=no] \setupheadertexts[][\setups{a}][][]\ \startsetups[a] \expanded{\fetchmark[a][first]} \stopsetups \definemarking[a] \starttext \chapter{my chapter} \marking[a]{my chapter} \input knuth \stoptext
Any other ideas?
\setuphead[chapter][placehead=empty] \setupheadertexts[][chapter][][] \starttext \chapter{my chapter} \input knuth \stoptext Wolfgang
OK, now I see the difference between "no" and "empty"! Great.
Many thanks
Piotr
2013/5/2 Wolfgang Schuster
Am 02.05.2013 um 17:20 schrieb Piotr Kopszak
: OK, found a sufficiant solution
\setuphead[chapter][placehead=no] \setupheadertexts[][\setups{a}][][]\ \startsetups[a] \expanded{\fetchmark[a][first]} \stopsetups \definemarking[a] \starttext \chapter{my chapter} \marking[a]{my chapter} \input knuth \stoptext
Any other ideas?
\setuphead[chapter][placehead=empty]
\setupheadertexts[][chapter][][]
\starttext \chapter{my chapter} \input knuth \stoptext
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Piotr Kopszak
-
Wolfgang Schuster