From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: XYpic
Date: Fri, 29 Apr 2005 10:21:20 +0200 [thread overview]
Message-ID: <4271EE80.5020008@seznam.cz> (raw)
In-Reply-To: <4271DD7D.40701@logosrl.it>
luigi.scarso wrote:
> Vit, many thanks for your answer.
>
> Vit Zyka wrote:
>
>> 1. For a moment I set
>> shell_escape = f
>> in `kpsewhich texmf.cnf'
>>
> ok, done
>
>> 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
>>
> No circle under frame, right? If not, I have a bad installation; please
> discard the rest
> (and some hints to repair will be really appreciate :) ).
?? I obtained both a frame and a circle.
>> 3b. step by step
>> texexec --pdf --nomp f
>> mpost f-mpgraph
>> texexec --pdf --nomp f
>>
> A circle appear under the frame. But I have 3 runs ( texexec, mpost,
> texexec).
Yes, the cases 3a = 3b should have at least 3 runs. With shell_escape=t
only 2 are needed. You are right.
> With XYPic, a similar result can be achieved without mpost:
> %%
> %% WARNING:: deprecated example
> %% Don't use it !
> %%
> \input xy
> \xyoption{frame}
> \starttext
> \xy
> (0,0) *++=\hbox{\framed{Hallo frame}} *\frm{o} ;
> \endxy
> \stoptext
>
> Of course this doesn't mean that XY is better/worse than mpost, nor that
> using mpost coupled with context will be always slow than others ways;
> but sometimes a faster alternative may be required.
All right, I agree for somebody and sometimes xypic might be use with
advantage. I was thinkink about general recommendation.
> Sure for XYPic, name spaces collisions, cpu/memory required, syntax are
+ limitation by substance: drawing is mostly done via fonts
> (some) items
> to consider: but it also comes with a bunch of features and may be
> faster than mpost
> in some circumstances.
>
> [OT] XFIG: fig2dev can be export to metapost and in multi-metapost.
> Hence, from the moon, I see that xfig can be used with context.
Export to context is good news. But still no parametrization possible :-(
vit
next prev parent reply other threads:[~2005-04-29 8:21 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 ` XYpic Vit Zyka
2005-04-29 7:08 ` XYpic luigi.scarso
2005-04-29 8:21 ` Vit Zyka [this message]
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=4271EE80.5020008@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).