rstudio / rstudio

RStudio is an integrated development environment (IDE) for R
https://posit.co/products/open-source/rstudio/
Other
4.59k stars 1.08k forks source link

Implement SyncTex for Electron #11415

Open gtritchie opened 2 years ago

gtritchie commented 2 years ago

SyncTex is described in this support article: https://support.rstudio.com/hc/en-us/articles/200552066-PDF-Preview-and-SyncTeX

In short, when authoring sweave documents (rnw) and producing PDFs, it allows synchronizing location of the source file and the PDF file (in both directions). This can be via the built-in PDF.js viewer (this may already work, but I haven't checked), or certain external viewers such as Sumatra on Windows (see also #11345) and Evince on Linux.

gtritchie commented 2 years ago

After internal discussions, going to move this out of Elsbeth Geranium. We believe this is used by a very small percentage of users (~1%) and we wouldn't want to hold up the initial Electron release for this.

jgutman commented 1 year ago

Will need to update desktop_show_pdf when this is implemented to use the synctex viewer see #11388