Questions tagged [pdflatex]

PDFLaTeX refers to a particular compiler in the family of LaTeX compilers.

PDFLaTeX refers to a particular compiler in the family of LaTeX compilers. LaTeX is a WYSIWYM (What You See Is What You Mean) word processor which produces high quality documents. It is widely used in the scientific community.

Main difference between latex and pdflatex is the output. latex outputs to a DVI file while pdflatex outputs to a PDF file. This enables pdflatex-compiled documents to integrate PDF features into the document.

There are also some compatibility differences between the two compilers but the main one that most users will experience relates to the type of images that can be imported:

  • latex can only import PostScript images
  • pdflatex can only import PDF, JPEG, GIF and PNG images.

Use this tag if your question is related or specific to the PDFLaTeX compiler or a problem compiling a document using PDFLaTeX.

For more information about LaTeX and PDFLaTeX go to: CTAN

37 questions
112
votes
4 answers

Where do I get the pdflatex program for Mac?

I'm trying to convert Jupyter notebook to .pdf on Mac. However, it tells me nbconvert tailed: pdflatex not found on PATH So, I went looking around and someone said, "Install mactex because this other way takes days to compile". So I did brew…
Wayne Werner
  • 2,463
48
votes
5 answers

Windows PDF viewer that auto-refreshes PDF when compiling with pdflatex

I'm writing a LaTeX document and am using the command line to compile the LaTeX code into a PDF document. In Linux I would just open the PDF with Evince PDF Viewer, and whenever I recompiled the LaTeX code, the PDF would refresh after a couple of…
Eddy
  • 3,427
19
votes
7 answers

Cannot find pdfLatex after upgrade to Mac OS X 10.11 (El Capitan)

I just upgraded to Mac OS X 10.11 (El Capitan) now pdflatex cannot be found. I am using TexWorks to compile. I get the error TeX may be installed I just need to find it. Where can I find the install location? I checked the settings and TexWorks…
Whitecat
  • 569
13
votes
5 answers

Getting Emacs to use pdflatex

How can I configure Emacs to run pdflatex rather than latex on a LaTeX file when I type C-c C-f (tex-file)?
10
votes
2 answers

How do I use latexmk with MuPDF as the PDF previewer?

MuPDF doesn't support automatic reloading. How do I use it as a document previewer for latexmk1? 1: Example call: latexmk -pdf -pvc doc.tex
Blender
  • 666
8
votes
2 answers

Cygwin's pdflatex: i5-3340M runs 2-3x faster than i5-8250U

I used to run Cygwin 64-bit on a Toshiba laptop, Portege R930. In particular, I ran pdflatex on a report being composed. It took about a handful of seconds. That machine ran Windows 7. According to the vendor page, the processor is Intel's…
user2153235
  • 1,543
6
votes
3 answers

Converting LaTeX Generated PDF to Word Using Acrobat XI

I've found myself, again, needing to live in both the land of LaTeX and Microsoft Word. I have Acrobat XI available, so I thought that I would just use it as a middle man in the conversion from LaTeX to Word. It seems like I've had this work in the…
6
votes
3 answers

How can I append two PDFs that have links

My problem I have two PDFs which I would like to merge to one PDF. The first one was generated with LaTeX and has links to the chapters, the second one is a GUI-draft with links created with Balsamiq. How can I append the GUI draft to the LaTeX…
Martin Thoma
  • 3,604
  • 10
  • 36
  • 65
6
votes
1 answer

PDF-XChange Viewer, pdflatex, Windows XP Pro SP3

Howto make pdfxcview.exe not lock PDF files when opening them or force pdflatex ignore locks (and thus be able to overwrite PDF while generating content with pdflatex or simply manipulating content (streams) of PDF files manually with an editor…
panny
  • 675
5
votes
4 answers

Is it faster to print PDF or PS?

Say I compiled a .tex file into ps and pdf. Will there be a difference in printing speed between pdf and ps?
şaloma
  • 1,105
4
votes
3 answers

Combining multiple pdf fragments to one page - top aligned without margin

I have multiple small fragments as PDF file, depending on user input these fragments has to be combined to one page. pdfjam and/or pdfnup do this, and works. However, the default layout is according to the pdfpages doc. The inserted logical pages…
Rufinus
  • 41
4
votes
2 answers

How to use Pdflatex with Pandoc?

I'm using Pandoc to convert my markdown files to different formats including html and docx. With PDF though, I get the message pdflatex not found even though it was installed and I can even call it directly from Cygwin. Why is Pandoc not detecting…
ahmed
  • 617
4
votes
2 answers

Unable to knit to PDF using TinyTeX: Missing *.sty file

I've installed TinyTeX and am now trying to knit the generic "Untitled.Rmd" file to PDF, > install.packages("tinytex") > tinytex::install_tinytex() > options(tinytex.verbose = TRUE) > rmarkdown::render("Untitled.Rmd", output_format =…
4
votes
1 answer

Error exporting PDF file in jupyter notebook: pgfkeys '/tcb/size' error

I'm trying to export a notebook from Jupyter as a PDF file and server dumps this error mesage: nbconvert failed: PDF creating failed, captured latex output: Failed to run "['xelatex', './notebook.tex', '-quiet']" command: This is XeTeX, Version…
4
votes
2 answers

How do I produce bytewise consistent documents with pdflatex?

When I run pdflatex on the same .tex file twice, it produces similar results to my eyes but the contents of the file are slightly different (as revealed with an md5 checksum). Is there any flag I can pass to pdflatex that will keep the output…
1
2 3