![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
26 Apr
2006
26 Apr
'06
1: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 -----------------------------------------------------------------