olsak / OpTeX

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

Add sanity check to namespace export macros. #45

Closed robertbachmann closed 3 years ago

robertbachmann commented 3 years ago

\public \foo would make \let\foo=\relax in cases were no corresponding \_foo was defined. This would hide typing errors.

olsak commented 3 years ago

Thank you for this idea. Normally, OpTeX macros generates only warnings but this should be an exception because \private etc. are not used in normal document processing.