Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to use preview from Mac to as external viewer using texmaker. However, when texmaker is running preview(.app) he seems to struggle, finally a preview popup appears: "The file “mscLiterature.pdf” couldn’t be opened because there is no such file."

It appears that my .pdf doesn't exist. However, when looking for it through the Finder I see that the file has been created. These are the compile sequences I've tested:

  • PDFLatex ViewPDF
  • Latex dvipdfm View PDF
  • Latex dvips ps2pdf View PDF

The box "Don't launch a new instance..." is unticked, so is "Use a "build"..." .

Who has experience using preview and texmaker and may help me with the settings? Regards, Hubert

share|improve this question

closed as too localized by Marco Daniel, Claudio Fiandrino, Tom Bombadil, lockstep, yo' Sep 26 '12 at 20:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can you open the .pdf file from Finder using preview? –  Dror Sep 7 '12 at 7:26

1 Answer 1

Make sure that you marked "external viewer" and simply set the viewer command to

open %.pdf

This will start the program which is assigned by the OS to open PDF files (which usually is Preview).

If you are using another default PDF viewer (e.g. the excellent Skim), you can explicitly tell open to start the Preview binary:

open -a/Applications/Preview.app/Contents/MacOS/Preview %.pdf

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.