From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20148 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: XYpic Date: Fri, 29 Apr 2005 00:05:40 +0200 Message-ID: <42715E34.5090804@seznam.cz> References: <426E5FA6.3020600@logosrl.it> <58a0167512a8c8eca8721238f25bd090@fiee.net> <426F670F.1050900@seznam.cz> <42709848.4050807@logosrl.it> <4270BE08.50203@seznam.cz> <4270C2D2.8050501@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114725774 32520 80.91.229.2 (28 Apr 2005 22:02:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 22:02:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 00:02:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRH5n-0008Pp-N1 for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2005 00:02:43 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2EBC012822; Fri, 29 Apr 2005 00:08:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22311-02; Fri, 29 Apr 2005 00:08:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D026612821; Fri, 29 Apr 2005 00:04:41 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BEF9612821 for ; Fri, 29 Apr 2005 00:04:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21985-07-3 for ; Fri, 29 Apr 2005 00:04:36 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 530801281D for ; Fri, 29 Apr 2005 00:04:36 +0200 (CEST) Original-Received: (qmail 13835 invoked from network); 28 Apr 2005 22:04:33 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by smtp.seznam.cz with SMTP; 28 Apr 2005 22:04:33 -0000 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4270C2D2.8050501@logosrl.it> X-Antivirus: avast! (VPS 0516-6, 20.04.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20148 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20148 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