Bug 694727

Summary: Feature request: SyncTeX support
Product: MuPDF Reporter: Sameer <ssameer+bugs>
Component: appsAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED WONTFIX    
Severity: normal CC: robin.watts, tor.andersson
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: All   
Customer: Word Size: ---

Description Sameer 2013-10-21 16:18:44 UTC
SyncTeX is a tool for synchronizing TeX/LaTeX/ConTeXt documents and their pdf outputs during document preparation. Many PDF viewers (okular, evince, sumatra pdf, skim) support it. mupdf is particularly attractive for TeX documents due to its rapid updates. It would be better if it supports sync as well. This functionality has 2 parts:

1. Forward search: mupdf is called with an argument that allows a pdf document to be opened (or navigated to) at a specific location.
2. Inverse search: The user clicks at a point on a page leading to an editor being opened at the corresponding TeX source file location. 

The SyncTeX homepage is here:

http://itexmac.sourceforge.net/SyncTeX.html

This is a description of the SyncTeX file format:

http://texdoc.net/texmf/doc/man/man5/synctex.man5.pdf

And this is a paper describing SyncTeX:

https://www.tug.org/TUGboat/tb29-3/tb93laurens.pdf

Thanks.
Comment 1 Ray Johnston 2013-10-21 16:56:30 UTC
Since sumatra pdf uses mupdf as its PDF rendering engine, isn't this a
duplication of effort ?
Comment 2 Sameer 2013-10-21 17:01:10 UTC
Unfortunately, Sumatra PDF is available only for Windows, so there is no mupdf based viewer with SyncTeX support on MacOS or Linux.
Comment 3 Robin Watts 2013-12-23 09:07:12 UTC
We would consider a patch with this functionality, but we are unlikely to implement it ourselves.