From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23403 invoked from network); 18 Dec 2023 16:14:49 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 18 Dec 2023 16:14:49 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 05D4B483E8E for ; Mon, 18 Dec 2023 11:14:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Og8DRLYfUM0v for ; Mon, 18 Dec 2023 11:14:41 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BBDF2483F87 for ; Mon, 18 Dec 2023 11:13:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 15639480FC8 for ; Mon, 18 Dec 2023 11:13:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lk90_StiFMVi for ; Mon, 18 Dec 2023 11:12:59 +0100 (CET) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CC180480D23 for ; Mon, 18 Dec 2023 11:12:59 +0100 (CET) Received: from smtp.freedom.nl (c04cst-smtp-frd01.int.sover.in [10.10.4.107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4Stwcq5QVDz5n for ; Mon, 18 Dec 2023 10:12:59 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4Stwcq3Kp9z5Y for ; Mon, 18 Dec 2023 10:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1702894379; bh=Qg6mH/L70lPOTDlPFL3eomRVd1P3oN+gTidwt+s+MTc=; h=Date:Subject:To:References:From:In-Reply-To:From; b=wMMn1mb6AdA4ulDgZk/lQmUvFOVb5gqkGrSMgrFpAvTLrusjmv1N3+YrzGAwJYYfc 3Sr2txTPKWqCP8WgxPtuMY48a2QZ9savwyQ2isIjeihW0oXzDibETRloNbFJvQBJlQ bqz2hmeyMkIdbS7hHv1MJPleCfe8HAR1fbVMp/b4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1702894379; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KDYg0LSDeDhCfyQSAj3PMgyUhgilvl7+Pp35TM4KyWc=; b=aOIQyjSf132Edx8Ai2KOAhleSrlqi6CfumiMFAV3Kk1B3o65oeVrFnVViMJ+gamfz/75bo GDTM5qv7kQXhsyJIcYwEq5udwElbQpxxIko4SOmQ/BkLlDSLREsc9VVkHAXVTShRKOGSgF 7xTNceWRCLb1KZ+d62Dp/unFTCC9HXw= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1702894379; a=rsa-sha256; cv=none; b=lAbWZilfK/x0RdIMvx8wUpnXim7+8fjfp0g5bzomWTjZOOSQ7Oaiqw0OmdAWlWzBbxMB8+ xzDyhznmHz63D5xVbDSz3iFzy5Yxk59HS2T+W/w7HF5mKu5gG8AAsbuFFe7wmz4FGq0SQT F0ipbJvknGBONpbDVAXF024U9bEd/5M= Message-ID: <29836b64-5ee9-413d-b1b8-93fb5bbb28ea@freedom.nl> Date: Mon, 18 Dec 2023 11:12:59 +0100 MIME-Version: 1.0 Content-Language: en-US To: Gavin via ntg-context References: X-Soverin-Authenticated: true In-Reply-To: Message-ID-Hash: PW52K4PUEUVVK577TACN3KUYODXOYDIM X-Message-ID-Hash: PW52K4PUEUVVK577TACN3KUYODXOYDIM X-MailFrom: j.hagen@freedom.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Seeking advice for module that draws globes List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit 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 ___________________________________________________________________________________