Am Sonntag, dem 28.09.2025 um 23:06 +1300 schrieb Andrew Parsloe: > I noticed with my small test documents that even just saving seemed > to clear the \selectlanguage, \foreignlanguage commands. But in the > big complicated document saving alone was not enough. Saving and > reopening (which I hadn't noticed) does seem to work.
I know where the problem lies (Cursor::setCurrentFont()), but setting the language there (back from latex in a subsequent paragraph) has collateral bad effects (e.g., if the paragraph before the verbatim uses an additional language, the switch to the main language is missing). Since this is only a cosmetic problem (the language switch is just redundant, and temporary), I'd rather not touch this now and wait until we can text thoroughly in the 2.6.x cycle. Meanwhile, you could file a ticket to keep the problem on the radar. -- Jürgen -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
