ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: Ajith R <ajithramayyan@yahoo.co.in>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metafun transformation error
Date: Fri, 4 Jun 2021 14:27:31 +0200	[thread overview]
Message-ID: <3a356e83-2349-6269-c803-48c57cef9757@xs4all.nl> (raw)
In-Reply-To: <1178642596.2880342.1622805911314@mail.yahoo.com>

On 6/4/2021 1:25 PM, Ajith R wrote:
> Hi,
> 
> 
>> In order answer that you have to make a MWE that we can run without the
>> need to edit a file.
> 
>> Hans
> 
> Sorry for having assumed that sharing the code was sufficient as MWE.
> 
> Here is the trimmed version that still throws the error
> 
> 
> \startMPpage
> StartPage ;
> 
> 
> numeric row, col, unit;
> pair  middle;
> row := 1; col := 1;
> unit := 2 * cm ;
> picture p, q ; p := nullpicture; q := nullpicture;
> string l[];
> l[0] := "2" ; l[1] := " 4";
> 
> 
> for i= 0 upto row :
> middle := (i * unit, 5cm);
> p := thelabel( l[i], middle);
> draw p;
> %q := p reflectedabout (0.5[urcorner p, ulcorner p], 0.5[lrcorner p, llcorner p]);
> %draw q

here a ; is missing after the q

> endfor
> StopPage ;
> \stopMPpage
> \stoptext
> 
> The file is also attached.
>   As I told earlier, an  error is thrown if I uncomment the line that assigns q and then draws it.
> 
> Thanks for your help,
> ajith
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-06-04 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <561884252.127404.1622754117330.ref@mail.yahoo.com>
     [not found] ` <561884252.127404.1622754117330@mail.yahoo.com>
2021-06-04  8:15   ` Ajith R
2021-06-04  9:22     ` Hans Hagen
2021-06-04 11:25       ` Ajith R
2021-06-04 12:27         ` Hans Hagen [this message]
2021-06-04 15:08           ` Ajith R
2021-06-04 15:28             ` Hans Hagen

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=3a356e83-2349-6269-c803-48c57cef9757@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ajithramayyan@yahoo.co.in \
    --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).