Am 04.10.2026 um 13:44 schrieb Hans Hagen via ntg-context:
On 10/4/2026 1:19 PM, Jean-Pierre Delange via ntg-context wrote:
Hi Wolfgang,

thank you for these useful clarifications.

I agree that, for an introductory manual, the extension should ideally be meaningful and immediately understandable.

At the same time, in more complex ConTeXt projects, it is very useful to distinguish file extensions clearly, because this makes it much easier to identify the role of a file at a glance.

For example, |.mkxl|is already widely used within the ConTeXt tree for implementation files, modules, environments, and other support or configuration material. In a larger project, keeping such files visually distinct from the main document sources can be very helpful.

So I think there is some merit in separating the extension used for internal or project-structure files from the extension used for ordinary user documents.

In that respect, |.lmtx|could be a more explicit and readable choice for user documents, while |.mkxl|would remain useful for the existing ConTeXt/LMTX implementation and configuration files.

This would also make the structure of larger projects easier to read and maintain.

as long as you keep in mind that when you don't use an extension what you load a file, the system checks for various suffixes (which is why ww can have files like foo.mkiv and foo.mkxl alongside)
The file extension are only tested with \component, \usemodule etc.

The manual has also the following sentence in section 2 which is false because only .tex is added when an extension is missing.


If you want to process a ConTeXt input file, you should type at the command line prompt:

    context first-document.mkxl

The extension .mkxl is not needed to be typed. [...]


Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
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
___________________________________________________________________________________

Reply via email to