From 1a71daa267ac078070d7e7ba69f7c880a9ac47a3 Mon Sep 17 00:00:00 2001 From: florisvdh Date: Wed, 5 Jun 2024 17:25:01 +0200 Subject: [PATCH] references(): use plural for appendices part title (non-HTML) --- R/references.R | 2 +- .../latex/inborapport_2015/flanders_report_generic.sty | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/R/references.R b/R/references.R index a837727e..9e0c7122 100644 --- a/R/references.R +++ b/R/references.R @@ -29,7 +29,7 @@ references <- function(appendix = FALSE, part = FALSE) { assert_that(is.flag(part), noNA(part)) output <- c( "\\appendix"[appendix], - "\\part*{\\appendixname}"[appendix && part] + "\\part*{\\appendicesname}"[appendix && part] ) } cat(output, sep = "\n\n") diff --git a/inst/local_tex/tex/latex/inborapport_2015/flanders_report_generic.sty b/inst/local_tex/tex/latex/inborapport_2015/flanders_report_generic.sty index 2f788963..ff260dca 100644 --- a/inst/local_tex/tex/latex/inborapport_2015/flanders_report_generic.sty +++ b/inst/local_tex/tex/latex/inborapport_2015/flanders_report_generic.sty @@ -588,6 +588,15 @@ \addto\extrasfrench{% \def\cfcoop{Cette étude a été menée en collaboration avec:}% } +\addto\extrasdutch{% + \def\appendicesname{Bijlagen}% +} +\addto\extrasenglish{% + \def\appendicesname{Appendices}% +} +\addto\extrasfrench{% + \def\appendicesname{Annexes}% +} \RequirePackage{emptypage} % define title page