bookdown

Coverpage and copyright notice before title in R bookdown?

点点圈 提交于 2020-01-13 12:45:54
问题 Back in March, I asked a question and got an answer to including coverpage in a pdf document rendered by R bookdown: R bookdown - cover page and appendix I tried the solution and came up with the following results: using in index.rmd yaml: output: pdf_document: includes: before_body: frontpage.tex number_sections: yes toc: yes toc_depth: 3 site: bookdown::bookdown_site documentclass: book classoption: letterpaper The title still appeared before the coverpage AND the Chapter 'wording' in

Coverpage and copyright notice before title in R bookdown?

给你一囗甜甜゛ 提交于 2020-01-13 12:44:49
问题 Back in March, I asked a question and got an answer to including coverpage in a pdf document rendered by R bookdown: R bookdown - cover page and appendix I tried the solution and came up with the following results: using in index.rmd yaml: output: pdf_document: includes: before_body: frontpage.tex number_sections: yes toc: yes toc_depth: 3 site: bookdown::bookdown_site documentclass: book classoption: letterpaper The title still appeared before the coverpage AND the Chapter 'wording' in

Cairo pdf doesn't work properly due to “out of memory” in R

有些话、适合烂在心里 提交于 2020-01-13 07:27:07
问题 I'm trying to produce a pdf document with a graphic created with some R functions, like plot() or ggplot() . Since I use a Windows machine, I need to call cairo_pdf to change the font-family of the plot and to embed another fonts I specify. I have successfully knit the pdf document with plots created with cairo on my Windows 10. However, when I try to knit the document on my Windows 8.1, I always receive the following error message: Quitting from lines 22-23 (test.Rmd) Error in (function

Bookdown: Chapter/Section cross referencing not working (gitbook)

落爺英雄遲暮 提交于 2020-01-11 12:31:31
问题 I was having trouble with one of my bookdown projects where the chapter/section cross-references were no longer working in the html output. The problem is the html links work but they are displayed as ?? -- lacking section number. This is only a problem in the html version of the book. The pdf version compiles properly. In searching for a solution I tried creating a new bookdown project using the default demo install and it has the same error as highlighted in this image: . As noted -- this

Horizontal rule in R Markdown / Bookdown causing errors

流过昼夜 提交于 2020-01-11 05:45:06
问题 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, despite line spaces either side. I include a simplistic exmaple of the offending --- that will not knit to PDF. Incidentally, knitting to another format does not cause problems and knitting to PDF without a horizontal rule does not generate an error. Also, swapped --- for *** to explore if this

Bookown' bibliography multiple languages

亡梦爱人 提交于 2020-01-05 07:04:23
问题 I need to put two reference sections. References are equal, but in first section it must be in russian and in english in the second section (see png example). What shall I do to create bibliography references in multiple languages with R+Bookdown+Zotero/Juris-M? 回答1: Partial solution for LaTeX/PDF output. I started with a clone of bookdown-start In index.Rmd and _output.yml I removed the bibliography specific things In index.Rmd I defined a main font with Cyrillic characters In _output.yml I

A workflow with bookdown to produce frequency, cross tables and model summary tables

无人久伴 提交于 2020-01-03 03:32:10
问题 I am starting to write a book using bookdown and trying to find the best workflow. First of all I am trying to make frequency tables, crosstables and model summaries, using bookdown with pdf format mainly, but I am pretty sure my advisor will love I send word documents for revision, so also getting a word output would be awesome. Word output can be achieved producing first the .html file and then opening with Word. So .html and .pdf output at the same time are desiderables. Tables are the

R: Removing the “Chapter” part from the title in bookdown::pdf_book with documentclass: report

折月煮酒 提交于 2020-01-02 07:46:30
问题 consider my header and first section --- title: "asdf" author: "asdf" date: "13 Januar 2018" documentclass: report output: bookdown::pdf_book: citation_package: biblatex latex_engine: pdflatex number_sections: yes fig_caption: yes --- # Introduction Here begins my introduction I want to remove the automatic "Chapter 1" part, thats sits in front of the actual chapter title (in this case Introduction ) This does not work header-includes: \renewcommand{\chaptername}{} Also using another

R: Removing the “Chapter” part from the title in bookdown::pdf_book with documentclass: report

不羁岁月 提交于 2020-01-02 07:46:22
问题 consider my header and first section --- title: "asdf" author: "asdf" date: "13 Januar 2018" documentclass: report output: bookdown::pdf_book: citation_package: biblatex latex_engine: pdflatex number_sections: yes fig_caption: yes --- # Introduction Here begins my introduction I want to remove the automatic "Chapter 1" part, thats sits in front of the actual chapter title (in this case Introduction ) This does not work header-includes: \renewcommand{\chaptername}{} Also using another

Bookdown: Single html output file

杀马特。学长 韩版系。学妹 提交于 2020-01-02 04:49:15
问题 If I add a line below the first in _output.yml : bookdown::gitbook: split_by: none css: ... in the bookdown-demo the output becomes a single .html file which looks kind of plain ugly. Is it somehow possible to retain the nice style which is produced by the default settings but in a single file? If I want to send the book to someone else sending a stack of files is not great, especially if the person who receives it is not familiar with HTML as a document format. 回答1: This turns out to be a