[NTG-context] \the\font in luametatex

2020-06-13 Thread Marcel Fabian Krüger
Hi,

in the latest luametatex version, \the\font does ... something weird:
E.g. with a current, fully updated lmtx, I get for

\starttext
\showthe\font
\stoptext

the output

> }\ifempty \currentstyleparameter \else \dousecurrentstyleparameter \fi

instead of the expected

> \3>modern-designsize-12pt-rm-tf-0--0

(or similar)

(given that this contains an unmatched `}`, it causes havoc if \the\font
is used in unsuspecting macro code.)

Best regards,
Marcel
___
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
___


[NTG-context] Asymptote and lmtx

2020-06-13 Thread Otared Kavian
Hi all,

Recently I have been using (in a very elementary way) Metafun in order to 
visualize a small set of data in 2 dimensions, as a scattered set of labeled 
dots, and I wanted to do the same in 3 dimensions. Indeed one can write an 
analogous Metafun code for 3d, but I thought using Asymptote is more efficient. 
 
I saw that there is a module
m-asymptote.mkiv
in the distribution, but typesetting that file with lmtx or mkiv does not give 
the expected result.

Has anyone a working example of using Asymptote from within ConTeXt, from which 
I could begin to learn?

Thanks for any hint: Otared 
___
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
___