rstudio / rticles

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

Fix ctex to correctly use default Pandoc template #323

Closed cderv closed 4 years ago

cderv commented 4 years ago

This will fix #322

Currently, ctex() format is broken because it should use the pandoc default template as stated in 23ecb218be632001c25ae56c6e7d2d30ec14c195 but the changes was not complete.

We missed that as it was not properly tested.

Dependency on Rmarkdown needs to be bumped to 1.18, that is the minimum version that use the default pandoc template.

Also small typo in the skeleton as a duplicated documentclass field was introduced in header.

cderv commented 4 years ago

Changes made.