Reload on PDF change #2903
Replies: 3 comments 2 replies
-
One feature of SumatraPDF is that it refreshes while PDFs are in an editor like Edge or TeX or even notepad :-) (Not recommended as notepad can only handle a certain type of pdf, specially constructed like QPDF) There are limits, older versions would need to be under 10 MB (current threshold is 32 MB) It is generally only PDF that works for auto reloads, and the file should be on local modern NTFS drive, to get MS change trigger, variable results on USB (AVOID sync or cloud folders) Manual Refresh is |
Beta Was this translation helpful? Give feedback.
-
Thanks very much - R seems to do it in Sumatra, I had tried the usual Ctrl-R with no luck (I dont have PDFs view in browsers). It may have been a file or pagination size thing as I did a test with a small file and it automatically updated when I exported a PDF change but the one I had been working with didn't do so, it was a larger longer file. d |
Beta Was this translation helpful? Give feedback.
-
Thanks for this great pdf reader! I make pdf in the RStudio environment. (https://posit.co/downloads/). Years ago, RStudio started bundling SumatraPDF with the installation. Clicking on a pdf name in the files tab of the IDE caused it to be opened in SumatraPDF. The very best part about all this was that when the file was re-created (as for comments above) it was automatically reloaded in SumatraPDF. Currently I have the latest versions of R/RStudio and SumatraPDF (installed by myself) running under windows 11. I manually set the default pdf reader to SumatraPDF. When I click on a pdf file name in the files tab of RStudio, it opens in SumatraPDF. If I re-create the pdf and click again, I still see the stale version in SumatraPDF (but it can be manually reloaded with Is there something I can do to recover the auto-reload experience? |
Beta Was this translation helpful? Give feedback.
-
Bit of a side request, but probably one that would be easy.
Perhaps many of us doing design work on some document export it to PDF, and we have the PDF open (sometimes in more than one place if Sumatra is opening them in non-tabbed format, as I've found useful for this). As well as keeping tabs on actual PDF appearance, it can allow you to have a document open in several places if the original program doesn't allow it or is sluggish by comparison to a PDF.
Normally that then involves closing the PDF and reopening it to get the latest copy, which has to be done not a few times.
It would be good if Sumatra could detect when a file changes and ask if a reload is wanted. Perhaps just do this for local drives when a document gets a focus within Sumatra itself having the focus. Other option would be a File - Reload, which there is space for too. Maybe an option somewhere to check for file changes and reload automatically without asking (unless some uncommitted changes within sumatra exist in which case ask).
Cheers, David
Beta Was this translation helpful? Give feedback.
All reactions