Taco Hoekwater wrote:
I could not figure out how to use a 'verbatimtex' preamble either, so this loads the myenv definition file for each label. Ugly, but the best I can manage with my current knowledge.
ha, we reached similar solutions -) the solution for the inclusion is in \startMPenvironment \stopMPenvironment when this becomes a module, one can best append the code loading to \everyMPTEXgraphic as in \appendtoks \usemodule[...]% \to \everyMPTEXgraphic so that it will not clash with user defined environments and/or inclusions Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------