rstudio / rticles

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

Rename template folders to shortten the path #315

Closed cderv closed 4 years ago

cderv commented 4 years ago

See discussion in https://github.com/rstudio/rticles/pull/297#issuecomment-675489389

One solution is to remove the _article part in template folder

$ ls inst/rmarkdown/templates/
acm_article  arxiv_article           elsevier_article   mnras_article     rsos_article
acs_article  asa_article             frontiers_article  oup_article       rss_article
aea_article  bioinformatics_article  ieee_article       peerj_article     sage_article
agu_article  biometrics_article      joss_article       plos_article      sim_article
amq_article  copernicus_article      jss_article        pnas_article      springer_article
ams_article  ctex                    mdpi_article       rjournal_article  tf_article

That would require to modify each format function accordingly: This folder name is used to find the resource in pdf_document_format() and currently match the format name.

To Do

yihui commented 4 years ago

Also remember to update https://github.com/rstudio/rticles/blob/master/.github/PULL_REQUEST_TEMPLATE.md

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.