Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature Request: Support in Rticles for Using Additional Journals, such as Biometrics #125

Closed
skywalker26 opened this issue Jun 20, 2017 · 6 comments

Comments

@skywalker26
Copy link

I've done some academic writing with the Rticles package and I love it! I'm trying to write a journal article to publish in Biometrics, but am having a difficult time figuring out how I would go about adding in the Biometrics document class and such. Is this something that you'd be open to developing further?

@dlebauer
Copy link

(I think this issue could be renamed 'how can I contribute a template for a new journal?)

It would be great to have a step-by-step guide to adding a new template. Perhaps this could be added to the package documentation, the README or CONTRIBUTING.md

In addition to the instructions, it could help to have a generic article type - this would serve two purposes: 1) a directory named ``inst/rmarkdown/templates/generic_articlethat someone wishing to contribute could copy toinst/rmarkdown/templates/journalname_article` and 2) for folks who don't want to contribute a template or doesn't know the target submission journal could get started writing a first draft.

Based on a few pull requests, It seems it should be straightforward to add a new template, but perhaps not #83 #147, PeerJ #127

main content

  • add journalname_article() function to R/journalname_article.R
    • what are requirements here? is this mostly copy-paste and find-replace?
  • add inst/rmarkdown/templates/journalname_article/resources/template.tex
    • how to convert a journal provided latex template to a Rmd template? Seems lots of use of $ to define variables
  • add inst/rmarkdown/templates/journalname_article/skeleton/skeleton.Rmd
  • add inst/rmarkdown/templates/journalname_article/template.yaml
  • which sty / bst / cls / csl etc files to add?

housekeeping

@daltonhance
Copy link
Contributor

I was able to create Biometrics template in my fork. I used this package of pandoc templates as a starting point: https://github.com/sachsmc/pandoc-journal-templates That package has other statistics journals that wouldn't be too hard to translate to rticles. My fork has all the main content @dlebauer listed, but I would need a little help walking through the housekeeping for a pull request.

@nuest
Copy link
Contributor

nuest commented May 28, 2018

PR is open at #170

@oleskiewicz
Copy link
Contributor

I've just opened #175, I agree that it would have been very helpful to have a contribution guide - maybe a .github/PULL_REQUEST_TEMPLATE file (as described here), with checkboxes from @dlebauer's comment above?

@yihui
Copy link
Member

yihui commented Jul 5, 2018

A contributing guide has been added: https://github.com/rstudio/rticles/blob/master/.github/PULL_REQUEST_TEMPLATE.md Thanks

@github-actions
Copy link

github-actions bot commented Nov 2, 2020

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants