From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhihao Ding Subject: Re: compile latex on remote server Date: Mon, 7 Sep 2015 14:25:41 +0100 Message-ID: References: <874mj61iec.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043c7e0ca0a7a0051f282f07 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwQZ-0003PV-Uy for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:25:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYwQY-0004e4-R4 for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:25:43 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:38002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwQY-0004dt-GF for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:25:42 -0400 Received: by wiclk2 with SMTP id lk2so84232667wic.1 for ; Mon, 07 Sep 2015 06:25:41 -0700 (PDT) In-Reply-To: <874mj61iec.fsf@hornfels.zedat.fu-berlin.de> 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: Loris Bennett Cc: emacs-orgmode@gnu.org --f46d043c7e0ca0a7a0051f282f07 Content-Type: text/plain; charset=UTF-8 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 --f46d043c7e0ca0a7a0051f282f07 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your reply. In export if I do "l P&qu= ot; or "l O" I get the follow messages

<= br>
Transcript written on .//texput.log.
This is pdfTeX= , Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
=C2=A0rest= ricted \write18 enabled.
entering extended mode
! I can= 't find file `/ssh:zhihao@server:/data/home/zhihao/sgt.tex'.
<= div><*> ....=C2=A0server:/data/home/zhihao/sgt.tex
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0=C2=A0
(Press Enter to retry, or Control-D to= exit)
Please type another input file name
! Emergency = stop.
<*> ....=C2=A0server:/data/home/zhihao/sgt.tex
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
! =C2=A0=3D=3D> Fatal er= ror occurred, no output PDF file produced!


On 7 September 2015 at = 14:14, Loris Bennett <loris.bennett@fu-berlin.de> w= rote:
Hi Zhihao,

Zhihao Ding <zhihao.ding@gmail.= com> 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 ha= d 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?=C2=A0 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
--f46d043c7e0ca0a7a0051f282f07--