rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.47k stars 519 forks source link

Couldn't find template file ctex/resources/template.tex #322

Closed baketbek closed 4 years ago

baketbek commented 4 years ago

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

I understand that my issue may be closed if I don't fulfill my promises.

cderv commented 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.

cderv commented 4 years ago

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.

baketbek commented 4 years ago

title: "在R Markdown文档中使用中文" author:

cderv commented 4 years ago

For now you can install previous version 0.14. I'll push a fix very soon.

baketbek commented 4 years ago

thank you

yihui commented 4 years ago

Should be fixed now. Thanks for the report!

remotes::install_github('rstudio/rticles')
github-actions[bot] commented 3 years ago

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.