Closed deanfantazzini closed 6 years ago
here is the devtools::session_info('bookdown')
Session info --------------------------------------------------------------------------------------
setting value
version R version 3.4.3 (2017-11-30)
system x86_64, mingw32
ui RStudio (1.1.419)
language (EN)
collate Russian_Russia.1251
tz Europe/Moscow
date 2018-02-05
Packages -------------------------------------------------------------------------------------------
package version date source
backports 1.1.2 2017-12-13 CRAN (R 3.4.3)
base64enc 0.1-3 2015-07-28 CRAN (R 3.4.1)
bookdown 0.6 2018-01-25 CRAN (R 3.4.3)
digest 0.6.15 2018-01-28 CRAN (R 3.4.3)
evaluate 0.10.1 2017-06-24 CRAN (R 3.4.3)
graphics 3.4.3 2017-12-06 local
grDevices 3.4.3 2017-12-06 local
highr 0.6 2016-05-09 CRAN (R 3.4.3)
htmltools 0.3.6 2017-04-28 CRAN (R 3.4.3)
jsonlite 1.5 2017-06-01 CRAN (R 3.4.3)
knitr 1.19 2018-01-29 CRAN (R 3.4.3)
magrittr 1.5 2014-11-22 CRAN (R 3.4.3)
markdown 0.8 2017-04-20 CRAN (R 3.4.3)
methods 3.4.3 2017-12-06 local
mime 0.5 2016-07-07 CRAN (R 3.4.1)
Rcpp 0.12.15 2018-01-20 CRAN (R 3.4.3)
rmarkdown 1.8 2017-11-17 CRAN (R 3.4.3)
rprojroot 1.3-2 2018-01-03 CRAN (R 3.4.3)
stats 3.4.3 2017-12-06 local
stringi 1.1.6 2017-11-17 CRAN (R 3.4.2)
stringr 1.2.0 2017-02-18 CRAN (R 3.4.3)
tools 3.4.3 2017-12-06 local
utils 3.4.3 2017-12-06 local
xfun 0.1 2018-01-22 CRAN (R 3.4.3)
yaml 2.1.16 2017-12-12 CRAN (R 3.4.3)
You may try to uninstall MiKTeX, and install TinyTeX instead (and restart RStudio):
devtools::install_github('yihui/tinytex')
tinytex::install_tinytex()
devtools::install_github('rstudio/rmarkdown')
More info: https://yihui.name/tinytex/
Thank you! You saved my day and really a lot of nerves. Thanks again.
Glad to know tinytex saved a person (once again)!
Thanks! It saves my life, too!
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
In the last 2 days I am completely unable to build a textbook with bookdown in pdf (while the gitbook version works normally): I tried to reinstall RStudio, Miktex (updating all packages), but to no avail. The funny thing is that in the error log it says that opening xelatex.exe did not succeed, but in the Rstudio global and project options pdfLaTex is used to compile Latex into pdf.
Find below the error that I get when trying to build the pdf of the classical bookdown-demo example:
The contents of the xelatex.log file are reported below: