|
From: | Benjamin Slade |
Subject: | Re: [AUCTeX] auctex Digest, Vol 78, Issue 13 |
Date: | Wed, 24 Aug 2011 11:08:13 -0500 |
Send auctex mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/auctex
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of auctex digest..."
Today's Topics:
1. Synctex problems (Ettore Aldrovandi)
2. Re: Synctex problems (Tassilo Horn)
3. Re: Forward search and page labels in evince (Tassilo Horn)
4. Re: Synctex problems (Ettore Aldrovandi)
----------------------------------------------------------------------
Message: 1
Date: Tue, 23 Aug 2011 23:43:45 -0400
From: Ettore Aldrovandi <address@hidden>
To: address@hidden
Subject: [AUCTeX] Synctex problems
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii
Hello,
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.
>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.
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?
Thanks,
--Ettore
--
Ettore Aldrovandi
Department of Mathematics, Florida State University
1017 Academic Way * http://www.math.fsu.edu/~ealdrov
Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu
------------------------------
Message: 2
Date: Wed, 24 Aug 2011 08:45:19 +0200
From: Tassilo Horn <address@hidden>
To: address@hidden
Subject: Re: [AUCTeX] Synctex problems
Message-ID: <address@hidden>
Content-Type: text/plain
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
------------------------------
Message: 3
Date: Wed, 24 Aug 2011 09:15:59 +0200
From: Tassilo Horn <address@hidden>
To: address@hidden
Subject: Re: [AUCTeX] Forward search and page labels in evince
Message-ID: <address@hidden>
Content-Type: text/plain
Michael Bach <address@hidden> writes:
Hi Michael,
> I have successfully activated I/O Correlation in AUCTeX (11.86 dev)
> for evince (v. 3.0.2) via synctex.
>
> Now I found that the forward search from within AUCTeX works fine with
> C-c C-v if pages in evince are not labeled with an offset.
>
> To be specific: I use a \setcounter{page}{1} in my thesis to begin
> page numbering at the introduction after the title page, abstract and
> table of contents. Another example is the manual of the memoir
> documentclass: The first 39 pages are numbered with roman numbers
> within evince. This labeling offset messes up forward search, i.e. it
> jumps to the correct page number + labeling offset.
>
> Now, is there someone using a similar setup who managed to solve this?
You've spotted the problem correctly: -p N goes to the page *labeled* N,
which can basically be anything. Evince 3 added a -i N option that goes
to the page *indexed* N, and that's what you really want with forward
search.
So now in CVS, AUCTeX uses -i if evince knows that option.
Bye,
Tassilo
------------------------------
Message: 4
Date: Wed, 24 Aug 2011 11:43:38 -0400
From: Ettore Aldrovandi <address@hidden>
To: Tassilo Horn <address@hidden>
Cc: address@hidden
Subject: Re: [AUCTeX] Synctex problems
Message-ID: <address@hidden>
Content-Type: text/plain
On Wed, 2011-08-24 at 02:45, Tassilo Horn wrote:
> Report it here, I've already fixed it in CVS.
Now I get:
TeX-synctex-output-page: Wrong type argument: stringp, nil
It happens both with my regular emacs session and with -q -no-site-file
and
(load "auctex.el" nil t t) in the scratch buffer.
--Ettore
--
Ettore Aldrovandi
Department of Mathematics, Florida State University
1017 Academic Way * http://www.math.fsu.edu/~ealdrov
Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu
------------------------------
_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex
End of auctex Digest, Vol 78, Issue 13
**************************************
[Prev in Thread] | Current Thread | [Next in Thread] |