Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

Jürgen Spitzmüller jspitzm at gmail.com
Sat May 18 10:45:11 UTC 2024


Am Samstag, dem 18.05.2024 um 13:13 +0300 schrieb fcanatay at gmail.com:
> Problem was mysterious because (1) it happened in LyX 2.4.0 but not
> in LyX 2.3.7, and (2) there was no indication that previews were not
> generated because these style files were missing. Perhaps something
> in lyxpreview2bitmap.py has changed between versions, but I’m not
> sure.

Support for cprotect is new in 2.4.0. This is not (only) relevant to
preview, it is used in cases where arguments of macros might break.

> Suggestion: It may be useful to indicate in the LyX wiki
> https://wiki.lyx.org/LyX/InstantPreview that suffix.sty and
> cprotect.sty are additionally needed for Instant Preview to work.

Don't know about suffix, but cprotect should probably by a requirement
for LyX now generally.

-- 
Jürgen


More information about the lyx-devel mailing list