Michael Dean Pugh said on Thu, 12 Feb 2026 17:16:45 +0000

>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.  LyX must be caching something
>somewhere, but I have no idea where.  Does anyone know what is going
>on?

This is just an idea that popped into my head. SVG is pretty parsable.
It's possible to make a Python program to:

* Strip out the outer file information from each of the 6 Mathematica
  SVG files.

* Put the first three in a group with lines between them.

* Put the second three in a group with lines between them.

* Put outer file information around the whole.

I'm well aware that this is nothing like what you were asking about,
but it's just a thought.

SteveT

Steve Litt 

http://444domains.com
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to