[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] SyncTeX problems
From: |
Julien Cubizolles |
Subject: |
[AUCTeX] SyncTeX problems |
Date: |
Mon, 27 May 2013 13:13:19 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
I recently switched to the git version of AucTeX and noticed that the
default View command had changed to TeX-evince-sync-view. I gave it a
try but couldn't get it to work. Here is what I tried:
* C-c C-c choose LaTeX. A pdf file is produced.
* C-c C-c choose View then TeX-evince-sync-view. Evince doesn't start.
If I start evince manually, subsequent calls to TeX-evince-sync-view
don't update the page in the pdf file and a Ctrl-left click in the pdf
file gives the following error message in Emacs.
--8<---------------cut here---------------start------------->8---
apply: Wrong number of arguments: (lambda (file linecol) (let ((buf
(get-buffer file)) (line (car linecol)) (col (cadr linecol))) (if (null
buf) (message "Sorry, %s is not opened..." file) (switch-to-buffer buf)
(goto-line (car linecol)) (if (= col -1) nil (move-to-column col))))), 3
[2 times]
--8<---------------cut here---------------end--------------->8---
Also I noticed that the default command line for LaTeX is "pdflatex
-interaction=nonstopmode "\input" name_of_the_file.tex and doesn't
include -synctex=1. Shouldn't it ?
Julien.
- [AUCTeX] SyncTeX problems,
Julien Cubizolles <=