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)

7
votes
1answer
773 views

How to use latekmk with feynmf/feynmp?

Background The latexmk tool can be used to automatically process your LaTeX files enough times to generate the output. As discussed here and here, latexmk now supports setting out_dir which passes ...
7
votes
1answer
371 views

Use case for pdfTeX's \quitvmode

While reading one of Lev's answers, I encountered a pdfTeX primitive \quitvmode that I have never noticed before. The pdfTeX manual states that this causes TeX to leave (internal) vertical mode and ...
7
votes
2answers
533 views

How to determine the run time of a loop?

pdfTeX, provides two macros that can be used to determine the time elapsed from a run start. The first one determines the elapsed time in "scaled seconds", that means seconds divided by 65536. ...
6
votes
3answers
458 views

UTF-8 error with verbments

I'm writing a book using Latex in what I want to write code in Python. My operating system is Linux and my editor is Kile with: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
5
votes
1answer
415 views

Make entire document heavier using pdfrender

This is a follow up question to this answer of this question. The code given in the answer above seems to break for any extensible horizontal bars such as the vinculum, square root bar, and ...
5
votes
1answer
920 views

pdfcrop and --bbox command line option

This tool that's distributed with texlive has no actual documentation for the bbox parameter. It just says that --bbox "<left> <bottom> <right> <top>" What units do these ...
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 ...
5
votes
1answer
5k views

Problem with sansmathaccent under pdftex

I get the following error when I try to typeset a beamer document. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+525/600 --dpi 525 mathkerncmssi8 gsftopk: fatal: map file `cid-base.map' not ...
4
votes
4answers
4k views

Latex or PdfLatex to generate DVI

I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully - ...
4
votes
1answer
4k views

How to use pstool in pdfLatex?

Update: After I adding those --shell -escape commands, when I run the code as below, it still cannot work. \documentclass[pdftex]{memoir} \usepackage{color} \usepackage{pstool} \input macros.tex ...
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
639 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 ...
2
votes
1answer
303 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
177 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
2answers
690 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
307 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. ...
0
votes
1answer
198 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
663 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 ...
8
votes
1answer
284 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
5k 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 ...
6
votes
2answers
4k views

How to enable --shell-escape when using pdflatexmk?

I want to use the auto-pst-pdf package and therefore I need the --shell-escape option to be enabled. I did this in my TeXShop preferences as follows: However when I use pdflatexmk (by writing % ...
6
votes
2answers
476 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
47 views

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

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
5
votes
1answer
185 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
2k 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 ...
5
votes
2answers
6k views

includegraphics choosing pdf instead of eps [closed]

I previously posted this on stackoverflow.com where it was suggested that I post it here. So apologies in advance for cross-posting. I am using LaTeX in ubuntu 10.04 to build a TeX file that uses ...
4
votes
3answers
702 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
241 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 ...
4
votes
2answers
579 views

Need Latex compilation for only some eps files, want rest as precompiled pdfs or png

I am using the chemscheme package and in order to replace numbering in these schemes I have in my document, I need to compile those eps files with latex, then dvips, and finally ps2pdf. However, I ...
3
votes
1answer
222 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
420 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
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 ...
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 ...
2
votes
2answers
87 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
1answer
43 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. ...
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} ...
2
votes
1answer
110 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
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) ...
2
votes
1answer
90 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 ...
2
votes
0answers
201 views

! Undefined control sequence on tables [closed]

I am new in LaTeX. I have created LaTeX and Gnuplot to build my graphs. Currently I have to add new table using LaTeX. but I get error: ! Undefined control sequence. l.60 \mycaption ...
2
votes
1answer
202 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
1k views

Issues when compiling TeX files with Vim and LaTeX-suite

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines : filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let ...
1
vote
2answers
107 views

How would I go about adding Unicode Emoticons into LateX?

How would I go about adding the large range of emotions (😀 😁 😂 😃 😄 😅 😆 😇 😈 😉 😊 😋 😌 😍 😎 😏 😐 😑 😒 😓 😔 😕 😖 😗 😘 😙 😚 😛 😜 😝 😞 😟 😠 😡 😢 😣 😤 😥 😦 😧 😨 😩 😪 😫 😬 😭 😮 😯 ...
1
vote
1answer
70 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
68 views

booklet with sections separate markers

I am writing an exam booklet that has different sets of questions intended for grade 5 to grade 9. I use article class and each section contains a separate set of questions. I wish to put 6 big ...