Outdated AMS template
The American Meteorological Society now has a new version of their LaTeX template (https://www.ametsoc.org/ams/index.cfm/publications/authors/journal-and-bams-authors/latex-author-info/) and some new guidelines (such as adding a significance statement).
I'm updating the article template but how does rticles manage these kinds of breaking changes? Do you just replace the old skeleton and template with the new one or should I create an amsV5_article, or maybe replace ams_article but preserve the old behaviour in an ams_article_old?
As long as no AMS journal will accept the old template, I think it's fine to replace the outdated one.
Part of the guidelines of the AMS is to use the \appendcaption instead of \caption for appendix figures. Right now, there is no easy way of changing the caption command, and even if there were (I've opened an issue in knitr) it wouldn't help in this particular case because the syntax of both commands are slightly different.
What I'm doing now, as I dogfood myself by writing an article using this template, is to have a chunk at the top of the document that defines and sets a new plot hook. You can see it here.
It works, but is not very user-friendly. Would it be acceptable to add that custom plot hook function as a function inside rticles?
It works, but is not very user-friendly. Would it be acceptable to add that custom plot hook function as a function inside rticles?
That's okay. We have done that with other article formats in this package.
Oh! I looked at more of the codebase. I hadn't realised that the ams_article() function could add hooks! That's great! I'll do that.
@eliocamp sorry for the delay on this one.
AMS has now updated to template V6. https://www.ametsoc.org/index.cfm/ams/publications/author-information/latex-author-info/
Regarding #348 I believe we should not merge V5 maybe but try V6 directly for an update ?
I know we are way longer than we should to merge PR but I am catching up currently for next CRAN release.
@yufree @eliocamp What are your thoughts on this ? Is one of you still publishing to AMS ?
I'm not. We moved to Climate Dynamics. I do agree that with V6 out, then it only makes sense to implement that version directly instead of V5.
I'm not. I think we can change to V6 in #348 or a new PR.