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)

4
votes
1answer
1k views

what is the correct way to check for latex, pdflatex and html in the same latex document?

What is the correct way to check for if one is running in pdflatex vs latex vs. an html processor such as tex4ht? Suppose I have some latex code that I only want to show up in html, and not show up ...
3
votes
1answer
3k views

Recover TeX file back from compiled PDF [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? Has anyone written a piece of code that (at least) tries to reconstruct (standard) LaTeX from a compiled PDF file? I mean, identifying ...
3
votes
2answers
643 views

How to force pdfTeX and XeTeX to produce the same measurement for the imported image?

resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX. \documentclass{article} \usepackage{graphicx} \newsavebox\IBox \savebox\IBox{...
2
votes
1answer
321 views

Fonts look different compiled by latex vs. pdflatex

Why is my document pdf generated by pdflatex looks different from the one generated by latex+dvips+ps2pdf ? From the code below, i have tow different papers switch to the tow cited commands above : \...
2
votes
1answer
181 views

Mix characters from various fonts (in text mode)

I'm using classico as my everyday font, together with \usepackage[EULERGREEK]{sansmath}\sansmath when there are formulas. My problem is: I don't like the shape of the "equals" sign of classico. I ...
2
votes
1answer
316 views

kvoptions and conditional environment

I'm trying to create a package with a single option, which provides an environment, which behaves differently if called by latex or pdflatex XeLaTeX. I tried to use kvoptions, but I'm a little lost. ...
2
votes
1answer
145 views

Proper outline in Devanagari and Arabic fonts

Please save your time and energy on this question, I also submitted one possible solution. Zdeněk Wagner, a Czech TeXist, in his article (the Zpravodaj journal of the Czechoslovak TeX Users Group, 1/...
2
votes
2answers
717 views

MikTeX Error Results from Boondox / Mathalfa LaTeX Font Package

New LaTeX user here. While reading this nice question and its answer, I discovered the "BOONDOX Calligraphic" font and tried to implement it in my document. I've been having some troubles, and after a ...
2
votes
1answer
48 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
0
votes
1answer
202 views

PDFLatex tables are covering up text

I have a series of images that I'm displaying using a table environment. However, pdflatex places my table over the references portion of my paper. I've tried [htb!] options for the table, and it ...
13
votes
2answers
671 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
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} ...
9
votes
1answer
4k views

pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored

I've tried to make bilingual caption with package "ccaption" and compiled it with pdfLaTeX. It works fine but with a warning: pdfTeX warning (ext4): destination with the same identifier (name{...
8
votes
3answers
490 views

Using ConTeXts cow font with pdfTeX

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
8
votes
1answer
292 views

Is it possible to tell pdflatex to terminate after the first error?

In case of a syntax error, pdflatex usually (in \errorstopmode) gets interactive and asks you what to do. I know I can press: X to terminate S to enter \scrollmode (continue processing without ...
7
votes
3answers
6k views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
7
votes
1answer
1k views

Compiling CircuiTikZ with -shell-escape (pdflatex)

I'm trying to use both CircuiTikZ and pgfplots. In order not to overflow LaTeX memory, I use the TikZ externalize library with -shell-escape command in pdfLaTeX. It compiles the pgfplots nicely, but ...
7
votes
1answer
3k views

Texshop and inverse search

I just updated to the latest version of TexShop and now my inverse search (from the pdf to the source) does not work anymore. Neither with command+click nor with right click -> sync. It used to work ...
6
votes
1answer
371 views

Compilation fail with pstool: \begin{document} wrapped in \makeatletter \makeatother

I'm trying to create a presentation with LaTeX beamer using pstool, and since updating my system to Ubuntu 13.10 (pstool 1.5a, TeX Live 2013) the compilation of the pstool auxiliary TeX files (*-...
6
votes
2answers
478 views

How to add numerical (ala No Starch Press) listing notes without XeTeX?

I've been following the instructions and code available at: https://zuttobenkyou.wordpress.com/2010/12/05/latex-saner-source-code-listings-no-starch-press-style/ I would like to add notes (and style) ...
5
votes
1answer
193 views

How do I make expanded fonts and install them?

I am running pdfTeX with dvi output. If font expansion is enabled, then I need the extra fonts, such as cmr10+20. When I try to view the dvi, xdvi tries to make various fonts and fails; the file ...
5
votes
1answer
3k views

AucTeX (in Emacs) doesn't seem to find certain packages

I am using AucTeX in emacs v23 in PFD-mode. When invoking the pdflatex compiler through C-c C-c LaTeX I get a [...] file <some_package>.sty not found error for some particular packages. For ...
4
votes
3answers
119 views

1 compilation, several outputs

I'm a teacher and using PdfTeX to write my courses. My question is the following : How can I compile my .teX file and generate into Pdf file : the course itself, and one or two excerpts (that I've ...
4
votes
3answers
893 views

‘\pdfendlink ended up in different nesting level than \pdfstartlink’ error with current version of hyperref

I am experiencing the hyperref split-link issue described in previous questions. I tried to update the hyperref package as recommended as well as the oberdiek package which also seems to have some ...
4
votes
2answers
256 views

dashed or dotted brace or bracket

I need to add a dashed or dotted brace or bracket into an equation. But I didn't found any symbol similar to this (with detexify or The Comprehensive LaTeX Symbol List). Do you know how it can be ...
3
votes
1answer
234 views

Disabling “destination with the same identifier” with package silence

I'm trying to disable the warning pdfTeX warning (ext4): destination with the same identifier (name{thm.1}) has been already used, duplicate ignored" using the silence package as suggested here: ...
3
votes
5answers
424 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
1answer
1k views

TeX Gyre Pagella and itemize environment gives font warnings

\documentclass{article} \usepackage{tgpagella} \begin{document} \begin{itemize} \item test1 \item test2 \item test3 \end{itemize} \end{document} Compiling the above minimal LaTeX file ...
3
votes
1answer
2k views

Gnuplot subdirectory not found using epstopdf

I'm moving from the gnuplot latex terminal, to the epslatex terminal. I use pdflatex. With the epslatex terminal, I receive two output files, a .tex and a .eps. I can use epstopdf to convert the eps ...
3
votes
2answers
1k views

Show output of a full LaTeX document

A couple of days ago, I found showexpl, it is wonderful and works very well. But there is one thing missing that it doesn't let me do and it is to only show the output/result of some commands. For ...
2
votes
2answers
116 views

pdfTeX error (font expansion): auto expansion is only possible with scalable fonts even with \usepackage[T1]{fontenc}

According to this question: On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package, to get rid of the error, a scalable font must be loaded. Package ...
2
votes
2answers
54 views

Get two tables with different row length in one line

Code: \begin{table}[htb] \begin{flushleft} \begin{minipage}{.55\textwidth} {\tiny{table1}\newline\newline} \input{"/path/to/table1.txt"} \end{minipage} \hfill \begin{minipage}{.4\textwidth} {\tiny{...
2
votes
1answer
129 views

Print box drawing characters with pdfLaTeX

I need to print some unicode characters (of box drawing family) in my document. I found this question that is very similar to mine but is valid only for XeLaTeX. There is a valid way to do this with ...
2
votes
1answer
213 views

Finding LaTex output files [duplicate]

I'm using TeXstudio 2.6.2 with MiKTeX-pdfTeX 2.9.4535 on Windows7. I configured TeXstudio to store all output files in a separate directory. It now looks like this: -src |_Report.tex |_*....
2
votes
1answer
94 views

Workaround for too many pages when using preview with pgf or tikz

The following document produces a PDF with two pages, while only one is called for: \documentclass{article} \usepackage{pgfcore} \usepackage[active]{preview} \begin{document} Text \begin{preview}...
2
votes
1answer
35 views

Error when putting code for setting figure side by side

I'm new in LaTeX and trying to help my friend to fix her document. I use Texmaker 4.1.1. The LaTeX code of her document is as follows Main Document: (Main Document.tex) \documentclass[12pt,a4paper,...
1
vote
1answer
4k views

Windows 7: problem with TeXnicCenter, MiKTeX2.9

Please help! They have updated my computer to Windows 7, and I have tried to reinstall MiKTeX2.9 and TeXnicCenter. When I run a LaTeX program, it tries to install 412 files from CTAN, and I get the ...
1
vote
1answer
77 views

Why can't I run my pdfTEX?

I am trying to typeset my file, but I don't get the PDF version. Instead I get this error message: This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex) ...
1
vote
1answer
240 views

How do I paste codepoints outside of the basic multilingual plane with accsupp or \pdfglyphtounicode?

As described in the answers to this question, the accsupp package can be used to have symbols paste as arbitrary Unicode codepoints. For example you might want to write something like the following, ...
1
vote
0answers
6k views

Fatal error occurred, no output PDF file produced in php file [closed]

We are using following code in .php script for generate .pdf file. $result1 = exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw"); $result2 = exec("pdflatex /var/www/html/r/r_latex_sweave.tex"); ...
1
vote
2answers
708 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
156 views

document with string having ff and fi converting to null or empty characters

I have a small document with string starting with ff and fi and they are converting to null or empty characters.. Doing HTML looks good but when I convert to latex it shows empty characters. I'm on ...
0
votes
0answers
83 views

how to use figures in a right way in IEEE conference [duplicate]

I have a problem in latex and I have searched to solve it but I have got no solution for my problem which is as follows: when I put figures it does not appear in the right place, it often appears in ...
0
votes
0answers
88 views

Fonts are not rendering correctly [duplicate]

I am using xelatex for printing Malayalam fonts. This is code and it is not printing properly. In the code it is right form and in the image that produced by the code is wrong \documentclass{...
31
votes
5answers
2k views

Which packages can you use to improve the typographic quality?

List here which packages can be used to make text easier to read and nicer to look at. After all, the superior typographic quality is one of the main reasons to prefer LaTeX to, for example, MS Word.
48
votes
4answers
4k views

Abandon LaTeX2e for LaTeX3 or LuaTeX

I think my question is: Should I abandon pdflatex, possibly for xetex or context, and a TeX/LaTeX based macro writing approach, possibly for a LuaTeX or LaTeX3 based approach? Possibly relevant to ...
32
votes
2answers
133k views

Latex error. Unknown graphics extension: eps [duplicate]

Possible Duplicate: I encountered an 'errorUnknown graphics extension: .eps.' I have the error like in the title. I found some pages on the web with a solution to this problem. They ...
31
votes
4answers
3k views

Pop-up references in PDF output

I once saw a maths journal which offered PDFs of published papers, where the bibliographic references were formatted as PDF annotations: if you moused over a reference in the text, the bibliography ...
29
votes
5answers
4k views

Making an anonymous PDF file using PDFLaTeX

When writing a referee report for a journal, it would be preferrable to have the resulting PDF file generated by pdflatex be completely anonymous. Does one need to take special actions to ensure ...
17
votes
4answers
4k views

How to have pdfLaTeX output PDF/X-3:2002 format pdfs?

I'm using Blurb to publish a manuscript, and they require PDF/X-3:2002 format pdfs. How do I get pdfLaTeX to output pdfs that match that specification? I'm using MiKTeX 2.9.