Questions tagged [attachfile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
42 views

How can I attach files in articles?

I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref: ! LaTeX Error: Option clash for package color. ! LaTeX Error: Option clash ...
1
vote
1answer
166 views

How can I modify attachfile icon?

I'm working on an moderncv and trying to edit the default attachfile icon (Pushpin) to use the Paperclip, but it returns an error. Here is my MWE: \documentclass[11pt,spanish,a4paper,sans]{moderncv} ...
0
votes
1answer
128 views

Is it possible to use attachfile package in any documentclass or just in articles?

I have seen some .tex documents using \usepackage{attachfiles}, but all of them were articles. Now I am working on a moderncv document class and \usepackage{attachfiles} returns an error. This is my ...
14
votes
1answer
359 views

Embed non-PDF files (e.g., BibTex) into PDF with hyperlink in the PDF

This question led to a new package: intopdf Aim I want to achieve following: Embed paper.bib into PDF paper.bib should be opened with the OS tool associated with mimetype application/x-bibtex ...
1
vote
0answers
113 views

Attachfile or attachfile2 in landscape mode

I want to use attachfile or attachfile2, with Paperclip icon, inside a \begin{landscape} section. Everything is ok, but the icon showed is not rotated, so it has a strange looking. Anyone knows how to ...
2
votes
0answers
485 views

How to use variable for \includegraphics and \attachfile in LaTeX3

I want make a function, it can insert image and attach file (e.g., the data about plotting), so I need set a variable for image name and it will use for attachfile.(\attachfile from attachfile2 ...
4
votes
1answer
149 views

(not only) beamer: Automatically Attach Graphic Files (to the PDF Output) that are Used in \includegraphics Command

I like to attach the graphic files that I use in a beamer presentation to the generated pdf file. The background is, that I want to enable my colleagues at work to be able to use the graphic files e. ...
0
votes
1answer
310 views

How to create a link to open attached PDF in an specific page?

I want to click on the link and open an attached PDF in a specific page.
0
votes
1answer
138 views

Latex Command to Compile another Latex File

I am making a cover letter, where I add a CV to that letter. I currently use the command \includepdf[pages={-}]{CV.pdf} Using the package pdfpages to include another pdf file. This imply that CV.tex ...
1
vote
1answer
300 views

Attach a file with different name

I would like to attach a file to a PDF document like \attachfile or \textattachfile does, but I want the attached file to be renamed. As far as I have seen, the packages attachfile and attachfile2 do ...
0
votes
1answer
88 views

Why a file attached by means of attach/attach2 package isn't open with same name?

When a file is attached thanks to \textattachfile{⟨file⟩}{⟨text⟩} provided by attach(2) package, the file open by the link has same content but not same name as ⟨file⟩. For instance, in the following ...
1
vote
1answer
135 views

Images not printing with textattachfile

When include graphics is put inside textattachfile from the attachfile2 package the image does not appear in the print preview or actual printing when using acrobat reader. Is it possible to get it to ...
5
votes
1answer
454 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
58 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? ...
2
votes
1answer
1k 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 document,...
10
votes
1answer
455 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
395 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 ** ...
6
votes
1answer
854 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
255 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 settings....
3
votes
1answer
323 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, ...
6
votes
0answers
817 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
238 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 ...
7
votes
1answer
6k 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
800 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
663 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} \...
20
votes
2answers
3k 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 ...
5
votes
0answers
189 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 final ...
17
votes
2answers
2k 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 ...
20
votes
1answer
4k 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 ...
111
votes
5answers
7k 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 ...