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)

7
votes
1answer
305 views

Creating accessible PDFs using Latex? [duplicate]

I am working at a governmental office and we are required to only produce accessible PDF files. In practice that means that generated PDFs have to pass Adobe's accessibility checker or the "PDF ...
3
votes
1answer
409 views

'Dimension too large' error in animate package

I am using the animate package to include a series of images into a PDF (like a small movie), which usually works fine, however, now I am running into an ! Dimension too large. <recently read> ...
1
vote
0answers
686 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"); ...
0
votes
0answers
966 views

Fatal error occurred, no output PDF file produced [duplicate]

we are executing following code from .php file. $result1 = shell_exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw"); $result2 = shell_exec("pdflatex /var/www/html/r/r_latex_sweave.tex"); But, ...
0
votes
1answer
81 views

Text missing from top of page: margins?

When building and viewing LaTeX > PDF on TeXnic Centre, I am having run-over paragraphs missing the first line of text. (by run-over I mean paragraphs that move onto a new page due to a pagebreak ...
3
votes
2answers
166 views

How can I distribute a non-CTAN font with my source files?

I want to distribute the LaTeX source my work to various people, who use different platforms and I want to save them from having to install the font I use manually. I am using this font: ...
6
votes
1answer
402 views

AUCTeX/Emacs not recognizing correct commands automatically

On my previous OS install, Debian Squeeze with FluxBox, my workflow was as follows: With *.bib file open, I enter C-c C-c. The BibTeX command was recognized as necessary and ret executed it. Then I ...
4
votes
1answer
595 views

Gill Sans - possible to use on Linux with pdflatex?

There are numerous old posts whose topic relates to using the font Gill Sans in LaTeX documents. The most notable are perhaps this post from 2007 and this one from 2010. The former gives a solution ...
0
votes
1answer
1k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
0
votes
1answer
204 views

What is the main difference between command latex, tex, pdflatex, pdftex … and all the other commands? [duplicate]

I am new to TeX world, and I use pdfLatex very often. But sometimes pdfLatex do not work. So I begin to wonder what the difference between all these tex commands. Please give me some guiding ...
0
votes
0answers
135 views

How to get “XeLaTeX + unicode-math” output as close as possible to that of pdflatex?

I've started exploring XeTeX and the unicode-math package in order to use unicode in my input. Of the six math fonts described in unimath-symbols.pdf, Latin Modern Math seems to be closest to what ...
3
votes
1answer
178 views

How can I make toggle buttons with images using pdflatex?

I am currently designing an interactive PDF by means of the media9 package in Latex. I have three \mediabutton buttons that I would like to treat as toggle buttons. A picture of the buttons is shown ...
7
votes
2answers
649 views

Is it possible to use LaTeX tools with pdf preview?

So I want to use LaTeX in sublime text 2, and I came across the plugin LaTeXTools. It works great, but it requires me to install Skim PDF Viewer. Is it possible to set it up so that when I compile the ...
4
votes
1answer
177 views

blank page shows up after adding \usepackage[pdfpagelabels]{hyperref}

I have index.tex that I made a copy of it. renamed the copy to index_bad.tex, and added the line \usepackage[pdfpagelabels]{hyperref} to its preamble. So the 2 files are identical other than this ...
1
vote
0answers
77 views

How do I optimize the output for ebooks? [closed]

In ps2pdf there is a -dPDFSETTINGS=/ebook option to control the nature of the pdf output. Is there an analogous setting in pdflatex to do the same thing?
0
votes
1answer
295 views

Texshop synctex inverse search [closed]

I'am running pdflatex from Texshop 3.18 on OS X 10.8.4 with Synctex and the inverse search is not working, meaning from the output pdf back to the source window. Command left clicking the pdf does ...
7
votes
1answer
1k 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 ...
4
votes
1answer
76 views

What is the macro/primitive for the current run time? [duplicate]

I've seen (I don't know where) a couple of interesting metadata-oriented control sequences, and I was wondering if such a sequence exists for the job runtime. I can't expect it to give me the total ...
4
votes
1answer
171 views

\pushbuttons with Icons with pdflatex (xobject reference)

I would like to create a pushbutton with icons instead of text. Like the text in the example below the icons should change with the mouse options. The manual of the eforms package (eformman.pdf) ...
2
votes
1answer
196 views

tikz setting font size to pts

I'm using tikz to create color boxes containing text. However I haven't been able to set font size within these boxes using pts. I found a snippet in this question that defines a Boxed command: ...
2
votes
0answers
847 views

GIF/SWF animation embedded in LaTeX document (PDF) [duplicate]

There seem to be plenty of resources for how to do it (even on this website), but I'm struggling with the process. Can someone provide a link to an example pdf with the working animations in it? The ...
7
votes
1answer
163 views

Calling pdflatex inside C code [closed]

I am writing C code that writes a LaTeX file for me. I then attempt to compile the file using pdflatex in a non-interactive mode (as in I'm automating some process and don't want to wait for user ...
6
votes
1answer
204 views

Running a simple example with PythonTeX fails

Using the v 0.12 beta of PythonTeX I am trying to compile the following example: \documentclass[12pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{pythontex} ...
3
votes
1answer
138 views

TikZ & External: figure re-created for no apparent reason

I'm having an issue where only one out of multiple figures is recreated despite the use of the tikz/external library. I've created a MWE which shows the same effect with only two figures. Below is my ...
7
votes
1answer
282 views

How are the glyph (character) names in PDF-files determined?

PDF-files make internal use of glyph names. For example, the name of ≈ (U+2248; TeX \approx) appearing in a PDF-file might be approxequal. One can find such names in a TeX-generated PDF-file by ...
6
votes
1answer
355 views

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

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 ...
3
votes
1answer
376 views

How to convert scanned .tiff files into editable LaTeX files

I'm new to LaTeX platform and got trained just 1 day on TeX commands 2 days before, my TL rushing me to finish 50 pages per day but I can do only 7 pages a day, what I'm doing is entering each and ...
3
votes
1answer
83 views

Suppress natbib warnings

The output of pdflatex is filled with lines like this: Package natbib Warning: Citation `lee2004calder' on page 15 undefined on input line 207. I'm aware that the citation is undefined, and at some ...
4
votes
2answers
69 views

Add header to the table

I want to create the table as follows in latex. Note, the table below is created using excel. So, far I have created something like this: Observed-modeled |observed-modeled| Observed-modeled ...
0
votes
0answers
227 views

Blurry output in LaTeX using LyX [closed]

I am using LyX to type a paper. My problem is that the quality of the pdf output from LyX is very low. I am using Adobe Acrobat Reader to view the pdf output that I generate using pdflatex. I have ...
1
vote
0answers
29 views

Using Inkscape “pdf+latex” pictures: “pdfTex warning: PDF inclusion: multiple pdfs with page group included in a single page” [duplicate]

When I include multiple pictures produced in Inkscape and saved as pdf+latex in one page I get the warning: pdflatex> pdfTex warning: pdflatex.exe (file D:/..... .pdf): PDF inclusion: multiple ...
5
votes
1answer
103 views

\specials in pdftex

In some old documents I used \special. However, in my new documents, I want to run pdfLaTeX, because I have other figures in PDF format. If I run pdfTeX on the .tex file, it rejects the `specials`. ...
2
votes
1answer
202 views

Running pdflatex twice by default in WinEdt 6

Is it possible to use a switch or some other change for pdflatex, so that it always compiles twice? Because of the changes to the toc and labels, two runs are often necessary. As running twice does ...
7
votes
4answers
842 views

Latin Modern Math in LaTeX

It seems that Latin Modern Math font works fine only with XeTeX and LuaTeX. Is it possible to use Latin Modern Math font with LaTeX and pdfLaTeX? The publisher requires that I use LaTeX/pdfLaTeX, ...
4
votes
0answers
141 views

Is there a good replacement for stmaryrd? [closed]

I am getting various warnings because of St. Mary Rd. fonts (stmaryrd) which I get around using tricks like this and anyfontsize. Is there a good replacement for St. Mary Rd. (like Latin Modern ...
0
votes
0answers
39 views

figures as .pdf in latex poster gives error in compilation [duplicate]

I want to use figures as .pdf in a poster format in latex. Here is what my .tex file looks like: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{pstricks} ...
3
votes
0answers
64 views

Is there any reason to used pdflatex instead of lualatex? [duplicate]

As I understand it pdflatex has been discontinued, and the replacement is LuaLaTeX. But pdflatex is still included in most (all?) distributions, along with LuaLaTeX. LuaLaTeX supports lots of new ...
5
votes
1answer
202 views

Inject JavaScript with pdflatex etc. for page level events

I am experimenting a little bit with JavaScript in PDF documents generated via pdflatex. I wonder, whether there is a method to access the event handler of Adobe Acrobat or Acrobat Reader in order to ...
10
votes
0answers
65 views

Why does compiling TikZ with latex-dvips-ps2pdf produce a much much bigger PDF than with pdflatex? [duplicate]

The following MWE simulates the problem. Compile it with pdflatex -shell-escape. \documentclass[preview,varwidth,border=12pt]{standalone} \usepackage{filecontents} \begin{filecontents*}{common.tex} ...
3
votes
0answers
85 views

pdflatex generates unwanted transparencies [closed]

pdfLaTeX generates PDF-page with transparency operators. Minimal example: \documentclass{report} \usepackage{graphicx} \begin{document} \includegraphics{image.pdf} \end{document} image.pdf is ...
4
votes
2answers
210 views

Include pdfTeX in Inno Setup whitout install MiKTeX

I have developped a little tool in matlab to fill directly some .tex files and then compile them in a pdf file (I use the command pdflatex to compile). It is well working on my computer because I ...
4
votes
1answer
126 views

Why does pstricks have an effect on tikz' draw opacity when used within beamer?

\documentclass{beamer} %\documentclass{article} \usepackage{pstricks} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{frame}{} \begin{tikzpicture}[start chain] ...
4
votes
1answer
2k views

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp}

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} How can i fix this error? I m trying to compile a template of ...
7
votes
1answer
119 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 ...
3
votes
1answer
328 views

Paper size in XeLaTeX and pdfLaTex

I was working with pdfLaTeX, and I set the size of the A4 paper; but for some reasons I have to change to XeLaTeX. And I realize that it isn't the same size of the paper, because the header and foot ...
2
votes
1answer
126 views

How to put a counter ``This page has been viewed … times'' on PDFLaTeX output?

I asked a similar question on tracking codes. which was migrated to SO. This is a bit different. Can a PDFLateX output have a counter? Can a link on a PDFLaTeX output have a counter associated with ...
1
vote
0answers
1k views

pdflatex has stopped working [closed]

It has been a little while now that every time I try to compile a document with pdflatex I get an error message wich says "pdflatex.exe ha dejado de funcionar" (in English "pdflatex has stopped ...
1
vote
0answers
282 views

Globally change the font size in EPS figures (when using pdfLaTeX with pstool)

I have a document where float environments are typeset with \small font (tables, figures). For the tables and most environments in general, this works nicely with \AtBeginEnvironment{tabular}{\small} ...
4
votes
1answer
119 views

tree-dvips Alternative for Linguistics Document with pdftex

I'm attempting to find a way of linking two objects in avm.sty together. The result I want is exactly that specified here: http://www.essex.ac.uk/linguistics/external/clmt/latex4ling/avms/#4 I'm ...
1
vote
3answers
886 views

Hat accent on bold greek letters in math mode

I would like to insert an hat accent on bold letters/symbols in math mode. For latin letters, e.g. the q char, I insert this commands in my preamble ...