diff --git a/optex/pkg/minim.opm b/optex/pkg/minim.opm index 7929855..5bf4c0f 100644 --- a/optex/pkg/minim.opm +++ b/optex/pkg/minim.opm @@ -92,6 +92,18 @@ tex.setcount("global", "e@alloc@luafunction@count", \csstring\#function_table) } + \_doc + Both \LaTeX/ and the minim inspired catcode table allocators initialize the + catcode tables with `\initcatcodetable` (i.e. ini\TeX/ catcodes). \OpTeX/ + merely allocates the registers. \LuaTeX/ doesn't allow to activate + unitialized catcode table, therefore activation with either + `\initcatcodetable` or `\savecatcodetable` is necessary before use. To + ensure compatibility with foreign macros, we also issue `\initcatcodetable` + on allocation in the public version of `\newcatcodetable`. + \_cod + +\_def\newcatcodetable#1{\_newcatcodetable#1\_initcatcodetable#1} + \_doc We also get PDF resources out of the way now. Minim is ready to use \OpTeX's PDF resource management, but also has compatibility layer for PGF, which is @@ -106,18 +118,6 @@ \input minim-alloc - \_doc - Both \LaTeX/ and the minim inspired catcode table allocators initialize the - catcode tables with `\initcatcodetable` (i.e. ini\TeX/ catcodes). \OpTeX/ - merely allocates the registers. \LuaTeX/ doesn't allow to activate - unitialized catcode table, therefore activation with either - `\initcatcodetable` or `\savecatcodetable` is necessary before use. To - ensure compatibility with foreign macros, we also issue `\initcatcodetable` - on allocation in the public version of `\newcatcodetable`. - \_cod - -\_def\newcatcodetable#1{\_newcatcodetable#1\_initcatcodetable#1} - \_doc By now, the Knuthian allocators are dealt with. \eTeX/ global and local allocators are undefined, but the global ones are expected in minim's Lua