26 Apr
2006
26 Apr
'06
7:37 a.m.
Mojca Miklavec wrote:
Hello,
there is a misterious linebreak in the second example:
abc\switchtobodyfont[ss]def
abc\switchtobodyfont[,,ss]def
Is this ConTeXt's fault or mine?
lucky you: \def\dodosetfont#1#2% #1 = set/switch state / test added to make it mojca proof {\doifsomething{#2}{\dododosetfont{#1}{#2}{\showmessage\m!fonts4{#2}}}} Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------