ashthespy / Atom-LaTeX

The only LaTeX package you need for typesetting with Atom.
https://atom.io/packages/atom-latex
MIT License
22 stars 9 forks source link

Keymapping Save, Build, then Preview #275

Closed ReturnInfinite closed 3 years ago

ReturnInfinite commented 3 years ago

Apologies if this is easy to answer, I've looked into it and I don't know how I'm meant to go about this. I use atom-latex and pdf-view, and would like to be able to check my work as I go along, but I keep having to close the PDF tab > rebuild > preview the file manually. Is there a way to maybe keymap (I was thinking alt-f1) to close the current preview tab, save the .tex file, then build and preview with atom-latex? (would also accept any help if I'm totally missing features)

ashthespy commented 3 years ago

The inbuilt viewer auto updates on a fresh build - is there a reason you don't use that?

ReturnInfinite commented 3 years ago

Mine doesn't, I'm not sure why. I have to close the current PDF window and then ctrl-l, ctrl-t to get a preview of the new build

ashthespy commented 3 years ago

Could you open up the dev console and share what is on there? Something seems amiss..

ashthespy commented 3 years ago

Feel free to post back info when you have some updates!