luigi.scarso wrote:
Vit Zyka wrote:
But a mp graphic must be preprocessed by mpost for inclusion, and I can do it only if I can execute sysytems commands; this open a security and performance issues.
It is true only for very advanced features like text along line, AFAIK. For framed text it is possible to run mpost manually with several passes of tex.
Ok, it seem I've missed something important because I don't understand when you say "For framed text it is possible to run mpost manually with several passes of tex. ". This seem in contrast with preprocessing as I write before.
Can you give me a simple example ?
Of course. 1. For a moment I set shell_escape = f in `kpsewhich texmf.cnf' 2. Input file f.tex: \startuseMPgraphic{A} draw unitcircle scaled\overlaywidth; \stopuseMPgraphic \defineoverlay [B] [\uniqueMPgraphic{A}] \starttext \framed[background=B]{Hallo frame!} \stoptext 3a. classical run texexec --pdf f 3b. step by step texexec --pdf --nomp f mpost f-mpgraph texexec --pdf --nomp f vit