Zahari Dim wrote:
> My personal issue: I am making a program that generates lots of images and
> stores them in the same folder as the lyx document. I generate
> programatically a lyx clipboard that pastes the figures to lyx with some
> formatting (floats, centering and so on). The problem is that there is no
> way to make the relative paths work (on linux a \ gets preppended) and I
> need them since I am using a VCS. Is there anyway to slip a relative path
> into the clipboard?

I believe it should be possible to solve your problem by using LyX pipe.
You would simply send lfun for inserting image with the correct path,
setting correct formatting would more tricky but still doable with next
lfuns or by using image groups. 

Untested :)
Pavel

Reply via email to