I want to know why i can output html but can not output pdf with elegantbookdown template.
and without elegantbookdown i can output pdf.
and in one situation(project), there is error following
Error in yaml::yaml.load(..., eval.expr = TRUE) :
Scanner error: while parsing a quoted scalar at line 2, column 9 found unknown escape character at line 2, column 41
Calls: ... parse_yaml_front_matter -> yaml_load ->
And when i chose annother project, i find it is ok to touch "knit to pdf", but it is just run to html
There is my version
Show in New WindowClear OutputExpand/Collapse Output
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299), RStudio 1.3.959
Locale:
LC_COLLATE=Chinese (Simplified)_China.936
LC_CTYPE=Chinese (Simplified)_China.936
LC_MONETARY=Chinese (Simplified)_China.936
LC_NUMERIC=C
LC_TIME=Chinese (Simplified)_China.936
Package version:
bookdown_0.28.1 knitr_1.37 rmarkdown_2.12 tinytex_0.37
Pandoc version: 2.9.2
LaTeX version used:
TeX Live 2020 (TinyTeX) with tlmgr 2020-06-01
Thanks