Regression in 2.4.0
Udicoudco
udifoglle at gmail.com
Wed May 15 13:00:02 UTC 2024
On Wed, May 15, 2024 at 3:03 PM Jean-Marc Lasgouttes <lasgouttes at lyx.org> wrote:
>
> Le 15/05/2024 à 13:51, Udicoudco a écrit :
> > Yes, sorry for not being clear, the PDF output is OK, it is the GUI
> > that has changed, the equation tagging is
> > on the wrong side and a bit lower than the equation. I attached an
> > example file and a couple of screenshots.
>
> About the side, I thought I had tested that in some way. Is the side
> consistent across all methods to switch to Hebrew (babel, polyglossia,
> something else I do not know…)?
There are only two exceptions in the PDF output (both in LuaTeX),
* with luabidi (i.e. polyglossia + lualatex) the side is in
correspondence with
the paragraph direction (on the right side in LTR and on the left
side in RTL)
with the default settings (or leqno to be precise), but I don't
know if this should serve as
an example, as it is the only instance where equation number side
depends on the language.
And if leqno is used then
* LuaTeX has a bug which probably won't be fixed, \leqno does not
work properly in RTL paragraphs,
this means that if for example hebrew is the secondary language,
the output of equation tag location
with babel and LuaTeX is wrong (see
https://github.com/latex3/babel/issues/259), and with polyglossia
and the `leqno` option you will get wrong output in RTL paragraphs as well.
I attached some outputs of several configurations (engine+language
package), files that also has leqno in is name
has the leqno option in the Math Options settings. In all the PDF,
Hebrew is the secondary language. IMO, the
most consistent thing to do is to determine the tag side according to
the leqno or other similar options.
Udi
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luatex-polyglossia.pdf
Type: application/pdf
Size: 18619 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0007.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdftex-babel.pdf
Type: application/pdf
Size: 37629 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0008.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luatex-babel.pdf
Type: application/pdf
Size: 18276 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0009.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luatex-polyglossia-leqno.pdf
Type: application/pdf
Size: 18622 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0010.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xetex-polyglossia.pdf
Type: application/pdf
Size: 5617 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0011.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xetex-babel.pdf
Type: application/pdf
Size: 5275 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0012.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luatex-babel-leqno.pdf
Type: application/pdf
Size: 18265 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240515/8dda87c6/attachment-0013.pdf>
More information about the lyx-devel
mailing list