There must be a solution to the following OS X and LaTeX related problem and I think it could be interesting to a lot of people: I would like to create a new file type ".pdflatex", a document bundle, which contains a LaTeX source file and its compiled PDF such that when I double click on this file the PDF is opened in Preview (or my favorite PDF viewer). Moreover, I would like that programs like DevonThink understand this and correctly preview/show the PDF file.
I want this to comfortably deal with PDF files and their LaTeX source. This should be possible in OS X but I really don't know how to do this.
(A similar but less specific question was already asked in ‘Bundle’ TeX output in a directory but there is no satisfactory answer).
attachfilepackage can aid in doing this. Since the file is actually a PDF file, double clicking it will display the document. And you can put a sort of link in the document that allows you to open (or save) the attachment. – Dan Nov 13 '13 at 04:03