TeXShop and Mac preview crashing when opening latex/beamer built pdfs
To solve, remove the PDF file from the source folder. Then open the source in TeXShop. Check the header. Did you \usepackage{pstricks}
? Comment out this line and typeset again. (Or, leave the line and typeset with TeX + DVI.)
If this is your problem, then Apple knows about the bug. If this is NOT your problem, please write me (author of TeXShop) with details, including source and illustrations.
If you hold down the option key in TeXShop when opening a file, only the source will open. Use this trick to fix a project with this bug. Open the file with the option key, comment out the pstricks
line and typeset again with pdflatex
, or just typeset with TeX + DVI. Then the PDF will not be defective and TeXShop can open it the usual way.
I just did the Sierra 10.12.4 update today, and immediately encountered the same problem with a LaTeX beamer
file (no explicit inclusion of pstricks
).
Compilation just hung at one point and I had to force-quit TeXShop. When I then tried to open the .tex file again by double-clicking on it, TeXShop showed itself as running in the dock, but no windows would actually open (either source or pdf) and I had to force quit again.
This happened several times, even after a reboot.
When I deleted the existing pdf file from the source directory and then double-clicked on my .tex file, things seemed to work normally (both source and pdf windows opened).
I was having this problem as well - after days of experimenting, and I found that typesetting with the lualatex
command in TeXShop sort of fixed things.
The PDF preview in TeXShop looks nice and sharp, and the PDF in Preview doesn't crash, but it's slightly blurry.