Thanks for your reply. In export if I do "l P" or "l O" I get the follow messages Transcript written on .//texput.log. This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) restricted \write18 enabled. entering extended mode ! I can't find file `/ssh:zhihao@server:/data/home/zhihao/sgt.tex'. <*> .... server:/data/home/zhihao/sgt.tex (Press Enter to retry, or Control-D to exit) Please type another input file name ! Emergency stop. <*> .... server:/data/home/zhihao/sgt.tex ! ==> Fatal error occurred, no output PDF file produced! On 7 September 2015 at 14:14, Loris Bennett wrote: > Hi Zhihao, > > Zhihao Ding writes: > > > 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 > > What errors are you getting? I regularly export PDFs from remote org > files (albeit via sshfs) and have no problems. > > Cheers, > > Loris > > -- > This signature is currently under construction. > > > -- Regards, Zhihao Ding