Re: Caching of graphics files

Pavel Sanda via lyx-users <[email protected]> Thu, 19 Feb 2026 11:35:07 +0100
Newsgroups gmane.editors.lyx.general
Message-ID <[email protected]>
On Thu, Feb 12, 2026 at 05:16:45PM +0000, Michael Dean Pugh wrote:
> This has been an issue for some time and I usually find a workaround, but every time I have to remember how I did it.  I have output from Mathematica six identically sized .svg files which I want to put in a 2x3 table in LyX.  I insert the first graphic and then play with the size until it looks to be a little less than 1/3 of the line width of the document.  Armed with this size, I then insert the other five graphs.  These five are identically sized but the first one is not--it is slightly too large.  I've deleted it and added it back.  I deleted the files in the directory and regenerated them.  I even changed the name of the file.  I deleted everything in the Cache subdirectory.  No go.  I am 100% positive these plots are the same size, having opened them in Inkscape to be certain.  Ly
 X must be caching something somewhere, but I have no idea where.  Does anyone know what is going on?

1) Can't you just set the exact size you want to see in the pdf input and set it the same for all figs in the table? You know about Graphics Groups feature, right?
2) Double check you claim that the files are really of the same size, I had similar problems when the svg file declared different margins etc.
3) Double check that you identified the right directory with cache. Does the cache regenerate when you relaunch lyx/pdf? Do you see new conversion happening?
   (If you really changed the filename this is not probably the problem).

Pavel
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users