Mojca Miklavec wrote:
> The problem with verbatim ... etex is that you somehow "preprocess it"
> or I don't know what you do with it. So if one writes
>   
it's normally expanded, but with regards to passing environments, there 
is hardly any expansion involved; also, when i set it from within 
context, i can use the same mechanisms as with the normal  mp run;  
let's worry about that later
> \def\GnuplotPoint#1{...} into verbatimtex it results in something like
> \def \GnuplotPoint ##1 {}, of you write \let\GnuplotPoint\relax, it
> results in \let \relax. \input works because it has some luck that it
> doesn't get modified during preprocessing.
>   
best put such defs in a separate environment, and then say \input 
thatfile ; this avoids the expansion and hash duplication
>   
>> set terminal mp       verbatimtex   "..."
>> set terminal context environment "..."
>>     
>
> I already did that, but as I mentioned above - it crashed ...
>
> But in any case: global metapost environment works perfectly!!!
> (header would still be useful, but for graphics for inclusion the
> setting can be done in the main document and for standalone graphics
> one can temporary edit it manually, but I'll try to fix).
>   
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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to