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

How can I add a foreword or a preface before the TOC in a (pdflatex) sphinx document?

How can I use Sphinx to generate a pdflatex document in which there is some text before the table of contents? The generated LaTeX file always seems to have \tableofcontents before any document-body text. I have been unable to find any information /…
Mark
  • 3,357
  • 30
  • 31
7
votes
4 answers

Creating a LaTeX Document in C#/WPF Application

Has anyone ever created a .pdf document within their C#/WPF application using LaTeX? We're creating reports and displaying them to the screen and we've looked into creating the reports with HTML and LaTeX. The HTML option is easy, but creating a…
JToland
  • 3,630
  • 12
  • 49
  • 70
7
votes
2 answers

How to hide extra/auxiliary files generated by pdflatex in Linux

I have seen answers to this similar question which suggest using latexmk -c or pdflatex -aux-directory=/some/temp/dir . I prefer the latter because you can create a subdirectory without having to remove and generate files…
rasul
  • 1,009
  • 9
  • 14
7
votes
3 answers

PyX not installed correctly when using scapy

I am trying to use scapy in python 3.6 to parse pcap files, and of the features I am trying to use is pdfdump. from scapy.all import * packets = rdpcap('***path***/nitroba.pcap') for packet in packets[0:1]: …
SockworkOrange
  • 355
  • 4
  • 14
7
votes
2 answers

How to install LaTeX class on Heroku?

I have a Django app hosted on Heroku. In it, I am using a view written in LaTeX to generate a pdf on-the-fly, and have installed the Heroku LaTeX buildpack to get this to work. My LaTeX view is below. def pdf(request): context = {} template…
Luke Thorburn
  • 549
  • 1
  • 4
  • 21
7
votes
3 answers

pandoc: xelatex not found. xelatex is needed for pdf output

I have just upgraded my Macbook Pro OS to El Capitan (v10.11.4). My attempt to export a Markdown file (created using Sublime Text 2, v2.0.2, build 2221) to pdf using pandoc is now failing, and I receive the following error: pandoc: xelatex not…
JP McCarthy
  • 130
  • 1
  • 1
  • 9
7
votes
3 answers

How to reduce the size (in MB) of pictures inserted in a PDF?

I'm writing a Master thesis when I need to include several photographs, but I've got a problem with the size of the generated PDF: 18MB, which is more or less the cumulated size of all the picture included. How can I tell Latex not to keep the…
Kevin
  • 4,618
  • 3
  • 38
  • 61
7
votes
4 answers

Semi-transparent text in beamer (pdflatex)

I want to have some text appear semi-transparent, but not in an overlay fashion (where it eventually becomes solid) just permanently semi-transparent. To complicate matters, the text in question is part of a matrix: $ \begin{matrix} &…
Ari
  • 3,460
  • 3
  • 24
  • 31
7
votes
1 answer

How to link to a glossary item (using package glossaries)

In my document i'm using the package glossaries to create a glossary. Everything works fine except that the is no link between the words in the text and the corresponding entry in my glossary (so you can click the word to be explained and get to the…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
7
votes
5 answers

LaTeX: How to change one of section numbers to a custom letter?

I have something like this: Section 1 ... Section 2 ... Section 3 Subsection 3.1 ... Section 4 ... And I would like to have something like this: Section 1 ... Section 2 ... Section A Subsection A.1 ... Section 4 ... In other words - change one of…
Karpik
  • 322
  • 1
  • 5
  • 14
7
votes
5 answers

Programming R/Sweave for proper \Sexpr output

I'm having a bit of a problem programming R for Sweave, and the #rstats twitter group often points here, so I thought I'd put this question to the SO crowd. I'm an analyst- not a programmer- so go easy on my first post. Here's the problem: I am…
deoksu
  • 175
  • 2
  • 6
7
votes
1 answer

Close a single tab in Chrome using Batch command

I'm relatively new to batch commands and have been learning steadily. My problem is like this: I've understood how to kill processes using batch commands using many different methods. However, I've been unable to figure out how to close a single tab…
fiziks
  • 247
  • 2
  • 5
7
votes
2 answers

Extend a figure 100% horizontally with a fixed height in LaTeX?

How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?
gletscher
  • 1,132
  • 2
  • 11
  • 18
7
votes
1 answer

Pretty tilde ~ from R chunk with knitr?

I have a linear model in a code chunk that I want to display nicely in LaTeX. The model call takes the standard form with a tilde ~ which gets typeset horribly in LaTeX. \documentclass{article} \begin{document} <<>>= lm(Sepal.Width ~ Sepal.Length,…
dynamo
  • 2,988
  • 5
  • 27
  • 35
6
votes
1 answer

How to run the command 'pdflatex' in Java on Mac

I've tried searching for the answer but none are working for me. I'm trying to run pdflatex in terminal from my java application on my Mac. In Terminal if i type: open -a FireFox http://www.yahoo.co.uk it opens yahoo.co.uk in my FireFox browser…
Devan Somaia
  • 645
  • 1
  • 8
  • 21