spurious spaces around forceLTR insets

Udicoudco udifoglle at gmail.com
Sun Apr 9 23:16:33 UTC 2023


On Sun, Apr 9, 2023 at 1:15 PM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
>
>
> To elaborate, the attached patch demonstrates what I mean. It also
> handles "inline" environments properly, given that they have set
> "Display false" in their layout definition.
>

Oh, now I see! Yes, that would make more sense. But I still have two queries:

1) shouldn't display equations be wrapped with

       \LRE{%
           \[a+b=c\]
   }%
   otherwise vertical spacing would be wrong. Though, note that I
opened a bug ticket (https://www.lyx.org/trac/ticket/12731)
   where I explained why I think math equations shouldn't be decorated
at all with such commands.

2) The patch does not seem to fix the problematic spaces for
pdflatex+babel, and I don't think there is a counterpart for
    the LTR environment in this case.

> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list