ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: XYpic
Date: Fri, 29 Apr 2005 00:05:40 +0200	[thread overview]
Message-ID: <42715E34.5090804@seznam.cz> (raw)
In-Reply-To: <4270C2D2.8050501@logosrl.it>

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

  reply	other threads:[~2005-04-28 22:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24 15:45 Rif: Re: dotted line for \framed ? Luigi Scarso
2005-04-26 15:35 ` luigi.scarso
2005-04-26 18:24   ` XYpic (was: dotted line for \framed ?) Henning Hraban Ramm
2005-04-27 10:18     ` XYpic Vit Zyka
2005-04-28  8:01       ` XYpic luigi.scarso
2005-04-28 10:42         ` XYpic Vit Zyka
2005-04-28 11:02           ` XYpic luigi.scarso
2005-04-28 22:05             ` Vit Zyka [this message]
2005-04-29  7:08               ` XYpic luigi.scarso
2005-04-29  8:21                 ` XYpic Vit Zyka
2005-04-29 10:27                   ` XYpic luigi.scarso
2007-04-27 12:46 XYPic Dirard Mikdad
2007-05-01  6:55 ` XYPic luigi scarso
2007-05-01  7:09   ` XYPic luigi scarso
2007-05-01  9:18     ` XYPic Dirard Mikdad
2007-05-01 19:45       ` XYPic luigi scarso
2007-05-02  8:14         ` XYPic Dirard Mikdad
2007-05-02  8:57           ` XYPic luigi scarso
2007-05-02 14:20             ` XYPic Dirard Mikdad
2007-05-02 15:05               ` XYPic luigi scarso
2007-05-02 15:16                 ` XYPic Dirard Mikdad
2007-05-02 16:31                   ` XYPic luigi scarso
2007-05-03  6:39                     ` XYPic luigi scarso
2007-05-04  0:17               ` XYPic luigi scarso
2007-05-04 12:57                 ` XYPic Dirard Mikdad
2007-05-04 13:25                   ` XYPic luigi scarso
2007-05-14  9:33                     ` XYPic luigi scarso
2007-05-15 12:40                       ` XYPic Dirard M. Mikdad
2007-04-27 12:49 Xypic Dirard Mikdad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42715E34.5090804@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).