Questions tagged [embedding]

about embedding other files such as source code or fonts into output documents, possibly using the PDF attachments feature.

Filter by
Sorted by
Tagged with
9
votes
2answers
3k views

Flash animation and beamer

I want to have a flash file (.swf) in my beamer document on a Linux machine, using pdfLaTeX and Evince. Is there a way to make a link to that file which runs an external player or even better, is it ...
3
votes
1answer
547 views

Table spanning multiple pages with another embedeed table that can span two pages

I have found out that longtabu inside longtabu is not possible but maybe another solution exists. I am autogenerating lots of latex code for documenting a certain binary communication protocol and I ...
8
votes
2answers
2k views

Attach listing to PDF

I would like to add listings source as attachment to a PDF (created by pdflatex). For \lstinputlisting this is pretty easy: \RequirePackage{listings} \RequirePackage{embedfile} \let\lstinputlistingO=...
0
votes
0answers
122 views

Directly embedded images [duplicate]

Possible Duplicate: Embedding images with an encoding algorithm I'd like to embed an image (e.g. JPG, PNG) directly in my document. In HTML it's possible with a base64-encoded src attribute. &...
45
votes
2answers
4k views

Fast PNG embedding using pdflatex

I have a LaTeX document, that includes a lot PNG images. It takes about 18 second to compile. Most of the time is spent for the inclusion of the PNG images. The pdfTeX 1.40 manual from ctan states on ...
11
votes
1answer
13k views

loop video clip in beamer

I am creating a presentation using beamer and would like to have my embedded video clip automatically play on a loop. I can get the video to appear and play in the pdf; however, it does not loop. I ...
2
votes
1answer
175 views

Is it possible to embed a TeX flavor in an OS X application?

I'd like to use a nice typesetting engine to generate invoices in PDF format from an OS X application I've developed. I want to respect the licensing but I'm not an expert on that side. I don't need ...
18
votes
5answers
7k views

Using Python within LaTeX and accessing its variables

I have used the python package to include Python in my LaTeX document which works fine. I am trying to access the Python variables/calculations outside of \begin{python} ... \end{python}, without ...
15
votes
4answers
23k views

What's the best way to embed Visio diagrams?

I was wondering if there is an easier (and better) way of embedding Visio diagrams into a LaTeX document. As far as I know there a two ways: Save Visio Diagram as PNG and use \includegraphics Save ...
24
votes
2answers
4k views

Embedding a PDF file with clickable external links into a LaTeX document

I want to embed a screenshot of a web page into a LaTeX document as a vector graphic with clickable links. I'm using wkhtmltopdf to render the web page as a letter-sized pdf file with working links. ...
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 ...
7
votes
3answers
4k views

Ditaa diagrams in TeX (LaTeX) document

I would like to make Diagrams in AsciiArt style. I've found Ditaa tool very usefull. I was happy to find, there is Eps output addoon for it. What the easiest, but clear and elegant way (following ...
17
votes
2answers
2k views

Embedding images with an encoding algorithm

Friends, sometimes I had to create a self-contained PHP script. That means the PHP script could have any files within it due to some encoding/decoding algorithm, like Base64. For example, this code is ...
5
votes
3answers
1k views

Why does LaTeX not embed imported EPS images into the DVI file?

Experiment: Compiling a file, having PSTricks code inside, in LaTeX (latex.exe), results in a self-contained DVI, where this PSTricks code is embedded. But if the file has EPS images, the resulting ...
17
votes
2answers
1k views

Attach displayed image to the PDF without storing it twice

If one and the same image is included in a PDF multiple times it is only stored only once as an PDF object. Now I like to also attach an image which is shown in the document to the PDF to allow users ...
16
votes
2answers
7k views

Embed link to an embedded file

I am embedding a PDF file inside my LaTeX-generated PDF file using embedfile: \usepackage{embedfile} \embedfile{myfile.pdf} I would like to also insert a link that the user can click on to open the ...
73
votes
8answers
14k views

How to add an invisible watermark to PDF documents?

I'd like to add an invisible watermark to each PDF document that I produce so that in case it leaks, I know where it leaked from. Anyone knows what would a good way for an invisible watermark be in a ...
20
votes
1answer
3k 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 ...
14
votes
1answer
1k views

Is it possible to embed multimedia (audio or video)?

Using TeX/LaTeX is it possible to embed multimedia? If so how?
3
votes
1answer
2k views

Get MiKTeX dvips to embed fonts found in EPS file [closed]

I have some EPS figures embedded in a LaTeX document. When I run dvips on the .dvi file I get complaints like this: dvips.exe: Font TimesTen-Roman used in file ./fig01-01.eps is not in the mapping ...
28
votes
2answers
16k views

Is it possible to embed a YouTube video using LaTeX?

I'd like to embed a YouTube video inside a PDF generated by LaTeX, now I know it is possible to embed videos using the movie15 package but that includes the video in the PDF. I was hoping there would ...
1
vote
1answer
3k views

How to write raw text verbatim in LyX?

I want to write PlantUML diagrams from within LyX, and I want to put the result right into the document itself. To do so, I attempted to create a comment environment, in which I put the diagram ...
109
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 ...
1
vote
3answers
555 views

Position and scaling with graphicx package

In the good ol' days I drew figures with xfig and generated LaTeX source to directly include in my papers. But I now find powerpoint to be a faster drawing tool and sufficient for most of my needs. ...
41
votes
3answers
49k views

How to embed fonts at compile time with pdflatex

I just ran into the problem of embedding fonts while trying to publish with lulu.com. Although everyone apparently is 'supposed' to handle those 35 standard fonts for some strange reason they won't ...
9
votes
2answers
3k 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} \begin{...
12
votes
1answer
1k 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 ...
4
votes
3answers
707 views

Always a space before embedded figures in table - how do I get rid of it?

I am placing figures in a tabularx and I am having trouble getting them to embed properly. I keep getting an annoying spacer before the figure... Now if only this space could be split evenly before ...
12
votes
9answers
5k views

For movie15-based 3D embeds, how to get u3d files?

The movie15 package (an interface to embed movies, sounds and 3D objects into PDF documents for use with LaTeX as well as pdfLaTeX) requires 3D files to be in u3d format for embedding into pdf. This ...
42
votes
11answers
20k views

Embedding LaTeX equations into a webpage

I'd like to include some basic math equations into a webpage. Is there an easy way of either compiling the LaTeX into an image which I can upload, or else of having the browser parse the code?