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

LaTeX Error: Option clash for package hyperref

\documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{banking} \moderncvcolor{blue} \usepackage[utf8]{inputenc} \usepackage[scale=0.75]{geometry} \usepackage{graphicx} \usepackage{float} \usepackage{import} % links…
emoleumassi
  • 4,881
  • 13
  • 67
  • 93
4
votes
0 answers

Setting up Latex with VScode: Error Recipe terminated with error. Having issues with Perl

I have set up Latex using VScode on windows 10 with LaTeX Workshop extension, but I am running into some issues, every time I try building the project it gives me the error: Recipe terminated with error. I have followed with many posts here and to…
Jamie
  • 365
  • 2
  • 5
  • 13
4
votes
0 answers

pdflatex (file cmss10.t3): cannot open Type 1 font file for read

I am trying to generate a pdf file from this sample beamer presentation file: \begin{document} \frame { \titlepage } \frame { \frametitle{Sample Page 1} \[\frac{-b \pm \sqrt{b^2 - c}}{2a}\] } \frame{ \frametitle{Sample Page 2} …
XDimension0x
  • 131
  • 1
  • 4
4
votes
1 answer

Labelling a tikz picture in Latex

\begin{tikzpicture} \filldraw[color=black!60, fill=white!5, ultra thick](-1,0) circle (0.8); \filldraw[color=black!60, fill=white!5, ultra thick](5,0) circle (0.8); \draw[black, ultra thick] (-1,0) -- (5,0); \end{tikzpicture} This code creates a…
user14854948
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

What are the ways to create draw data structures for latex?

I tried tikz/pgf a bit but have not had much luck creating a nice diagram to visualize bitfields or byte fields of packed data structures (i.e. in memory). Essentially I want a set of rectangles representing ranges of bits with labels inside, and…
alicephacker
  • 43
  • 1
  • 3
4
votes
2 answers

How can I force sphinx to end a chapter when making a pdf?

I'm using sphinx, hosted on https://readthedocs.org , to generate documentation in both HTML and PDF formats. The HTML works fine. The PDF also builds successfully, but has a problem with nesting: I would like each of the top-level .rst documents,…
jez
  • 14,867
  • 5
  • 37
  • 64
4
votes
2 answers

Cross reference and caption not working in Rmd file

Can anyone help me understand how to write my header so that the figure caption and cross reference works? I am practicing making captions and cross references to a simple plot in my Rmd file. I understand that to do so, I should add to my header:…
chase171
  • 51
  • 1
  • 3
4
votes
1 answer

Inserting a pdf file in latex #2

Referring to a previous question Inserting a pdf file in latex I'd like to ask how to insert a PDF page into a latex document by filling exactly one page. If I include a page with design elements that extent to zero margin off the page edges, the…
user1805743
  • 1,175
  • 3
  • 13
  • 22
4
votes
1 answer

pdfjam: Merging multiple pdfs into one page without white space

which I want to get AB closer without space: ------ ------ ---------- ------------ | | | | | ———— | | —— —— | | A | | B | | |A|B| | | |A| |B| | | | | | …
grug
  • 51
  • 1
  • 4
4
votes
1 answer

Undefined control sequence \chapter

Hello I'm new in Latex. I was trying to write my thesis, using the MasterDoctoralClass.cls. This is my main.tex: \documentclass[ 11pt, english, singlespacing, headsepline ]{MastersDoctoralThesis}…
XaBla
  • 127
  • 1
  • 1
  • 8
4
votes
2 answers

Latex biblatex: bibliography titles aren't doing a break line, they overflow instead [ ]

I recently discovered a problem in my bibliography and I somehow can't solve it. It's appearing when the titles are too long, but its working with URLs normally as you see in the 2nd example as long the as the title is short enough. It seems that…
Supportic
  • 119
  • 1
  • 2
  • 12
4
votes
2 answers

Latex/VIM : change all $$ .. $$ to \begin{equation} .... \end{equation}

I received a 100 page Latex document with all equations between $$...$$ and I need to change them all to \begin{equation}...\end{equation} Is there some clever way to do this in Latex (some built in functionality) or in Vim? In Vim I am…
PMM
  • 43
  • 2
4
votes
2 answers

How to install only cmap.sty required packages in my machine

I'm trying to convert a tex document to pdf. But when I did pdflatex doc.tex, I got This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended…
Abhisek
  • 4,610
  • 3
  • 17
  • 27
4
votes
0 answers

Compile Rmarkdown document with render

When I knit the Rmarkdown template directly in the RStudio IDE, it creates the desired PDF exactly. However, when I try to knit the document using rmarkdown::render(), I get an error that I can't figure out. I've installed the latest version of…
sshew
  • 41
  • 2
4
votes
1 answer

How to systematically change knitr \label{} behavior to add hyperlink anchors

I want to change knitr's behavior when it creates a figure environment in LaTeX to call a different LaTeX command than \label{}, e.g, \alabel{} where I define \alabel to run \label{foo} as well as \hypertarget{foo}{} using the hyperref LaTeX…
Frank Harrell
  • 1,954
  • 2
  • 18
  • 36