I work on a folder with LaTeX files on two different computers. Dropbox syncs both folders, but the location of folders are different in different computers, so when I include a photo in one computer, it generates error in the other one as the paths are not the same. How can I make LaTeX to pick up the current path ?
Asked
Active
Viewed 2,020 times
3
..to refer to the parent directory. But you can get the absolute path using thecurrfilepackage when loaded with theabspathoption. See http://tex.stackexchange.com/q/42417/2975. Note that this requires the-recorderoption for the LaTeX compiler (e.g.pdflatex). – Martin Scharrer Sep 23 '13 at 09:02\graphicspath{{./graph1/}{./graph2/}}to load from both directories. – Tawei Sep 23 '13 at 09:33