Le 27/11/2015 14:29, Jürgen Spitzmüller a écrit :
\hspace and \hfill will be discarded at the beginning of a line (as
opposed to the starred forms).

So after \\, \newline etc., but also after an automatic line break.

The former is something which we can symbolize in the work area (and do
so, actually), the second one is impossible to predict.

What about the start of a paragraph? And what about the end of row/paragraph?

I did not check all your test cases and patches, but with current
branch, visual hfill expansion

* is correct for unstarred hfills after line and paragraph breaks
* wrong for "protected" hfills after line breaks

I do not think that we handle protected hfills at all.

hspace expansion, conversely,

* is wrong for the unstarred version after line breaks (expanded in the
work area, discarded in the output), but correct after par breaks
* and correct for the protected version after line breaks and par breaks.


Thanks, I'll try to come up with a plan.

JMarc

Reply via email to