Inserting graphics located in directory from which lyx is executed

Paul A. Rubin parubin73 at gmail.com
Mon Jul 25 14:34:26 UTC 2022


On 7/24/22 17:32, David Halpern wrote:
> I am having the following problem in linux (fedora 36). I have a a 
> directory called Docs that contains a lyx file together with eps files 
> that I would like to insert in the lyx file. To insert a figure, I 
> select Insert, choose Float and then select Figure. Then inside the 
> Float, I again select Insert, and choose Graphics. In the Graphics 
> menu, I click on Browse. Unfortunately, I don't get a list of the list 
> of eps files that are in the same directory as the lyx file and from 
> which I issued the command "lyx". I have to change directories, and 
> this is particularly cumbersome since I end up having to do this for 
> each float.  I don't seem to have the same problem when using lyx on a 
> Mac.
>
> Any suggestions would be appreciated.
>
> Thank you.
>
> David Halpern
>
I can confirm that (a) this is not a Linux issue (I don't have this 
problem on Linux Mint) and (b) checking the option to save the document 
directory in the document is not necessary on Linux (or at least not on 
Mint). That said, it's possible that checking that option might override 
whatever is going wrong.

When you click the browse button in the insertion dialog, in what 
directory does it start? Also, which version of LyX are you using, and 
did you compile it yourself or use a binary package?

Paul



More information about the lyx-users mailing list