diff --git a/DESCRIPTION b/DESCRIPTION index b519a7d1d..6a3eba8df 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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")), diff --git a/NEWS.md b/NEWS.md index 11a82db8d..778c80218 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ rticles 0.21 --------------------------------------------------------------------- +- `bioinformatics_article()` has no more trailing comma after last author (thanks, @stephenturner, #413). rticles 0.20 --------------------------------------------------------------------- diff --git a/inst/rmarkdown/templates/bioinformatics/resources/template.tex b/inst/rmarkdown/templates/bioinformatics/resources/template.tex index 4a48f7e82..707964c7f 100644 --- a/inst/rmarkdown/templates/bioinformatics/resources/template.tex +++ b/inst/rmarkdown/templates/bioinformatics/resources/template.tex @@ -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{