Some math symbols fail in MetaPost in MKIV
Hi, as it seems, some symbols in math mode seem to fail when put inside MetaPost. In the example I tried, both "~" and "|" were causing processing errors when used inside MetaPost (I tried both btex...etex as well as \sometxt). It works fine in MKII however. The minimal example is attached to this mail. Best Regards, Andreas.
On Mon, 2 Nov 2009, Andreas Schneider wrote:
Hi,
as it seems, some symbols in math mode seem to fail when put inside MetaPost. In the example I tried, both "~" and "|" were causing processing errors when used inside MetaPost (I tried both btex...etex as well as \sometxt). It works fine in MKII however.
The minimal example is attached to this mail.
I don't know how to prevent expansion of ~ and | inside mp. Hans, can you please check what is the right way to correct this. However, note that ~ does not make sense in math mode anyways. As a work-around, you can use $a\ b\vert c$ inside metapost. Aditya
participants (2)
-
Aditya Mahajan
-
Andreas Schneider