4
votes
2answers
1k views

Embedding files into a PDF document with dvipdfmx

I use the embedfile package in order to embed the LaTeX source code into the final PDF with the following code: \documentclass{article} \usepackage{embedfile} \embedfile{\jobname.tex} ...
9
votes
1answer
950 views

Attach files to PDF with dvipdfmx

The attachfile package allows files to be embedded within the output PDF of a pdfLaTeX document, and the attachfile2 extends this for dvips use as well. In an article, the author of dvipdfmx gives a ...