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.

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).

share|improve this question

closed as off-topic by Martin Schröder, Przemysław Scherwentke, Peter Jansson, mafp, diabonas Nov 13 '13 at 23:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Przemysław Scherwentke, Peter Jansson, mafp
If this question can be reworded to fit the rules in the help center, please edit the question.

    
There is a package that was released on ctan last month (embedall) that could provide an acceptable solution to your problem. I haven't tried it myself but was very interested to see it. –  ArTourter Nov 13 '13 at 0:13
    
Thanks for telling me about that! But it's still not exactly what I was looking for as I still want to work with the LaTeX file. embedall seems to be right for archiving a finished project. –  guest09 Nov 13 '13 at 0:37
1  
You could just create the PDF and put the source file(s) in it as an attachment. The attachfile package 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 4:03
    
See my comment above. –  guest09 Nov 13 '13 at 11:24
1  
This question appears to be off-topic because it is a duplicate of a question at another site: stackoverflow.com/q/19940691/821436 –  Martin Schröder Nov 13 '13 at 22:28

Browse other questions tagged or ask your own question.