The tag has no wiki summary.

learn more… | top users | synonyms

80
votes
3answers
3k 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 ...
52
votes
6answers
5k 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 ...
35
votes
11answers
5k 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?
34
votes
2answers
2k 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 ...
21
votes
2answers
17k 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 ...
19
votes
2answers
4k 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 ...
15
votes
2answers
747 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 ...
13
votes
5answers
2k 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 ...
13
votes
1answer
696 views

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

Using TeX/LaTeX is it possible to embed multimedia? If so how?
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 ...
12
votes
1answer
1k 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 ...
11
votes
1answer
894 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 ...
11
votes
1answer
198 views

How to automatically embed cited PDF reports to a document?

I have built a .bib file with some entries providing a file attribute. I want this file to be automatically attached to the document (at the end, where the references are). I'm already using ...
10
votes
2answers
1k 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. ...
10
votes
2answers
2k 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 ...
9
votes
4answers
6k 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 ...
9
votes
2answers
420 views

Embedding a flv (or mp4) video using pdfTeX (plain TeX only)

I am attempting to find out how to embed a flv video in a pdf file created using plain TeX and pdfTeX. I was successful at manually (via Adobe Acrobat's menu: Tools->Multimedia->Video Tool) embedding ...
9
votes
1answer
950 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 ...
9
votes
3answers
149 views

How to ensure that LaTeX-generated pdfs print correctly from print-on-demand services

I've just bought printed copies of a pdf-booklet I've made using luaLaTeX. The "print ready copy" created during the Lulu upload process looks fine in the electronic version and when printed on my ...
8
votes
2answers
552 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} ...
8
votes
9answers
3k 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 ...
8
votes
2answers
547 views

Same font embedded twice when including graphics created with standalone

I use XeLaTeX, TikZ and standalone to create a figure, e.g. a flowchart. When I use includegraphics{} to include that figure into another document which uses the same font, then that font will be ...
8
votes
2answers
1k views

Embed all the fonts during compiling with pdflatex?

My paper has the font TimesNewRomanPS-BoldMT not embedded in itself, and therefore fails the IEEE submission check. I am able to embed it with Acrobat by printing the PDF. However, I find it changes ...
8
votes
1answer
300 views

Merging duplicate embedded fonts

I use many PDF images (converted from SVG) in my LaTeX document (which I create with pdflatex). I noticed that there are a lot of duplicate embedded subset fonts in my final document. I know this is ...
8
votes
2answers
2k 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 ...
7
votes
2answers
2k 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 ...
6
votes
2answers
187 views

How to include a latex document as layout example?

I would like to include a latex document in an other latex document as figure to give an example for an layout, that means, the result of a latex document should be shown as, so to say a mini page in ...
6
votes
2answers
89 views

Nicely recover embedded images

I have the latex source code and final generated PDF, but not the image files. I'd like to modify the document, so I'd like to recover the image file so that I can recompile. I can (very slowly) ...
6
votes
2answers
222 views

How to embed videos in pdf with ConTeXt?

I have heard that it is possible to embed videos with ConTeXt in tex-files and in the resulting pdf-file. Hans Hagen wrote very briefly about videos in his manual, but there is no Minexample. I could ...
6
votes
1answer
207 views

Embedding LaTeX for PDF generation

I'd like to use LaTeX as an document generation backend in my application (mainly because it is well known, feature rich and output is of very high quality). Let's assume the application creates a ...
6
votes
1answer
7k 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 ...
6
votes
0answers
397 views

Embedded fonts - Verification: Different tools give different answers [closed]

I want to produce a PDF file that has all fonts embedded. I prefer to avoid the detour of postscript/dvi and use pdflatex instead. My PDF is basically a publication containing only OmniGraffle figures ...
5
votes
3answers
981 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 ...
5
votes
2answers
657 views

PSTricks + pdfLaTeX resulting in fonts not embedding into eventual PDF

I want my eventual PDF to have all fonts embedded. Using special psdots in pstricks is causing this to fail. Here is a MWE of something which results in non-embedded fonts: ...
5
votes
2answers
601 views

Embed fonts in XeLaTeX PDF output?

How do I embed fonts in XeLaTeX's PDF output? I am printing directly onto my printer, which requires PDF, EPS or PS input with embedded fonts.
5
votes
1answer
200 views

Create a PDF with non-embedded base fonts

Quoting Wikipedia: Times, Courier, Helvetica, Symbol, and Zapf Dingbats... or suitable substitute fonts with the same metrics, must always be available in all PDF readers and so need not be ...
5
votes
1answer
118 views

How to embed output of one tex into another tex as figures?

I'd like to embed the slides of one of my tex files with documentclass beamer as thumbnails into another tex file with documentclass scrbook. For example: the slides of the beamer file shall be ...
4
votes
1answer
210 views

Symbol or image behind heading

I would like to insert/embed symbols/images behind a heading. Do you know, if that can be done?
4
votes
2answers
1k 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} ...
4
votes
3answers
625 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 ...
4
votes
1answer
70 views

Hypertarget within an embedded .tex file

I am creating a PDF from multiple latex files. Within my mainFile.tex file I am embedding other .tex files using \input{embeddedFile.tex}. I want to create a hyperlink to a line in embeddedFile.tex ...
4
votes
1answer
161 views

Embed distributed LaTeX file/code to the PDF?

I have read of the possibility to embed the LaTeX source in a generated PDF, see the question here. Do you know of a way to do this with distributed TeX file, i.e. for a TeX file which is stored in ...
4
votes
0answers
36 views

Navigator package error: ‘I can't find file `yax' \input yax’

With TeXLive 2013, under Linux Mint KDE 16, when I try to embed a file with the navigator package, I get the following errors pointing to navigator.tex and the source won't compile: line 14: I can't ...
4
votes
0answers
256 views

Link to and attached/embedded file?

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
0answers
71 views

Embedding fonts in an image [duplicate]

Possible Duplicate: Ligatures in figures and pdftex I have a PDF image file, which has been included in my document with \includegraphics{thefile.pdf} The PDF has a Type 1 font embedded ...
3
votes
1answer
196 views

Automat within Record

Could somebody help me, please? I'd like to define a new shape with parameters (input/ouput variables and a automat). It should look like: INPUT OUTPUT ...
3
votes
1answer
77 views

How to embed a song in a pdf?

How can I create a document that has a song playing in the back with (La)TeX? Is it even possible? My hunch is that if you can embed video, there should be a way to embed music... but what is the ...
3
votes
1answer
464 views

embedding movies using media9 does not work. compiles without errors

Embedding movies using media9 does not work. Linking to online movies does. I am sure that I am using the correct mp4 format and h264 encoding so the problem should not be with the movie files. The ...
3
votes
1answer
2k views

Embed video in PDF with beamer under Ubuntu [closed]

I'm stuck in embedding a video into a PDF presentation with beamer. The problem is not the actual tex code, but the fact that I'm using Linux Ubuntu 10.04. The video is not reproduced, with evince it ...
3
votes
0answers
155 views

Embedding a complete rather than a partial font

Is it possible to make XELatex embed a full rather than a partial font? The reason I ask is that I am trying to induce a fillable form to use the body font (a question asked before by several ...