Thanks for the phantom hint! I made a macro that I'll put at the beginning of each component file, after the chapter header: \def\synCorr{\vphantom{<all synonym macros go here>}\vskip-\lineheight}
I think this will do it for the moment. Thanks and Greetings Thomas Otared Kavian <mailto:ota...@gmail.com> scribbled on Thursday, April 16, 2009 1:14 PM: > 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…) 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=\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=\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-context 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 the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________