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)

12
votes
2answers
2k views

Package tgpagella and text figures

Is there a way that text figures (old style numerals) can be set as default for text when loading the package tgpagella? I get them if I use the .otf files under XeLaTeX, but I'd like to get them when ...
17
votes
2answers
6k views

How do you suppress specific warnings generated by pdflatex?

A lot of the times I get warnings like "hbox overfull" when a specific part of my document is meant to be extra wide on purpose --> so I am purposefully violating the default width threshold. Or to ...
3
votes
5answers
426 views

How to insert characters with special meaning into a document

I was trying to add the symbol ^ in the document and getting error. How could I do that \documentclass{article} \begin{document} Hello world \^ \end{document} I need to add \,$... to document
3
votes
0answers
447 views

z-order (foreground/background) in pdflatex [closed]

I am using the wallpaper package to put a pre-made PDF on the title page of my LaTeX document. On the same page, I use the textpos package to insert some text and an image (with \includegraphics ...
10
votes
3answers
3k views

LaTeX minimal installation in GNU/Linux distributions (e.g., in Ubuntu and using apt-get)

I am running LaTeX on a Linux VM. I am running a Xubuntu and have very little space to use. I managed to install some of the latex packages without documentation. Currently I am missing fullpage ...
14
votes
2answers
1k views

How to fix missing or incorrect mappings from glyphtounicode.tex

glyphtounicode.tex has been described as the best solution for generating copy-and-pasteable symbols. However, I find that various symbols that I need to use do not paste as the appropriate Unicode ...
2
votes
3answers
2k views

Syntax Error: Expected the optional content group list, but wasn't able to find it, or > it isn't an Array

I am getting the following error when I run pdflatex: Syntax Error: Expected the optional content group list, but wasn't able to find it, or it isn't an Array It SEEMS to build correctly, but I am ...
38
votes
2answers
6k views

Should I load microtype with pdflatex?

Should I always load the microtype package with pdflatex? Could it produce unwanted effects a naive user (like me) might ignore? Are there any known issues as for compatibility with other packages? ...
3
votes
1answer
2k views

Including a PDF for dvi output

I want to include a multipage-pdf in latex and get .dvi output. I know \include{pdfpages} only works with pdfLaTeX. I can't convert PDF to .eps since it is multi-page. I want to have .dvi output with ...
3
votes
1answer
471 views

How do I use glyphtounicode to make Caslon Pro ligatures searchable?

I am using Adobe Caslon Pro with a caslon.sty file which activates uncommon ligatures such as st, ct, longsl, longst &c. I use it in the following example (updated to match the answer in the ...
5
votes
1answer
505 views

setting the 'filename' of a file embedded in a PDF using the attachfile package

I'm using the attachfile LaTeX package (in PDFLaTeX) to embed files in a PDF and I've run into a difficulty regarding what I suspect is the 'filename' of the embedded file. I can attach/embed files ...
6
votes
1answer
163 views

Trailing space to end \input| argument

Why do \message{\input|"texlua ..."} and \message{\input|"texlua ..." } give very different results? Notice the extra space before } in the second case. Minimal example to be compiled with pdftex --...
9
votes
3answers
294 views

Using \input|texlua… to emulate \directlua in pdfTeX

When --shell-escape is enabled, pdfTeX allows to run external programs and input the result expandably with \input|"...". Together with the Lua interpreter texlua, this could be used to provide a ...
1
vote
0answers
192 views

pdflatex embed font names [closed]

I have been using some embedded fonts (AMS, Times) in my PDF document. Last time when I browsed the document in PDF Viewer (Evince, in that particular case) I noticed that most of embedded fonts were ...
4
votes
1answer
742 views

Multiple rotated text boxes with absolute page positions

As part of a layout for a home made recipe book, I'm trying to lay out a series of text boxes at absolute positions on a page. I'm using eso-pic to put a background image on the page which has ...
11
votes
3answers
10k views

Error: I can't find the format file pdflatex.fmt

For no particular reason that I could identify, I was faced with the impossibility to compile any latex document and invariably got this error message each time I tried : LaTeX: problems after [0] ...
10
votes
3answers
2k views

Incompatibilities of cmap with fontenc/hyperref?

The following code doesn't compile (with pdflatex) \documentclass{article} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[pdfa=true]{hyperref} \begin{document} Hello. \end{document} ...
3
votes
3answers
3k views

psfrag equivalent for pdflatex

I am currently updating my workflow from the old tex2ps2dvi workflow (needs a lot of time and matplotlib and other stuff etc. hasn't a EPS output (only PDF, SVG, PS, PNG, etc...). I am trying to ...
45
votes
3answers
18k 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 ...
19
votes
1answer
2k views

Proper use of cmap and mmap

I am curious about the differences between \usepackage{cmap} \usepackage[resetfonts]{cmap} \usepackage{mmap} (= \usepackage[useTeX]{mmap}) \usepackage[noTeX]{mmap} What are their precise ...
2
votes
2answers
248 views

How can I execute pdflatex when I'm not in the directory?

I am currently experimenting with lilypod. To generate a PDF from the source, I have to enter mkdir -p charts-out lilypond-book --output=charts-out/ --pdf charts.tex cd charts-out pdflatex charts....
76
votes
6answers
9k 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 ...
12
votes
2answers
831 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 ...
1
vote
2answers
987 views

pdfx and “undefined control sequence” caused by Subject meta-tag

According to the pdfx documentation it should be possible to add a Subject field to the XMP metadata file. Addition of this field however seems to cause an unexpected error during compilation of the ...
1
vote
1answer
529 views

How to pass pdflatex option “-synctex=1” to texi2dvi?

How can I pass the option -synctex=1 (for synctex support) of pdflatex to texi2dvi?
0
votes
1answer
2k views

texi2dvi: “I couldn't open database file…” (strange behavior with relative paths to .bib file)

When I use texi2dvi -p --tidy foo.tex where foo.tex contains \bibliography{/home/user/.../mybib.bib}, everything works as expected, mybib.bib is found and references inserted in foo.pdf. Also, when ...
26
votes
3answers
9k views

mysterious error: \pdfendlink ended up in different nesting level than \pdfstartlink [duplicate]

I ran into the "mysterious" \pdfendlink ended up in different nesting level than \pdfstartlink error. According to http://www.tug.org/errors, "this happens when hyperref is used under pdftex and a ...
8
votes
2answers
11k views

Good quality images in pdflatex

Generally I include images in my latex document by the command \includegraphics[scale=0.5]{image.png} However, after doing pdflatex the image quality is always very poor in the resulting pdf file. ...
3
votes
2answers
8k views

How to change AUCTeX latex compile command? (using Emacs 23)

I'd like to configure AUCTeX to compile without stopping on errors. I can do it from a terminal with pdflatex -interaction=nonstopmode filename.tex but AUCTeX apparently does pdflatex filename....
3
votes
0answers
205 views

some greek letters disappear from PDFs included with includegraphics [duplicate]

Possible Duplicate: Ligatures in figures and pdftex I have created some graphs in PDF format with PyX that include some labels with greek letters. When these graphs are included with \...
22
votes
2answers
27k 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. ...
3
votes
1answer
6k views

How to deal with PDF figures

I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly. I am using ...
3
votes
2answers
166 views

Pageref inside alltt

Here is minimal working example that shows bug: \documentclass[a4paper,12pt,openany]{book} \usepackage{alltt} \begin{document} \begin{alltt} \pageref{asd fgh jkl} \end{alltt} \end{document} I ...
5
votes
1answer
517 views

Problem with alltt package when defining new command

I have following problem. In the code below the second parameter of new command 'chunk' is supposed to output text 'as-is' using alltt package (I need alltt because I will output some other new ...
53
votes
1answer
859 views

The ^^ notation in various engines

Basically, how does the ^^^... notation work in LuaTeX and XeTeX, exactly? In 8-bit TeX engines (recent TeX, eTeX, pdfTeX, at least), two consecutive identical catcode 7 characters (typically ^), ...
4
votes
1answer
2k views

GraphViz and LaTeX; gives blank PDF

I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page). Now trying with the dot2texi package, which is giving me a blank PDF. I have tried ...
6
votes
2answers
4k views

poor font quality when exporting to pdf

I use LyX 2.0 and export with pdflatex. When writing standard text and exporting to pdf, the font gets rigid. Text written in math mode, though, is exported crystal clear. I've tested that on several ...
1
vote
0answers
1k views

Problem with viewing interactive PDF content on Mac [closed]

I use packages such as popupmenu and fancytooltips on a Windows system using PDFLaTeX to create some interactive PDF texts to be posted online. The resulting documents behave as expected when viewed ...
24
votes
2answers
4k 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 ]; ...
3
votes
1answer
436 views

Is it possible to adjust natively the size of the PDF file during compilation with pdflatex?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am working on a laboratory report containing little text and a large number of pictures. I prefer to leave the pictures at ...
1
vote
1answer
158 views

Font problem in pdftex [closed]

I am designing a cover page for an online publication, and apparently, the pdf (created with pdftex from the file pasted in below) does not display correctly for some users. Part of the second line of ...
3
votes
2answers
747 views

using grid from Tikz in Texmaker

I use Tikz for creating figures. But there is a problem. If I use for example \begin{tikzpicture} \draw[->] (0,0)--(10,0); \draw[->] (0,0)--(0,10); \draw[help lines] (-0.1,-0.1) grid (9.9,9.9); ...
6
votes
0answers
213 views

Selecting a single word in ereaders [closed]

ebook readers let user select only a single word in the most PDF documents. However, when I try to select a word in a PDF generated with pdflatex (and also with latex), the ereader (i.e. sony prs600) ...
11
votes
1answer
470 views

Performance of LaTeX and other TeX derivatives

I need to generate thousands of pdf reports, based on some data. Right now I am using pdflatex for this. Are there differences in performance between pdflatex and other TeX derivatives? My content is ...
19
votes
1answer
1k views

Remove hyphen from word spanning two lines in text copied from a pdf file

If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example: Examp- le should be copied as Example not Examp-le The problem is ...
26
votes
1answer
20k views

How to include a movie in a PDF? Step by step instructions

There are a few question/answers regarding the embedding movies in PDF with pdflatex and special packages. However I find the information dispersed all around and confusing. And so far, in the best ...
3
votes
1answer
397 views

auto-pst-pdf: Not working properly with rotations >=45°

I'm using psfrag to replace text in .eps-figures. Since I'm working also with other graphic formats I use pdflatex and therefore the package auto-pst-pdf. Everything worked quite well so far. Today I ...
0
votes
1answer
2k views

Add Latex font for figure labels, legends and equation annotations with .png and .eps figures

For exporting eps figures from Matlab i use matlabfrag and laprint functions so that i split the psfrag commands (.tex) and figure(.eps) streams. During the compilation using pstool or auto-pst-pdf ...
13
votes
1answer
1k views

Is it possible to render a PDF in sepia tones?

Is it possible to render a PDF in sepia tones, both the font color and overall document background? Preferably using pdflatex. The final effect could be something like this screenshot of Pocket in ...
5
votes
1answer
5k 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 ...