# [OS X TeX] A problem with TeXShop

Richard M. Koch koch at uoregon.edu
Sat Jun 3 18:53:26 EDT 2017

I think you have run into an Apple bug, which we reported to Apple several weeks ago.

The bug occurs if you

\usepackage{pstricks}

but then typeset using pdflatex. Of course pstricks requires typesetting with TeX + DVI, but some
users have been including pstricks, but not actually using any features of the package. This worked

Sometimes, \usepackage{tikz} is also required to trigger the bug.

The resulting pdf displays fine in Adobe Acrobat, but hangs both Preview and TeXShop, because
both use PDFKit to display pdf files. Once the pdf is bad, restarting TeXShop will cause it to try
to load the pdf again and crash again.

If this isn't it, write again. There is another Apple bug with difference consequences, but
this is the most likely in your case.

Dick Koch

> On Jun 3, 2017, at 3:43 PM, M. Tamer Özsu <ozsut at mac.com> wrote:
>
> I am having an interesting intermittent problem with TeXShop. If it runs into a compilation error, after I end the compilation session, it hangs up. I have to abort it, and subsequent restarts hang up as well. Usually I have to restart the system. This happens on two machines, both of which are on 10.12.5 and TeXShop version 3.77.
>
> I wonder if this happens to anyone else. I have not been able to figure out what the cause might be. It started in the last couple of weeks.
>
> ==Tamer
> --
> M. Tamer Özsu
> Professor, Cheriton School of Computer Science
> University of Waterloo
> https://cs.uwaterloo.ca/~tozsu
> +1-519-888-4043
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>