On Wednesday 18 November 2009 02:57:18 anuar lezama wrote:
> Hello Everybody, My problem is the following: I'm creating chapter's titles
> with a mix of styles. For example. \chapter{ something {\bolditalic another
> thing}} This give me the result that I expect with my titles, but when I
> use this title's string to create a header, part of the header appears
> with the bold italic style on it and I would like to remove it. So far I
> have tried to define my header's style as normal but the bolditalic style
> keeps appearing on the "another thing" part. Is there a way to remove this
> bold style? Thank you in advance for the help -- Kind Regards Anuar
>
Maybe try using selectors?
(untested with \chapter{}...)
\defineselector [title] [max=2,n=2] % alternate {short}{long} titles
\starttext
\chapter{\select{title}
{something another thing}
{something {\bf another thing}}
}
\setupselector [title] [n=1]
\completecontent
\stoptext
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________