[Top][All Lists]

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

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

From: Tassilo Horn
Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)
Date: Thu, 05 Feb 2015 11:15:03 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

>> Maybe it additionally extracts the word at the click position and
>> then searches forward after having jumped to the synctex-provided
>> line.
> That's an interesting guess.

Although it's flaky.  E.g., if the word is "the", then the chances are
high there are multiple occurences in a line.  Maybe taking the current
word at click-position + the next N words (and then searching so that
space also matches \n) might work.  But that will fail in situations
where the click-pos is "hello world" but the actual tex text is "hello

If you want, you can play with those suggestions in TeXStudio to see if
it uses such a trick...

> pdf-tools is able to perform search in the PDF file, so it should
> theoretically possible to implement this also there.



reply via email to

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