caiorss / org-wiki

Wiki for Emacs org-mode built on top of Emacs org-mode.

Home Page:https://caiorss.github.io/org-wiki/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backward sync

student-sx opened this issue · comments

Would it be possible to implement a feature similar to synctex for LaTeX?

The first step would be to provide a mechanism which sends you back from a wiki html site from your browser to the corresponding org file in emacs.

In a second step it would be great, if it sends it also to the line in the source file which matches the current line in the html document.

Maybe the new emacs web browsing feature from emacs 25 would be a starting point. However it would also be great to make this work with arbitrary browsers. For example by inserting a corresponding "org-file" button which is implemented a html template.

I don't know if it is possible. It would require further researching time. But I guess that it may be the starting point http://orgmode.org/worg/org-contrib/org-protocol.html This link shows how to send data from the browser to the Emacs running as server. But it only seems to work on Linux.

If you are writing some formal Latex document for some thesis, I would recommend Lyx editor https://www.lyx.org/ because it allows you to view Latex code in advance before the generation of the PDF and saves lots typing.