On 2013–02–08 Hans Hagen wrote:

> default: texmftree
> local  : relative to source
> global : path list
> 
> these can be combined

How to include MP graphics sitting in a dedicated directory, e.g.
“graphs”?

%% file: graphs/foo.mp
beginfig(1);
  fill unitsquare scaled 2cm withcolor red;
endfig;

%% file: test.tex
\setupexternalfigures
  [directory=graphs,
   %% location=???,
  ]

\startMPrun
  %% including the path works
  %% input graphs/foo.mp;

  input foo.mp;
\stopMPrun

\starttext
  \externalfigure [mprun.1]
\stoptext

Marco

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to