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.

learn more… | top users | synonyms (1)

8
votes
2answers
146 views

Selectively disable dash ligatures in LuaLaTeX

With pdfLaTeX, I can print two hyphens using -{}-. This does not seem to work in LuaLaTeX. Indeed, the following snippet \documentclass{minimal} \begin{document} en dash -- two dashes -{}- ...
8
votes
2answers
186 views

Three emdashes bound together

In many bibliography styles repeating authors are indicated with three emdashes, forming a single line. This works well with some fonts, while for others it leaves gaps: ...
8
votes
2answers
1k views

Invert Background and Text Colours across Whole Document with pdflatex

When using pdflatex is there a simple way to invert the colors to give white text on a black background across the whole document? I'd like the colours to be inverted whilst I write and edit the ...
8
votes
2answers
345 views

How to Generate Random Variables then Use in Calculations in pdflatex

I'm basically trying to create multiple versions of a worksheet, each with different values for the variables in each question. To do this I'm defining random variables, then each time I compile the ...
8
votes
2answers
2k views

Uppercase Smallcaps with LaTeX (not XeLaTeX)?

In XeLaTeX there is an UppercaseSmallCaps font option (as mentioned in this question for example) that will cause upper-case letters to be rendered in small-caps and lower-case letters to remain. ...
8
votes
3answers
1k 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} ...
8
votes
1answer
1k 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
2answers
397 views

referencing main subequation

In the following example i labeled each subeqnation. \begin{subequations} \begin{gather} R_0 = 0 \label{subeqn:ini-cond-r} \\ N_0 = 0 \label{subeqn:ini-cond-n} \end{gather} ...
8
votes
2answers
108 views

Defining the minimal amount of space around an operator

How do I define the minimal (and possibly maximal) amount of horizontal space around an operator? Something similar to wrapping the operator with \,s. Here's a picture: And a minimal example ...
8
votes
1answer
175 views

Why I shouldn't load pdftex option with hyperref?

According to @percusse in this post, I shouldn't load the pdftex option with the hyperref package. Why is it?
8
votes
1answer
532 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 ...
8
votes
1answer
962 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 ... ...
8
votes
2answers
1k views

“Reference does not exist” warning with \includeonly

I am in the process of writing my thesis and am using the \include command to separate the files. But when I use the \includeonly command to select on the current chapter which has references to ...
8
votes
2answers
153 views

Are \count1, …, \count9 useful?

To quote TeX by Topic, "whenever a \shipout occurs, TeX also writes the values of counters 0–9 to the dvi file and the terminal." Do any dvi viewers or converters (e.g., dvips) make use of ...
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
1answer
172 views

Is there a way to color (only real) math in pdflatex?

I'd like to change the color of all math in my document. I understand that several packages and some engines provide support for changing the color of all math, and I understand that something like ...
8
votes
1answer
114 views

teTeX Distribution in Slackware

I have installed slackware 14. It has an in-built support for TeX. The distributions provided are teTeX and eTeX. Does it make a difference if I install TeXLive 2013? Secondly, I am not able to ...
8
votes
1answer
673 views

Hide image in PDF, reveal with mouseover

Is there a way to load a hidden image into a pdf output document that will show up when the user moves the cursor over a relevant piece of text? E.g., a pdf file generated by tex contains this ...
8
votes
1answer
442 views

How do I configure fonts and package options for different engines?

I would like to be able to rely on the code in my document class to respond correctly to whether it is being rendered using pdfLaTeX or XeTeX engines. The editor I'm using (LyX) does this using ...
8
votes
2answers
1k views

Example of Javascript form within pdflatex

Can someone please show me an example of how to include a simple Javascript form within a pdflatex document? Can someone please show me an example of accessing and modifying the PDF file's DOM from ...
8
votes
1answer
683 views

pdf objext/destinations/memory limits

At the end of the log file of the compilation run of a larger document I get Output written on <\jobname>.pdf ( <a lot of> pages, <a lot of> bytes). PDF statistics: 14055 PDF ...
8
votes
1answer
452 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 ...
8
votes
4answers
919 views

What possibilities are there of using OpenType fonts and margin kerning?

I really like the protrusion and margin kerning features of pdfTeX and LuaTeX. I also like to use other fonts than those available for TeX. What choices do I have when I want to use both? Also, what ...
8
votes
1answer
181 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 ...
8
votes
2answers
551 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 ...
8
votes
2answers
10k views

TeXLive 2011: pdfLaTeX does not convert eps to pdf for eps files in subdirectories

As from 2010, TexLive has been converting .eps files directly to pdf file if the compilation is done with PDFLaTeX. Thus a file named coilsans.eps will be automatically be converted to a file named ...
8
votes
2answers
2k views

Exit codes of pdfLaTeX

In the script I presented in this question I encountered the following problem. In case of a compilation error, I have to cancel the execution of pdflatex 3 times. This can be very annoying. I would ...
8
votes
1answer
402 views

Fill rectangular area with PDF pattern like graph paper

Short version I want to fill one or more rectangular areas on a page using a regular pattern. The area should span the page width and stretch vertically to fill remaining space. The pattern should be ...
8
votes
1answer
2k views

Create PDF with images in black and white

I have a LaTeX document with several black and white, gray value, and color images. When creating a PDF with pdfLaTeX I get a PDF where I am not sure if the embedded black and white images are ...
8
votes
3answers
625 views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
8
votes
2answers
292 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
227 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
1k views

Unicode characters in pdflatex output using hexcode without UTF-8 input

I want to use Unicode characters (for Korean language, i.e. Hangul: U+AC00 - U+D7A3; maybe also U+1100 - U+11FF) in the output of latex(/pdflatex) while the LaTeX source file should be coded in 7 bit ...
8
votes
0answers
95 views

Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
8
votes
0answers
406 views

How to deal with (probably bogus) errors from third party on my pdf? [closed]

I use a print-on-demand company (lulu.com) that has always been picky and inconsistent about the PDF files they accept. I'm giving them files produced by pdftex. They use various subcontractors to ...
7
votes
2answers
2k 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} ...
7
votes
2answers
437 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
764 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 ...
7
votes
3answers
77 views

pdfLaTeX with PSTricks: is it possible to get one .pdf for each figure?

I know that it is possible to use pdfLaTeX in a document with PSTricks figures by adding \usepackage[pdf]{pstricks} in the preamble and then running pdflatex --shell-escape <file> Then, ...
7
votes
2answers
244 views

Interactive surface plot with pgfplots

I know that it is possible to embed three-dimensional files into PDFs with \LaTeX which can then actively be interacted with by the reader (see here for example). I have a surface plot I made with ...
7
votes
4answers
3k views

pdflatex bash script to supress all output except error messages?

I have a bash script which I use to compile a file with pdflatex twice (to make sure it sorts out references properly, etc.). This is the 'latexbuild' script I use: module load ctan pdflatex ...
7
votes
2answers
6k views

Is is possible to install only the required LaTeX tool “pdflatex” in Ubuntu?

I do not know the dependencies b/w the tools provided by the LaTeX bulky lib. A suggested command to install LaTeX tools on Ubuntu is: sudo apt-get install texlive-full It's full installation ...
7
votes
4answers
509 views

Include source code of pdf picture directly into LaTeX file

Suppose you have a (PDF)LaTeX file where you include pdf pictures via \includegraphics. Now, if you want to share the LaTeX file with another person, you always have to send not only the LaTeX file ...
7
votes
3answers
981 views

How do I switch between Vector and Raster (bitmap) Fonts?

Q. What do you exactly need? A. I need to compile twice one and the same document in PDFLaTeX using vector fonts from CM-Super package standard raster Computer Modern fonts Q. Why do you need ...
7
votes
1answer
58 views

pdflatex: encoding problems for macros defined before documenclass

I use pdflatex to create a bunch of personalised documents. From a list of names I generate tex files for each John and Jane Doe of the form: \newcommand{\firstname}{John} \newcommand{\lastname}{Doe} ...
7
votes
1answer
10k views

epstopdf warning: “Shell escape feature is not enabled.”

I'm having a bit of trouble trying to include .eps files in a LaTeX document compiled with pdfLaTeX. I've been told that I should use the epstopdf package to convert .eps files to .pdf on the fly. ...
7
votes
4answers
3k views

Customizing pdfLaTeX for a particular file with AUCTeX?

I'm trying to use the TikZ 'external' library, available as of PGF 2.10. This requires running pdfLaTeX with the option -shell-escape. I usually run pdfLaTeX from AUCTeX with the option ...
7
votes
2answers
276 views

Libertine newtxmath and text (oldstyle) figures in headers

This is closely related to the OP with title "lining figures in tables and math, old style figures in text", and to the answer provided therein. The following (semi)MWE is to be run with pdfLaTeX: ...
7
votes
2answers
166 views

Is there an easy way of producing a pdf without pictures?

I want pdflatex to produce a PDF with the images shown as empty rectangles. pdflatex thesis.tex Will compile my thesis normally with pictures, but it takes about 5 min to compile pdflatex ...
7
votes
2answers
612 views

Equivalent of bounding box when compile with pdflatex

I'm having an issue inserting a .pdf image into my .tex file (an .eps works fine). A description of my problem is below. When I insert an .eps figure by doing: \documentclass[a4paper,11pt]{article} ...