From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82486 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: MkIV problem+fix with \framed[location=depth / height / hanging] Date: Wed, 15 May 2013 00:12:56 +0200 Message-ID: <1DC26E3D-B638-4BC0-908F-A61306C69331@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1368569594 9086 80.91.229.3 (14 May 2013 22:13:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 22:13:14 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 15 00:13:15 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 1UcNT9-0001Qo-DH for gctc-ntg-context-518@m.gmane.org; Wed, 15 May 2013 00:13:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 370B2101EF; Wed, 15 May 2013 00:13:14 +0200 (CEST) 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 0O1YwjB5m53W; Wed, 15 May 2013 00:13:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 84F57101E7; Wed, 15 May 2013 00:13:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A6E7101E7 for ; Wed, 15 May 2013 00:13:11 +0200 (CEST) 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 EXPtrMZPpBUj for ; Wed, 15 May 2013 00:13:10 +0200 (CEST) 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 37709101E0 for ; Wed, 15 May 2013 00:13:10 +0200 (CEST) Original-Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4EMCx7j020975 for ; Wed, 15 May 2013 00:13:09 +0200 Original-Received: by mail-ea0-f182.google.com with SMTP id r16so656021ead.13 for ; Tue, 14 May 2013 15:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=DM/6IwSUxZ4iuLkHIEntXKkcxuvULm5q3zhfNfxxkkY=; b=pfOdduE8oJZeaJu2fQEZdsS5WkoATcBUO+g6KwR1rmR/sHVuZLx75T3mZekTn4NGBy MlCdUslYQh6PTk0v0Xy47ATCk3M6Pz/U/DDDJjWFYrkJOe1an9xo3HOBh+CmFlNURwZM yzoDYsuT8R/mWMzEtpF2o4RB98yYlUvipNfL9gaCbtJqr9MRnrHjy/2PTZis/ScljSgZ IO8+kpAGBcDmvMC7/bUND2SvMMP6KObj5jO5W2j3O+Oop3SaH8QI4NzGrAE0kOh/PYqC jv516iBhNfEGesFzaO2/+9f3W+iP3RluMl4/1XShLUch0HA7x1uldeaZtQheeooMocQB Sm5A== X-Received: by 10.15.26.6 with SMTP id m6mr96616371eeu.4.1368569579026; Tue, 14 May 2013 15:12:59 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe4458.pool.mediaWays.net. [77.190.68.88]) by mx.google.com with ESMTPSA id x41sm113594eey.17.2013.05.14.15.12.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 May 2013 15:12:58 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJzWcX7L - de4374041f46 - 20130515 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:82486 Archived-At: Am 14.05.2013 um 23:00 schrieb Sietse Brouwer : > Hi Hans, > = > I believe that in MkIV some \framed[location=3D...] keys are not > working, namely `depth`, `height`, and `hanging`. In MkIV these all > place the bottom of the frame flush with the baseline, like > [location=3D]. In MkII they behave more sensibly, as follows: > = > * depth: place bottom of frame flush with bottom of the line (i.e. > \strutdepth below baseline) > * height: place top of frame flush with top of line > * hanging: place top of frame flush with baseline The reason why all the location alternatives don=92t work is because the original \vbox for the content is converted to a \hbox which ignores the changed values (even though the changed values for the height/depth are used as seen at the surrounding box). The process to create a \hbox happens when the background is applied with: \def\pack_framed_add_background {\setbox\b_framed_normal\hbox % was vbox ... \egroup}} Wolfgang ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________