Monday, February 26, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 7306  / 2 Years ago, mon, march 7, 2022, 11:02:01

In Oneiric gedit includes support for SyncTeX and Evince has supported it since 2.32 (Oneiric includes Evince 3.2.0). How do I use SyncTeX with gedit and Evince? I have compiled with the -synctex=1 option but nothing happens when I try to backward/inverse search by Ctrl+click on the document in Evince.


More From » gedit

 Answers
1

Found a solution today, and here is how it works:




  1. Download gedit-plugins:



    sudo apt-get install gedit-plugins 

  2. Go to Gedit preferences and enable the plugin. Restart Gedit.


  3. Open a .tex file and open its .pdf output in Evince. The two files must be in the same folder.


  4. Hold Ctrl and left click at any desired location in Evince. This will highlight the current row in Gedit.




Hope that helps!






Things I couldn't get working yet:




  • Ctrl + left click in Gedit does focus the window of Evince, but does not highlight anything.



Things I haven't tested yet:




  • Using Synctex with a document consisting of multiple files.


[#42882] Tuesday, March 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atetamme

Total Points: 11
Total Questions: 121
Total Answers: 109

Location: Puerto Rico
Member since Sun, Jun 27, 2021
3 Years ago
;