Accept long global and protected definition prefixes

This commit is contained in:
gloamxun committed 2026-10-26 02:51:35 +08:00
1 parent c95cfa5967
commit cb00e21127
4 files changed
+65 -11

No files matched your search

+3 -1
View File
@@ -141,7 +141,9 @@ parameterization commands:
- `\newlength`, `\setlength`, and `\addtolength` (skip registers), plus
`\newcounter` / `\setcounter` / `\addtocounter`.
- `\newcommand`, `\renewcommand`, `\providecommand`, `\def`, `\let`, and
legacy commands such as `\setlength`-style kernel macros.
legacy commands such as `\setlength`-style kernel macros; `\long`/`\global`/
`\outer`/`\protected` definition prefixes, `\gdef`, and
`\protected@edef`/`\protected@xdef` are accepted.
- `\newenvironment` / `\renewenvironment` are accepted; layout-critical
environments (`abstract`, `figure`, `table`, lists, `tabular`) keep the
engine's native behavior, and redefinitions of the structural commands