[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] AUCTeX and Tramp

From: Stephen Berman
Subject: [AUCTeX] AUCTeX and Tramp
Date: Tue, 06 May 2008 16:17:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

When I try to run LaTeX via Tramp on a remote file under AUCTeX, LaTeX
says it can't find the file.  I can't tell if this is a bug or a faulty
configuration or other user error.  I have the same LaTeX setup (paths,
etc.) on both the local and remote machines.  I can reproduce the
problem with Emacs -Q by evaluating (load "auctex.el" nil t t), opening
the file via /ssh:, and typing C-c C-c to run LaTeX.  Then I get the
following output:

Running `LaTeX' on `dwds' with ``latex  -interaction=nonstopmode "\input" 
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, 
nohyphenation, basque, bulgarian, coptic, welsh, czech, slovak, german, 
ngerman, danish, esperanto, spanish, catalan, galician, estonian, finnish, 
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, 
ibycus, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, 
portuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, 
swedish, turkish, ukenglish, ukrainian, loaded.
! I can't find file `dwds.tex'.
<*> \input dwds.tex
Please type another input file name
! Emergency stop.
<*> \input dwds.tex
No pages of output.
Transcript written on texput.log.

LaTeX exited abnormally with code 1 at Mon May  5 15:19:25

There's no problem running LaTeX on the same file under AUCTeX locally
on either machine, and there's no problem running LaTeX on the same file
via Tramp under the standard Emacs LaTeX-mode.  It's only the
combination Tramp+AUCTeX that fails.  I'd be grateful for any help
resolving this.

This is the setup on the local machine (but I get the same behavior
using the Emacs 22.1 and AUCTeX 11.83 packages from openSUSE 10.3 on the
local machine; the remote machine only has the latter):

Emacs  : GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-05-05 on escher
Package: 2008-02-11

current state:
 AUCTeX-date "2008-02-11"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "/home/steve/.TeX/cslipubs/style"
                  "/home/steve/.TeX/linguex/style" "/home/steve/.TeX/style"
                  "/usr/share/doc/.TeX/style" "/usr/doc/.TeX/style"
                  "/home/steve/.TeX/linguex/auto" "/home/steve/.TeX/auto"
                  "/usr/share/doc/.TeX/auto" "/usr/doc/.TeX/auto"
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
                     t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")

Steve Berman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]