Importing latex file with figures in subfolders

fcanatay--- via lyx-users <[email protected]> Mon, 30 Mar 2026 20:27:51 +0300
Newsgroups gmane.editors.lyx.general
Message-ID <[email protected]>
Greetings,

I have a LaTeX document with figures in a subfolder, a \graphicspath in the preamble for that subfolder, and filenames without paths as arguments to \includegraphics commands. It compiles without problems. 

When I try to import the file into LyX, however, LyX is unable to import the figures ("No file found!”). Everything else works fine. It also works when all the figures are extracted to the same folder as the tex file, but not when they are in a folder specified by \graphicspath. Is there a way to make LyX recognize the \graphicspath, or else search the subfolders of the file's folder, when it cannot find the graphics by name?

Cheers,

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