Am Donnerstag, dem 22.12.2022 um 10:39 +0000 schrieb Udicoudco: > Would it be reasonable to format the output latex code when exporting > an RTL LyX document > with LuaTeX s.t it will use babel instead of polyglossia? (attached > a latex file that demonstrates the format i want to achieve, it > somewhat resembles this example file from babel repository). > > I tried to disable all language support from lyx (no language package > etc.) but then LyX behaves just as with pdflatex and RTL languages, > it inserts some RTL related code by itself, e.g., \R, \L, and with > babel and luatex these commands are not defined.
You can simply select "Language package: always babel" if you want babel with LuaTeX. > I have one final question on the matter. Why does LyX enclose every > equation with \LRE when exporting a hebrew document with XeLaTeX? > I could not figured the use of that, and it somewhat clumps the > exported code. That's an effect of the fix to https://www.lyx.org/trac/ticket/10548 -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel