Possible Duplicate:
Is there some way to embed LaTeX source code in a PDF file?

Is there any way to tell XeTeX/XeLaTeX (or pdfTeX/pdfLaTeX) to embed a copy of the TeX file inside the PDF (as an attachment perhaps)?

  • 1
    using pdflatex, i think you can use attachfile2 (or even attachfile). never done this myself, just read about the package. – wasteofspace Apr 10 '12 at 19:56
  • @cmhughes: Funny, I did a bunch of searches and still didn't run across that... thanks. – user541686 Apr 10 '12 at 20:03

Browse other questions tagged or ask your own question.