From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24053 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: extra space after variant Date: Fri, 02 Dec 2005 19:35:03 +0100 Message-ID: <439093D7.6060406@elvenkind.com> References: <403A1895-626A-4617-94A7-784685A4765D@science.uva.nl> <439052AD.8020000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133548676 31409 80.91.229.2 (2 Dec 2005 18:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 18:37:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 19:37:55 2005 Return-path: 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 1EiFle-0006Jf-Cw for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 19:36:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1DE3D128D9; Fri, 2 Dec 2005 19:36:22 +0100 (CET) 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 18568-08-4; Fri, 2 Dec 2005 19:36:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6727D1286A; Fri, 2 Dec 2005 19:36:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFE211286A for ; Fri, 2 Dec 2005 19:36:15 +0100 (CET) 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 18568-08-3 for ; Fri, 2 Dec 2005 19:36:15 +0100 (CET) Original-Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by ronja.ntg.nl (Postfix) with ESMTP id 176481285F for ; Fri, 2 Dec 2005 19:36:14 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:56777 helo=[192.168.1.3]) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1EiFlW-000DIK-PT for ntg-context@ntg.nl; Fri, 02 Dec 2005 18:36:14 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439052AD.8020000@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24053 Archived-At: Hans Hagen wrote: > Hans van der Meer wrote: > >> When I code: >> abc {\variant[xyz] pqr} >> I find extra space typeset between "abc" and "pqr". >> >> This extra space is absent when I code >> abc {\variant[xyz]pqr} >> Thus the space in the source between ] and pqr makes a difference in >> the result. >> >> Clearly visible in: >> abc {\variant[xyz] pqr} abc {\variant[xyz]pqr}\crlf >> abc {\Var[xyz]pqr} abc {\Var[xyz] pqr}\crlf >> >> I would think that this should not happen. >> >> The whitespace goes away by inserting an \ignorespaces in the variant- >> definition. >> \def\variant[#1]% slow >> {\dosetscaledfont >> \expanded{\definedfont >> [\truefontname{\fontstringA\fontstylesuffix\fontvariant >> \fontstringA{#1}} >> at \scaledfont]}\ignorespaces} >> >> >> Still using version 2005-11-14, forget this if already corrected in >> the latest version of the 30th. > > > before we do that ... do others agree (taco, adam ...)? I can't get the example to compile. Whatever I do, context insists on creating SerifRegular.tfm through mktextfm (sigh). I'm too lazy to figure out what is going on right now, so can someone create a full minimal example, please? I'd like to check this with all tracing on, because it hints are a problem deeper down somewhere. Cheers, Taco