ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* spurious line break in \switchtobodyfont
@ 2006-04-25 23:23 Mojca Miklavec
  2006-04-26  7:37 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2006-04-25 23:23 UTC (permalink / raw)


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?

Mojca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: spurious line break in \switchtobodyfont
  2006-04-25 23:23 spurious line break in \switchtobodyfont Mojca Miklavec
@ 2006-04-26  7:37 ` Hans Hagen
  2006-04-26 22:13   ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-04-26  7:37 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: spurious line break in \switchtobodyfont
  2006-04-26  7:37 ` Hans Hagen
@ 2006-04-26 22:13   ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2006-04-26 22:13 UTC (permalink / raw)


On 4/26/06, Hans Hagen wrote:
> 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

Thanks! That was (at least partially) one of gnuplot's faults, not mine ;)

Mojca

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-26 22:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-25 23:23 spurious line break in \switchtobodyfont Mojca Miklavec
2006-04-26  7:37 ` Hans Hagen
2006-04-26 22:13   ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).