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)

3
votes
1answer
61 views

pdfTeX font expansion error during compilation

Background I am using Miktex 2.9 and TeXworks on top of that on a Windows 7 64-bit machine. To write my paper I have to use a provided template by 3rd party. However, I am not very experienced with ...
1
vote
1answer
64 views

auto-pst-pdf behaviour on Linux outside of the /home/ directory

I've searched and found many questions and answers regarding the use of auto-pst-pdf but none of them have helped me so far. My problem is that I'm generating a code 39 bar code, which does not always ...
3
votes
1answer
17k views

Package pdftex.def error PDF mode expected

Took me 6 hours today and still doesn't work, the error is : Package pdftex.def error PDF mode expected mf-texlive/tex/latex/pdftex-def/pdftex.def Example document: \documentclass{article} ...
2
votes
1answer
604 views

PDF printer decreases filesize of pdflatex output considerably. Why?

This is probably not exactly a TeX question, but I assume many people concerned with TeX might also have ideas about this issue. If I compile the following "minimum" example with pdflatex on Windows, ...
1
vote
2answers
893 views

png not scalable LaTeX using TexShop on Mac

After searching for a long time unfortunately I couldn't find a proper answer or used everything I found without any change. I have several PNG files to include into my thesis but after including a ...
2
votes
2answers
2k 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 ...
0
votes
0answers
26 views

Latex:Formatting the Template

I am currently using the template CEJ - Central University Journal from ShareLaTeX. I would like to remodel the journal format with some additions. I would like to add the Katholieke University ...
0
votes
0answers
26 views

Top line disappears when using \subsubsection

I'm experiencing some troubles writing my PhD thesis. Specifically, when I use \subsubsection for n paragraphs of a Section in Materials And Methods, the top line Materials And Methods disappears. ...
3
votes
1answer
71 views

pdflatex: How to reduce width (aka uneven scale) of a character or reduce interletter space?

I read microtype package docs, searched the Web and didn't find an example for what I am trying to achieve. Problem statement: I would like to do one of the following options: Scale all teletype ...
6
votes
1answer
31 views

Value of \def specified via command line not being properly recognized

I am having difficulty understanding why defining a macro on the command line is being treated differently than if it is specified in the file. The MWE below allows \FormattingMode to be set to Print ...
3
votes
2answers
166 views

Why will pinlabel not find a fig.pdf when using pdftex?

I have just discovered pinlabel, and would like to use it to add labels to my figures. I am using Adobe Illustrator to create my figures: I have a Mac, and with the latest OS, it seems ...
1
vote
2answers
76 views

Two Latex installations on the same ubuntu system

I just installed Ubuntu 14.04 and it comes with a basic TeX installation. I use LaTeX a lot and many of my packages don't come with ubuntu TeX installation. It's difficult and time consuming to ...
2
votes
1answer
77 views

How can I fix a “*.sty not found” error in Lyx, when it works in pdflatex?

I've just installed a gantt chart package, which I'm trying to use it in LyX. I attempted to use the first minimal example, but this failed in LyX with LaTeX Error: File 'forloop.sty' not found. ...
4
votes
2answers
59 views

Put text into small parts of a picture

I have used the \multiput command to create a for example 4 by 4 table: \documentclass[a4paper,12pt]{report}‎ ‎\usepackage{graphicx} % inserting images‎‎ ‎\begin{document}‎‎‎‎ ‎‎ ...
2
votes
1answer
73 views

How to find an error in a huge file?

I have this file which was produced by Lyx and it wouldn't compile, not in LyX nor in pdflatex. The error message is: $ pdflatex QFT2_Summary.tex This is pdfTeX, Version 3.14159265-2.6-1.40.15 ...
5
votes
1answer
193 views

How can I add lots of authors (8 or so) without overfilling the area?

I am writing a document for a group project and I obviously want to include everyone who was worked on this documentation but I'm not sure how I should properly add so many authors to one LaTeX ...
13
votes
1answer
4k views

pdfTeX warning: “version allowed”

After including some figures (saved as .pdfs) in my LaTeX document with \includegraphics, I got the following warning: pdfTeX warning: pdflatex.exe (file ./figure/figure_1.pdf): PDF inclusion: ...
0
votes
1answer
67 views

How to make nested fractions bigger? [duplicate]

I have a nested fraction on the right-hand side of an equation. I use the LaTeX code as follows to produce the equation: \begin{equation} \frac{1}{T_{ex}} = ...
2
votes
1answer
364 views

Beamer not working at all!

Suddenly I am getting the cryptic "Text line contains an invalid character" errors (100 of them) on all my beamer files. Even this MWE doesn't work right: \documentclass{beamer} \begin{document} ...
4
votes
1answer
72 views

pdfLaTeX problems with figures in Arabi package (Farsi)

I have searched the site with different keywords regarding the aforementioned problem and it seems that I am the first guy with this problem. I am new to Arabi package. I will use it to typeset Farsi ...
8
votes
1answer
92 views

Attaching files using plain TeX (pdfTeX)

I am currently in the process of writing a document using plain TeX and would like to be able to attach other relevant files to the resulting pdf. I have experience using the attachfile, attachfile2 ...
3
votes
1answer
450 views

Highlight only current subsection, hide subsections of other sections

The table of contents command in my beamer .sty looks like this: \newcommand{\MyToc}[1] { \AtBeginSubsection[] { \begin{frame} \frametitle{#1} ...
11
votes
2answers
281 views

\foreach with \newcommand how to use them together?

What I want to do is to shorten this \newcommand with a \foreach since this is just a very little part of what I will use. \newcommand{\CC}{{\mathbb C}} % the set of complex numbers ...
0
votes
0answers
63 views

pdflatex path problem

I am having a problem running pdflatex on the command line. When I install a new package using tlmgr it puts things in the the directory /usr/local/texlive/2014/texmf-dist/tex/latex/ which is fine. ...
2
votes
0answers
69 views

hyperref bookmarksnumbered prefix or suffix

Is there a way to modify the bookmarksnumbered option of hyperref to add a prefix and/or suffix to the section numbers? The option currently changes the bookmark 'Introduction' to '1 Introduction', ...
0
votes
0answers
223 views

OS X Yosemite and LatTeXTools: forward search not working

First of all: I know there is a problem about Yosemite and LatTeXTools, but my problem is not about that. The problem is simple: forward search is not working anymore between ST2 or ST3 and ...
21
votes
3answers
540 views

Detecting a symbol's final location in the PDF

We're using LaTeX to render a PDF with a form that will be filled in by humans, using a pen, and then fed to an OpenCV application for recognition. The form consists of questions with small squares ...
2
votes
1answer
36 views

How to use \include with \tableofcontents in memoir class

I have a document using the memoir class in which I have broken up the chapters using \include. Inside those chapters, I use the \chapter{...} command, which prints the chapter at the correct place. ...
2
votes
1answer
40 views

How to change text arrangement on page

Currently I'm using pdflatex to print content on page with width of 6 in and height of 9 in. It's printing in standard print orientation as mentioned in the diagram below "Current Printing format". ...
6
votes
2answers
141 views

the calc package doesn't compute the correct value

I get an unexpected result using the calc package. I simply try to multiply the real value '10.01' by the entire value '10000' and to store the result in a counter. But the returned value is not the ...
3
votes
2answers
1k views

Why do I suddenly get an auto expansion error?

On files that have worked previously, I'm suddenly getting the following error ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. This error does not appear if I ...
3
votes
1answer
69 views

pdflatex (TeXLive) unreadable output on linux [closed]

I'm compiling my TeX files using pdflatex from XFCE terminal (same on XTerm). The compile log is very hard to read. It's like pdflatex doesn't break the lines, so the window is randomly filled with ...
1
vote
2answers
124 views

How can I run pdflatex on multiple .tex files on Windows 7?

I built some graphics with TikZ and pgfplots. I have put the code with the most minimal necessary preamble into a standalone document for each figure. Say I put all those files for chapter 3 (hence ...
6
votes
1answer
143 views

\usepackage[utf8]{vietnam} leads to error: Argument of \UTFviii@three@octets has an extra }

I have a problem with \usepackage[UTF8]{vietnam}. \documentclass[clock,fragile]{beamer} \usepackage{amsmath,amssymb,amsfonts, mathrsfs,bm,mathpazo} %\usepackage{amsfonts,fouriernc} ...
1
vote
1answer
34 views

\newcommand Error Either Way [closed]

I have two documents, both starting with \documentclass{article} \usepackage{Macros} \begin{document} where Macros is my own style file. There are no other packages or definitions in either of the ...
2
votes
1answer
34 views

How to import metapost to .tex properly and how to do it without importing

I have read several questions related to metapost and latex here on TEX SE, but I still cannot solve my own problem. So it is a very basic problem. I am trying to include a metapost graphic in my ...
2
votes
2answers
155 views

Getting pictures from TikZiT to LaTeX and seeing them in PDF format

I'm using TikZiT(see link) to draw graphs with nods and edges. How to translate that picture to pdf version of my LaTeX document if possible. There is a code below picture in TikZiT which I copy ...
1
vote
1answer
71 views

Substituting fonts without changes to the source

For code snippets in documents, I prefer Bitstream Courier 10 Pitch, which is darker than the usual Monotype/Linotype Couriers. Using fontspec, I say: \setmonofont[Scale=0.92]{Courier 10 Pitch} ...
1
vote
1answer
56 views

Linebreak in newcommand and reference to hyperref

I try to define the name of a document and to use this name in hyperref resp. as the file's properties etc., but for some reason the pdftitle and the pdfkeyowrd option seem to clash with the line ...
8
votes
1answer
543 views

Is there a working solution to produce PDF/A-1b with MiKTeX?

I have read a lot of interesting questions and answers on PDF/A-1b production with LaTeX and pdfTeX. I still can't produce validating PDF/A-1b files. I used either: the standard up-to-date pdfx ...
1
vote
2answers
194 views

The text in pdf is not smooth [duplicate]

I am using TeXstudio to edit Latex and create pdf files. The text is not smooth in the pdf files created by TeXstudio in my computer. When I zoom in, it will be But if I use my friend's computer to ...
0
votes
0answers
109 views

pdflatex is complaining about EPS files, but actually won't display any image at all

I'm trying to compile a LaTeX document in OSX with pdflatex (via Sublime 2 and the LatexTools package). All of my figures are EPS files. I found several suggestions for integrating my figures into ...
25
votes
1answer
410 views

What features are supported in a HTML page, but not through PDFLaTeX

As a math educator with limited knowledge of TeX and even more limited knowledge of HTML, I want to know if I can use a PDF page (generated through PDFLaTeX) as a web page. I am hoping not to have to ...
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 ...
3
votes
0answers
115 views

pdfLaTeX produces different outputs from the same file [closed]

I am writing a report using LaTeX and I am quite confused about something. I am working with TeXShop, and the output produced after compiling sometimes changes. Let me show some screenshots Here ...
3
votes
1answer
39 views

Unexpected result when converting image from DVI to EPS

This question follows on from a prior question but is separate and can stand alone. The prior question is at pst-plot graph offset on page when graph has non-zero origin. This question is related to ...
17
votes
1answer
10k 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 ...
1
vote
0answers
64 views

No replacement of temporary labels by chemnum in a chemical sheme

I tried to replace the temporary labels TMP1, TMP2 and TMP3 in an .eps file made with ChemDraw using the chemnum package, so to get an automatic numbering of the compounds, but this did not work for ...
8
votes
3answers
6k views

\vspace in beamer

I'm trying to produce some padding around a table in a beamer slide. I've tried using \vspace{10mm} but that doesn't seem to produce anything. Other vertical spacing commands such as \bigskip don't ...
0
votes
1answer
33 views

Multiline equation in cases with special symbols

\begin{equation*} $\theta$ = \begin{cases} $\eta$ & \text{$\widehat{P} \textless \bar{P}$}\\ $\eta$ & \text{$\widehat{P} \textgreater \bar{P}$} \end{cases} \label{eq: ...