Skip to content

Update peerj article citation format - #134

Merged
jjallaire merged 3 commits into
rstudio:masterfrom
zkamvar:update-peerj
Sep 19, 2017
Merged

jjallaire merged 3 commits into
rstudio:masterfrom
zkamvar:update-peerj

Conversation

@zkamvar

@zkamvar zkamvar commented Aug 31, 2017

Copy link
Copy Markdown
Contributor

I have updated the PeerJ article citation format to be more pandoc-tic.

zkamvar and others added 3 commits August 31, 2017 09:34
I had previously used a ham-fisted way of forcing
natbib to work, but I realized the pandoc latex
template had already dealt with this, so I removed
natbib from the cls file and change the default in
the peerj_article() function to "none".
@jjallaire

Copy link
Copy Markdown
Member

@yihui Does this look okay to you?

@yihui

yihui commented Aug 31, 2017

Copy link
Copy Markdown
Contributor

@zkamvar What is the requirement of citations in PeerJ? Does it disallow natbib or biblatex? I don't think using pandoc-citeproc is a good idea for LaTeX/PDF output.

@zkamvar

zkamvar commented Aug 31, 2017

Copy link
Copy Markdown
Contributor Author

@yihui There are no explicit citation requirements for PeerJ. While this change sets pandoc-citeproc as the default, it does not exclude natbib or biblatex as possibilities (due to the additions to template.tex). I can change the citation_package argument default back to "natbib" if you would like.

The previous iteration of peerj_article() hard-coded natbib in the cls file, which caused problems when attempting to use other options.

For reference here is the citation with

  • pandoc-citeproc:

image

  • natbib

image

  • biblatex

image

@zkamvar

zkamvar commented Sep 5, 2017

Copy link
Copy Markdown
Contributor Author

Any update on this?

@yihui yihui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong opinion on the default value of the citation_package argument, and I'm okay with merging this PR. Thanks!

@zkamvar

zkamvar commented Sep 19, 2017

Copy link
Copy Markdown
Contributor Author

ping

@jjallaire
jjallaire merged commit 4111a39 into rstudio:master Sep 19, 2017
@yihui yihui mentioned this pull request Mar 14, 2019
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants