latex3/svn-mirror — Issue #62: Ending a vbox with \par
Author: blefloch
Created: 2011-12-17 03:10:32+00:00
State: open

In `\vbox{Abc.}`, TeX ends the paragraph beyond our control, and there is no way to hook into the end of the paragraph. This is due to TeX _not_ inserting the macro `\par`. Instead, it ends the paragraph as if the primitive had been inserted. (See discussions on [when TeX inserts `\par`](http://tex.stackexchange.com/questions/37042/) on the tex.stackexchange website.)

We could define `\vbox_set_end:` to be `\mode_if_horizontal:T {\par} \c_group_end_token` to have more control.