On 12/17/2023 11:22 PM, Gavin via ntg-context wrote:
Hello ConTeXters,
I wrote a little ConTeXt module for drawing globes. I would love some advice on
how to improve it and share it. The code is quite short (about 250 lines). Most
of the work is done by Lua, which reads the data files and calculates paths.
These paths are passed to MetaFun, which draws the globe.
about names:
how about
t-luageo.lmt
t-luageo.mpxl
so that one knows what comes with the module (we do the same with s-*
modules)
and you can add the example to the end of the module
\continueifinputfile{t-luageo.mkxl}
\starttext
exaple code
\stoptext
and then process the module to get the example
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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________