From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35192 Path: news.gmane.org!not-for-mail From: nicola Newsgroups: gmane.comp.tex.context Subject: Re: Labels in figures with wrong bounding box Date: Fri, 29 Jun 2007 10:01:12 +0200 Organization: --- Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183104100 25373 80.91.229.12 (29 Jun 2007 08:01:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2007 08:01:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 29 10:01:36 2007 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 1I4BQ7-0000Mc-OI for gctc-ntg-context-518@m.gmane.org; Fri, 29 Jun 2007 10:01:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A8791FF34; Fri, 29 Jun 2007 10:01:35 +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 26965-03-7; Fri, 29 Jun 2007 10:01:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 179FF1FF1F; Fri, 29 Jun 2007 10:01:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5820A1FF1F for ; Fri, 29 Jun 2007 10:01:26 +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 26965-03-6 for ; Fri, 29 Jun 2007 10:01:24 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 9C85E1FF1B for ; Fri, 29 Jun 2007 10:01:24 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I4BPq-0002UH-Vv for ntg-context@ntg.nl; Fri, 29 Jun 2007 10:01:18 +0200 Original-Received: from 84.233.155.13 ([84.233.155.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jun 2007 10:01:18 +0200 Original-Received: from vitacolo by 84.233.155.13 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jun 2007 10:01:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 84.233.155.13 User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:35192 Archived-At: In article , nicola wrote: > Hi, > I am typesetting a document with XeConTeXt, containing many MetaPost > figures. All the labels in the figures are typeset using \sometxt{} and > sometxt(). For some reasons, in the final document some of them appear > horribly stretched or shrinked as if their bounding box has not been > computed correctly (even after typesetting the document n times). I have > absolutely no clue why that happens, but I imagine it is some strange > interaction in the environment file, because if I typeset any of the > problematic figures by itself in a different document with a minimal > environment everything is fine. My environment file is quite long and I > cannot find a short example showing the problem. > The deformed labels seem to be always among those written by \sometxt > (but not all of them are wrong!), while those written using sometxt() > seem always ok. What may it depend upon? Ok, I solved the problem by getting rid of all \sometxt commands and replacing them by "low-level" sometxt(). Mojca's My Way about sometxt says "If you want to prevent clashes, use higher numbers in [\TeXtext's] arguments". I use numbers beyond 1000. I definitely do not have 1000 labels and, in fact, the correct labels are put in the correct places. But it seems that the two commands do not like each other anyway. Is it really not advisable to use them in the same document? Nicola ___________________________________________________________________________________ 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 ___________________________________________________________________________________