Sublime Forum

LaTeXTools: Stop inserting image path

#1

Hi all,

I’ve recently started to use LaTeX for writing up documents and reports, and have been using LaTeXTools to do so. I try to be organized with my files and keep separate ‘img’ or ‘figure’ folders, and define a global \graphicspath{} in the header with the graphicx package.

I’ve found that when trying to use \includegraphics{}, the auto-complete function will also insert the subfolder which is not necessary with \graphicspath{}. Is it possible to set an option that will only include the filename and not the subfolder as well? I know that using auto-complete means that I don’t have to muck about with \graphicspath{}, but I just think it makes things a bit easier to read.

Thanks!

0 Likes