Closed baketbek closed 4 years ago
Hi,
In last version of rticles (0.15), rticles::ctex
and alias rticles::ctex_article
should use the default pandoc template now, included within pandoc. See NEWS
https://github.com/rstudio/rticles/blob/master/NEWS.md
There may be something missing here. if you have an error.
What code did you use to encounter an error ?
Thank you.
Ok i can reproduce with a basic example. The change https://github.com/rstudio/rticles/commit/23ecb218be632001c25ae56c6e7d2d30ec14c195 is incomplete because it is looking for the template.
title: "在R Markdown文档中使用中文" author:
this is my rmarkdown header code, in my text,including some chinese words ,when i knitr ,the error is Couldn't find template file ctex/resources/template.tex.
For now you can install previous version 0.14. I'll push a fix very soon.
thank you
Should be fixed now. Thanks for the report!
remotes::install_github('rstudio/rticles')
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.
create new rmarkdown from rticles,Couldn't find template file ctex/resources/template.tex,is there any sources where i can download and use it?
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.