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:43:22 +0100 Message-ID: References: <874mj61iec.fsf@hornfels.zedat.fu-berlin.de> <87zj0yz6v4.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f234561dda151051f286e16 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwhk-0000dg-P7 for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:43:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYwhf-0005Am-Lt for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:43:28 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:35360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYwhf-0005Ac-DQ for emacs-orgmode@gnu.org; Mon, 07 Sep 2015 09:43:23 -0400 Received: by wicge5 with SMTP id ge5so84643293wic.0 for ; Mon, 07 Sep 2015 06:43:22 -0700 (PDT) In-Reply-To: <87zj0yz6v4.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 --e89a8f234561dda151051f286e16 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My emacs session is local and I am using tramp to open the org file on the remote server. Then when I tried to export it to latex and compile I get that error messages. Cheers, Zhihao On 7 September 2015 at 14:39, Loris Bennett wrote: > Hi Zhihao, > > Zhihao Ding writes: > > > Thanks for your reply. In export if I do "l P" or "l O" I get the follo= w > > 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 > > ! =3D=3D> 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 wit= h > 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 the= n > 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 or= g > > files (albeit via sshfs) and have no problems. > > > > Cheers, > > > > Loris > > > > -- > > This signature is currently under construction. > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universit=C3=A4t Berlin Email loris.bennett@fu-berli= n.de > > > --=20 Regards, Zhihao Ding --e89a8f234561dda151051f286e16 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
My emacs session is local and I am using tramp to open the= org file on the remote server. Then when I tried to export it to latex and= compile I get that error messages.=C2=A0

Cheers,
<= div>Zhihao


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

Zhihao Ding <zhihao.ding@gmail.= com> 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&= #39;.

Is this file created on the remote server?=C2=A0 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
> ! =3D=3D> Fatal error occurred, no output PDF file produced!
>
> On 7 September 2015 at 14:14, Loris Bennett <loris.bennett@fu-berlin.de> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Hi Zhihao,
>
>
>
>=C2=A0 =C2=A0 =C2=A0Zhihao Ding <zhihao.ding@gmail.com> writes:
>
>=C2=A0 =C2=A0 =C2=A0> Dear org experts,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> I'm working on an org file on a remote ser= ver using tramp. Often I need to
>=C2=A0 =C2=A0 =C2=A0> export beamer slides from it. I realised that = it has problems with the
>=C2=A0 =C2=A0 =C2=A0file
>=C2=A0 =C2=A0 =C2=A0> paths, which currently are local with respect = to the server. I thus had to
>=C2=A0 =C2=A0 =C2=A0first
>=C2=A0 =C2=A0 =C2=A0> export a tex file, which worked fine over tram= p, then compile it in a
>=C2=A0 =C2=A0 =C2=A0shell on
>=C2=A0 =C2=A0 =C2=A0> the server.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> I'd like to speed this up to do the proces= s in one go, as if I am working
>=C2=A0 =C2=A0 =C2=A0on a
>=C2=A0 =C2=A0 =C2=A0> local machine. Sometimes when the latex file h= as references I then had to
>=C2=A0 =C2=A0 =C2=A0> compile one extra time for bibtex, which soon = became tedious.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Thanks !
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Zhihao
>
>
>=C2=A0 =C2=A0 =C2=A0What errors are you getting? I regularly export PDF= s from remote org
>=C2=A0 =C2=A0 =C2=A0files (albeit via sshfs) and have no problems.
>
>=C2=A0 =C2=A0 =C2=A0Cheers,
>
>=C2=A0 =C2=A0 =C2=A0Loris
>
>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0This signature is currently under construction.

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universit=C3=A4t Berlin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Email= loris.bennett@fu-berlin.de





--
Regards,
Zhihao Ding
--e89a8f234561dda151051f286e16--