Questions tagged [attachfile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
158 views

How to embed .wav audio files into PDF?

I have tried using packages media9, media15, multimedia, and attachfile, but I can not for the life of me figure it out. I don't know if I need to install anything for these packages or if using the '...
Andy's user avatar
  • 1
0 votes
0 answers
32 views

Attachments that created by "attachfile2" can't be opened, but can be by "attachfile" in LaTeX, which is caused by "XeLaTeX"

With attachfile package, the PDF file can contain the attachment that can be opened by double clicking. But with attachfile2 package and ctex package, it can't. Sometimes, attachfile can't be replaced ...
Y. zeng's user avatar
  • 1,737
1 vote
0 answers
55 views

pdfs in attachment

what is the best way to attach pdfs to my LaTeX document so that the entries are automatically written to the attachment? So far I have always solved this by simply creating a list that then reflects ...
TheDice's user avatar
  • 35
1 vote
1 answer
76 views

How do I make an attached file display like a link's title (no icon) when using the attachfile2 package

I want make a string in the text clickable. When I click it (the string is an attachfile name or another custom name),then it should download the attachfile. attached file.How can I do that?
テンテン's user avatar
1 vote
1 answer
315 views

\attachfile add an annotation instead of attachment in the final PDF

I whant to attach a file to the final PDF produced whit XeLaTeX, so I used the following MWE: \documentclass{article} \usepackage{attachfile2} \begin{document} \attachfile{foo.txt}{bar} \end{...
fauve's user avatar
  • 2,457
1 vote
0 answers
167 views

Is it possible to attach a file to a beamer presentation? [closed]

I am familiar with the navigator package, which works flawlessly in long documents. However, I recently wanted to attach a file to a beamer presentation. I am not using LaTex, but rmarkdown to create ...
lf_araujo's user avatar
  • 801
1 vote
1 answer
378 views

LaTeX, use czech characters inside of commands

is there any way to use czech characters (ě, š, č, ř, ž, ý, á, í, é etc.) inside of commands? I am currently trying to use the attachfile package to embed another file in my main file. I tried using ...
Raymond_90's user avatar
1 vote
1 answer
131 views

How to set default directory for \copypages and \insertpages?

I'm using two macros to insert some PDFs to my document: \copypages and \insertpages. Is there a way to specify a default directory to these macros to search for files? By info from ConTeXt wiki for ...
José de Mattos Neto's user avatar
1 vote
1 answer
348 views

Include word/pdf files in latex?

I was wondering if it is possible to integrate Word (or PDF) files in LaTeX in such a way, that one can still use the hyperlinks provided in that word / pdf.
manuel459's user avatar
  • 299
1 vote
1 answer
453 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 ...
Sergio's user avatar
  • 47
1 vote
1 answer
985 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} ...
Sergio's user avatar
  • 47
0 votes
1 answer
200 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 ...
Sergio's user avatar
  • 47
18 votes
1 answer
1k 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 ...
koppor's user avatar
  • 3,122
2 votes
0 answers
307 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 ...
Carlos's user avatar
  • 21
3 votes
0 answers
2k 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 ...
sppmg's user avatar
  • 73
4 votes
1 answer
236 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. ...
Dr. Manuel Kuehner's user avatar
1 vote
1 answer
1k 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.
Vitor Abella's user avatar
  • 1,138
1 vote
1 answer
276 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 ...
Alexandre Willame's user avatar
1 vote
1 answer
570 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 ...
Thomas F. Sturm's user avatar
0 votes
0 answers
131 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 ...
Denis Bitouzé's user avatar
2 votes
1 answer
284 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 ...
Twig's user avatar
  • 347
7 votes
1 answer
734 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 ...
Jason Gross's user avatar
  • 2,105
0 votes
1 answer
79 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? ...
Peter Ebelsberger's user avatar
2 votes
1 answer
5k 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,...
shivam's user avatar
  • 53
11 votes
1 answer
802 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 ...
opensourceadvocate's user avatar
5 votes
3 answers
925 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 ** ...
kriim's user avatar
  • 61
7 votes
1 answer
1k 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 ...
D.W.'s user avatar
  • 235
4 votes
1 answer
354 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....
user2004198's user avatar
4 votes
1 answer
518 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, ...
Zev Chonoles's user avatar
  • 5,406
7 votes
0 answers
1k 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 ...
Adobe's user avatar
  • 3,037
5 votes
1 answer
298 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 ...
Maesumi's user avatar
  • 8,969
8 votes
1 answer
10k 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} ...
user1285419's user avatar
  • 1,091
5 votes
1 answer
1k 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 ...
d3pd's user avatar
  • 1,718
5 votes
1 answer
903 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} \...
JardaFait's user avatar
  • 3,850
20 votes
2 answers
4k 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 ...
alfC's user avatar
  • 14.2k
5 votes
0 answers
205 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 ...
alfC's user avatar
  • 14.2k
17 votes
2 answers
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 ...
alfC's user avatar
  • 14.2k
20 votes
1 answer
6k 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 ...
Jason Gross's user avatar
  • 2,105
122 votes
5 answers
11k 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 ...
vy32's user avatar
  • 4,730