[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Forward search and page labels in evince
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] Forward search and page labels in evince |
Date: |
Wed, 24 Aug 2011 09:15:59 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
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