Hacker News new | ask | show | jobs
by michaelcampbell 1791 days ago
Other readers likely have this feature, but one I love is that you can re-generate the PDF out from under it and it reloads the new content. As someone writing in LaTeX on emacs and constantly re-generating the PDF, this is very helpful.
2 comments

Yes! I often write LaTeX in vim under WSL with this setup and it works pleasantly. VimTeX re-compiles whenever I save the document, launches SumatraPDF on the first compilation, and SumatraPDF hot-reloads it without any extra effort on my part. I'm pleased to see a native Windows program and VimTeX under WSL interoperate so well.
Plus, when you double click a spot in a pdf you generated with latex, Sumatra opens up your default .txt application with the line highlighted.