From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23989 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: extra space after variant Date: Thu, 1 Dec 2005 15:04:43 +0100 Message-ID: <403A1895-626A-4617-94A7-784685A4765D@science.uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133529908 28035 80.91.229.2 (2 Dec 2005 13:25:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 13:25:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 14:24:59 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 1EiAs0-0001rt-7l for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 14:22:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75DC21283B; Fri, 2 Dec 2005 14:19:47 +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 11176-01-81; Fri, 2 Dec 2005 14:19:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4B5C12841; Fri, 2 Dec 2005 14:19:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1720C127DA for ; Fri, 2 Dec 2005 14:17:05 +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 10345-04-77 for ; Fri, 2 Dec 2005 14:17:03 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id D35C31284C for ; Thu, 1 Dec 2005 15:05:36 +0100 (CET) Original-Received: from 119-15.uva.surfnetthuis.nl [145.98.119.15] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id jB1E5Xv32345; Thu, 1 Dec 2005 15:05:33 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new 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:23989 Archived-At: 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. yours sincerely, dr. H. van der Meer