The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
46 views

How do I make an attached non-pdf file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and \textattachfile[color=1 1 1]{description}{file.txt}. How can I make the text look the same as it would if I had used the ...
0
votes
1answer
17 views

icon=Graph in attachment2

Is there any way to add the graph icon of hypdvips package to the attachment2 package Otherwise some features of hypdvips are very nice, is there any way to add the possibility to use it in pdflatex? ...
1
vote
1answer
62 views

attaching a file to latex

I have a "trilogi" simulation software file. Consider it as a file of random simulation software. I want to embed it in pdf document at the place of my choice so that if I click on it in pdf ...
8
votes
1answer
100 views

Attaching files using plain TeX (pdfTeX)

I am currently in the process of writing a document using plain TeX and would like to be able to attach other relevant files to the resulting pdf. I have experience using the attachfile, attachfile2 ...
5
votes
3answers
118 views

attachfile does not work inside captions

In the caption of some figures I want to link to files using the attachfile2 package. But when I try to compile the following example with XeTeX, MiKTeX and TeXstudio I get the warning ** WARNING ** ...
4
votes
1answer
196 views

attachfile vs attachfile2

I would like to attach a file to a PDF document. I've discovered the attachfile and attachfile2 packages. How should I choose which of those to use? Is there a general rule of thumb (e.g., "always ...
4
votes
0answers
116 views

Adobe Reader does not open file created with [xetex]{\attachfile2}

I have been using \attachfile2 successfully to create PDF documents with LaTeX already. However, when switching to XeTeX, I find the Adobe Reader says it cannot open the file due to security ...
3
votes
1answer
180 views

The attachfile2 package doesn't work when using \jobname

I'm using MiKTeX 2.9 on a Windows 7 Home Premium 64-bit computer. I have been experimenting with using attachfile2 to make a link to an embedded LaTeX file. When I compile the following document, ...
4
votes
0answers
334 views

Link to and attached/embedded file? [closed]

I'm using XeTeX and I'd like to have a link to an attached/embedded file. There's a solution here -- but it doesn't work for me: I'm using TeXlive2012. As I understand it the best bet is to use ...
4
votes
1answer
173 views

Can programs (e.g. Matlab) be made executable from within the PDF?

Is it possible to include a program (as in say Matlab, Maple, etc.) within a LaTeX file in such a way that clicking a button on the resulting PDF file will transport the program to the related ...
4
votes
1answer
969 views

Attaching file into a pdf with pdfLaTeX will crash Adobe Reader

I am using the package attachfile to attach a file to the pdf (generated with pdfLaTeX) with the following code \documentclass[twoside,a4paper,10pt]{article} \usepackage{attachfile} \begin{document} ...
5
votes
1answer
337 views

setting the 'filename' of a file embedded in a PDF using the attachfile package

I'm using the attachfile LaTeX package (in PDFLaTeX) to embed files in a PDF and I've run into a difficulty regarding what I suspect is the 'filename' of the embedded file. I can attach/embed files ...
5
votes
1answer
328 views

Conflict between hyperref and attachfile2 package

I have a problem with creating pdf document that contains an attachment. This code works fine: % <xetex — Unicode-based TeX engine> \documentclass[12pt, a4paper, czech, twoside]{book} ...
12
votes
2answers
1k views

Is it possible to embed (attach) a file password protected in a PDF?

The situation is the following, for certain short latex files, I embed the source in the PDF it self. That can save me time in an emergency if I need to modify the source of a PDF without having to ...
4
votes
0answers
175 views

How to include PDF as graphics and as attachment without using extra file space [duplicate]

Possible Duplicate: Attach displayed image to the PDF without storing it twice Is it at all possible to include a PDF as a graphic in the document and also as an internal attachment to the ...
12
votes
2answers
1k views

How to avoid automatic .tex extension in filenames?

I am in an mildly unfortunate situation in which, because of the way I prepared the files automatically, I ended up with a file to be attached but also another file with the same name but ending in ...
14
votes
1answer
2k views

How do I make an attached file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and\textattachfile[color=1 1 1]{description}{file.pdf}. How can I make the text look the same as it would if I had used the ...
88
votes
3answers
4k views

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

Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file ...