3 ms·
When editing LaTex, I have Vim and Zathura open at the same time, and whenever I save, Make runs which automatically generates the PDF, and Zathura picks up the
by stevenhuang 6y ago
When editing LaTex, I have Vim and Zathura open at the same time, and whenever I save, Make runs which automatically generates the PDF, and Zathura picks up the changes.
That is on standard *nix systems.
I tried but could not reproduce this flow on macOS, since the default PDF viewer, Preview, does not pickup file changes without having to manually focus the window. And when it does reload the file, it insists on always showing a thumbnail overview. Very frustrating.
Aside from Preview there seems to be a mess of other free-ware PDF viewers on macOS, but nothing simple and open source.
Luckily with XQuartz I was able to run Zathura on macOS and continue with my workflow. So thanks, XQuartz!
- coldtea 6y agoWell, Zathura is available on macOS from brew, so... https://github.com/zegervdv/homebrew-zathura https://github.com/zegervdv/homebrew-zathura
- stevenhuang 6y agoOh yes, I also forgot to mention I was using macports :)
- soraminazuki 6y agoZathura, being a GTK application, most likely doesn't need XQuartz if it's built correctly. I'd also like to add that for the workflow you're describing, Skim would also be a great choice. It's a fully open source native mac application that has SyncTex support. https://skim-app.sourceforge.io/ https://skim-app.sourceforge.io/