Bookdown text runs into lower margin

时间:2018-01-23 19:43:56

标签: r pdf margins bookdown

Using up to date (from github)

bookdown::render_book("file.Rmd", "bookdown::pdf_document2)

on R 3.4.1, on Windows, to generate a PDF document.

I get text running into the lower margin on the page... See image. Note the page number"10" over-printed on the textual material. YAML unremarkable.

enter image description here

Does anyone know the cause?

1 个答案:

答案 0 :(得分:0)

看起来(相当奇怪)在一个块之后需要一个空白链接。 bookdown / pandoc / Latex的某些组合对此构造的反应相当差:

```{r chunkname}
 R code to make a table of figure
```
Table \@ref(fig:chunkname) blah blah

我将构建一个可重现的示例并将其作为错误发送到bookdown。