The files with extension .tex on my Mac (running Mojave) exhibit some strange behavior:

(a) When I right-click such a file and select "Open With", the first choice is the "TeXshop" app.
(b) However, when I double-click the file, the file opens in the "Texpad" app.
(c) The file icon is a "TeXshop" icon.
(d) The "Get Info" panel, under "Open With..." gives "Texpad".

Any suggestions on how this can be fixed?

1 Answer 1


In the "Get Info" panel, the field under "Open with:" should be a picklist, you should be able to click on the list and choose an alternate application. You should then be able to use the "Change All..." button to make that application the default for all .tex documents.

  • The default for all .tex documents on my Mac is set to Texpad; see (b) and (d) in my question, especially (b). However, all .tex documents appear in Finder with a TeXshop icon (c). Moreover, when right-clicking on the file, the "Open With" submenu has (wrongly!) TeXshop on top as the default app (d). I had already tried what you suggested just in case the system was somehow stuck - no luck.
    – Kostas
    Oct 24, 2018 at 7:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .