From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83895 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Feature Request: showframe debugging Date: Wed, 21 Aug 2013 16:51:01 +0200 Message-ID: <20130821145101.GD18239@homerow> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0794113394==" X-Trace: ger.gmane.org 1377096701 891 80.91.229.3 (21 Aug 2013 14:51:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2013 14:51:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 21 16:51:45 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VC9l8-0001X4-V0 for gctc-ntg-context-518@m.gmane.org; Wed, 21 Aug 2013 16:51:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ECE341020B; Wed, 21 Aug 2013 16:50:34 +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 DiUoK237P-ga; Wed, 21 Aug 2013 16:50:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EB73310208; Wed, 21 Aug 2013 16:50:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0A7A10208 for ; Wed, 21 Aug 2013 16:50:18 +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 1+aG7j1R2BOL for ; Wed, 21 Aug 2013 16:49:58 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D438210204 for ; Wed, 21 Aug 2013 16:49:58 +0200 (CEST) Original-Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7LEp4Ms016021 for ; Wed, 21 Aug 2013 16:51:05 +0200 Original-Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward11.mail.yandex.net (Yandex) with ESMTP id 32AE3E8199C for ; Wed, 21 Aug 2013 18:51:04 +0400 (MSK) Original-Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 11473E40916 for ; Wed, 21 Aug 2013 18:51:04 +0400 (MSK) Original-Received: from miun111-43.dynamic.miun.se (miun111-43.dynamic.miun.se [193.10.111.43]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GjmZehUdo9-p2sKdnhl; Wed, 21 Aug 2013 18:51:03 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=homerow.info; s=mail; t=1377096663; bh=oIWHKTwisQIQ4AD1CWA3ToB1D+m+OBBhtuEQh6Sqj/8=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To: X-PGP-Key:User-Agent; b=Sl00ovQ31rdVzXfglHmPc1LzzxrfGIAaOe+3vNpiHnHqzpYEB10RvoijDJcia56VU NoDLmv8q9DNGv1dPtKM6n6Od9uVlD4GjvWGqIkNNdUpaVvxCnch4zAqBJosnfljN9g CuYMQDHWa53g0/pr9IQA3MZsK2JELeCsOG9r47co= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@homerow.info Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a02:6b8:0:801::1; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RKfqP4tf - f28525195830 - 20130821 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:83895 Archived-At: --===============0794113394== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline --UoPmpPX/dBe4BELn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9308=E2=80=9320 Thangalin wrote: > \showframe > [ > labels=3Don, > measurements=3Don, > color=3Dred, > ] >=20 > Would produce an image similar to the attached, but with the black > lines drawn in the specified colour. >=20 > Using labels=3Don would show the names of the items that can be changed > with \setuplayout. > Using measurements=3Don would show the values for each of the items. >=20 > I don't know if there is any value separating the measurements from the l= abels. Some years ago I visualised the layout elements for a cheat sheet. The code= can be found here: https://gist.github.com/mpfusion/4635387 It could be extended to visualise the layout dimensions as well. But that complicates the code, since you don't know where the labels end up and you need to check for overlapping labels. Marco --UoPmpPX/dBe4BELn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSFNPVAAoJEPGqVaNSn0iKQuYH/R9kJX88WgQI5t5Gx0BDzVCh esfoNk/pGJ2eaLzT2xIQle80q4Fn8sN7GFrZWUpsh21yXRmZrBHxxChBZN2utLt2 xhdxDTl4qosXKuQyAuXG8i1TZl+CepQaEZt+IxbkUfjCcymN0sYs4FFOfZ3KPJsj 8EnHi2fqewaFAYGELZJW6pgtbUY/QrEGPrvevORCf2HdJxYGzPOCBQMmiGVh7var rlh3WO8K44M7RAh4dj33ZKlhs9hY71mtMzNkh+xOma1oA9FBYr2qnyckVOJsdXH4 MMkAhKikW1e89Bbsgct6Cbc9xKT7wV4jbK/k4JY0BYhfbVTkXo+Qz6EuL1qeUVY= =7qMF -----END PGP SIGNATURE----- --UoPmpPX/dBe4BELn-- --===============0794113394== 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 ___________________________________________________________________________________ --===============0794113394==--