I use Windows at home and OSX at the University. My tex files are synchronized via Dropbox. However, the path rules are, evidently, different in these systems. As a result, I have to write something like this
and comment/uncomment a line above depending on the operating system.
Does exist some more 'elegant/clever' way?