thehogfather / brackets-latex

Support for editing and compiling latex documents in brackets
24 stars 4 forks source link

Change the pdf viewer #34

Open fyuniv opened 1 year ago

fyuniv commented 1 year ago

Is there way to use a different PDF viewer other than the system default pdf viewer?

On windows, when the pdf is opened in adobe reader, recompile the tex file will end with errors. Moreover, pdf and tex sync won't work with adobe reader. However, if using SumatraPDF, both problems can be solved. There are similar pdf viewers for Mac or Linux.

Thank you!

thehogfather commented 1 year ago

Hi there. Thanks for reaching out.

There currently is not support for that. If you're willing to, are you able to open a pull request for this feature? It would probably have to be a configurable option as I imagine different people would have different preferred pdf applications installed. Another idea that could address your specific use case (this is my preferred idea), would be to set SumatraPDF as the default application for pdfs on your computer. If that were the case, then the open command used by this plugin simply uses that application.

I hope that helps.