From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: compile latex on remote server Date: Mon, 07 Sep 2015 15:39:11 +0200 Message-ID: <87zj0yz6v4.fsf@hornfels.zedat.fu-berlin.de> References: <874mj61iec.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwe3-0006zk-Gd for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:39:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYwdz-0002xo-HJ for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:39:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:59864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwdz-0002ws-Ab for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:39:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZYwdj-0005Jx-G1 for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 15:39:19 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2015 15:39:19 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2015 15:39:19 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Zhihao, Zhihao Ding writes: > 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'. Is this file created on the remote server? If so, can you open it in Emacs via tramp? Cheers, Loris > <*> .... 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. -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de