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

How to debug a Rsweave

I have an rsweave file that I run almost twice a week. Last time I used it a change a couple of things and when I run it to compile to pdf I got the following errors: The pdf compiles complitly, and the only thing I notice that the error did is…
Alejandro Andrade
  • 2,196
  • 21
  • 40
4
votes
1 answer

Simple and fast PDF compilation with Pandoc

I am writing a document using Pandoc and I'm visualizing it by compiling to PDF, since that's the end format that the document is going to have. When the file was small it was very fast, but now that I have several figures, a lot of text,…
TomCho
  • 3,204
  • 6
  • 32
  • 83
4
votes
1 answer

Change Latex Table Style using Sphinx

I'm using sphinx to generate our company manuals. In our legacy manuals we have a certain table style, that we would like to keep. The table style consists of tables having a header with dark green background, then there are several light-green…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
4
votes
2 answers

pdflatex in a python subprocess on mac

I'm trying to run pdflatex on a .tex file from a Python 2.4.4. subprocess (on a mac): import subprocess subprocess.Popen(["pdflatex", "fullpathtotexfile"], shell=True) which effectively does nothing. However, I can run "pdflatex fullpathtotexfile"…
Benjamin
  • 11,560
  • 13
  • 70
  • 119
4
votes
1 answer

columns with itemize

I'm trying to make alignment points in a list environment. The following code gives me an error, but it almost compiles to what I want, just missing the bullet points. I must be misunderstanding something about align and/or tabular and how they work…
evencoil
  • 207
  • 1
  • 2
  • 8
4
votes
3 answers

titling.sty error in rmarkdown

I am getting a very annoying error when I try to run rmarkdown docs knitting to pdf from mac output file: Untitled2.knit.md ! LaTeX Error: File `titling.sty' not found. Does anyone know a simple solution? I think what caused it was trying to…
llewmills
  • 2,959
  • 3
  • 31
  • 58
4
votes
1 answer

How to run binary like `pdflatex` on AWS Lambda?

Since AWS Lambda supports running binaries, I wanted to run pdflatex in AWS Lambda, but I stumbled upon a few problems. I have successfully ran other binaries, but pdflatex has many shared OS libraries dependencies and I couldn't figure out how to…
EuAndreh
  • 578
  • 3
  • 16
4
votes
2 answers

LaTeX "Could not start the command "

I have a problem with compiling a latex file. The error that I'm getting is: Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex I looked into the forum (like here) but couldn't find the solution. Using Texmaker 4.5 now…
Edyta
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

RStudio on Windows not using XeLaTeX

I'm using RStudio 0.99.896 on Windows 10. I am trying to use knitr to convert a RMarkdown file to PDF using the XeLaTex engine. I have set the Global Options and the Project Options in RStudio to build with XeLaTex You can see that I have selected…
pdanese
  • 2,187
  • 4
  • 15
  • 21
4
votes
2 answers

Override background color for subsection titles in LaTeX

LaTeX newbie here. I need to set background color for all my \subsection titles. Whole line should change color, not only the part of it with text. This does work: \subsection{\colorbox{Gray}{Title}} But it does not color whole line. Also I'd like…
Alexander Gladysh
  • 39,865
  • 32
  • 103
  • 160
4
votes
1 answer

pdflatex command not working in Emacs terminal mode

I have some problem with the Emacs terminal mode. I'm a mac user and I use Emacs downloaded from emacsformacosx.com; I installed also ESS and AucTex. I work with R, LaTex, Sweve and, I menage all with Emacs. When I want to compile the Sweave file…
Ricca
4
votes
1 answer

Adding the abstract to the front page in Latex

Included below is my LaTeX code. By default the abstract is on the first page following the title page. But the title page has lots of space below, and my abstract will be short, so is there anyway to include it below the title page…
Vass
  • 2,682
  • 13
  • 41
  • 60
4
votes
0 answers

nbconvert to convert from notebook to Latex/PDF cuts off the dataframe

I have a notebook that displays lots of dataframe tables in HTML format. However when I used nbconvert to convert the notebook to latex and to PDF, some tables with wider body gets cut off. I have tried using pd.set_option('display.width', xxxx)…
user4704759
  • 191
  • 1
  • 1
  • 6
4
votes
2 answers

How to stitch two PDF pages together as one big page?

I have two 36" by 48" posters (LaTeX) that I want to append into a single 72" by 48" poster (stack vertically). Browsing around SO and GS documentation, I have no clue (I'm not a CLI wizard). How can I do this? (Also, the process should not…
Simon Kuang
  • 3,870
  • 4
  • 27
  • 53
4
votes
3 answers

Generate TeX/LaTeX file and compile both in Python

I am preparing a data processing code and the results from these are to be fed to a TeX/LaTeX file and the file is to be compiled by Python (i.e. Python should send the command to compile the TeX/LaTeX file) At present I plan to generate a text file…
user4369032