ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Diamantini Maurice <Maurice.Diamantini@ensta.fr>, Denis.Roegel@loria.fr
Subject: Re: Metapost + metaObjet connector label on arcs
Date: Tue, 26 Oct 2004 13:53:18 +0200	[thread overview]
Message-ID: <417E3AAE.9020500@wxs.nl> (raw)
In-Reply-To: <FC3A5F68-2742-11D9-AB92-000A9595B57C@ensta.fr>

Maurice Diamantini wrote:

> 4 - about ConTeXt and Metapost:
>     What should I put in the  "verbatimtex ... etex" header
>     to be able to use ConTexT in btex..etex instead of LaTex?
>     (I don't want use (for now ) the "inside ConTeXt document" method
>     for the sake of environnement robustness, and for reusability)

normally nothing has to go in there

you can make stand alond graphics with context doing:

\setupcolors[state=start] \starttext \startMPpage

   your mp code

\stopMPpage \stoptext

That gives you a stand alone pdf graphic that you can embed later

> 5 - about metapost:
>     How can I build the string to give to TeX as in
> 
>         string str; str = "x^2"
>         btex \large F = <str> etex
> 
>     or perhaps somthing like :
> 
>         string str;
>         str = "btex \large F = " & str é " etex"
>         eval(str)

no, btex etex is parsed and handles in special ways; this is why metafun 
has the textext macro

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2004-10-26 11:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 11:57 Maurice Diamantini
2004-10-22 12:24 ` Eckhart Guthöhrlein
2004-10-22 16:35   ` Maurice Diamantini
2004-10-24 18:30     ` Denis Roegel
2004-10-26 11:34       ` Maurice Diamantini
2004-10-26 11:53         ` Hans Hagen [this message]
2004-10-26 16:16           ` Maurice Diamantini
2004-10-27  7:23             ` Hans Hagen
2004-10-27 13:20               ` Metapost installation Maurice Diamantini

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=417E3AAE.9020500@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=Denis.Roegel@loria.fr \
    --cc=Maurice.Diamantini@ensta.fr \
    --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).