emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zhihao Ding <zhihao.ding@gmail.com>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: compile latex on remote server
Date: Mon, 7 Sep 2015 14:43:22 +0100	[thread overview]
Message-ID: <CANEsYxbq1q9=wauGVq9j+vmvD1a7DO8p0QmtV1i2X9fsjMcfxw@mail.gmail.com> (raw)
In-Reply-To: <87zj0yz6v4.fsf@hornfels.zedat.fu-berlin.de>

[-- Attachment #1: Type: text/plain, Size: 2488 bytes --]

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 <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'.
>
> 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 <loris.bennett@fu-berlin.de>
> wrote:
> >
> >     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 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
>
>
>


-- 
Regards,
Zhihao Ding

[-- Attachment #2: Type: text/html, Size: 3643 bytes --]

  reply	other threads:[~2015-09-07 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 13:08 compile latex on remote server Zhihao Ding
2015-09-07 13:14 ` Loris Bennett
2015-09-07 13:25   ` Zhihao Ding
2015-09-07 13:39     ` Loris Bennett
2015-09-07 13:43       ` Zhihao Ding [this message]
2015-09-07 16:11         ` Charles C. Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANEsYxbq1q9=wauGVq9j+vmvD1a7DO8p0QmtV1i2X9fsjMcfxw@mail.gmail.com' \
    --to=zhihao.ding@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).