bookdown Questions
2
Suddenly, I run into an error when knitting to PDF in Markdown/Bookdown. Nothing about my system has changed.
The error is being caused by a 'horzontal rule' i.e. --- or *** anywhere in markdown,...
Drupe asked 28/10, 2019 at 8:49
0
I have a simple bookdown project with several Rmd files, one file per chapter plus an index.Rmd.
index.Rmd
---
title: Title
author: My name
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
do...
3
Solved
I'm trying to reference a table using the bookdown package. In the documentation for tables, the author only shows how to create tables using knitr::kable.
```{r table1}
knitr::kable(
head(iris,...
Runoff asked 19/4, 2016 at 15:54
0
I am trying to do something simple: render the tufte options for a book using the basic bookdown example package. I can make the tufte style book fine, but I want it to have the floating TOC and no...
Riobard asked 8/9, 2019 at 22:37
1
Solved
I compiling a short document using bookdown in Rstudio. I would simply like to drop the table of contents at the beginning of the document. I could "knit to pdf" instead of "knit to pdf_book" or "k...
Shipley asked 29/8, 2019 at 15:15
2
I am writing a document with a strict requirement to use arial 12 point. I have modified my output yml in bookdown like this:
site: bookdown::bookdown_site
fontsize: 12pt
fontfamily: arial
documen...
1
Solved
This is a follow up to an earlier question I asked here: creating accompanying slides for bookdown project
Bookdown allows compiling the file to various format, including multiple pdf. The issue is...
Ruffled asked 17/6, 2019 at 22:51
1
Solved
I would like to justify all the text in my gitbook, but I couldn't find a solution. So far I've tried:
Set the text-align as justified in the style/body, right after the YAML Header:
<style&g...
Lozano asked 10/4, 2019 at 16:4
1
I'm getting the following error when trying to build this gitbook on my local machine (was trying to use it as a template for creating my own work):
https://github.com/lgatto/IntroMachineLearningW...
1
Solved
I would like to make the font size of all captions (figures and tables) in my R Markdown document smaller. I'm using bookdown. The final output is pdf and I'm working in R Studio. To load the pictu...
Heterolecithal asked 23/5, 2019 at 9:7
2
For some reason I have problems with cross-referencing figures in a bookdown document. Here is a minimal example:
---
output:
bookdown::html_document2:
fig_caption: yes
---
Reference example:...
Phyllis asked 20/1, 2017 at 15:10
2
I am preparing a tutorial for a course and I want to change the colour of the error to be red. I am using BookDown and gitbook as my output format. But I found that the option class.output is not w...
Cooperate asked 31/1, 2018 at 9:11
1
Solved
I am preparing an historical book manuscript, written in R-Markdown with Bookdown, which will have 8 chapters, each with 100+ Chicago-style endnotes, using the GitBook-style web format.
My goal i...
Supper asked 31/5, 2018 at 4:9
1
Solved
Using RMarkdown I always generate pdf documents via Rmd -> pandoc -> TeX -> pdflatex -> pdf and accomplish figure references using \\label{something} in the fig.cap as in the follow example:
---
t...
Tent asked 10/1, 2019 at 20:2
2
Solved
I've found a couple bookdown documents on github (namely Hadley's R for Data Science and Efficient R) that I'd like to build from source as ebooks. Bookdown, which the documents are written in, has...
Pulchritude asked 19/5, 2017 at 15:48
1
How do I create a single, standalone bookdown html file that retains the gitbook format/style? Using the bookdown demo, my goal is to create a single .html file that I can share or publish to my we...
Biebel asked 18/11, 2018 at 17:29
3
How do you achieve roman numerals for things like preface, acknowledgement etc and restart Arabic numbering at 1 for first page of chapter one in R Bookdown.
I am wanting to render to pdf in bookd...
1
Solved
Following this post, I'm trying to put @YihuiXie 's answer in practice with the PLOS template of rticles but it doesn't work. Any help would be very appreciated!
Below in a minimal example:
---
t...
Internationalist asked 24/9, 2018 at 11:34
1
Solved
I am using the following template
---
title: "Nice try buddy"
author: "SpaceMan"
date: "13 December 2057"
output:
bookdown::pdf_document2
header-includes:
- \usepackage{booktabs}
- \usepackage{lo...
Kilroy asked 23/9, 2018 at 3:39
1
Solved
In R, the function include_url() from the knitr package allows to set the height, but not the width of an embedded iframe.
knitr::include_url("https://www.youtube.com/embed/9bZkp7q19f0", height="3...
Osmosis asked 21/9, 2018 at 19:31
1
Solved
In Rstudio, I create a new project and select book project using bookdown. The built in example runs perfectly as expected and i can compile 4 books - gitbook, html, epub, and pdf. Great.
The next ...
Blotto asked 20/9, 2018 at 16:59
1
Solved
Is there a way to automatically number the figures in captions when I knit R Markdown document into an HTML format?
What I would like is for my output to be the following:
Figure 1: Here is my ...
Handoff asked 7/8, 2018 at 15:49
1
Solved
How do I properly indent paragraphs within lists in bookdown? I would like to start a new paragraph after a blank line as show in the example below. This example works for RMarkdown when used outsi...
Candlelight asked 4/8, 2018 at 13:49
1
Solved
I want to add tables and figures after the bibliography in an R Markdown document. However, R Markdown documents will by default always add the bibliography to the end of the report.
Is there an e...
Logroll asked 14/7, 2018 at 4:3
1
Solved
This is the extension of previous question: Automating the generation of preformated text in Rmarkdown using R. Here's the task:
You have a collection of song lyrics stored in data.frame, the col...
Awry asked 12/7, 2018 at 16:24
© 2022 - 2024 — McMap. All rights reserved.