On 02/22/2013 01:31 PM, Wolfgang Schuster wrote:
Am 22.02.2013 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
<l...@pontex.cz>:
Hello,
is there a way how to change all heads style, e.g. to sans?
This doesn't work for me:
----
\setupheads[style=\ss]
\starttext
\section{Abc}
Def
\stoptext
----
TIA.
This doesn’t work because chapter, section etc. have a individual style
which is used instead of the global setting.
\setuphead[chapter][style=\ssc]
\setuphead[section][style=\ssa]
Wolfgang
A slightly more verbose alternative which I have been using is:
\definehead
[chapter]
[section]
\setuphead
[chapter]
[section]
[style=\ss]
\setuphead
[chapter]
[style=\tfb]
\setuphead
[section]
[style=\tfx]
\starttext
\chapter{Chapter}
\section{Section}
\stoptext
Is this not recommended?
Regards,
Devendra
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________