pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

learn more… | top users | synonyms (1)

21
votes
2answers
5k 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 ...
28
votes
3answers
1k views

Create bitmap within TeX file

I'd like to create a bitmap (black and white) from within LuaTeX (or pdfTeX) and rescale it afterwards. For example (a 4x4 bitmap) could be made by \makebitmap{0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0} I ...
25
votes
2answers
12k views

Is there any way to include an animated GIF directly?

Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to ...
21
votes
2answers
3k views

Generating PDF/A-1b compliant documents using pdfx and pdfLaTeX

There are several discussions on the web on how to generate PDF/A-1b compliant documents. One approach can be found on ...
14
votes
6answers
6k views

Can pdflatex (or any tex package) automatically rescale included images which have been reduced in size?

I'm writing my thesis in LaTeX, generating it with pdflatex. I have a large number of figures, many of which are bitmaps (as opposed to SVG) in PNG/JPEG format. I've generally created them to be ...
19
votes
3answers
8k views

How to overcome Acrobat Reader error 131 with a pdfLaTeX doc?

I'm generating a PDF document with pdflatex (more precisely, latexmk invoked from TexMaker 3.4. My LaTeX install is TeXLive 20120719). I can read the document fine in Okular and Gmail's attachment ...
12
votes
3answers
2k views

How to get accented unicode characters that can be copy-pasted?

The aim is to generate the .pdf with accented characters (the .tex file has mixed macro and unicode input), in a way that the .pdf text can be copy-pasted. An example: \documentclass{article} ...
11
votes
2answers
2k views

It is possible to make fonts appear heavier (darker) in pdf output of Latex?

[Edited to include what I have learned from the answers.] I am using Latex in TeX Live on my Mac, through TeXLive. I compile .pdf files using Pdflatex. I use the default fonts. [These fonts are ...
22
votes
1answer
652 views

Can I write a document that is compilable with both latex and xetex?

I have just started to have a look at XeTeX and I am wondering whether to make the switch, however I am a bit scared... ...and I am basically wondering if I have to take the step fully or if I can ...
11
votes
1answer
2k views

Can't copy-paste from my PDF. Any idea why?

When using copy paste from the PDF generated from my Latex document, the text comes out garbled. What could be causing this? This is an example of the original text: At last, and taking the risk ...
8
votes
4answers
3k views

Included png appears too big in PDF

I'm a beginner with LaTex and writing an article in it (letter-sized). WinEDT and MikTeX (versions seen in the log). I have a PNG chart (obtained from R/ggplot2) which is 471 x 335 pixels and which ...
7
votes
2answers
1k views

moderncv - filesize of pdf too big

I managed to work out how to create a job application that is entirely written in the moderncv style. I use the moderncv class itself for my CV and the attachments (making each document a section with ...
7
votes
2answers
787 views

Is there a “ForwardPDF” tool available?

When I am working on a big document, I find the srcltx package to be extremely useful. However, I also really like the hyperref package. Is it possible to use both? In particular, is there a way to ...
22
votes
2answers
2k views

Ensure verbatim code block is copy/paste-able

After rendering a document containing this code block \begin{verbatim} if [ ! -d .git ]; then git init; fi # Initialises a new Git repository, if doesn't already exist. if [ ! -f README.md ]; ...
15
votes
2answers
646 views

Easily assign undefined ligatures with pdfLaTeX?

Ulrike Fischer showed how Linux Libertine's special ligatures are accessible. Even though she also pointed me at a chapter of the LaTeX Graphics Companion, I'm not really sure how to get these ...
14
votes
3answers
1k views

Deactivating Anti-Aliasing when typesetting QR-Code

Using the following LaTeX-Code: \documentclass[a4paper]{article} \usepackage[pdf]{pstricks} \usepackage{pst-barcode} \begin{document} \begin{pspicture}(0.7in,0.7in) ...
12
votes
3answers
3k views

Using Asymptote with pdfLaTeX

I have recently started using LaTeX and have found it amazing. I now use LaTeX for all my documents :). However, now that I need to include some graphs and diagrams in my documents, I have found the ...
11
votes
2answers
2k views

Eliminate/Edit PDF properties added by pdfLaTeX

Is there a way to change the properties that are added to PDF docs? For instance, when I go the Properties panel in Acrobat, I see: Application: LaTeX with hyperref package PDF Producer: ...
9
votes
1answer
515 views

\write18 pass % through to shell

This has sort of been touched on in some other postings, but for path reasons I would like to avoid using a shell script and just use ImageMagick's (IM) convert command line executable directly from a ...
3
votes
0answers
138 views

How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???) differ in terms of use(s), purpose(s), pros and cons? [duplicate]

How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???, ConTeXt, fill-in-the-gap) differ? Is there an authoritive list of all currently available LaTeX-related compilers? Which are the ...
13
votes
1answer
2k views

Determine height of the line you are in

Is there a way in PDFLaTeX to determine the height of the line you are in? Maybe something similar to PDFsavepos. In a normal line (i.e. no heading etc.), you might approximate the height by a fixed ...
11
votes
2answers
432 views

Are itemize and EBGaramond compatible?

This MWE works: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. ...
9
votes
2answers
3k views

How to determine the true size of a font?

A colleague of mine is submitting a research proposal to one of the UK research councils, whose guidelines stipulate a minimum font-size of 10pt. My colleague, who is of course using LaTeX, uses the ...
6
votes
2answers
429 views

Extracting characters from the new libertine (with pdflatex)

The issue: I need to access e.g. libertine's delta glyph in pdflatex. This question notes that the \libertineGlyph command is no longer provided by the latest version of the libertine package. It ...
4
votes
1answer
494 views

Installing EBGaramond for pdfLaTeX

I made a foolish choice to play around with fonts a few days ago, and haven't escaped since. After getting very kind and useful help here yesterday, I decided to follow the advice given, and change to ...
4
votes
1answer
481 views

Pixelated font as on Texas Instruments calculators

For pedagogical reasons, I would like to build one environment to display something like the screen of one Texas Instruments calculator. What I'm looking for is a way to produce, via pdflatex, one ...
2
votes
1answer
850 views

Specifying CJK fonts for pdftex and CJK.sty

I'm compiling a Japanese TeX file written with CJK.sty, and using the IPA fonts. I used ttf2tfm to generate tfm files. Is there a way to tell pdftex that a set of tfm files correspond to one Unicode ...
19
votes
5answers
21k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
13
votes
1answer
378 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
13
votes
1answer
1k views

File size difference between XeLaTeX and pdfLaTeX

When working with MacTeX 2010, I noticed that XeLaTeX generates files considerably smaller than pdfLaTeX on the same input. Even with the small example \documentclass[11pt]{article} \begin{document} ...
13
votes
2answers
823 views

Regular expressions with pdfTeX

How can one use \pdfmatch with regular expressions and where can one find a listing and description of all the available pdfTeX primitives and help on their use? Edit The latest issue of the pdfTeX ...
12
votes
2answers
3k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
10
votes
1answer
876 views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex ...
10
votes
3answers
1k views

Replacing greek glyphs in math mode

I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
8
votes
1answer
241 views

How can I use -max-print-line in pdftex (TexLive)?

I know that Miktex has an option -max-print-line=n to change the width of the output. I wondered if something like that existed for pdftex from TexLive ? I'm on Gentoo. It is very annoying to have ...
7
votes
1answer
882 views

Can't silence a pdftex “PDF inclusion: multiple PDFs with page group” error

I am having an issue with PDFs generatied in Inkscape. If multiple files generated in this way are included on a single page I get the following error: pdfTeX warning: pdflatex.exe (file ...
7
votes
1answer
324 views

How do I know which ligatures are used in my document?

In order to know which ligatures I might consider disabling, I would like to know which ones are actually used in my document. (Which ligatures are provided by a font is a more general question; I ...
7
votes
1answer
2k views

Errors using pdfx package to generate PDF/A

I need to submit my thesis in PDF/A format. I am using LyX, but I don't think that is relevant for my question. I get this error message when running pdfx package: ! pdfTeX error (ext5): cannot ...
7
votes
1answer
345 views

Use case for pdfTeX's \quitvmode

While reading one of Lev's answers, I encountered a pdfTeX primitive \quitvmode that I have never noticed before. The pdfTeX manual states that this causes TeX to leave (internal) vertical mode and ...
6
votes
3answers
156 views

UTF-8 error with verbments

I'm writing a book using Latex in what I want to write code in Python. My operating system is Linux and my editor is Kile with: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
2answers
498 views

How to determine the run time of a loop?

pdfTeX, provides two macros that can be used to determine the time elapsed from a run start. The first one determines the elapsed time in "scaled seconds", that means seconds divided by 65536. ...
5
votes
1answer
613 views

How to run LaTeX and lilypond-book in one command?

I was wondering if there was any command which would let me create a PDF from a LyTeX source in one step. Currently, I am first executing lilypond-book: lilypond-book --latex-program=pdflatex --pdf ...
5
votes
1answer
3k views

pdflatex, latexmk, synctex: Adding an option to pdflatex causes synctex to fail

The user "Mike" kindly helped me on Latex, Emacs: automatically open TeX Help buffer on error and close it after correction of the error? to create the following function which makes error detection ...
4
votes
3answers
2k views

Latex or PdfLatex to generate DVI

I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully - ...
3
votes
2answers
383 views

How can I keep browsing my pdf with synctex at the same time as LaTeX is rebuilding it?

As discussed here pdflatex preview problem: white pdf pages with only hyperref-rectangles visible during compile? when working on my dissertation which takes a long time to compile (even when ...
2
votes
1answer
2k views

Recover TeX file back from compiled PDF [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? Has anyone written a piece of code that (at least) tries to reconstruct (standard) LaTeX from a compiled PDF file? I mean, identifying ...
1
vote
1answer
4k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
0
votes
1answer
93 views

PDFLatex tables are covering up text

I have a series of images that I'm displaying using a table environment. However, pdflatex places my table over the references portion of my paper. I've tried [htb!] options for the table, and it ...
12
votes
2answers
500 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
12
votes
1answer
16k views

Including GIF image in pdflatex document

I'm trying to include GIF image in my LaTeX document. To my understanding this is possible. I'm using pdflatex and I get the following message: ERROR: LaTeX Error: Unknown graphics extension: .gif. ...