Questions tagged [pdflatex]

pdflatex is a command line utility used to create PDFs directly from LaTex source code.

pdflatex is a command line utility used to create PDF files directly from LaTeX source code.

There is a site dedicated to this: TeX - LaTeX

957 questions
6
votes
3 answers

Vim script to compile TeX source and launch PDF only if no errors

I am switching to using Vim for for my LaTeX editing environment. I would like to be able to tex the source file from within Vim, and launch an external viewing if the compile was successful. I know about the Vim-Latex suite, but, if possible, would…
Jeet
  • 38,594
  • 7
  • 49
  • 56
6
votes
2 answers

Using knitr to write a paper for JSS

I am writing a paper for the Journal of Statistical Software documenting my package. Their style files have some facilities for Sweave output but nothing for knitr. I imagine i would have to customise the knitrout environment. I wanted to know if…
Marco Stamazza
  • 836
  • 9
  • 15
6
votes
4 answers

Error "Too many open files" in pdflatex

When compiling a latex document with 15 or so packages and about five includes, pdflatex throws a "too many open files"-error. All includes are ended with \endinput. Any ideas what might cause the error? The error seems to depend on how many…
Martijn
  • 5,471
  • 4
  • 37
  • 50
6
votes
1 answer

Basic R guide: verbatim ? with knitr in R

I'm producing an introductory R guide for my company. I'm doing a little demo of the R help function (shorthand) ?mean This is in a knitr chunk: <>= ?mean @ Output: `?`(mean) I would prefer that it outputs it as I type it, i.e. ?mean…
dynamo
  • 2,988
  • 5
  • 27
  • 35
6
votes
4 answers

How can I get PHP to compile a LaTeX document if it (www-data) can't get access to the required packages?

I have a PHP script that compiles LaTeX documents with the use of: exec('cd /path/to/doc && /usr/bin/latexmk -pdf filename.tex'); This is working for some of my LaTeX documents but my latest document doesn't compile and a look at the log…
Mark Jones
  • 215
  • 2
  • 8
5
votes
1 answer

Security concerns with compiling latex dynamically on a web server

I'm setting up a website which would allow users to use certain select latex commands to build a document. They would then be able to preview the document, which means I would: parse the text file to make sure only the allowed commands are…
user623990
5
votes
2 answers

Why do affiliations not show up anywhere in the pdf output of quarto?

In the yaml of a quarto document I have: --- title: "Hey!" author: - name: Birdy Bird affiliations: - University of Birds - University of Hummingbirds format: pdf editor: visual --- When I render this file using Rstudio IDE, I…
bird
  • 2,938
  • 1
  • 6
  • 27
5
votes
3 answers

RStudio Sweave error -> exit code -1073740791

I have problem with running my .rnw (I am running Sweave) files in RStudio due to this error message: Writing to file test.tex Processing code chunks with options ... You can now run (pdf)latex on 'test.tex' Running pdflatex.exe on…
Gregor G.
  • 57
  • 3
  • 8
5
votes
2 answers

Making multiple PDFs from 1 TEX file in LaTeX?

I'd like to create multiple documents (output as PDFs after running pdflatex) whose source is from one file. Example: \documentclass{article} \begin{document} This text will appear in the first PDF. \end{document} \begin{document} This…
Village
  • 22,513
  • 46
  • 122
  • 163
5
votes
4 answers

Making LaTeX Beamer Black & White

Is there a way to make LaTeX Beamer output black & white? I need it for paper printing purposes. I'm using the default color theme, and for contrast reasons I need the title and everything to be black. If there is a black&white color scheme, I could…
Gabriel
  • 2,313
  • 9
  • 29
  • 41
5
votes
2 answers

Using pdflatex.exe to Convert TeX to PDF within a C#/WPF Application

Has anyone ever created a PDF document from a TeX document using pdflatex.exe in their C#/WPF application? I have my TeX document and I want to convert it to PDF and display it within the application, however, I'm unsure how to go about doing this…
JToland
  • 3,630
  • 12
  • 49
  • 70
5
votes
3 answers

Latex file on vs code does not autocompile on save

I use the extension Latex Workshop, however my preview does not auto update on save. I have to run pdflatex each time. I tried uninstalling and installing the extension, deleting the extensions file, and even reinstalled vs code. Yet, the same…
Mahathi Vempati
  • 1,238
  • 1
  • 12
  • 33
5
votes
3 answers

pdflatex hang after large number of figures

I have a script that generates a number of figures and puts them in the appendix of a report, e.g. Appendix ******** .. figure:: images/generated/image_1.png .. figure:: images/generated/image_2.png .. figure:: images/generated/image_3.png ...…
Cory Kramer
  • 114,268
  • 16
  • 167
  • 218
5
votes
3 answers

Error: Missing $ inserted when using kable

I am attempting to output a latex table using r markdown, kable, and kableExtra. I needed to use conditional logic to add colors to my table with cell_spec. But with the pdf output, it shows latex code as follows; pdf output with latex code If I add…
Vish
  • 53
  • 3
5
votes
2 answers

Embedding Fonts in PDF from LaTeX Source with pdflatex

I need to embed the fonts that I'm using in my TeX document in my output PDF. I'm using pdflatex for TeX processing, and TextMate as my editor. I can't find any reference on how to embed the fonts I need in the PDF document.
Jeremy Witmer
  • 169
  • 3
  • 3
  • 9