[NTG-context] Labels in MetaPost (MetaObj)

Stefan Müller warrence.stm at gmx.de
Sun Jan 23 22:14:34 CET 2011

On 23.01.2011 18:22, Aditya Mahajan wrote:
> On Sun, 23 Jan 2011, Stefan Müller wrote:
>> Sorry for double posting... The method with "if not flag" is a bit
>> arkward, because assignObj isn't the only problem. "rotateObj(s, 90)"
>> would rotate the object 180 degrees instead of 90; when defining the
>> relation between several objects some equations may became redundant
>> (my script is rather complex and I'm not sure why some of the
>> equations cause trouble).
> Depends on the internal implementation of MetaObj (I have not looked at
> that). You can try to iteratively add stuff and see what breaks, and
> then add if not flag around them.

Okay, that's what I do now. It seems it's savest to just put "if not 
flags" around the object constructors, object transformations and 
definition of inter-object relations. This does not produce graphical 
output, so it should be save to run it only once.

> Sorry, but I do not know a more elegant way around this. In the worst
> case, you can switch to MkII to draw your figures :-\
> Aditya

Thank you very much!

More information about the ntg-context mailing list