olsak / OpTeX

OpTeX - LuaTeX format with extended Plain TeX macros
http://petr.olsak.net/optex/
33 stars 14 forks source link

Patch `\newcatcodetable` before loading minim-alloc #154

Closed vlasakm closed 8 months ago

vlasakm commented 8 months ago

In the latest release minim actually uses \newcatcodetable in minim-alloc.tex. This means that it still uses the standard OpTeX definition (which doesn't initialize the catcode table), but it expects the initialization.

We solve this by doing the patch to \newcatcodetable before loading minim-alloc.tex. It should have probably been done this way right from the beginning, it just didn't manifest.

vlasakm commented 8 months ago

The "problematic" minim version was released two weeks ago, so this hasn't been problem for that long.

I found it while preparing a new release of mmtex with my optex-minim test file: https://github.com/vlasakm/optex-minim/blob/master/examples/optex-minim-pgf-test.tex (in case you want to test yourself).