LyX and font caching

Michael Dean Pugh mdpugh at hotmail.com
Wed Aug 21 16:48:54 UTC 2024


Hello, José,

I am using 2.4 on Windows 11. I am not using equation preview, but I have created LyX math macros for some of the new symbols that use Insert -> special characters to indicate these symbols in the LyX UI, which may involve the same underlying technology. I don’t know what font those symbols are coming from (this was actually the topic of a question I asked in this forum a couple of weeks ago), but they’re not coming from mine (nor did I expect them to, although it would be nice to have more control over the fonts used for symbols in the user interface). To be clear, since there was confusion the last time, the user interface is using glyphs from some font that you guys chose, I guess, though I don’t know what it is, but glyphs from my font show up in the compiled document as expected. Updates to my font are not reflected in the LyX document and are when compiled in plain LaTeX. And, like I said, I can delete the font and LyX doesn’t even notice.

Thanks, again,
Mike Pugh

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: José Matos <jaomatos at gmail.com>
Sent: Wednesday, August 21, 2024 4:19:18 AM
To: Michael Dean Pugh <mdpugh at hotmail.com>
Cc: lyx-users at lists.lyx.org <lyx-users at lists.lyx.org>
Subject: Re: LyX and font caching


I think that this is related with math preview.

Are you using LyX 2.4?

What is your OS... Help->About LyX

On Tue, Aug 20, 2024, 18:23 Michael Dean Pugh <mdpugh at hotmail.com<mailto:mdpugh at hotmail.com>> wrote:
I hope someone can explain the problem I am having, because I am stumped.  I am creating a few new fonts with various mathematics symbols.  As a result, I periodically compile documents which use them so that I can see what the new fonts look like in context.  Some of these documents are written in LyX, others in straight LaTeX.  These fonts are .otf and in both cases, I am using XeLaTeX/XeTeX for compilation.  Here's the strange part.  Today, I noticed that the changes I had recently made to the font were not showing up in the LyX compilation.  But they are showing up in the LaTeX compilation.  What is weirder is that changes to the document itself do show up in LyX—it is the font that is not changing.  So I thought, well, something is getting cached somewhere.  It gets even weirder.  I deleted one of the fonts.  My LaTeX compilation now gives errors because it cannot find the font, but LyX still compiles—albeit displaying the document using the old version of the font.  What is getting cached, by what, and where?  I'm mystified.

Thank you,
Mike Pugh
--
lyx-users mailing list
lyx-users at lists.lyx.org<mailto:lyx-users at lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240821/af7f4028/attachment.html>


More information about the lyx-users mailing list