Skip to content

Commit

Permalink
Add comma as a separator to prevent a trailing comma (#413)
Browse files Browse the repository at this point in the history
in `bioinformatics_article()`

Close #416 and close #417 as duplicate PR
  • Loading branch information
cderv authored Jun 29, 2021
1 parent cd4d93a commit 0a1ffa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rticles
Type: Package
Title: Article Formats for R Markdown
Version: 0.20.1
Version: 0.20.2
Authors@R: c(
person("JJ", "Allaire", role = "aut", email = "jj@rstudio.com"),
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
rticles 0.21
---------------------------------------------------------------------

- `bioinformatics_article()` has no more trailing comma after last author (thanks, @stephenturner, #413).

rticles 0.20
---------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@
\title[$title_short$]{$title_full$}

\author[FirstAuthorLastName \textit{et~al}.]{
$for(author)$
$author.name$\,\textsuperscript{$author.affiliation$},
$endfor$
$for(author)$$author.name$\,\textsuperscript{$author.affiliation$}$sep$, $endfor$
}

\address{
Expand Down

0 comments on commit 0a1ffa0

Please sign in to comment.