On Sat, Feb 08, 2003 at 03:20:39AM +0100, Jens-Uwe Morawski wrote:
On Fri, 7 Feb 2003 21:34:55 +0100 Giuseppe Bilotta
wrote: Friday, February 7, 2003 Jens-Uwe Morawski wrote: JUM> Do you mean something like in the attached files? JUM> keyvalmp.mp : package for key-value parameters in MP; used in mpt-conf.mp JUM> (BTW, if anybody knows a better way to implement this, please JUM> let me know) JUM> mptricks.mp : base MPTricks package JUM> mpt-conf.mp : MPTricks module that implements the requested feature JUM> mpt-test.mp : the example file
EXTREMELY interesting! Thank you very much!
Hmm, it's only the beginning ;-) Can you point me to an up-to-date and good documentation about PSTricks basics, so I can see what else is needed.
The only documentation is from 1993. You can find it on CTAN. Or here: http://tex.loria.fr/graph-pack/pstricks/pst-usr1.pdf http://tex.loria.fr/graph-pack/pstricks/pst-usr2.pdf http://tex.loria.fr/graph-pack/pstricks/pst-usr3.pdf http://tex.loria.fr/graph-pack/pstricks/pst-usr4.pdf http://tex.loria.fr/graph-pack/pstricks/pst-doc1.pdf http://tex.loria.fr/graph-pack/pstricks/pst-doc2.pdf I didn't study the details of your new implementation, but it looks very promising. When you give options like `a=b', can a and b be defined as macros beforehand, or is that incompatible? That's one of the problems I had in metaobj, hence my contrived way of passing parameters. I am thinking that it would be nice if sometime in the future we could have metaobj with your syntax for options. On the other hand, if one uses a metapost package within context, the syntax doesn't have so many constraints, because you can hide it with TeX's syntax. That's also why I found the metaobj syntax sufficient for my purpose Denis