From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27513 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: spurious line break in \switchtobodyfont Date: Thu, 27 Apr 2006 00:13:10 +0200 Message-ID: <6faad9f00604261513t1b17f231g3e1a6fad8c92deeb@mail.gmail.com> References: <6faad9f00604251623y1b36ff40u1b5262712b600a0c@mail.gmail.com> <444F2355.7020206@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146089617 22613 80.91.229.2 (26 Apr 2006 22:13:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 22:13:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 27 00:13:31 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYsG6-0000Sv-Ap for gctc-ntg-context-518@m.gmane.org; Thu, 27 Apr 2006 00:13:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D47BF127C7; Thu, 27 Apr 2006 00:13:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13224-03; Thu, 27 Apr 2006 00:13:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 685F1127B2; Thu, 27 Apr 2006 00:13:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4FCB127B2 for ; Thu, 27 Apr 2006 00:13:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13258-01 for ; Thu, 27 Apr 2006 00:13:10 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.184]) by ronja.ntg.nl (Postfix) with SMTP id BB8DA127A2 for ; Thu, 27 Apr 2006 00:13:10 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id a4so180229nfc for ; Wed, 26 Apr 2006 15:13:10 -0700 (PDT) Original-Received: by 10.48.80.12 with SMTP id d12mr937541nfb; Wed, 26 Apr 2006 15:13:10 -0700 (PDT) Original-Received: by 10.48.223.20 with HTTP; Wed, 26 Apr 2006 15:13:10 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <444F2355.7020206@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27513 Archived-At: 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