From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49479 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: MkII synonyms additional space problem Date: Thu, 16 Apr 2009 13:14:27 +0200 Message-ID: <5985AAF4-ADB0-4964-9E94-59EFD3B0BC9D@gmail.com> References: <001e01c9be81$23390d90$8614a8c0@boschung.local> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239880534 31717 80.91.229.12 (16 Apr 2009 11:15:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 11:15:34 +0000 (UTC) To: thomas.floeren@boschung.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 16 13:16:48 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LuPaH-0003Ep-5z for gctc-ntg-context-518@m.gmane.org; Thu, 16 Apr 2009 13:16:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11BE31FB82; Thu, 16 Apr 2009 13:15: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 00195-02-3; Thu, 16 Apr 2009 13:14:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 322D51FB1F; Thu, 16 Apr 2009 13:14:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 322B51FB1F for ; Thu, 16 Apr 2009 13:14:41 +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 00195-02-2 for ; Thu, 16 Apr 2009 13:14:34 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 345C41FADC for ; Thu, 16 Apr 2009 13:14:34 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.157]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3GBEWON006666 for ; Thu, 16 Apr 2009 13:14:33 +0200 Original-Received: by yx-out-1718.google.com with SMTP id 6so240434yxn.74 for ; Thu, 16 Apr 2009 04:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ugPWACJGIgbznwRTSBzHOAD5AvZ3UJYNGla9X7YnZ6g=; b=fk7B+Vtp0hMTckVaKh8F4GuDVoLinHuVLKQt8lcVfBh3zf1a0tEFtOIbXRCbHT4ycK 5y2r4b5wenl3maEzhRzPiFnSy+9C/Ae5ozaMESRkfn6dVdjKE3ChtO7BV8ySm5J+EyPv 8UNErUxlH/9X/JBaA7n3Q863DmTYRRIYz285I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=mFTKwfACvg5AIYj91paWMkRxtGKau7HYZ8NnaH8DqDGaAAA5zibrwar/JRM+RMqndu kizpZnmThTl0/jZch1bb42mGOKFEZeja9PNHidu3IH5JUTq9gqp1drgOL0/UihQkbPi8 4ND0Tvr3agFurKOKCy3pn1kbQYYuTjF2JH7tY= Original-Received: by 10.100.43.14 with SMTP id q14mr1486593anq.24.1239880471817; Thu, 16 Apr 2009 04:14:31 -0700 (PDT) Original-Received: from ?192.168.0.11? (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id c23sm806181ana.38.2009.04.16.04.14.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Apr 2009 04:14:31 -0700 (PDT) In-Reply-To: <001e01c9be81$23390d90$8614a8c0@boschung.local> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.44.157; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 209450672 - ac04cc41fa01 - 20090416 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49479 Archived-At: Hi Thomas, I tested your example: indeed in the latest mkii the problem you = mention appears (however it doesn't in the latest mkiv, nor in mkii = ConTeXt ver: 2009.01.18 14:39 MKII fmt: 2009.2.19 int: english/ = english). A temporary solution (not in the spirit of ConTeXt though=85) is the = following: add a \vphantom before the first occurence of the synonim, = that is \vphantom{\abs} assuming that \abs is already defined: rewriting your example one gets: \definesynonyms[testAbbrev][testAbbrevs][\infull] %\setupsynonyms[testAbbrev][next=3D\autoinsertnextspace] \testAbbrev[abs]{\sc abs}{Antiblockiersystem} \starttext This is a test.\vphantom{\abs} Ausfall des \abs\ und \endgraf % +1 space Ausfall des \abs\ und % OK Ausfall des \infull{abs} (\abs) \endgraf %% same behavior Ausfall des \infull{abs} (\abs) %% same behavior \page Ausfall des \abs\ und \endgraf % OK Ausfall des \abs\ und % OK \stoptext Best regards: OK On 16 avr. 09, at 12:50, Thomas Floeren wrote: > > Hello, > > I have a problem with synonyms in recent context betas: > > At the first occurrence of a synonym in a document there is an = > additional horizontal white space in front of the synonym. > > The space does not show up in further occurrences. > > Minimal: > > % coding: utf-8 > \enableregime[utf] > > \definesynonyms[testAbbrev][testAbbrevs][\infull] > %\setupsynonyms[testAbbrev][next=3D\autoinsertnextspace] > \testAbbrev[abs]{\sc abs}{Antiblockiersystem} > > \starttext > > Ausfall des \abs\ und \endgraf % +1 space > Ausfall des \abs\ und % OK > > %Ausfall des \infull{abs} (\abs) \endgraf %% same behavior > %Ausfall des \infull{abs} (\abs) %% same behavior > > \page > > Ausfall des \abs\ und \endgraf % OK > Ausfall des \abs\ und % OK > > \stoptext > > ConTeXt ver: 2009.04.15 12:15 MKII fmt: 2009.4.16 int: english/ = > english > > Same thing with the version from 13.4.2009. > contextlive (2009.03.06) however does not show the problem. > > > Is there any solution around? > > Thanks in advance > > Thomas > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an = > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________