There is another instance where the ability to update previews would be
nice, namely when you change the maths font. (I usually do this in the
document preamble.)

I use lualatex for most things but I’d imagine the issue remains for other
TeX variants too. Sometimes I don’t get around to changing the math font
until later on, and the math previews remain stubbornly in Latin Modern.

It would be nice to be able to “View » Regenerate previews” or right-click
on a preview and choose a regenerate command.

A quick document close and re-open usually fixes it though.


Shay

On 9 March 2018 at 08:28, Jean-Marc Lasgouttes <[email protected]> wrote:

> Le 08/03/2018 à 23:03, racoon a écrit :
>
>> I see. The general problem is that if you don't directly change what is
>> inside a preview, then no update will happen and there seems to be no way
>> to force LyX do so - except for files from the cache. So one is stuck with
>> a outdated previews.
>>
>
> The updateLabel mechanism could do that in theory. But I do not know very
> well the preview mechanism and how it determines that the contents has
> changed.
>
> JMarc
>

Reply via email to