mplib: identifiers starting with units
Hi,
I've been trying to use the 'cmarrows' metapost library with ConTeXt/mplib.
Essentially it's a thin wrapper around the cmr metafont sources to get
the arrowheads.
This triggers an incompatibility between mplib and classic mpost/mf:
pt#:=1pt;
In MetaFont/MetaPost pt# is an allowed identifier, but in mplib this
results in a parse error. Unfortunately, pt# is used all over the cmr
sources... would it make sense to allow using this again?
--
Leah Neukirchen
On 7/5/2023 3:47 PM, Leah Neukirchen wrote:
Hi,
I've been trying to use the 'cmarrows' metapost library with ConTeXt/mplib. Essentially it's a thin wrapper around the cmr metafont sources to get the arrowheads. This triggers an incompatibility between mplib and classic mpost/mf:
pt#:=1pt;
In MetaFont/MetaPost pt# is an allowed identifier, but in mplib this results in a parse error. Unfortunately, pt# is used all over the cmr sources... would it make sense to allow using this again? won't change .. maybe you have to define # somehow? or replace that one in the mf source
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Leah Neukirchen