diff --git a/NEWS.md b/NEWS.md index 796b62d8..3c57d6a0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -31,8 +31,8 @@ - Update `mdpi_article()` to latest version of September 2024 (thanks, @nielsbock, #573, #580). -- 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) +- Update Copernicus Publications template to version 7.14 from 2026-05-13, 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, #601) ## MINOR CHANGES diff --git a/R/copernicus_article.R b/R/copernicus_article.R index c51035db..ac7fd74a 100644 --- a/R/copernicus_article.R +++ b/R/copernicus_article.R @@ -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.12, 24 November 2025. +#' **Version:** Based on `copernicus_package.zip` in the version 7.14, 12 March 2026. #' #' **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. #' @@ -90,6 +90,7 @@ copernicus_journals <- list( "Earth System Science Data" = "essd", "E&G Quaternary Science Journal" = "egqsj", "EGUsphere" = "egusphere", + "Earth Observation" = "eo", "European Journal of Mineralogy" = "ejm", "Geochronology" = "gchron", "Geographica Helvetica" = "gh", diff --git a/inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_12.txt b/inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_14.txt similarity index 74% rename from inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_12.txt rename to inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_14.txt index d6593ed0..d7d897cb 100644 --- a/inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_12.txt +++ b/inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_7_14.txt @@ -1,13 +1,13 @@ -File: README_copernicus_package_7_12.txt +File: README_copernicus_package_7_14.txt ------------------------------------------------------------------------- This is a README file for the Copernicus Publications LaTeX Macro Package -copernicus_package.zip in the version 7.12, 24 November 2025 +copernicus_package.zip in the version 7.14, 12 March 2026 ------------------------------------------------------------------------- It consists of several files, each with its separate copyright. This specific archive is collected for journals published by Copernicus Publications (Copernicus GmbH). -Copyright (C) 2025 Copernicus GmbH +Copyright (C) 2026 Copernicus GmbH E-mail: publications@copernicus.org URL: https://publications.copernicus.org @@ -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.30, 30 October 2025 -- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 24 November 2025 +- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.31, 3 February 2026 +- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 22 January 2026 - 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. \ No newline at end of file diff --git a/inst/rmarkdown/templates/copernicus/resources/template.tex b/inst/rmarkdown/templates/copernicus/resources/template.tex index 11a16345..4899e41b 100644 --- a/inst/rmarkdown/templates/copernicus/resources/template.tex +++ b/inst/rmarkdown/templates/copernicus/resources/template.tex @@ -32,6 +32,7 @@ % Earth System Science Data (essd) % E&G Quaternary Science Journal (egqsj) % EGUsphere (egusphere) | This is only for EGUsphere preprints submitted without relation to an EGU journal. +% Earth Observation (eo) % European Journal of Mineralogy (ejm) % Geochronology (gchron) % Geographica Helvetica (gh) diff --git a/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg b/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg index 1337de15..a0d2543f 100644 --- a/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg +++ b/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg @@ -5,6 +5,8 @@ \newif\ifproofreadingchanges \DeclareOption{proofreadingchanges}{\proofreadingchangestrue\@noreftrue} \newif\ifcopyediting \DeclareOption{copyediting}{\copyeditingtrue\@noreftrue} \newif\ifsmsps \DeclareOption{smsps} { \smspstrue} +\newif\ifeo \DeclareOption{eo}{\@sansseriffacetrue\@sansserifheadertrue\@firstbartrue\@twostagejnltrue\eotrue} + \DeclareOption{eod}{\@sansseriffacetrue\@sansserifheadertrue\@firstbartrue\@stage@finalfalse\eotrue} \newif\ifjecats \DeclareOption{jecats}{\@sansseriffacetrue\@sansserifheadertrue\@twostagejnltrue\jecatstrue} \DeclareOption{jecatsd}{\@sansseriffacetrue\@sansserifheadertrue\@stage@finalfalse\jecatstrue} \newif\ifpiodp \DeclareOption{piodp}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\piodptrue} @@ -1181,5 +1183,31 @@ \fi \fi \fi +\ifeo%classical + \def\@journalname{Earth Observation} + \def\@journalnameabbreviation{Earth Obs.} + \def\@journalnameshort{EO} + \def\@journalnameshortlower{eo} + \def\@journalstartyear{2026} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.earth-observation.net} + \def\@journallogo{\includegraphics{EO_Logo.pdf}} + \definecolor{textcol}{rgb}{0.416,0.29,0.588} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.earth-observation-discuss.net} + \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 } \ No newline at end of file diff --git a/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls b/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls index 559f667e..a79ee17b 100644 --- a/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls +++ b/inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls @@ -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/10/30 10.1.30 Copernicus papers] + [2026/02/03 10.1.31 Copernicus papers] \frenchspacing \clubpenalty10000 \widowpenalty10000 @@ -127,9 +127,14 @@ \def\specialp@perstring{Editorial note}% \@noreftrue \AtEndOfClass{% - \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.}% - \expandafter\jurl@splitter\@journalurl\@nil - \edef\@journalurl{\jurl@first-discuss.net}}} + \def\@tempa{https://egusphere.copernicus.org}% + \ifx\@journalurl\@tempa + \else + \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.}% + \expandafter\jurl@splitter\@journalurl\@nil + \edef\@journalurl{\jurl@first-discuss.net}% + \fi + }} \newif\if@preface%ask Lupino \DeclareOption{preface} {\@prefacetrue} \DeclareOption{forHTML} {\@forHTMLtrue} @@ -1320,18 +1325,14 @@ \RequirePackage[T5,T3,T1]{fontenc} \RequirePackage[warn]{textcomp} \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 +\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}} \usepackage{upquote}%% #7510 \usepackage{regexpatch} \def\active@text@prime{\ifin@texttt\textquotesingle\else'\fi} diff --git a/man/copernicus_article.Rd b/man/copernicus_article.Rd index 094f4c30..5133e51a 100644 --- a/man/copernicus_article.Rd +++ b/man/copernicus_article.Rd @@ -61,7 +61,7 @@ This was adapted from An number of required and optional manuscript sections, e.g. \code{acknowledgements}, \code{competinginterests}, or \code{authorcontribution}, must be declared using the respective properties of the R Markdown header - see skeleton file. -\strong{Version:} Based on \code{copernicus_package.zip} in the version 7.12, 24 November 2025. +\strong{Version:} Based on \code{copernicus_package.zip} in the version 7.14, 12 March 2026. \strong{Copernicus journal abbreviations:} You can use the function \code{copernicus_journal_abbreviations()} to get the journal abbreviation for all journals supported by the Copernicus article template. @@ -83,7 +83,7 @@ Therefore, please keep the following in mind: } } \note{ -If you use \code{\link[rmarkdown:pdf_document]{rmarkdown::pdf_document()}}, all internal references (i.e. tables and figures) must use \verb{\\ref\{\}} whereas with \code{\link[bookdown:html_document2]{bookdown::pdf_document2()}}, you can additionally use \verb{\\@ref()}. +If you use \code{\link[rmarkdown:pdf_document]{rmarkdown::pdf_document()}}, all internal references (i.e. tables and figures) must use \verb{\\ref\{\}} whereas with \code{\link[bookdown:pdf_document2]{bookdown::pdf_document2()}}, you can additionally use \verb{\\@ref()}. } \examples{ names(copernicus_journal_abbreviations())