Display of left-indented long-table in a branch
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Sep 22 10:01:57 UTC 2021
Le 10/06/2021 à 17:11, Kornel Benko a écrit :
> Am Thu, 10 Jun 2021 07:59:59 +0200
> schrieb Kornel Benko <kornel at lyx.org>:
>
>> I have an old lyx-file which has a long-table in a branch. See MWE.
>>
>> I added a second long-table, but am unable to create an equivalent to the first table.
>>
>> The display of the first branch is wrong.
>>
>> How can I set/reset the indentation?
> I tried to bisect ...
> the first commit showing the behaviour is:
In some sense, it is more precise than before, the negative left indent
is visible ;)
Knowing that the thing is centered, I have no idea how the horrible code
in LyXParagraphLeftIndent behaves in PDF output. If you want me to fix
it, I have to know what is supposed to happen.
JMarc
>
> 8e7d0c2002bdc69c95f3a43f7c78d13fe47ce5f3 is the first bad commit
> commit 8e7d0c2002bdc69c95f3a43f7c78d13fe47ce5f3
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date: Fri Jan 27 16:09:03 2017 +0100
>
> Fix flushing of row that was cut after an hyphen
>
> When using Qt stuff in breakAt, it may happen that the row is broken
> after an hyphen (whereas the old code would only consider spaces).
>
> The fact that we abuse the Row::right_boundary() property to detect when
> a row should be flushed broke justification when a row is cut at an
> hyphen.
>
> Fix this by introducing a new Row::flushed() property and set it as needed.
>
> :040000 040000 8b92984f25ebe7b687292bd2d610931e06ca2738
> ca6b189e5c150515d8d0243f32f0665aa3053405 M src
>
> Kornel
>
>
More information about the lyx-devel
mailing list