-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple corresponding authors not working for the 'copernicus_article' template #214
Comments
I can take a look later this week, travelling now. @pzhaonet the author guidelines are not very clear about that: do you have an example of a paper with multiple correspondence authors? Just wondering if this might not be a feature, i.e. Copernicus might only allow one corresponding author. Does the PDF render fine with two \correspondence items in the LaTeX? |
Looking at the original template, there is only one correspondence element. I will check with Copernicus staff about this. |
@yihui @nuest Thanks to you guys for your fast response. Well, I am not sure if Copernicus allows multiple corresponding authors. I am working on a manuscript, which has two corresponding authors. I will definitely figure it out when submission. Anyway, I think it is a little confusing, from the technical point, that it does not work when there are multiple I guess a line of |
Response from Copernicus: use the following way for multiple authors:
or with 2:
It should be possible to build that string in the template, but I am unsure how to do it most elegantly to handle the different cases. @yihui Can you sketch how you would approach this? |
I'd give users an option to specify corresponding authors separately: $if(correspongdingauthors)$
\correspondence{$correspongdingauthors$}
$else$
$for(author)$
$if(author.corresponding)$
\correspondence{$author.given_name$\ $author.surname$\ ($author.email$)}
$endif$
$endfor$
$endif$ If there is only one corresponding author, they can specify it under the |
Great! Many thanks! |
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. |
It is a good experience for me to write a Copernicus manuscript with the 'rticles' package. I've just found a problem that it seems not supporting multiple corresponding authors in the 'copernicus_article' template. A mini example could be produced by creating an .Rmd file in RStudio - File - New File - R Markdown - From Template - Copernicus Journal Article, and add one more line to the author information in the yaml:
Both Daniel and Josiah are supposed to the corresponding authors. However, only the last one is shown in the pdf file.
I found a loop in
library/rticles/rmarkdown/templates/copernicus_article/resources/template.tex
:I guess there must be something wrong of rmarkdown for processing this loop. I hack the template by setting
correspongdingauthors
in the yaml header and using$correspongdingauthors$
in the template for temporary use.Could you please have a look at it if it is a bug? Maybe it is a Pandoc issue? Just not sure...
Thanks a lot!
The text was updated successfully, but these errors were encountered: