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
5
votes
1 answer

Creating pdf from subdir using latexmk -pdf

-Main Directory - sub direcory -xx.tex - sub directory -yy.tex I am trying to create pdf file for all latex files, but it only works if I am in sub directory folder example C:Users/Desktop/MainDirectory>sub directory latexmk -pdf I…
mtkilic
  • 1,213
  • 1
  • 12
  • 28
5
votes
0 answers

Sphinx latex pdf include sub-toctree on subsection page

I have a sphinx documentation project that I use to generate an HTML (make html) and a PDF (make latexpdf) version of the documentation. I use subdirectories to organize some of the pages. My directory structure is something like this: source/ …
djhoese
  • 3,567
  • 1
  • 27
  • 45
5
votes
2 answers

Pandoc: multiple footnotes next to one another?

If I want to have two footnotes cited next to one another, separated by a comma, what is the syntax for doing so? The Pandoc documentation doesn't seem to specify how. As an example of what I'm trying to accomplish: Some text here [^fn1, ^fn2] ##…
ericmjl
  • 13,541
  • 12
  • 51
  • 80
5
votes
2 answers

Compile multiple LaTeX files w/ GitLab CI

Problem I write down lectures at university in LaTeX (which is really convenient for this purpose), and i want tex files to automatically compile in pdf. I have couple of .tex files in my repository like this: . ├── .gitlab-ci.yml └── lectures …
murych
  • 51
  • 5
5
votes
2 answers

Difference between "Compile PDF" and knit2pdf

I have a .Rnw file that I am able to compile into a PDF using the "Compile PDF" button in RStudio (or Command+Shift+k). However, when I use knit2pdf the graphics are not created and the complete PDF is not created. Why would this happen? How do you…
Nancy
  • 3,989
  • 5
  • 31
  • 49
5
votes
1 answer

Conditional compilation in a LaTeX document

I want to generalize a template I have and one of the items is setting a few variables before generating a PDF to send to someone. In my Makefile I have set: ${OBJS}/main.pdf: main.tex ${DEPS} pdflatex -output-directory=${OBJS}…
sean
  • 53
  • 1
  • 3
5
votes
1 answer

Creating PDF from R Markdown in a different file location

I'm trying to create a PDF from an R Markdown (.Rmd) document using the rmarkdown package and pandoc in R. The problem I'm having is that I want to create a PDF in a different folder and with a different filename from the filename/folder of the…
itpetersen
  • 1,475
  • 3
  • 13
  • 32
5
votes
2 answers

LaTex compilation doesn't generate output

Can't generate the output of my LaTex document (using TeXnicCenter). At the end of the log he says: Latex-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s) and correspondingly the viewer says it couldn't find the file. I have defined…
anon
5
votes
3 answers

Increase image quality from dvipng without increasing image size?

For dvipng, the -D option increases the dpi of the image but also increases the image size, and the -Q option improves antialiasing but doesn't do enough. Is there a way to increase the image resolution and quality without increasing image size?
Heinrich Schmetterling
  • 6,614
  • 11
  • 40
  • 56
5
votes
3 answers

org-mode not exporting to PDF

My org-mode refuses to export produce PDF files from their corresponding org-files. I was running org-mode v 7.9.x and suspected the problem might be because I have an older version of org-mode. Hence, I am now running the most recent version of…
krishnan
  • 671
  • 1
  • 10
  • 21
5
votes
4 answers

Semi-transparent figures in beamer (pdflatex)

I am attempting to use overlays with figures to save myself from creating a different image for each slide. The overlay works with any text I include, but not with the figures. For…
Compholio
  • 733
  • 1
  • 9
  • 17
5
votes
4 answers

Page margins change in pdflatex

I use a style file that specifies page margins. I cannot understand the style file, but I guess it specifies bottom margins by using commands such as \vspace, \vskip, \vfil. When I compile the tex document with pdflatex the margins, especially the…
Mert Nuhoglu
  • 9,695
  • 16
  • 79
  • 117
4
votes
2 answers

How to run external executables from an Appharbor application (HTML to PDF generation)?

I have a requirement to produce PDF's for one my .Net web applications currently hosted on Appharbor. Traditionally, I would simply install latex on the machine, and create PDF's on the fly with pdflatex. This requirement is to display sections in…
dazbradbury
  • 5,729
  • 5
  • 34
  • 38
4
votes
9 answers

Inserting images in LaTeX

I have a question on inserting images into a LaTeX document. I try to insert images using the keyboard short cut: Ctrl-Alt-G and I'm able to insert images. But the compiled pdf document shows all the images at the end, whereas I want to interleave…
Arnkrishn
  • 29,828
  • 40
  • 114
  • 128
4
votes
2 answers

TinyTex errors within RMarkdown (Local TeX Live (2021) is older than remote repository (2022))

I randomly started getting the error messages below while trying to run a RMarkdown document. I am on a Windows, so I deleted the TinyTex subfolder within the AppData folder and reran tinytex::install_tinytex(). That installed but didn't fix the…
Daniel L
  • 158
  • 1
  • 8