auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Synctex problems


From: Tassilo Horn
Subject: Re: [AUCTeX] Synctex problems
Date: Wed, 24 Aug 2011 08:45:19 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Ettore Aldrovandi <address@hidden> writes:

Hi Ettore,

> since switching to texlive 2011, I started having problems with
> synchronization.  When using correlate IO, AucTeX 11.86 hangs. I
> switched to the dev version from CVS, and then it always returns page
> 1.

Confirmed.

> From previous postings the list, and perusing tex.el, it seems due to
> the input passed to synctex view: if file.tex is the source, then
> file.synctex.gz contains
>
> 1:/path/to/dir/./file.tex
>
> where /path/to/dir is the (absolute) path of the working directory.
> Toying around with synctex view directly shows that the third
> parameter to -i needs to be exactly in that format, otherwise you get
> "SyncTeX Warning: No tag for..." Thus, passing file.tex or ./file.tex,
> appears to be wrong.

Indeed.

> Unfortunately I don't really read (let alone speak) lisp.  I hope this
> is not too wrong. But the obvious question is: what do I need to do to
> fix it?

Report it here, I've already fixed it in CVS.

synctex is really strange.  Now there are at least three variants for
what it expects as its -i argument.  Either it's

  foo/bar.tex
  ./foo/bar.tex

relative to the TeX-master, or it is

  /home/user/docs/baz/./foo/bar.tex

if the TeX-master is in baz.

Thanks for reporting,
Tassilo




reply via email to

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