pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if your question is about pdf(La)TeX specific problems and is not related to standard (La)TeX.
75
votes
3answers
9k 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 ...
25
votes
6answers
7k views
Why are some pages in my PDF coming out bold?
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
3answers
22k 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?
40
votes
1answer
6k 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 ...
11
votes
3answers
21k views
How to convert PDF to (La)TeX?
I know that probably no information is passed to the PDF when a .tex file is compiled, but is there a tool that can convert a PDF document to (La)TeX?
26
votes
7answers
6k 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 ...
34
votes
5answers
14k 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 ...
41
votes
7answers
4k 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?
24
votes
2answers
1k 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 ...
11
votes
3answers
6k 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 ...
13
votes
2answers
4k 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 ...
43
votes
4answers
2k 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 ...
59
votes
5answers
3k 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 ...
32
votes
6answers
2k 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? ...
68
votes
3answers
3k 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 ...
34
votes
7answers
7k 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
...
29
votes
3answers
2k 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 ...
17
votes
3answers
1k 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!).
...
32
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 ...
25
votes
3answers
3k 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 ...
13
votes
3answers
943 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 ...
17
votes
7answers
716 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 ...
13
votes
2answers
7k 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. ...
8
votes
2answers
402 views
How does “libertine-type1” work?
I am really struggling to understand how the packages libertine-type1 and biolinum-type1 work now that libertine-legacy is depreciated. According to the new libertine.sty all options when using ...
38
votes
10answers
2k views
Workflow for reviewing PDFs generated from TeX?
I am currently letting friends and family spellcheck my thesis written with LaTeX.
Since my markup is macro-heavy and not all of them have ever used another editor but MS Word, I cannot let them work ...
23
votes
4answers
8k 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 ...
16
votes
4answers
1k views
How to create PDF and HTML output from the same source
I'm working on a document that has been published only as a PDF file until now. To utilize some of PDF's features, it uses the packages pdfpages and pdftex and commands like includepdf{}.
But soon ...
30
votes
2answers
1k 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 ...
10
votes
2answers
2k views
Precompiled preamble with TikZ/Externalize
I'm using the externalize capability of TikZ (external library) to speed up compilation of my TikZ pictures (as explained in Script to automate externalizing tikz graphics).
In addition, I would like ...
13
votes
1answer
3k views
How to set security options to create 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.
7
votes
1answer
307 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 ...
14
votes
4answers
431 views
Expandable full expansion of tokens that preserves catcodes
Is it possible to fully expand tokens in an expandable manner and preserves category codes? I'd like to do this just using pdfTeX.
I'm looking for something that would work like this:
\def\foo{foo}
...
4
votes
3answers
1k views
Can (pdf)LaTeX recognize text strings and replace (expand) them?
I'd like LaTeX to replace e^ with \mathrm{e}^. I know I could just make a macro \e that does this, but I know I'll forget using it..
Can LaTeX find and replace and replace letter combinations (I ...
18
votes
2answers
5k 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 ...
20
votes
2answers
4k views
How does one insert a URL correctly?
I'd like to insert a URL. 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?
18
votes
3answers
739 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?
11
votes
2answers
845 views
What's the absolute largest paper size permissible with pdflatex?
I've had occasion to typeset extraordinarily large matrices, which I didn't seriously expect anyone to expect in detail (without a computer) or print, but I needed it to be obvious that they were ...
7
votes
1answer
655 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
...
...
4
votes
3answers
1k views
Gnuplottex basic example fails with 'undefined control sequence'
I'm using latest TeXLive on Linux, and have gnuplot installed. I have also installed gnuplottex package.
Then, I'm trying to compile the basic gnuplottex CTAN example, example-pdf.tex; however, I ...
9
votes
2answers
2k views
“Font shape undefined” with latex and isodoc
I'm trying to create a simple invoice with pdflatex and the isodoc class. Unfortunately, the "INVOICE" opening is appear in all lowercase, and I suspect this warning is the reason why:
LaTeX Font ...
3
votes
2answers
6k views
LaTeX Error: Unknown graphics extension: .ps
When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs:
! LaTeX Error: Unknown graphics extension: .ps.
I'm using TeXworks Version 0.4.3 ...
11
votes
3answers
5k views
Convert LaTeX to HTML
Is there a converter that will convert LaTeX to HTML? I have tried several services but the LaTeX diagrams and some of the maths came out weird.
I actually converted the Latex to PDF without a ...
25
votes
4answers
827 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 ...
17
votes
1answer
575 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 ...
15
votes
3answers
242 views
Print 'system information' in LaTeX doc
I've used TeX quite a bit before but am getting back into it at the moment.
I want to print a document details page with info such as:
Compiled on:
Compiled by:
OS version:
LaTeX version:
...
11
votes
3answers
6k 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 ...
35
votes
3answers
36k 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 ...
5
votes
2answers
915 views
Conditional Compiling and \documentclass
I am quite new to latex and don't quite get it how to compile different versions of my presentation. If this is important: I am using pdflatex and beamer.
There are three documentclasses I am ...
19
votes
1answer
2k views
libertine font package doesn't work anymore (December 2011)
If you're using an up-to-date system and you're having trouble with using the Linux Libertine fonts, you should probably check out Linux Libertine package and fonts not working any more (fall 2012), ...
15
votes
2answers
291 views
In which order should I load inputenc and fontenc?
When I’m using pdfLaTeX, my preamble usually contains
\usepackage[utf8]{inputenc}
and
\usepackage[T1]{fontenc}
Should these two be loaded in any particular order? What problems could arise if ...