LyX with luatex and non-TeX fonts: Preview of math blown up

Tobias Hilbricht hilbricht at linopus.de
Sun Apr 28 11:52:34 UTC 2024


Dear developers,

here, when using LyX with non-TeX fonts and output set to luatex,
preview of math (inline and display mode) is blown up (takes
unnecessary white space). When using XeTeX, preview works as expected,
that is, takes up the same space as in the compiled document.

I attached a screenshot. The output pdf is not affected.

To reproduce: Set up a LyX document with math and preview on and set
output preference to luatex (document > settings > output). Save the
document and open it again. In LyX, preview is blown up.

This is independent of the non-TeX fonts used, I get it reproducibly
with Fira Math, Cambria Math, Libertinus Math and TeX Gyre Pagella
Math. When I set output to XeTeX, save and open again, LyX preview
takes up expected space.

LyX 2.4.0~RC4

lualatex --version
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
Development id: 7611

xelatex --version
XeTeX 3.141592653-2.6-0.999996 (TeX Live 2024)

Tobias



-------------- next part --------------
A non-text attachment was scrubbed...
Name: LyX_preview_luatex_xetex.png
Type: image/png
Size: 162782 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240428/713968b4/attachment-0001.png>


More information about the lyx-users mailing list