Hi Steffen,

I used your code here just adding \setupoutput[pdftex]
The result seems ok. to me. See attachment.

Running:
TeXExec 5.2.3
pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
ConTeXt  ver: 2005.01.13  fmt: 2005.1.18  int: english  mes: english

Willi

Steffen Wolfrum wrote:
Hi,

there seems to be a fundamental problem with headings - or at least I have :(

Each kind of "emphasizing" - like \it \bf \cap \sc etc. - lets the respective 
phrase fall back to the documents bodyfont (see example below).


How can I avoid this bug? Do I use wrong code?


Thank you,

Steffen


\starttext

\def\Textit{\groupedcommand\it\/}
\definefont[SectionFont][Serif at 20pt]
\def\SectionStyle{\SectionFont\setupinterlinespace[line=30pt]}
\setuphead[section]
[alternative=paragraph,style=\SectionStyle]

text

\section{heading \Textit{italic} heading}

text

\stoptext





_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Attachment: sectionheader-Wolffrum.pdf
Description: Adobe PDF document

_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to