ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mplib: identifiers starting with units
@ 2023-07-05 13:47 Leah Neukirchen
  2023-07-05 14:45 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Leah Neukirchen @ 2023-07-05 13:47 UTC (permalink / raw)
  To: ntg-context

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  <leah@vuxu.org>  https://leahneukirchen.org/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mplib: identifiers starting with units
  2023-07-05 13:47 mplib: identifiers starting with units Leah Neukirchen
@ 2023-07-05 14:45 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2023-07-05 14:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-05 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-05 13:47 mplib: identifiers starting with units Leah Neukirchen
2023-07-05 14:45 ` Hans Hagen

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).