Hello Joseph, Le Mon, Oct 18, 2021 at 02:04:20PM +0100, Joseph Wright a écrit : > Hello Thierry > > > From an engineering point of view, couldn't the code set everything with > > some: > > > > \ifx\engineversion\undefined > > \else > > \input engine.tex > > \fi > > > > ? So that it's easier to see what depends on the engine and in order > > for modifications to the engine to be severed from the rest of the code? > > Very little of the code is engine-specific, and the parts that are are > largely in separate files as you suggest. Broadly > > - l3names needs to save primitives in a predictable way, so checks for > example for pdfTeX and LuaTeX names for the same concepts > - l3sys sets up engine-specific paths > - l3backend is split by backend: you likely are using dvips so > l3backend-dvips.def needs to be loaded > OK, I will restrict my interventions to these .dtx. Thanks! -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ http://kertex.kergis.com/ http://www.sbfa.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C