Re: [NTG-context] runMPgraphicstrue produces undefined figure

2006-09-13 Thread Sanjoy Mahajan
Hans Hagen wrote: > well, opening files and overwriting them can be done anyway That's true. Though the default teTeX setup seems to be (from texmf.cnf): % Allow TeX \openin, \openout, or \input on filenames starting with `.' % (e.g., .rhosts) or outside the current tree (e.g., /etc/passwd)?

Re: [NTG-context] runMPgraphicstrue produces undefined figure

2006-09-13 Thread Sanjoy Mahajan
Hans Hagen wrote: > Sanjoy Mahajan wrote: > > Actually, on my system (Ubuntu, a Debian derivative), changing the > > texmf.cnf file directly is not a good idea. Instead one should change > > the same line in /etc/texmf/texmf.d/95NonPath.cnf and then run > > 'update-texmf' as root to generate the t

Re: [NTG-context] runMPgraphicstrue produces undefined figure

2006-09-13 Thread Hans Hagen
Sanjoy Mahajan wrote: > Actually, on my system (Ubuntu, a Debian derivative), changing the > texmf.cnf file directly is not a good idea. Instead one should change > the same line in /etc/texmf/texmf.d/95NonPath.cnf and then run > 'update-texmf' as root to generate the texmf.cnf file. > incredib

Re: [NTG-context] runMPgraphicstrue produces undefined figure

2006-09-12 Thread Sanjoy Mahajan
> Check your log file for > > systems : system commands are enabled Thanks, that was the problem. It was saying 'disabled' instead. The fix was to change /etc/texmf/texmf.cnf to enable write18. The shell_escape line has to be set to 't' rather than 'f', i.e.: shell_escape = t Actuall

Re: [NTG-context] runMPgraphicstrue produces undefined figure

2006-09-12 Thread Aditya Mahajan
On Tue, 12 Sep 2006, Sanjoy Mahajan wrote: > I'm playing with simple files in order to learn metafun. The following > small example produces an undefined figure. It illustrates either a > context problem or, more likely, a confusion on my part. > > = cut here

[NTG-context] runMPgraphicstrue produces undefined figure

2006-09-12 Thread Sanjoy Mahajan
I'm playing with simple files in order to learn metafun. The following small example produces an undefined figure. It illustrates either a context problem or, more likely, a confusion on my part. = cut here === \runMPgraphicstrue \starttext