ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Vedran Miletić" <rivanvx@gmail.com>
To: NTG-ConTeXt mailing list <ntg-context@ntg.nl>
Subject: MPdefinitions
Date: Mon, 23 May 2011 12:02:22 +0200	[thread overview]
Message-ID: <BANLkTikMs34B_SiqZr8hGqW0suh4n1U=Lw@mail.gmail.com> (raw)


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

Hi,

compiling example with quadriliterals and \startMPdefinitions{solvers}
\stopMPdefinitions from MetaFun manual, regardless of the code that is
commented out inside MPdefintions environment, gives:

! You can't use `\relax' after \the.

system          > tex > error on line 30 in file solvers.tex: You can't use
` ...

20     %  z1=0.5[z11,z13] ; z2=0.5[z21,z23] ;
21     %  z3=0.5[z31,z33] ; z4=0.5[z41,z43] ;
22     %  draw z1--z3 dashed evenly ; draw z2--z4 dashed evenly ;
23     %  z0=whatever[z1,z3]=whatever[z2,z4] ;
24     %  mark_rt_angle (z1,z0,z2);
25     %  if show_labels>0:
26     %  draw_problem_labels ;
27     %  fi;
28     %  endgroup ;
29     %  enddef ;
30 >>  \stopMPdefinitions
31
32     \starttext
33     %a
34     \stoptext

<recently read> \@MPF@::solvers

\dostartMPdefinitions ...er {\the \MPinstancetoks
                                                  #2}
l.30 \stopMPdefinitions

Is this a bug?

Vedran

[-- Attachment #1.2: Type: text/html, Size: 1274 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-05-23 10:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 10:02 Vedran Miletić [this message]
2011-05-23 10:45 ` MPdefinitions Wolfgang Schuster
2011-05-23 15:37   ` MPdefinitions Vedran Miletić
2011-05-23 16:23     ` MPdefinitions Wolfgang Schuster
2011-05-23 16:57       ` MPdefinitions Vedran Miletić

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='BANLkTikMs34B_SiqZr8hGqW0suh4n1U=Lw@mail.gmail.com' \
    --to=rivanvx@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).