ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Kitzmiller <jkitzm@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: MetaFUN's \setupMPpage broken?
Date: Tue, 27 Dec 2011 07:31:16 -0500	[thread overview]
Message-ID: <CAHYz2AWB4iCsxheqt-Mi0dAPWx2_TEwc1C8P76ii6Qe-H1YQJg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1148 bytes --]

On Tue, Dec 27, 2011 at 6:00 AM, <ntg-context-request@ntg.nl> wrote:

>
> Hi ConTeXt user's,
>
> A few weeks ago I upgraded to the 11-11-29 version (MkIV) and today
> installed the 11-12-23 version (MkIV). The \setupMPpage command in the
> basic example below:
>
> \setupMPpage[offset=1pt]
>
>      \startuseMPgraphic{test}
>       fill fullsquare rotated 45 ;
>      \stopuseMPgraphic
>
>      \starttext
>       \startMPpage
>        \includeMPgraphic{test}
>       \stopMPpage
>      \stoptext
>
> yields the following error in both versions mentioned above:
>
>     ! Undefined control sequence.
>     system > tex > error on line 1 in file test.tex: Undefined control
> sequence ...
>
> All this worked just fine in the version of last August!
>
> Regards,
> Gerard Verhaag
>

Hello Gerard.

Moving the [offset=*] down to \startMPpage and eliminating the \setup
MPpage worked here. (I also scaled it up so I could see it on my viewer.)

\startuseMPgraphic{test}

fill fullsquare rotated 45 scaled 20;

\stopuseMPgraphic

 \starttext

\startMPpage[offset=5pt]

\includeMPgraphic{test}

\stopMPpage

\stoptext


This may be a feature.


--JohnK

[-- Attachment #1.2: Type: text/html, Size: 2793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2011-12-27 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 12:31 John Kitzmiller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-27 10:35 Verhaag, G.C.H.M.
2011-12-27 11:24 ` Wolfgang Schuster

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=CAHYz2AWB4iCsxheqt-Mi0dAPWx2_TEwc1C8P76ii6Qe-H1YQJg@mail.gmail.com \
    --to=jkitzm@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).