When editing LaTeX, I use synctex (e.g.: \synctex=1) to be able to jump forward to the appropriate line in the pdf viewer and back from the viewer to the line in the editor. Under Linux this seems to work currently only for very few setups and I got it working with Emacs and Okular. I wish this feature would be available in Leo. Backward jumping is more important than forward: I use this feature heavily while proof-reading the PDF: it is just much quicker to shift-click on a line and end up in the right line in the source than searching through the sources until one finds the right line. To do so, I would need to be able to tell Okular how to jump into a particular source line of a particular file in Leo (via command line). Ideally this should not open a new Leo instance, but direct an already open Leo to the appropriate line. For Emacs I would enter this line in the Okular "Editor" setting:
emacsclient -a emacs --no-wait +%l %f Is there a way to do this in Leo? It should start Leo only if Leo is not open yet, and jump to the line (%l) in the file (%f). forward-jumping would require to call Okular with the right command line parameters. For Emacs these are: okular --unique %o#src:%n%b I am not sure what the parameters mean: I copied them from http://mathieu.3maisons.org/wordpress/how-to-configure-emacs-and-auctex-to-work-with-a-pdf-viewer#comment-15 - Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/7Guf-GqyB9cJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
