[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Henning Hraban Ramm
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

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-12-17 Thread Cron Daemon
rsync: [Receiver] failed to connect to rsync.pragma-ade.nl (213.125.29.165): No route to host (113) rsync error: error in socket IO (code 10) at clientserver.c(139) [Receiver=3.2.7] ___ If your question is of

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Gavin via ntg-context
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

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Hans Hagen via ntg-context
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

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Hans Hagen via ntg-context
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 ;

[NTG-context] Seeking advice for module that draws globes

2023-12-17 Thread Gavin via ntg-context
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,

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
Peter Münster schrieb am 17.12.2023 um 10:09: On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: \usemodule[abbreviations-logos] \defineblock [H] [before=\startcolor[blue],after=\stopcolor] \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Peter Münster
On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > \usemodule[abbreviations-logos] > \defineblock [H] [before=\startcolor[blue],after=\stopcolor] > \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test \beginH TEST\endH test TIA, --

[NTG-context] Re: APA 7 and https

2023-12-17 Thread Oliver Marugg
Hi Alan Many thanks for your solution. Oliver > Am 16.12.2023 um 22:33 schrieb Alan Braslau : > > A "better" solution is to put > > doi = {https://doi.org/__doi__}, > > in your bibtex database > > but I would actually use > > url = {https://doi.org/__doi__}, > > Not all editors want the