From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10824 Path: main.gmane.org!not-for-mail From: Denis Roegel Newsgroups: gmane.comp.tex.context Subject: Re: MetaTricks? Date: Fri, 7 Feb 2003 00:03:46 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030207000346.A18808@bar.loria.fr> References: <14421271667.20030205223819@iol.it> <20030206141641.20382ab9.morawski@gmx.net> <416656420.20030206152912@iol.it> <20030206174938.773342f5.morawski@gmx.net> <592730426.20030206233514@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044572627 22491 80.91.224.249 (6 Feb 2003 23:03:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 23:03:47 +0000 (UTC) Cc: Denis Roegel Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gv3W-0005q4-00 for ; Fri, 07 Feb 2003 00:03:42 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 26F0810BC0; Fri, 7 Feb 2003 00:05:42 +0100 (MET) Original-Received: from macker.loria.fr (macker.loria.fr [152.81.1.70]) by ref.ntg.nl (Postfix) with ESMTP id EE9E410B88 for ; Fri, 7 Feb 2003 00:03:49 +0100 (MET) Original-Received: from localhost.loria.fr (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 0F2F174CF; Fri, 7 Feb 2003 00:03:49 +0100 (MET) X-Amavix: Anti-virus check done by McAfee X-Amavix: Scanned by Amavix Original-Received: from bar.loria.fr (bar.loria.fr [152.81.2.13]) by macker.loria.fr (Postfix) with ESMTP id BE72374DB; Fri, 7 Feb 2003 00:03:46 +0100 (MET) Original-Received: (from roegel@localhost) by bar.loria.fr (8.9.3/8.9.3/8.9.3-client/JCG) id AAA18844; Fri, 7 Feb 2003 00:03:46 +0100 (MET) Original-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.2.1i In-Reply-To: <592730426.20030206233514@iol.it>; from gip.bilotta@iol.it on Thu, Feb 06, 2003 at 11:35:14PM +0100 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10824 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10824 On Thu, Feb 06, 2003 at 11:35:14PM +0100, Giuseppe Bilotta wrote: > Thursday, February 6, 2003 Jens-Uwe Morawski wrote: > > JUM> as you know, PSTricks is a huge package, so where to start? > > JUM> - what features are needed > JUM> - who can write the TeX interface > JUM> - i could help with some MP code > > Ok, the precise set of features I need is the one used by the > excellent Eukleides program (http://perso.wanadoo.fr/obrecht/); > while I was trying to port it to MetaPost and begun converting the > instructions I knew how to convert I realized that a full (or as > complete as possible) PSTricks emulation would have been the best > thing ---and that it could have already been implemented. Which is > why I asked :) > > In particular, there are a few things that I currently see as > "missing" in (plain) MetaPost (and which I couldn't find in > MetaFun either); for example, there is no macro that allows to > "add" drawoptions; you can only replace them altogether. PSTricks, > OTOH (at least for what I could see) has a default color, pensize > and line style which can be changed singularly (MetaPost seems to > only do this for the pen --currentpen; it doesn't have a > currentcolor or currentstyle). Hello, I suppose you have already had a look at metaobj? ftp://ftp.tex.ac.uk/tex-archive/graphics/metapost/contrib/macros/metaobj/ It implements many of pstricks' features (see pages 93 and following in the manual). If you develop something new, it is worth checking what ideas you could borrow from metaobj. At the end of the metaobj manual, there are also hints for a TeX interface. Denis