Skip to content

Commit 1cd1a1c

Browse files
RLumSKcderv
andauthored
Update Copernicus Template to version 7.12 (#591)
Co-authored-by: Christophe Dervieux <[email protected]>
1 parent 2156e47 commit 1cd1a1c

File tree

7 files changed

+92
-41
lines changed

7 files changed

+92
-41
lines changed

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

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

34-
- Update Copernicus Publications template to version 7.10 from 2025-03-14, add support for the languages
35-
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)
34+
- Update Copernicus Publications template to version 7.12 from 2025-11-24, add support for the languages
35+
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)
3636

3737
## MINOR CHANGES
3838

R/copernicus_article.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#'
1414
#' 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.
1515
#'
16-
#' **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.
16+
#' **Version:** Based on `copernicus_package.zip` in the version 7.12, 24 November 2025.
1717
#'
1818
#' **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.
1919
#'
@@ -91,7 +91,6 @@ copernicus_journals <- list(
9191
"E&G Quaternary Science Journal" = "egqsj",
9292
"EGUsphere" = "egusphere",
9393
"European Journal of Mineralogy" = "ejm",
94-
"Fossil Record" = "fr",
9594
"Geochronology" = "gchron",
9695
"Geographica Helvetica" = "gh",
9796
"Geoscience Communication" = "gc",
@@ -100,15 +99,16 @@ copernicus_journals <- list(
10099
"History of Geo- and Space Sciences" = "hgss",
101100
"Hydrology and Earth System Sciences" = "hess",
102101
"Journal of Bone and Joint Infection" = "jbji",
102+
"Journal of Environmentally Compatible Air Transport System" = "jecats",
103103
"Journal of Micropalaeontology" = "jm",
104104
"Journal of Sensors and Sensor Systems" = "jsss",
105105
"Magnetic Resonance" = "mr",
106106
"Mechanical Sciences" = "ms",
107107
"Natural Hazards and Earth System Sciences" = "nhess",
108108
"Nonlinear Processes in Geophysics" = "npg",
109109
"Ocean Science" = "os",
110-
"Primate Biology" = "pb",
111110
"Proceedings of the International Association of Hydrological Sciences" = "piahs",
111+
"Proceedings of the International Ocean Drilling Programme" = "piodp",
112112
"Safety of Nuclear Waste Disposal" = "sand",
113113
"Scientific Drilling" = "sd",
114114
"SOIL" = "soil",

inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_10.txt renamed to inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_12.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
File: README_copernicus_package_7_10.txt
1+
File: README_copernicus_package_7_12.txt
22
-------------------------------------------------------------------------
33
This is a README file for the Copernicus Publications LaTeX Macro Package
4-
copernicus_package.zip in the version 7.10, 4 March 2025
4+
copernicus_package.zip in the version 7.12, 24 November 2025
55
-------------------------------------------------------------------------
66
It consists of several files, each with its separate copyright.
77
This specific archive is collected for journals published by
@@ -15,8 +15,8 @@ URL: https://publications.copernicus.org
1515

1616

1717
Content:
18-
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.26, 14 March 2025
19-
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 10 September 2024
18+
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.30, 30 October 2025
19+
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 24 November 2025
2020
- copernicus.bst: The bibliographic style file for BibTeX. Current Version 1.6, 20 October 2023
2121
- pdfscreencop.sty / pdfscreen.sty
2222
- template.tex: A LaTeX template in journal style.

inst/rmarkdown/templates/copernicus/resources/template.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
% E&G Quaternary Science Journal (egqsj)
3434
% EGUsphere (egusphere) | This is only for EGUsphere preprints submitted without relation to an EGU journal.
3535
% European Journal of Mineralogy (ejm)
36-
% Fossil Record (fr)
3736
% Geochronology (gchron)
3837
% Geographica Helvetica (gh)
3938
% Geoscience Communication (gc)
@@ -42,6 +41,7 @@
4241
% History of Geo- and Space Sciences (hgss)
4342
% Hydrology and Earth System Sciences (hess)
4443
% Journal of Bone and Joint Infection (jbji)
44+
% Journal of Environmentally Compatible Air Transport System (jecats)
4545
% Journal of Micropalaeontology (jm)
4646
% Journal of Sensors and Sensor Systems (jsss)
4747
% Magnetic Resonance (mr)
@@ -50,8 +50,8 @@
5050
% Nonlinear Processes in Geophysics (npg)
5151
% Ocean Science (os)
5252
% Polarforschung - Journal of the German Society for Polar Research (polf)
53-
% Primate Biology (pb)
5453
% Proceedings of the International Association of Hydrological Sciences (piahs)
54+
% Proceedings of the International Ocean Drilling Programme (piodp)
5555
% Safety of Nuclear Waste Disposal (sand)
5656
% Scientific Drilling (sd)
5757
% SOIL (soil)
@@ -62,6 +62,7 @@
6262
% Web Ecology (we)
6363
% Wind Energy Science (wes)
6464

65+
6566
% Add imagehandling
6667
$-- Only needed for pandoc 3.2.1 and above requiring graphics for new command.
6768
$if(graphics)$$if(pandoc321)$
@@ -212,7 +213,6 @@
212213
%\usepackage{float}
213214
%\usepackage{subfig}
214215
%\usepackage{rotating}
215-
%\usepackage{etoolbox}
216216
217217
\begin{document}
218218

inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
\newif\ifproofreadingchanges \DeclareOption{proofreadingchanges}{\proofreadingchangestrue\@noreftrue}
66
\newif\ifcopyediting \DeclareOption{copyediting}{\copyeditingtrue\@noreftrue}
77
\newif\ifsmsps \DeclareOption{smsps} { \smspstrue}
8+
\newif\ifjecats \DeclareOption{jecats}{\@sansseriffacetrue\@sansserifheadertrue\@twostagejnltrue\jecatstrue}
9+
\DeclareOption{jecatsd}{\@sansseriffacetrue\@sansserifheadertrue\@stage@finalfalse\jecatstrue}
10+
\newif\ifpiodp \DeclareOption{piodp}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\piodptrue}
811
\newif\ifar \DeclareOption{ar}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@twostagejnltrue\artrue}
912
\DeclareOption{ard}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@stage@finalfalse\artrue}
1013
\newif\ifsp \DeclareOption{sp}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@firstbartrue\@twostagejnltrue\sptrue}
@@ -1139,5 +1142,44 @@
11391142
\fi
11401143
\fi
11411144
\fi
1145+
\ifpiodp%classical
1146+
\def\@journalname{Proceedings of the International Ocean Drilling Programme}
1147+
\def\@journalnameabbreviation{Proc. Int. Ocean Drill. Prog.}
1148+
\def\@journalnameshort{PIODP}
1149+
\def\@journalnameshortlower{piodp}
1150+
\def\@journalstartyear{2025}
1151+
\def\@sentence{Published by Copernicus Publications on behalf of the IODP³ Science Office, University of Plymouth.}
1152+
\def\@journalurl{www.proceedings-IODP3.net}
1153+
\def\@journallogo{\includegraphics{PIODP_Logo.pdf}}
1154+
\definecolor{textcol}{rgb}{0.267,0.475,0.573}
1155+
\definecolor{bgcol}{rgb}{1,1,1}
1156+
\definecolor{barcol}{rgb}{1.0,1.0,1.0}
1157+
\definecolor{rulecol}{rgb}{0.267,0.475,0.573}
1158+
\fi
1159+
\ifjecats%classical
1160+
\def\@journalname{Journal of Environmentally Compatible Air Transport System}
1161+
\def\@journalnameabbreviation{J. Env. Com. Air Transp. Sys.}
1162+
\def\@journalnameshort{JECATS}
1163+
\def\@journalnameshortlower{jecats}
1164+
\def\@journalstartyear{2025}
1165+
\def\@sentence{Published by Copernicus Publications on behalf of the ECATS International Association.}
1166+
\if@stage@final
1167+
\def\@journalurl{www.j-env-com-air-transp-sys.net}
1168+
\def\@journallogo{\includegraphics{JECATS_Logo.pdf}}
1169+
\definecolor{textcol}{rgb}{0.569,0.576,0.188}
1170+
\definecolor{bgcol}{rgb}{1,1,1}
1171+
\definecolor{rulecol}{rgb}{1.0,1.0,1.0}
1172+
\else
1173+
\def\@journalurl{}
1174+
\def\@journallogo{}
1175+
\def\@sentenceDiscussion{}
1176+
\if@cop@home
1177+
\definecolor{journalname}{rgb}{1.0,1.0,1.0}
1178+
\definecolor{buttonbackground}{rgb}{1.0,1.0,1.0}
1179+
\definecolor{paneltext}{rgb}{1.0,1.0,1.0}
1180+
\definecolor{buttontext}{rgb}{1.0,1.0,1.0}
1181+
\fi
1182+
\fi
1183+
\fi
11421184
11431185
}

inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
%% The original source files were:
66
%%
77
%% copernicus.dtx (with options: `class')
8-
%%
8+
%%
99
%% -----------------------------------------------------------------
1010
%% Author: copernicus.org and le-tex publishing services
11-
%%
11+
%%
1212
%% This file is part of the copernicus package for papers
1313
%% published by Copernicus Publications (Copernicus GmbH).
14-
%%
14+
%%
1515
%% Copyright (C) 2023 by Copernicus Publications
1616
%% -----------------------------------------------------------------
1717
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
1818
\ProvidesClass{copernicus}
19-
[2025/03/03 10.1.26 Copernicus papers]
19+
[2025/10/30 10.1.30 Copernicus papers]
2020
\frenchspacing
2121
\clubpenalty10000
2222
\widowpenalty10000
@@ -1319,20 +1319,18 @@
13191319
\RequirePackage[normalem]{ulem}%
13201320
\RequirePackage[T5,T3,T1]{fontenc}
13211321
\RequirePackage[warn]{textcomp}
1322-
\if@cop@home
1323-
\RequirePackage{fontawesome5}
1324-
\ifluatex
1325-
\newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}}
1326-
\input{fontawesomesymbols-generic.tex}
1327-
\DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont}
1328-
\DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont}
1329-
\DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont}
1330-
\input{fontawesomesymbols-pdftex.tex}
1331-
\renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}}
1332-
\renewcommand{\faBattery}[1][4]{\faicon{battery-#1}}
1333-
\else
1334-
\RequirePackage{fontawesome}
1335-
\fi
1322+
\RequirePackage{fontawesome5}
1323+
\ifluatex
1324+
\newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}}
1325+
\input{fontawesomesymbols-generic.tex}
1326+
\DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont}
1327+
\DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont}
1328+
\DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont}
1329+
\input{fontawesomesymbols-pdftex.tex}
1330+
\renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}}
1331+
\renewcommand{\faBattery}[1][4]{\faicon{battery-#1}}
1332+
\else
1333+
\RequirePackage{fontawesome5}
13361334
\fi
13371335
\usepackage{upquote}%% #7510
13381336
\usepackage{regexpatch}
@@ -1589,10 +1587,8 @@
15891587
\xmp@author{#2}%
15901588
\fi\fi
15911589
\global\advance\c@authnum\@ne
1592-
\if@cop@home
1593-
\expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi
1594-
\expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi
1595-
\fi
1590+
\expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi
1591+
\expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi
15961592
\def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
15971593
\setcounter{Maxaffil}{0}\fi
15981594
\ifnum\value{authors}>1\relax
@@ -1666,7 +1662,6 @@
16661662
\if!#2!\else\econtrib@sep#2\@nil\fi}
16671663

16681664
\newcommand\deceased[2][]{\gdef\@deceasedtext{#1}\@deceased{#2}}
1669-
\if@cop@home
16701665
\def\@deceased#1{%
16711666
\ifx\@deceasedtext\@empty\gdef\@deceasedNote{deceased}\else\gdef\@deceasedNote{deceased, \@deceasedtext}\fi
16721667
\deceased@sep#1,\@nil
@@ -1681,10 +1676,6 @@
16811676
\protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep
16821677
\AB@affilnote{\faStar}\protect\Affilfont\@econtribNote}%
16831678
}
1684-
\else
1685-
\let\equalcontrib\@gobble
1686-
\let\@deceased\@gobble
1687-
\fi
16881679
\newcount\corr@cnt \corr@cnt\z@\relax
16891680
\newcount\curr@corr@cnt \curr@corr@cnt\z@\relax
16901681
\def\Author{\let\curr@corr\@empty\@ifnextchar[\@Author{\@Author[]}}%]
@@ -2139,6 +2130,7 @@
21392130
\patchBothAmsMathEnvironmentsForLinenoX{multline}}}
21402131
{\CopernicusWarningNoLine{Cannot find lineno.sty; proceeding without it}%
21412132
\let\nolinenumbers\bgroup\let\endnolinenumbers\egroup}
2133+
\usepackage{tikz}
21422134
\IfFileExists{times.sty}
21432135
{\RequirePackage{times}
21442136
\def\Hv@scale{0.95}}
@@ -2176,6 +2168,17 @@
21762168
\DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n}%from esint.sty
21772169
\DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015}%from esint.sty
21782170
\def\oiint{\oiintop\nolimits}%from esint.sty
2171+
%%%% Ticket 5093, Dreifachintegrale.
2172+
\DeclareFontEncoding{LS2}{}{\noaccents@}
2173+
\DeclareFontSubstitution{LS2}{stix}{m}{n}
2174+
\DeclareSymbolFont{integrals}{LS2}{stixcal}{m}{n}
2175+
\DeclareMathSymbol{\smalloiiintsl}{\mathop}{integrals}{"05}
2176+
\DeclareMathSymbol{\smalloiiintup}{\mathop}{integrals}{"20}
2177+
\DeclareMathSymbol{\oiiintslop}{\mathop}{integrals}{"99}
2178+
\DeclareMathSymbol{\oiiintupop}{\mathop}{integrals}{"B4}
2179+
\let\oiiintop=\oiiintslop
2180+
\def\oiiint{\DOTSI\oiiintop\ilimits@}
2181+
%%%%%%
21792182
\DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{'037}%from esint.sty
21802183
\def\fint{\fintop\nolimits}%from esint.sty
21812184
\ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let_\xmltexUndersc@re}\fi
@@ -2854,7 +2857,13 @@
28542857
\csname specialsection-#1\endcsname{#2}%
28552858
\fi}
28562859
2857-
\generateCommand{acknowledgement} {} \def\endacknowledgement{\endlist\egroup}
2860+
\newenvironment{acknowledgement}{%
2861+
\PackageError{copernicus}{%
2862+
Environment `acknowledgement` (singular) is deprecated. Please use environment `acknowledgements` (plural)%
2863+
}{%
2864+
\string\begin{acknowledgements} Text. \string\end{acknowledgements}%
2865+
}%
2866+
}{}
28582867
\generateCommand{acknowledgements} {} \def\endacknowledgements{\endlist\egroup}
28592868
\iffalse %instead of \if@stage@final, to check what they want
28602869
\def\appendixfigures{%

man/copernicus_article.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)