ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Metapost and mkiv
Date: Tue, 22 Sep 2009 14:44:51 +0200	[thread overview]
Message-ID: <0D2AA4B4-5A68-439F-8A09-84BD79005485@gmail.com> (raw)

Hi all,

The following minimal example used to work with mkiv (until last May,  
I would guess…) but now it doesn't work with the latest
ConTeXt version 2009.09.21 17:39

Can any one tell me please what am I doing wrong?

Best regards: OK
%% begin

\setupcolors[state=start]
\starttext

\startbuffer[axes-1]
numeric u ; u := .5cm ;
path xox ; xox := (-u,0)--(8u,0) ;
path yoy ; yoy := (0,-u)--(0,7u) ;
draw xox withcolor blue ;
draw yoy withcolor blue ;
\stopbuffer

This MetaPost graphic is  \doifmodeelse{mkiv}{not shown with mkiv} 
{shown with mkii}:

\placefigure[middle][-]{}{\processMPbuffer[axes-1]} {}

\stoptext


%% end
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2009-09-22 12:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 12:44 Otared Kavian [this message]
2009-09-22 16:03 ` Hans Hagen
2009-09-22 16:45   ` Aditya Mahajan
2009-11-07 12:25     ` Metapost+mpgraph " Alan BRASLAU
2009-11-07 12:39       ` Taco Hoekwater
     [not found] ` <200911071613.35924.alan.braslau@cea.fr>
     [not found]   ` <4AF59E70.1020705@elvenkind.com>
2009-11-07 17:58     ` Alan BRASLAU
2009-11-07 18:00       ` Wolfgang Schuster
2009-11-08 15:17         ` Alan BRASLAU
2009-11-08 15:31         ` Metapost+mpgraph withcolor Alan BRASLAU
2009-11-25 15:27 Problem with font mapping Mika Ritola
2009-11-25 18:52 ` Mika Ritola
2009-11-26 10:39   ` Hans Hagen
2009-11-27  9:31     ` Metapost and mkiv Alan BRASLAU
2009-11-27  9:53       ` Hans Hagen
2009-11-27 13:54       ` Willi Egger
2009-11-28 18:28         ` Alan BRASLAU
2009-11-29  8:03           ` Taco Hoekwater

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=0D2AA4B4-5A68-439F-8A09-84BD79005485@gmail.com \
    --to=otared@gmail.com \
    --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).