Am 19.12.23 um 15:27 schrieb Gavin via ntg-context:
This was very helpful. I think I have everything organized according to TDS now.
Thank you for the feedback!
Sort these files into folders according to TDS (TeX directory structure) – just
have a look at the distribution to understand what
Hi Hraban,
This was very helpful. I think I have everything organized according to TDS now.
> Have a look at
> https://wiki.contextgarden.net/Modules#Module_writing_guidelines
> … and please tell me, if you miss anything or find errors!
Regarding TDS, the wike page says:
> Sort these files
On 12/18/2023 5:22 PM, Gavin wrote:
Hi Hans,
On Dec 18, 2023, at 3:12 AM, Hans Hagen via ntg-context
wrote:
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)
"t-luageo.lmt" is fine, but "t-luageo.mpxl"
Hi Hans,
> On Dec 18, 2023, at 3:12 AM, Hans Hagen via ntg-context
> wrote:
>
> 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)
"t-luageo.lmt" is fine, but "t-luageo.mpxl" breaks the module. I
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
On 12/18/2023 4:49 AM, Gavin wrote:
Hi Hans,
Thanks for all the suggestions! I am going through them carefully.
- in mp you can do this
vardef theglobe(expr lat, lon) =
for i = 1 upto lua.mp.makeglobe(lat, lon):
(lua.mp.getglobepath(i))
endfor
cycle
enddef ;
Does
Am 18.12.23 um 00:58 schrieb Hans Hagen via ntg-context:
On 12/17/2023 11:22 PM, Gavin via ntg-context wrote:
2. How do I organize this according to TDS for sharing? I know what
TDS is and why it’s important, but that’s about it!
Hraban will guide you here.
I’ll try ;)
Hi Gavin, thank you
Hi Hans,
Thanks for all the suggestions! I am going through them carefully.
> - in mp you can do this
>
> vardef theglobe(expr lat, lon) =
>for i = 1 upto lua.mp.makeglobe(lat, lon):
>(lua.mp.getglobepath(i))
>endfor
>cycle
> enddef ;
Does "" allow a disconnected
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
On 12/17/2023 11:22 PM, Gavin via ntg-context wrote:
1. How do I avoid redrawing diagrams with every typeset? The globe above takes
about 0.7s, which is not bad, but it adds up in a book with many diagrams.
\startbuffer[demo]
\usemodule [luageo]
\startMPpage
GlobeDiameter = 10cm ;
10 matches
Mail list logo