ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MPdefinitions
Date: Mon, 23 May 2011 12:45:03 +0200	[thread overview]
Message-ID: <E7E49851-D39D-4017-A4A6-241B972C8702@googlemail.com> (raw)
In-Reply-To: <BANLkTikMs34B_SiqZr8hGqW0suh4n1U=Lw@mail.gmail.com>


Am 23.05.2011 um 12:02 schrieb Vedran Miletić:

> 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?

Please send a complete example!

Wolfgang

___________________________________________________________________________________
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:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 10:02 MPdefinitions Vedran Miletić
2011-05-23 10:45 ` Wolfgang Schuster [this message]
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=E7E49851-D39D-4017-A4A6-241B972C8702@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).