Dear org experts, 

I'm working on an org file on a remote server using tramp. Often I need to export beamer slides from it. I realised that it has problems with the file paths, which currently are local with respect to the server. I thus had to first export a tex file, which worked fine over tramp, then compile it in a shell on the server.  

I'd like to speed this up to do the process in one go, as if I am working on a local machine. Sometimes when the latex file has references I then had to compile one extra time for bibtex, which soon became tedious. 

Thanks !

Zhihao