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)

105
votes
3answers
20k views

Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX

Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (inputenc, fontenc, babel) and a bunch of other ...
58
votes
3answers
42k views

How to use PSTricks in pdfLaTeX?

I thought that PSTricks package was not possible to use in pdfLaTeX but the user Dima claims otherwise. How can I force pdfLaTeX to use PSTricks then?
30
votes
7answers
16k views

Why are some pages in my PDF coming out bold? [duplicate]

When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded. Why, and what can I do to make it stop?
42
votes
5answers
59k views

How to convert PDF to (La)TeX?

I know that hardly any information is passed to the PDF when a .tex file is compiled. But is there a tool that can convert a PDF document back to (La)TeX?
73
votes
3answers
16k views

How to make the PDFs produced by `pdflatex` smaller?

I feel that the PDFs produced by pdflatex are too huge. So for example my 50 page book with no illustrations is 500KB. I feel it should be more like 50K or even less. The .tex files together are just ...
55
votes
6answers
45k views

Why can't pdflatex print EPS figures?

The images in my paper are in EPS format. If I execute pdflatex to get a PDF version of my paper, the figures won't appear. I have to typeset using the latex command, and then convert the DVI file to ...
12
votes
2answers
5k views

PSTricks error “Undefined control sequence <recently read> \c@lor@to@ps”

I have a problem with this file tex: \begin{document} \begin{figure} \begin{center} \begin{pspicture}(0,0)(1,3.8) \psline{-<}(0,0)(0,.2) \psline{-}(0,.2)(0,.4) \psline{*->}(0,.4)(0,.9) ...
33
votes
2answers
6k views

Frequently loaded packages: Differences between pdfLaTeX and LuaLaTeX

I'm in the process of switching my LaTeX document from pdflatex to lualatex. Similar to Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX I would like to know, what are typical ...
37
votes
2answers
12k views

Hyperref warning - Token not allowed in a PDF string

When compiling a beamer presentation and using the following \author command \author{Name \\ \texttt{my.email@domain.com}} I get the following hyperref warning in my logfile Package hyperref ...
35
votes
7answers
13k views

Included PNG appears blurry in PDF

This is a follow-up to Included png appears too big in PDF, but it's a separate issue so I'll put it in its own question instead of burying it in comments. The problem: an included PNG, included ...
66
votes
6answers
5k views

What are good ways to make pdflatex output copy-and-pasteable?

One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the ...
22
votes
1answer
7k views

How to set security options for a PDF using pdflatex

My questions is very simple. How can I set security setting for a PDF file created with PDFLatex? I should set some password or print permissions, etc.
16
votes
4answers
12k views

My pixel perfect picture gets blurry when compiled in LaTex

Here's my problem. I have this picture: http://dl.dropbox.com/u/3394117/Temp/fig1.png (I have the original in Pixen and could export it to several different formats. I went with png though since it's ...
50
votes
8answers
13k views

How to annotate PDF files generated by pdflatex?

I want to annotate some PDF files (created with pdflatex), e.g. word x is missing here this part of a sentence should be moved to the front replace word x by y highlight this sentence insert a note ...
13
votes
1answer
2k views

pdftooltip from pdfcomment package: Using LaTeX code in tooltip

I work as a Physics teacher and I am writing a "Problem-Solution-Book" with hyperlinks from problems to solutions and backreferencing -- all of it works pretty good. Now I wanted to introduce ...
17
votes
3answers
9k views

Using psfrag with pdflatex

Is there any way of using psfrag with pdflatex? It seems fairly similar to the problem of using pstricks with pdflatex. Do they both depend on the same things, or does psfrag include pstricks? Can I ...
59
votes
8answers
9k views

What is the practical difference between latex and pdflatex?

I understand that some packages (like PSTricks) can't be used with pdflatex. Are there any other differences between these tools? Can we say that pdflatex is better if we don't care about ps?
68
votes
4answers
78k views

Small Caps and Bold Face

I can't seem to have both the small caps and boldface styles on a line: \huge\sc\bf Hello This will generate bold text, and if the \sc is placed after, it will generate small caps text but not ...
34
votes
3answers
3k views

Using LuaTeX as a replacement for pdfTeX

In this question Differences between LuaTeX, ConTeXt and XeTeX various differences between LuaTeX and XeTeX (and ConTeXt) are discussed. And in this question Using XeLaTeX instead of pdfLaTeX a recipe ...
8
votes
1answer
774 views

Ligatures in figures and pdftex

In the following example, the 'ff' ligature in the figure labels (in 'differential') disappears when pdflatex is used, but the fault does not occur if latex-dvips-ps2pdf is used instead. Both lualatex ...
12
votes
3answers
26k views

eps figures with pdflatex

In a recent discussion on this site I learned that using \usepackage[pdf]{pstricks} makes it possible to run pdflatex on files containing eps and pstricks files (and psfrag usage as well). Now a ...
7
votes
1answer
12k views

Formatting of Tables in Latex, using multirow and multicolumn together

When I used this piece down, I got. \documentclass[a4paper,12pt]{report} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.75in]{geometry} \usepackage{graphicx} \usepackage{url} ...
21
votes
7answers
2k views

Is there a way to configure pdflatex to make all but the .tex and .pdf files hidden files?

I have asked a previous question about how to manage all the files generated when my LaTeX files are compiled but the approach in the answer I accepted is still unsatisfactory for the many small ...
65
votes
5answers
16k views

Adding a signature on an online job application

Nowadays many job applications are sent in digital form as PDF. We use of course LaTeX to create such. Usually you add a cover letter to your CV and credentials. If you sent this as print-out by ...
17
votes
6answers
19k views

Mavericks upgrade screwed up my pdflatex (command not found)

so everything was working fine ... until i upgraded to os x mavericks (version 10.9.2) a couple days ago. using emacs version 24.3 (9.0) auctex version 11.87.3 after upgrade, tried to compile and ...
30
votes
1answer
2k views

How do I use TrueType Fonts with PDFTeX using otftotfm?

I've heard that PDFTeX can use TrueType fonts. There have been several answers related to this, but of these only the first one mentions using otftotfm, which I'm told is the standard way to do it ...
72
votes
5answers
6k views

Is there any reason to compile to DVI rather than PDF these days?

I appreciate that in the past, latex was faster than pdflatex, but computer speeds being what they are nowadays, I can't see any difference in how quickly documents compile... So, given that the end ...
39
votes
3answers
2k views

Bounding box for each letter

How can I take input text and replace each character with a solid (and/or hollow) rectangle representing the bounding box for that character? In the case where two characters are closer together from ...
39
votes
6answers
6k views

Which figure type to use: pdf or eps?

Both are vector graphics (typically) and both can be imported painlessly into a pdflatex document (so let's say we ignore dvi for this question). What are the advantages and disadvantages of each? ...
17
votes
2answers
18k views

How to make a real apostrophe or single-quote in LaTeX

I am trying to incorporate programming examples in a LaTeX document. The document renders nicely with pdflatex; however, the single quotes get transformed into U+2019, a right-single-quotation mark. ...
23
votes
3answers
1k views

Detect which TeX engine is used

How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?
33
votes
5answers
13k views

How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?

Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux. Btw, to give more ...
56
votes
11answers
12k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
35
votes
1answer
2k views

Make ligatures in Linux Libertine copyable (and searchable)

I'm currently working on an essay written in LaTeX form. I'm facing problems with ligatures - in my pdf output (rendered using pdftex) opened in Adobe Reader I get X's and V's when copy-pasting words ...
52
votes
1answer
11k views

What exactly is SyncTeX?

I stumbled upon these SyncTeX files in my directories and wanted to know what they are for. I searched this site and the internet and I think I have some vague understanding of what it is but I'm ...
32
votes
3answers
6k views

Utilizing oldstyle figures without resorting to \oldstylenums

Quite a few of the freely available LaTeX fonts include oldstyle figures (numerals that harmonize with lower case letters) in addition to lining figures. (Generally, you have to load the textcomp ...
19
votes
3answers
2k views

How to speed up pdflatex for a very large document on MacOS X?

I wonder how I can speed up the pdflatex compilation of a large document (thesis) with >200 pages and many images (however all imported PDFs or imported pixel graphics, no TikZor similar things yet!). ...
14
votes
3answers
4k views

How do I get Korean (Hangul) characters to typeset in LaTeX ?

I've been unable to find a concise answer anywhere else on the web. Since its only a few words, albeit crucial ones, that are in Korean I don't want to have to muck around with HLaTex or deviate from ...
7
votes
4answers
21k views

Insert eps graphics with graphicx (file not found)

When I run Andrew Robert's import.tex in MikTeX I get an error message saying that the image file is not found: ! LaTeX Error: File `chick' not found. See the LaTeX manual or LaTeX Companion for ...
8
votes
1answer
1k views

Why is there no pdffrag package?

The psfrag package has been around for more than a decade* and is easy to use: \usepackage{graphicx}% http://ctan.org/pkg/graphicx \usepackage{psfrag}% http://ctan.org/pkg/psfrag ... ...
87
votes
3answers
8k views

Choosing whether to include PDF or PNG in PDFLaTeX

Can I tell graphicx somehow which graphic format to choose when I omit the file extension in includegraphics and both a PDF and a PNG version of the same image exist? The reason is that I have some ...
36
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 ...
22
votes
1answer
1k views

How to make text copy in PDF previewers ignore lineno line numbers?

I'm using lineno for a document. I have it configured to put line numbers in the margins of the document. I generate PDF using pdflatex. Here's the problem: when people copy a region of text in a ...
16
votes
1answer
947 views

Automatically change é to \'e – most convenient setup for accented letters?

I assume this is really basic question, I'm new to LaTeX, I read a first step tutorial to get ready to write some documents but I couldn't answer my own question at this time and I really don't know ...
9
votes
3answers
3k views

\left and \right in equation across multiple lines [duplicate]

Possible Duplicate: Left/Right across multiline equation Could someone explain why I can't get the left and right commands to work correctly code: \documentclass{article} ...
7
votes
2answers
517 views

Is pdflatex an engine or a format?

From http://www.tug.org/levels.html Engines: TeX, pdfTeX, XeTeX, LuaTeX, … These are the actual executable binaries which implement the different TeX dialects. The LaTeX format is implemented ...
7
votes
2answers
3k views

How do I get rid of particular pdftex warning message?

Here is a minimal example that showcases my problem: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{thm}{Theorem} \newtheorem{lem}[thm]{Lemma} ...
10
votes
2answers
2k views

What is the best way to insert document-level JavaScript in LaTeX documents

I have been toying with the idea of converting some forms at work to interactive forms. I have tried some of the routines that come with insdljs, but they seem a bit dated. The idea is very ...
36
votes
2answers
20k views

How does one typeset a URL?

I'd like to insert a URL into this document. Is there a "correct" way of doing that? If so, is there a way to turn it into a link inside the final pdf generated with pdfTeX or XeTeX?
14
votes
3answers
2k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...