Ettore Aldrovandi <[email protected]> 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


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to