Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

- Update `mdpi_article()` to latest version of September 2024 (thanks, @nielsbock, #573, #580).

- Update Copernicus Publications template to version 7.10 from 2025-03-14, add support for the languages
supported by the `copernicus.cls`, and fix an issue where the section headers were not shown due to a missing language flag. (@RLumSK, #577, #588)
- Update Copernicus Publications template to version 7.12 from 2025-11-24, add support for the languages
supported by the `copernicus.cls`, and fix an issue where the section headers were not shown due to a missing language flag. (@RLumSK, #577, #588, #591)

## MINOR CHANGES

Expand Down
6 changes: 3 additions & 3 deletions 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.10, 4 March 2025, using `copernicus.cls` in Version 10.1.26, 14 March 2025.
#' **Version:** Based on `copernicus_package.zip` in the version 7.12, 24 November 2025.
#'
#' **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 Expand Up @@ -91,7 +91,6 @@ copernicus_journals <- list(
"E&G Quaternary Science Journal" = "egqsj",
"EGUsphere" = "egusphere",
"European Journal of Mineralogy" = "ejm",
"Fossil Record" = "fr",
"Geochronology" = "gchron",
"Geographica Helvetica" = "gh",
"Geoscience Communication" = "gc",
Expand All @@ -100,15 +99,16 @@ copernicus_journals <- list(
"History of Geo- and Space Sciences" = "hgss",
"Hydrology and Earth System Sciences" = "hess",
"Journal of Bone and Joint Infection" = "jbji",
"Journal of Environmentally Compatible Air Transport System" = "jecats",
"Journal of Micropalaeontology" = "jm",
"Journal of Sensors and Sensor Systems" = "jsss",
"Magnetic Resonance" = "mr",
"Mechanical Sciences" = "ms",
"Natural Hazards and Earth System Sciences" = "nhess",
"Nonlinear Processes in Geophysics" = "npg",
"Ocean Science" = "os",
"Primate Biology" = "pb",
"Proceedings of the International Association of Hydrological Sciences" = "piahs",
"Proceedings of the International Ocean Drilling Programme" = "piodp",
"Safety of Nuclear Waste Disposal" = "sand",
"Scientific Drilling" = "sd",
"SOIL" = "soil",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
File: README_copernicus_package_7_10.txt
File: README_copernicus_package_7_12.txt
-------------------------------------------------------------------------
This is a README file for the Copernicus Publications LaTeX Macro Package
copernicus_package.zip in the version 7.10, 4 March 2025
copernicus_package.zip in the version 7.12, 24 November 2025
-------------------------------------------------------------------------
It consists of several files, each with its separate copyright.
This specific archive is collected for journals published by
Expand All @@ -15,8 +15,8 @@ URL: https://publications.copernicus.org


Content:
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.26, 14 March 2025
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 10 September 2024
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.30, 30 October 2025
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 24 November 2025
- 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.
6 changes: 3 additions & 3 deletions inst/rmarkdown/templates/copernicus/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
% E&G Quaternary Science Journal (egqsj)
% EGUsphere (egusphere) | This is only for EGUsphere preprints submitted without relation to an EGU journal.
% European Journal of Mineralogy (ejm)
% Fossil Record (fr)
% Geochronology (gchron)
% Geographica Helvetica (gh)
% Geoscience Communication (gc)
Expand All @@ -42,6 +41,7 @@
% History of Geo- and Space Sciences (hgss)
% Hydrology and Earth System Sciences (hess)
% Journal of Bone and Joint Infection (jbji)
% Journal of Environmentally Compatible Air Transport System (jecats)
% Journal of Micropalaeontology (jm)
% Journal of Sensors and Sensor Systems (jsss)
% Magnetic Resonance (mr)
Expand All @@ -50,8 +50,8 @@
% Nonlinear Processes in Geophysics (npg)
% Ocean Science (os)
% Polarforschung - Journal of the German Society for Polar Research (polf)
% Primate Biology (pb)
% Proceedings of the International Association of Hydrological Sciences (piahs)
% Proceedings of the International Ocean Drilling Programme (piodp)
% Safety of Nuclear Waste Disposal (sand)
% Scientific Drilling (sd)
% SOIL (soil)
Expand All @@ -62,6 +62,7 @@
% Web Ecology (we)
% Wind Energy Science (wes)


% Add imagehandling
$-- Only needed for pandoc 3.2.1 and above requiring graphics for new command.
$if(graphics)$$if(pandoc321)$
Expand Down Expand Up @@ -212,7 +213,6 @@
%\usepackage{float}
%\usepackage{subfig}
%\usepackage{rotating}
%\usepackage{etoolbox}

\begin{document}

Expand Down
42 changes: 42 additions & 0 deletions inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
\newif\ifproofreadingchanges \DeclareOption{proofreadingchanges}{\proofreadingchangestrue\@noreftrue}
\newif\ifcopyediting \DeclareOption{copyediting}{\copyeditingtrue\@noreftrue}
\newif\ifsmsps \DeclareOption{smsps} { \smspstrue}
\newif\ifjecats \DeclareOption{jecats}{\@sansseriffacetrue\@sansserifheadertrue\@twostagejnltrue\jecatstrue}
\DeclareOption{jecatsd}{\@sansseriffacetrue\@sansserifheadertrue\@stage@finalfalse\jecatstrue}
\newif\ifpiodp \DeclareOption{piodp}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\piodptrue}
\newif\ifar \DeclareOption{ar}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@twostagejnltrue\artrue}
\DeclareOption{ard}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@stage@finalfalse\artrue}
\newif\ifsp \DeclareOption{sp}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@twostagejnltrue\sptrue}
Expand Down Expand Up @@ -1139,5 +1142,44 @@
\fi
\fi
\fi
\ifpiodp%classical
\def\@journalname{Proceedings of the International Ocean Drilling Programme}
\def\@journalnameabbreviation{Proc. Int. Ocean Drill. Prog.}
\def\@journalnameshort{PIODP}
\def\@journalnameshortlower{piodp}
\def\@journalstartyear{2025}
\def\@sentence{Published by Copernicus Publications on behalf of the IODP³ Science Office, University of Plymouth.}
\def\@journalurl{www.proceedings-IODP3.net}
\def\@journallogo{\includegraphics{PIODP_Logo.pdf}}
\definecolor{textcol}{rgb}{0.267,0.475,0.573}
\definecolor{bgcol}{rgb}{1,1,1}
\definecolor{barcol}{rgb}{1.0,1.0,1.0}
\definecolor{rulecol}{rgb}{0.267,0.475,0.573}
\fi
\ifjecats%classical
\def\@journalname{Journal of Environmentally Compatible Air Transport System}
\def\@journalnameabbreviation{J. Env. Com. Air Transp. Sys.}
\def\@journalnameshort{JECATS}
\def\@journalnameshortlower{jecats}
\def\@journalstartyear{2025}
\def\@sentence{Published by Copernicus Publications on behalf of the ECATS International Association.}
\if@stage@final
\def\@journalurl{www.j-env-com-air-transp-sys.net}
\def\@journallogo{\includegraphics{JECATS_Logo.pdf}}
\definecolor{textcol}{rgb}{0.569,0.576,0.188}
\definecolor{bgcol}{rgb}{1,1,1}
\definecolor{rulecol}{rgb}{1.0,1.0,1.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

}
65 changes: 37 additions & 28 deletions inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
%% The original source files were:
%%
%% copernicus.dtx (with options: `class')
%%
%%
%% -----------------------------------------------------------------
%% Author: copernicus.org and le-tex publishing services
%%
%%
%% This file is part of the copernicus package for papers
%% published by Copernicus Publications (Copernicus GmbH).
%%
%%
%% Copyright (C) 2023 by Copernicus Publications
%% -----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{copernicus}
[2025/03/03 10.1.26 Copernicus papers]
[2025/10/30 10.1.30 Copernicus papers]
\frenchspacing
\clubpenalty10000
\widowpenalty10000
Expand Down Expand Up @@ -1319,20 +1319,18 @@
\RequirePackage[normalem]{ulem}%
\RequirePackage[T5,T3,T1]{fontenc}
\RequirePackage[warn]{textcomp}
\if@cop@home
\RequirePackage{fontawesome5}
\ifluatex
\newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}}
\input{fontawesomesymbols-generic.tex}
\DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont}
\DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont}
\DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont}
\input{fontawesomesymbols-pdftex.tex}
\renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}}
\renewcommand{\faBattery}[1][4]{\faicon{battery-#1}}
\else
\RequirePackage{fontawesome}
\fi
\RequirePackage{fontawesome5}
\ifluatex
\newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}}
\input{fontawesomesymbols-generic.tex}
\DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont}
\DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont}
\DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont}
\input{fontawesomesymbols-pdftex.tex}
\renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}}
\renewcommand{\faBattery}[1][4]{\faicon{battery-#1}}
\else
\RequirePackage{fontawesome5}
\fi
\usepackage{upquote}%% #7510
\usepackage{regexpatch}
Expand Down Expand Up @@ -1589,10 +1587,8 @@
\xmp@author{#2}%
\fi\fi
\global\advance\c@authnum\@ne
\if@cop@home
\expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi
\expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi
\fi
\expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi
\expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi
\def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
\setcounter{Maxaffil}{0}\fi
\ifnum\value{authors}>1\relax
Expand Down Expand Up @@ -1666,7 +1662,6 @@
\if!#2!\else\econtrib@sep#2\@nil\fi}

\newcommand\deceased[2][]{\gdef\@deceasedtext{#1}\@deceased{#2}}
\if@cop@home
\def\@deceased#1{%
\ifx\@deceasedtext\@empty\gdef\@deceasedNote{deceased}\else\gdef\@deceasedNote{deceased, \@deceasedtext}\fi
\deceased@sep#1,\@nil
Expand All @@ -1681,10 +1676,6 @@
\protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep
\AB@affilnote{\faStar}\protect\Affilfont\@econtribNote}%
}
\else
\let\equalcontrib\@gobble
\let\@deceased\@gobble
\fi
\newcount\corr@cnt \corr@cnt\z@\relax
\newcount\curr@corr@cnt \curr@corr@cnt\z@\relax
\def\Author{\let\curr@corr\@empty\@ifnextchar[\@Author{\@Author[]}}%]
Expand Down Expand Up @@ -2139,6 +2130,7 @@
\patchBothAmsMathEnvironmentsForLinenoX{multline}}}
{\CopernicusWarningNoLine{Cannot find lineno.sty; proceeding without it}%
\let\nolinenumbers\bgroup\let\endnolinenumbers\egroup}
\usepackage{tikz}
\IfFileExists{times.sty}
{\RequirePackage{times}
\def\Hv@scale{0.95}}
Expand Down Expand Up @@ -2176,6 +2168,17 @@
\DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n}%from esint.sty
\DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015}%from esint.sty
\def\oiint{\oiintop\nolimits}%from esint.sty
%%%% Ticket 5093, Dreifachintegrale.
\DeclareFontEncoding{LS2}{}{\noaccents@}
\DeclareFontSubstitution{LS2}{stix}{m}{n}
\DeclareSymbolFont{integrals}{LS2}{stixcal}{m}{n}
\DeclareMathSymbol{\smalloiiintsl}{\mathop}{integrals}{"05}
\DeclareMathSymbol{\smalloiiintup}{\mathop}{integrals}{"20}
\DeclareMathSymbol{\oiiintslop}{\mathop}{integrals}{"99}
\DeclareMathSymbol{\oiiintupop}{\mathop}{integrals}{"B4}
\let\oiiintop=\oiiintslop
\def\oiiint{\DOTSI\oiiintop\ilimits@}
%%%%%%
\DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{'037}%from esint.sty
\def\fint{\fintop\nolimits}%from esint.sty
\ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let_\xmltexUndersc@re}\fi
Expand Down Expand Up @@ -2854,7 +2857,13 @@
\csname specialsection-#1\endcsname{#2}%
\fi}

\generateCommand{acknowledgement} {} \def\endacknowledgement{\endlist\egroup}
\newenvironment{acknowledgement}{%
\PackageError{copernicus}{%
Environment `acknowledgement` (singular) is deprecated. Please use environment `acknowledgements` (plural)%
}{%
\string\begin{acknowledgements} Text. \string\end{acknowledgements}%
}%
}{}
\generateCommand{acknowledgements} {} \def\endacknowledgements{\endlist\egroup}
\iffalse %instead of \if@stage@final, to check what they want
\def\appendixfigures{%
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.