From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84947 Path: news.gmane.org!not-for-mail From: "Keith J. Schultz" Newsgroups: gmane.comp.tex.context Subject: Re: Need help defining command. Date: Tue, 22 Oct 2013 14:45:47 +0200 Message-ID: <346D7F41-B4AE-4BC0-B9DE-E194BCE567B5@uni-trier.de> References: <563CA660-912A-4857-9AA4-FB16AAD438EA@uni-trier.de> <549F71B5-2659-4E3E-8DC1-301D94771017@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382445956 15769 80.91.229.3 (22 Oct 2013 12:45:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2013 12:45:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 22 14:46:01 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 1VYbLT-0003jC-0d for gctc-ntg-context-518@m.gmane.org; Tue, 22 Oct 2013 14:45:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3902310226; Tue, 22 Oct 2013 14:43:04 +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 UpZ3fxCgBTJZ; Tue, 22 Oct 2013 14:42:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BDC8D10212; Tue, 22 Oct 2013 14:42:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E738E10212 for ; Tue, 22 Oct 2013 14:42:56 +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 v+GBJ+0WCLyr for ; Tue, 22 Oct 2013 14:42:55 +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 C68FB10210 for ; Tue, 22 Oct 2013 14:42:55 +0200 (CEST) Original-Received: from mx1.uni-trier.de (mx1.uni-trier.de [136.199.224.17]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9MCjmSV022788 for ; Tue, 22 Oct 2013 14:45:49 +0200 X-IronPort-AV: E=Sophos;i="4.93,548,1378850400"; d="scan'208";a="8732445" Original-Received: from rzmail.uni-trier.de ([136.199.8.220]) by mx1i.uni-trier.de with ESMTP; 22 Oct 2013 14:45:47 +0200 Original-Received: from [10.0.62.5] (dslb-084-059-011-127.pools.arcor-ip.net [84.59.11.127]) by rzmail.uni-trier.de (Postfix) with ESMTPA id B92DA40201 for ; Tue, 22 Oct 2013 14:45:47 +0200 (CEST) In-Reply-To: <549F71B5-2659-4E3E-8DC1-301D94771017@gmail.com> X-Mailer: Apple Mail (2.1510) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=136.199.224.17; country=DE; region=08; city=Trier; latitude=49.7500; longitude=6.6333; http://maps.google.com/maps?q=49.7500,6.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RKEcJMCO - dc5c3d98e365 - 20131022 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:84947 Archived-At: Hi Wolfgang, to be honest one of my design considerations was to this work using MetaPost. But, my knowledge of MetaPost is minimal and it would be involved calculating the positions of the Frames/boxes and I need to know the sizes of the formatted text, etc Another approach would be to use layer, but I can not find much documentation about how/if they can be used inside of a frame. regards Keith Am 22.10.2013 um 11:31 schrieb Wolfgang Schuster : [snip, snip] > There are ways to ignore the spaces at the begin (\ignorespaces) and end (\removeunwantedspaces) > of a group but you should rethink first your interface for your commands (why no start/stop commands). > > It can be also useful to draw the whole diagram with Metapost and use the TeX commands only > to pass the content to Metapost. ___________________________________________________________________________________ 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 ___________________________________________________________________________________