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

How to save Dataframe in pdf file in Julia?

I was facing difficulty in converting dataframe to pdf file. I tried converting first to latex then to pdf, but the thing is I used latexify package to convert dataframe into latex format, but output of the latexify() function is not correct, as…
6
votes
1 answer

Modifying settings.json in vscode to add shell escape flag to pdflatex in latex workshop

I'm new to VSCode and I am setting up LaTeX. I am trying to compile a .tex document that uses minted and thus pdflatex needs the --shell-escape flag. I am trying to modify the settings.json to do this. I have tried adding the following (found on the…
Chris Stevens
  • 123
  • 1
  • 6
6
votes
1 answer

Doxygen & (La)Tex - Cannot create PDF when using param-tags

I'm trying to generate PDF from source files using Doxygen and MikTex (also Tex Live tested) but with no success. Here is an example file which from I'm trying to generate the documentation: /** * @defgroup Example examplegroup * @{ */ /** * …
kamilla
  • 361
  • 1
  • 3
  • 8
6
votes
1 answer

What is the cause of "Latex Error: The font size command /normalsize is not defined"

I follow the instructions online to set up environment for LaTeX using Sublime text 3 and skim. However, I encountered a problem. When I try to compile the latex document shown in the picture, there are a lot of errors shown and the PDF generated is…
Eugenia M
  • 81
  • 1
  • 1
  • 3
6
votes
2 answers

Using Sphinx Extension to convert svg to pdf

My company is using Sphinx to create the manuals for our products. Our products are shipped with PDF and HTML documentations. We are using Windows as a sole developer environment. A necessary requirement is to generate both kind of format from the…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
6
votes
4 answers

Storing jpg images into a pdf file in a "lossless" way

Given a directory with several jpg files (photos), I would like to create a single pdf file with one photo per page. However, I would like the photos to be stored in the pdf file unchanged; i.e., I would like to avoid decoding and recoding. So…
Jakob
  • 238
  • 3
  • 12
6
votes
2 answers

pdftex driver of hyperref package doesn't work with utf-8 encoded .tex files

i use pdflatex to generate pdf files. my source files are all utf-8 encoded because of non-english characters. without \usepackage{hyperref} code, they can be compiled without any problem. but when i put \usepackage{hyperref} (even without any…
Lion
  • 965
  • 10
  • 21
6
votes
1 answer

! Package pdftex.def Error: File `./filename-eps-converted-to.pdf' not found

when i try to compile this \documentclass{jprr} \usepackage{url} \usepackage{graphicx} \usepackage[outdir=./]{epstopdf} \begin{document} \begin{figure} \centering \includegraphics{/home/name/taiwan.eps} \end{figure} \end{document} I am getting this…
Mikasa
  • 321
  • 7
  • 16
6
votes
5 answers

Rstudio pdf knit fails with "Environment Shaded undefined" error

When trying to knit a PDF using a template from package rticles output: rticles::acm_article I get the following error: ! LaTeX Error: Environment Shaded undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H for…
HAVB
  • 1,858
  • 1
  • 22
  • 37
6
votes
2 answers

Latex code for adjusting attributes of hline (color, dashed), and/or attributes of vertical lines in table

I want to color hline, e.g.: \hline[color=red,width=2mm,dashed] or something. Below is a feeble attempt which fails. I put textcolor gray around {|} to try and make it gray. Ideally, I want it gray and dashed. Also note textcolor gray around the…
mshaffer
  • 959
  • 1
  • 9
  • 19
6
votes
1 answer

Equivalent to \Sexpr{} for Python, etc., in knitr + RMarkdown?

In R Markdown, I can set an object in an R code chunk, then later have the value of that object in the body of my document, like so: ```{r} TMP<-"Blue" TMP ``` The sky is `r TMP` The output of this in my compiled PDF document looks like…
user5359531
  • 3,217
  • 6
  • 30
  • 55
6
votes
1 answer

How can I programmatically generate PDFs using LaTeX?

I'm trying to generate some LaTeX code which from thereon should generate PDF documents. Currently, I'm using the Django templating system for dynamically creating the code, but I have no idea on as how to move on from here. I understand that I…
Uku Loskit
  • 40,868
  • 9
  • 92
  • 93
6
votes
1 answer

LaTeX: Show block only if there is enough space left

Hi LaTeX enthusiasts and TeX programmers! I'm currently developing a single-page document class for some kind of flyers which should be generated automatically. Unfortunately the limited amount of space doesn't make it possible to display everything…
tux21b
  • 90,183
  • 16
  • 117
  • 101
6
votes
2 answers

Python Sphinx skips first section when generating pdf

I use sphynx to generate documentation from static .rst files (no docstrings extraction). I have two files in my repository: index.rst .. toctree:: intro and intro.rst Will be skipped =============== Where is my parent…
kraymer
  • 3,254
  • 1
  • 24
  • 32
6
votes
1 answer

Texmaker. Is it possible to compile not focused file?

Does anybody know if it is possible to compile the file that is not being focused in texmaker? I have a report separated into many .tex files and everyone of them included in Main.tex. In order to compile the report, I need to focus Main.tex file…
mendus
  • 75
  • 6