Questions tagged [attachfile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 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?
user avatar
1 vote
1 answer
111 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{...
user avatar
  • 2,080
1 vote
0 answers
89 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 ...
user avatar
  • 761
1 vote
1 answer
109 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 ...
user avatar
1 vote
1 answer
109 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 ...
user avatar
1 vote
1 answer
151 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.
user avatar
  • 185
1 vote
1 answer
265 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 ...
user avatar
  • 47
1 vote
1 answer
665 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} ...
user avatar
  • 47
0 votes
1 answer
183 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 ...
user avatar
  • 47
17 votes
1 answer
846 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 ...
user avatar
  • 2,802
2 votes
0 answers
254 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 ...
user avatar
  • 21
2 votes
0 answers
1k 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 ...
user avatar
  • 63
4 votes
1 answer
225 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. ...
user avatar
1 vote
1 answer
694 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.
user avatar
  • 1,073
0 votes
1 answer
207 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 ...
user avatar
1 vote
1 answer
488 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 ...
user avatar
0 votes
0 answers
120 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 ...
user avatar
2 votes
1 answer
241 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 ...
user avatar
  • 347
6 votes
1 answer
653 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 ...
user avatar
  • 2,023
0 votes
1 answer
77 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? ...
user avatar
2 votes
1 answer
4k 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,...
user avatar
  • 53
11 votes
1 answer
650 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 ...
user avatar
5 votes
3 answers
824 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 ** ...
user avatar
  • 61
6 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 ...
user avatar
  • 225
4 votes
1 answer
315 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....
user avatar
4 votes
1 answer
436 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, ...
user avatar
  • 5,356
6 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 ...
user avatar
  • 2,945
5 votes
1 answer
264 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 ...
user avatar
  • 8,505
7 votes
1 answer
9k 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} ...
user avatar
  • 1,071
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 ...
user avatar
  • 1,638
5 votes
1 answer
840 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} \...
user avatar
  • 3,526
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 ...
user avatar
  • 13.9k
5 votes
0 answers
201 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 ...
user avatar
  • 13.9k
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 ...
user avatar
  • 13.9k
20 votes
1 answer
5k 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 ...
user avatar
  • 2,023
123 votes
5 answers
10k 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 ...
user avatar
  • 4,450