Inserting graphics located in directory from which lyx is executed
David Halpern
david.halpern at gmail.com
Mon Jul 25 15:55:06 UTC 2022
Paul,
Thanks for the response. The problem seems to be that the working directory
is permanently set as my home directory, /home/dhalpern. Reading the
information that appears in preferences about paths, it clearly states that
the working directory should be the directory from which one starts lyx.
However, I've tried starting lyx from different directories, and the
working directory does not change. It's always set as the home directory.
Is this a bug? The way around seems to be to change the working directory
while working on a particular project, but this is not optimal.
I am using Lyx 2.3.6.1, a fedora 36 binary package. I tried to compile
myself but it failed.
David Halpern
On Mon, Jul 25, 2022 at 9:34 AM Paul A. Rubin <parubin73 at gmail.com> wrote:
> 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
>
> --
> lyx-users mailing list
> 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/20220725/40e971c6/attachment.html>
More information about the lyx-users
mailing list