Skip to content

Commit

Permalink
Copernicus template update 7.8 + fix #565 (#566)
Browse files Browse the repository at this point in the history
Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com>
  • Loading branch information
RLumSK and cderv committed Apr 5, 2024
1 parent 6f4dcc2 commit 176b4b9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 15 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- `oup_article()` now supports also `acknowledgments` in addition to `acknowledgements` as the original OUP LaTeX template (thanks, @dmkaplan2000, #563).

- Update resources for `copernicus_article()` to version 7.7 from 3 January 2024.
- Update resources for `copernicus_article()` to version 7.8 from 18 March 2024 (@RLumSK) and fix issue #565 reported by @colinasmith

- Update `tf_article()` template to latest bundle update from `InteractCADLaTeX` v1.04 - May 2023.
- `thanks: true` will now show the contact information will all authors. Use
Expand Down
2 changes: 1 addition & 1 deletion R/copernicus_article.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' An number of required and optional manuscript sections, e.g. `acknowledgements`, `competinginterests`, or `authorcontribution`, must be declared using the respective properties of the R Markdown header - see skeleton file.
#'
#' **Version:** Based on `copernicus_package.zip` in the version 7.7, 03 January 2024, using `copernicus.cls` in version 10.1.11, 03 January October 2024.
#' **Version:** Based on `copernicus_package.zip` in the version 7.8, 18 March 2024, using `copernicus.cls` in version 10.1.11, 03 January.
#'
#' **Copernicus journal abbreviations:** You can use the function `copernicus_journal_abbreviations()` to get the journal abbreviation for all journals supported by the Copernicus article template.
#'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
File: README_copernicus_package_7_7.txt
File: README_copernicus_package_7_8.txt
-------------------------------------------------------------------------
This is a README file for the Copernicus Publications LaTeX Macro Package
copernicus_package.zip in the version 7.7, 3 January 2024
copernicus_package.zip in the version 7.8, 18 March 2024
-------------------------------------------------------------------------
It consists of several files, each with its separate copyright.
This specific archive is collected for journals published by
Expand All @@ -16,7 +16,7 @@ URL: https://publications.copernicus.org

Content:
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.11, 3 January 2024
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 15 March 2023
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 18 March 2024
- copernicus.bst: The bibliographic style file for BibTeX. Current Version 1.6, 20 October 2023
- pdfscreencop.sty / pdfscreen.sty
- template.tex: A LaTeX template in journal style.
3 changes: 1 addition & 2 deletions inst/rmarkdown/templates/copernicus/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

%% Journal abbreviations (please use the same for preprints and final revised papers)


% Advances in Geosciences (adgeo)
% Advances in Radio Science (ars)
% Advances in Science and Research (asr)
Expand Down Expand Up @@ -207,7 +206,7 @@


$for(author)$
\Author[$author.affiliation$]{$author.given_name$}{$author.surname$}
\Author[$author.affiliation$]$if(author.corresponding)$[$author.email$]$endif${$author.given_name$}{$author.surname$}
$endfor$


Expand Down
27 changes: 20 additions & 7 deletions inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
\DeclareOption{spd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@stage@finalfalse\sptrue}
\newif\ifegusphere \DeclareOption{egusphere}{\@twostagejnltrue\eguspheretrue}
\DeclareOption{egusphered}{\@stage@finalfalse\eguspheretrue}
\newif\ifsand \DeclareOption{sand}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sandtrue}
\newif\ifsand \DeclareOption{sand}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\sandtrue}
\DeclareOption{sandd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@stage@finalfalse\sandtrue}
\newif\ifpolf \DeclareOption{polf}{\@sansseriffacetrue\@sansserifheadertrue\@bartrue\polftrue}
\newif\ifjbji \DeclareOption{jbji}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\jbjitrue}
\newif\ifmr \DeclareOption{mr}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\mrtrue}
Expand Down Expand Up @@ -1030,12 +1031,24 @@
\def\@journalnameshortlower{sand}
\def\@journalstartyear{2021}
\def\@sentence{Published by Copernicus Publications on behalf of the Federal Office for the Safety of Nuclear Waste Management (BASE).}
\def\@journalurl{www.sand.copernicus.org}
\def\@journallogo{\includegraphics{SAND_Logo.pdf}}
\definecolor{textcol}{rgb}{0.0,0.0,0.0}
\definecolor{bgcol}{rgb}{1,1,1}
\definecolor{barcol}{rgb}{1.0,1.0,1.0}
\definecolor{rulecol}{rgb}{0.0,0.0,0.0}
\if@stage@final
\def\@journalurl{www.sand.copernicus.org}
\def\@journallogo{\includegraphics{SAND_Logo.pdf}}
\definecolor{textcol}{rgb}{0.0,0.0,0.0}
\definecolor{bgcol}{rgb}{1,1,1}
\definecolor{barcol}{rgb}{1.0,1.0,1.0}
\definecolor{rulecol}{rgb}{0.0,0.0,0.0}
\else
\def\@journalurl{}
\def\@journallogo{}
\def\@sentenceDiscussion{}
\if@cop@home
\definecolor{journalname}{rgb}{1.0,1.0,1.0}
\definecolor{buttonbackground}{rgb}{1.0,1.0,1.0}
\definecolor{paneltext}{rgb}{1.0,1.0,1.0}
\definecolor{buttontext}{rgb}{1.0,1.0,1.0}
\fi
\fi
\fi
\ifegusphere%classical
\def\@journalname{EGUsphere}
Expand Down
2 changes: 1 addition & 1 deletion man/copernicus_article.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 176b4b9

Please sign in to comment.