[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: |
Lars Madsen |
Subject: |
Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs) |
Date: |
Thu, 5 Feb 2015 10:18:37 +0000 |
I already noticed that it was not 100% accurate. But it is good enough. Better
than the "goto first word in paragraph" as seen in TeXMaker, which use very
long lines in the .tex file.
/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/address@hidden / More information:
http://au.dk/en/address@hidden
________________________________________
From: Tassilo Horn address@hidden
Sent: 05 February 2015 11:15
To: Mosè Giordano
Cc: Lars Madsen; auctex
Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)
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
\texttt{world}".
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.
Yes.
Bye,
Tassilo
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), (continued)
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Mosè Giordano, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs),
Lars Madsen <=
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Andreas Politz, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Jorge A. Alfaro-Murillo, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), David Kastrup, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Andreas Politz, 2015/02/05
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/06
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Andreas Politz, 2015/02/06
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Tassilo Horn, 2015/02/06
- Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs), Andreas Politz, 2015/02/06