From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80796 Path: news.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: Alignment problem with labels and textext Date: Wed, 13 Feb 2013 12:32:53 +0100 Message-ID: References: <78C7EBDA-06C1-452F-A22D-00C07E653248@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1995247923==" X-Trace: ger.gmane.org 1360755182 15425 80.91.229.3 (13 Feb 2013 11:33:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 11:33:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 13 12:33:21 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5aaW-0005hB-5x for gctc-ntg-context-518@m.gmane.org; Wed, 13 Feb 2013 12:33:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C76BE10227; Wed, 13 Feb 2013 12:33:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9UGyRrQuN-F0; Wed, 13 Feb 2013 12:32:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 867A010207; Wed, 13 Feb 2013 12:32:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32DBA10207 for ; Wed, 13 Feb 2013 12:32:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wl89QZa8F0bk for ; Wed, 13 Feb 2013 12:32:55 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 98901101EA for ; Wed, 13 Feb 2013 12:32:55 +0100 (CET) Original-Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1DBWrEB014324 for ; Wed, 13 Feb 2013 12:32:54 +0100 Original-Received: by mail-oa0-f42.google.com with SMTP id i18so1170536oag.1 for ; Wed, 13 Feb 2013 03:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=K89p9Q2qIw9brcV61eOOnjW8uZjl8hs7smzessRUyZ8=; b=FuarqGFedx4rNQIARYPedT8rpGoLOxjp2NCZih6SZ78ZhOQ8hB0XB5u8Cyu8Xvtx31 x4CLG80Xtcp9xnUXYs1lVN4v4FYMdSFAm7mEPPc/v68XqVFJFt7TgQUAuwRQeE6CJlW3 kTaxT1zk++O89r5G2VF8rbuoK73auOrqbUnGR0fDXSpquwboi8/IjXuUF+9lQYt5mYsH RklMpcVcRwcqUWy6MdCIQWy/AIqzxtiF/9rdifjbTZduuCX+KWZ3u9T3+WakCMBJt/gE SedZGsCn94wqbIF6mzedxSE0rckNyanf6HPWEjbiuPvLELtu9jbPY1sgGYyoetLbxz03 FP9w== X-Received: by 10.60.27.228 with SMTP id w4mr15912488oeg.104.1360755173296; Wed, 13 Feb 2013 03:32:53 -0800 (PST) Original-Received: by 10.60.27.37 with HTTP; Wed, 13 Feb 2013 03:32:53 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.42; 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: 0TIXLwSgB - d0e88ed5037f - 20130213 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80796 Archived-At: --===============1995247923== Content-Type: multipart/alternative; boundary=e89a8fb1ea64bb0c0104d5998029 --e89a8fb1ea64bb0c0104d5998029 Content-Type: text/plain; charset=UTF-8 It seems to me, that the label.xx mechanism is completely broken. the results of label, label.rt and label.lft are exactly the same if i set labeloffset := 0bp ; (default is 3bp) 2013/2/13 Keith J. Schultz > Hi Lutz, > > Just updated, to make sure I have the latest. > > I see the problems. > top & bottom labels are not centered correctly > bottom label not low enough > left and right labels are not aligned at the same height > > Sorry, no ansers. > > regards > Keith. > > Am 13.02.2013 um 11:11 schrieb Lutz Haseloff : > > Hi Keith, > > following testfile perhaps describes my problem better: > > \starttext > \startMPpage > drawdot (origin); > label.rt (textext("right") , origin) ; > label.top (textext("top") , origin) ; > label.lft (textext("left") , origin) ; > label.bot (textext("bottom") , origin) ; > \stopMPpage > \stoptext > > If i run it by texexec(mkii), all is ok, with context(mkiv) the labels > overlap. > > I try to add the problematic mkiv pdf. > > Greetings Lutz > > > 2013/2/13 Keith J. Schultz > >> Hi Lutz, >> >> With >> This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541) >> ConTeXt ver: 2013.02.05 22:32 MKIV fmt: 2013.2.9 int: english/english >> >> Things look fine. Actually, without textext the left and right seem to be >> aligned >> on the baseline. Where with textext it is aligned in the middle of the >> text, which >> I find to be the correct way. >> >> regards >> Keith >> >> > > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --e89a8fb1ea64bb0c0104d5998029 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It seems to me, that the label.xx mechanism is c= ompletely broken.
the results of label, label.rt and label.lft are= exactly the same if i set
labeloffset :=3D 0bp ;
(default is 3= bp)


2013/2/= 13 Keith J. Schultz <keithjschultz@web.de>
Hi Lutz,

Just update= d, to make sure I have the latest.

I see the probl= ems.=C2=A0
top &= bottom labels are not centered correctly
bottom label not low enou= gh
left and right la= bels are not aligned at the same height

Sorry, no = ansers.

regards
= Keith.

Am 13.02.2013 um 11:11 schrieb Lutz = Haseloff <l= utz.haseloff@gmail.com>:

=
Hi Keith,

following testfile perhaps describes = my problem better:

\starttext
\startMPpage
drawdot (origin); label.rt (textext("right") , origin) ;
label.top (textext("top") , origin) ;
label.lft (textext("= ;left") , origin) ;
label.bot (textext("bottom") , origin= ) ;
\stopMPpage
\stoptext

If i run it by texexec(mkii), = all is ok, with context(mkiv) the labels overlap.

I try to add the problematic mkiv pdf.

Greetings Lut= z


201= 3/2/13 Keith J. Schultz <keithjschultz@web.de>
Hi Lutz,

With
This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)=C2=A0
<= div style=3D"margin:0px;font-size:14px;font-family:'TeX Gyre Cursor'= ;">ConTeXt=C2=A0 ver: 2013.02.05 22:32 MKIV=C2=A0 fmt: 2013.2.9=C2=A0 int= : english/english

Things look fine. Actually, without textext the left and right seem to b= e aligned=C2=A0
on the baseline. Where with textext it is aligned= in the middle of the text, which
I find to = be the correct way.=C2=A0

regards
Keith



__________________________= _________________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

--e89a8fb1ea64bb0c0104d5998029-- --===============1995247923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1995247923==--