Le 17/04/2017 à 19:53, Uwe Stöhr a écrit :
El 17.04.2017 a las 18:32, Jean-Marc Lasgouttes escribió:
I do not have time right now, but I just committed a patch for
parindent. Does it help?
No, it introduces bugs. Noe you use "0pt" as default value but this is
not correct. We don't know the default value of parindent.
The default value has unit==NONE, which is the definition of an empty
length. An empty length is not of size 0, it is undefined. This is what
is obtained when the entry field is left empty. What is wrong with that?
Moreover you write now parindent to the LyX file in every case, no matter if the
default is chosen.
Do I? This is not on purpose. OTOH, I think that it is a very bad idea
to output different preamble entries depending on variables. It serves
to real purpose, and can only confuse lyx2lyx.
Now that I checked, paragraph indentation was already written to file in
2.2, although the value was "default". I will fix that, since I have no
interest in fixing the file format for now.
JMarc