Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinytex does miss some LaTeX packages for vitae package output rendering. #142

Closed
jooyoungseo opened this issue Sep 3, 2019 · 2 comments

Comments

@jooyoungseo
Copy link
Contributor

I think this issue is related to TinyTeX. After installing vitae package, I just attempted to use its default skeleton to see how it works.

However, the TinyTeX prompts the errors concerning:

Failed to find a package that contains authoryear.dbx                                                                                                
     
2: In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :                                                                                         
     
  Failed to find a package that contains authoryear-comp.dbx                                                                                           
     
3: In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :                                                                                         
     
  Failed to find a package that contains biblatex-dm.cfg                                                                                               
     
4: In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :                                                                                         
     
  Failed to find a package that contains authoryear.dbx                                                                                                
     
5: In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :                                                                                         
     
  Failed to find a package that contains authoryear-comp.dbx                                                                                           
     
6: In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :                                                                                         
     
  Failed to find a package that contains biblatex-dm.cfg                                                                                               
     
> 

Reproducible R scripts are as follows:

rmarkdown::draft("awesomecv", 
    "awesomecv", 
    "vitae"
)

rmarkdown::render("awesomecv.Rmd")
#> processing file: awesomecv.Rmd
#> output file: awesomecv.knit.md
#> "C:/ANACON~1/Scripts/pandoc" +RTS -K512m -RTS awesomecv.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output awesomecv.tex --table-of-contents --toc-depth 2 --template "C:\PROGRA~1\R\R-36~1.1\library\vitae\RMARKD~1\TEMPLA~1\AWESOM~1\RESOUR~1\AWESOM~1.TEX" --number-sections --highlight-style tango --pdf-engine xelatex --biblatex --lua-filter "C:/Program Files/R/R-3.6.1/library/rmarkdown/rmd/lua/pagebreak.lua" --wrap preserve --variable tables=yes --standalone --include-in-header "C:\Users\JooYoung\AppData\Local\Temp\RtmpmSCN9d\cv-header325dc400955fb.tex"
#> tlmgr search --file --global "/authoryear.dbx"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains authoryear.dbx
#> tlmgr search --file --global "/authoryear-comp.dbx"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains authoryear-comp.dbx
#> tlmgr search --file --global "/biblatex-dm.cfg"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains biblatex-dm.cfg
#> tlmgr search --file --global "/tikzlibrarytopaths.code.tex"
#> Trying to automatically install missing LaTeX packages...
#> tlmgr install pgf
#> tlmgr search --file --global "/authoryear.dbx"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains authoryear.dbx
#> tlmgr search --file --global "/authoryear-comp.dbx"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains authoryear-comp.dbx
#> tlmgr search --file --global "/biblatex-dm.cfg"
#> Warning in parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)): Failed
#> to find a package that contains biblatex-dm.cfg
#> tlmgr search --file --global "/tikzlibrarytopaths.code.tex"
#> ! Undefined control sequence.
#> <argument> blx@catg@bib-C:\Users 
#>                                  \JooYoung \Box \JY \Profile \Academia \CV \...
#> l.153 ...\Academia\CV\awesomecv\curie.bib-4854094}
#> Error: Failed to compile awesomecv.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See awesomecv.log for more info.

Created on 2019-09-03 by the reprex package (v0.3.0.9000)

Session info
sessioninfo::session_info()
#> - Session info ----------------------------------------------------------
#>  setting  value                       
#>  version  R version 3.6.1 (2019-07-05)
#>  os       Windows 10 x64              
#>  system   x86_64, mingw32             
#>  ui       RTerm                       
#>  language (EN)                        
#>  collate  English_United States.1252  
#>  ctype    English_United States.1252  
#>  tz       America/New_York            
#>  date     2019-09-03                  
#> 
#> - Packages --------------------------------------------------------------
#>  package     * version    date       lib
#>  assertthat    0.2.1      2019-03-21 [1]
#>  bibtex        0.4.2      2017-06-30 [1]
#>  bookdown      0.13.2     2019-09-01 [1]
#>  cli           1.1.0      2019-03-19 [1]
#>  crayon        1.3.4      2017-09-16 [1]
#>  digest        0.6.20     2019-07-04 [1]
#>  dplyr         0.8.3.9000 2019-08-15 [1]
#>  evaluate      0.14       2019-05-28 [1]
#>  glue          1.3.1.9000 2019-08-08 [1]
#>  highr         0.8        2019-03-20 [1]
#>  htmltools     0.3.6      2017-04-28 [1]
#>  httr          1.4.1      2019-08-05 [1]
#>  jsonlite      1.6        2018-12-07 [1]
#>  knitr         1.24.4     2019-08-30 [1]
#>  lubridate     1.7.4.9000 2019-08-08 [1]
#>  magrittr      1.5        2014-11-22 [1]
#>  pillar        1.4.2      2019-06-29 [1]
#>  pkgconfig     2.0.2      2018-08-16 [1]
#>  plyr          1.8.4      2016-06-08 [1]
#>  purrr         0.3.2.9000 2019-08-09 [1]
#>  R6            2.4.0      2019-02-14 [1]
#>  Rcpp          1.0.2.1    2019-08-08 [1]
#>  RefManageR    1.2.12     2019-04-03 [1]
#>  rlang         0.4.0.9002 2019-08-23 [1]
#>  rmarkdown     1.15.1     2019-09-03 [1]
#>  sessioninfo   1.1.1      2018-11-05 [1]
#>  stringi       1.4.3      2019-03-12 [1]
#>  stringr       1.4.0.9000 2019-08-08 [1]
#>  tibble      * 2.1.3      2019-06-06 [1]
#>  tidyselect    0.2.5.9000 2019-08-12 [1]
#>  tinytex       0.15.2     2019-09-03 [1]
#>  vitae       * 0.2.0      2019-09-03 [1]
#>  withr         2.1.2      2018-03-15 [1]
#>  xfun          0.9        2019-08-21 [1]
#>  xml2          1.2.2.9000 2019-08-15 [1]
#>  yaml          2.2.0      2018-07-25 [1]
#>  source                               
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  Github (rstudio/bookdown@56166fe)    
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  Github (tidyverse/dplyr@85faf79)     
#>  CRAN (R 3.6.1)                       
#>  Github (tidyverse/glue@7ac044a)      
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  Github (yihui/knitr@52edc22)         
#>  Github (tidyverse/lubridate@cd82679) 
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  Github (tidyverse/purrr@c755bb9)     
#>  CRAN (R 3.6.1)                       
#>  Github (RcppCore/Rcpp@1789f09)       
#>  CRAN (R 3.6.1)                       
#>  Github (r-lib/rlang@15e799c)         
#>  Github (rstudio/rmarkdown@ff285a0)   
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.0)                       
#>  Github (hadley/stringr@0b90f91)      
#>  CRAN (R 3.6.1)                       
#>  Github (tidyverse/tidyselect@4de95ee)
#>  Github (yihui/tinytex@f8e025c)       
#>  Github (ropenscilabs/vitae@f21a70b)  
#>  CRAN (R 3.6.1)                       
#>  CRAN (R 3.6.1)                       
#>  Github (r-lib/xml2@5bf8de1)          
#>  CRAN (R 3.6.0)                       
#> 
#> [1] C:/Program Files/R/R-3.6.1/library
@jooyoungseo
Copy link
Contributor Author

This issue has been somewhat resolved at this issue.

@yihui
Copy link
Member

yihui commented Sep 23, 2019

Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants