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
i found i can not outpu with chinese character and can not use example from yihui.
tinytex::pdflatex('test.tex')
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.