olsak / OpTeX

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

Using `\hpack` and `\vpack` for fake boxes #171

Closed Udi-Fogiel closed 4 months ago

Udi-Fogiel commented 4 months ago

sometimes OpTeX boxes material that is not meant for typesetting, for example in \_loadtrick, to make sure that the file is read in vertical mode, he loads the file inside \vbox. This boxing process calls for the vpack_filter callback, and I think it is redundant. Replacing \vbox with \vpack in such cases can prevent that.