[dev-context] A robust way of detecting ConTeXt from LaTeX3

Vítek Novotný witiko at mail.muni.cz
Mon Jul 25 17:06:23 CEST 2022

Dear Mojca (and also Hans, off-list),

thank you for your helpful feedback. We updated LaTeX3, so that it
detects ConTeXt by the existence of the `\contextversion` command:

- https://github.com/latex3/latex3/pull/1114
- https://github.com/latex3/latex3/pull/1117


On Sat, Jul 23, 2022 at 10:59:11AM +0200, Mojca Miklavec wrote:
> On Thu, 21 Jul 2022 at 21:45, Vítek Novotný wrote:
> >
> > Dear all,
> >
> > however, `\fmtname` also seems to return `cont-en` consistently across
> > different versions of ConTeXt.
> Unless you are using the Czech interface, that is ;)
> In that case you would probably get cont-cz (or cont-cs, not sure).
> Mojca
> PS: I'm not really sure if that's still a thing nowadays, but cont-nl
> was definitely "widely" used in the past.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20220725/232cb8db/attachment.sig>

More information about the dev-context mailing list