emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: compile latex on remote server
Date: Mon, 07 Sep 2015 15:39:11 +0200	[thread overview]
Message-ID: <87zj0yz6v4.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: CANEsYxYDcBmy8qvEzKAMFUQHUGh+4Jn8d+u6r0oKfpLX3MwYPw@mail.gmail.com

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

  reply	other threads:[~2015-09-07 13:39 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 [this message]
2015-09-07 13:43       ` Zhihao Ding
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=87zj0yz6v4.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    /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).