Am Fri, 30 Dec 2011 21:31:36 +0000 schrieb Joseph Wright:
>>> what is the recommended way to issue a \leavevmode in latex3?
>> I guess the answer is not yet. Eventually the underlying concept should
>> be part of the galley module. But how this will provided in the end
>> depends a little bit on how far we take this module. There have been two
>> different implementations initially with somewhat different concepts and
>> the new one by Joseph implements some but not all of the original one
>> (for good reasons I would say).
> In some parts of the coffin code, we do this 'directly' using
> \hbox_unpack:N \c_empty_box
Well I thought about
\hbox_unpack_clear:N\c_empty_box
(as the documentation of source3 says that \hbox_unpack_clear:N is
\unhbox).
And as I can see l3galley uses
\tex_unhbox:D \c_empty_box.
Is there any real difference between the three variants?
And is the name in l3galley "\galley_leave_vmode:" stable? I would
prefer a standard command instead of my own local
\leavemode-command. \leavemode is imho such a central concept that
it should have a standard name.
I wish you all a happy new year!
--
Ulrike Fischer