| 1 |
% \iffalse meta-comment -*- mode: doctex -*- |
| 2 |
% |
| 3 |
% French language definition file of the master bibliography style for |
| 4 |
% The Canadian Journal of Statistics | La revue canadienne de |
| 5 |
% statistique |
| 6 |
% |
| 7 |
% Copyright (C) 2023-2026 Statistical Society of Canada | Société |
| 8 |
% canadienne de statistique |
| 9 |
% |
| 10 |
% This file may be distributed and/or modified under the conditions |
| 11 |
% of the LaTeX Project Public License, either version 1.3c of this |
| 12 |
% license or (at your option) any later version. The latest version |
| 13 |
% of this license is in: |
| 14 |
% |
| 15 |
% https://www.latex-project.org/lppl.txt |
| 16 |
% |
| 17 |
% The documentation is also licensed under CC BY-SA 4.0 International. |
| 18 |
% To view a copy of this license, visit: |
| 19 |
% |
| 20 |
% https://creativecommons.org/licenses/by-sa/4.0/ |
| 21 |
% |
| 22 |
% This work has the LPPL maintenance status `maintained'. |
| 23 |
% |
| 24 |
% The Current Maintainer of this work is Vincent Goulet |
| 25 |
% <[email protected]>. |
| 26 |
% |
| 27 |
% This work derives from french.mbs, part of the custom-bib |
| 28 |
% collection, a contribution to the LaTeX2e system. |
| 29 |
% Copyright 1994-2002 Patrick W Daly |
| 30 |
% Max-Planck-Institut f\"ur Sonnensystemforschung |
| 31 |
% Max-Planck-Str. 2 |
| 32 |
% D-37191 Katlenburg-Lindau |
| 33 |
% Germany |
| 34 |
% E-mail: [email protected] |
| 35 |
% |
| 36 |
%------------------------------------------------------------------- |
| 37 |
% Begin module: |
| 38 |
%\fi |
| 39 |
% \ProvidesFile{cjs-rcs-french.mbs}[2026/03/05 v2.0 (VG, PWD)] |
| 40 |
%\iffalse |
| 41 |
%<*a&!a> |
| 42 |
% The following ensures that the driver part is not seen by makebst |
| 43 |
% The driver part must not contain any \end other than \end{document} ! |
| 44 |
\ifx\endoptions\undefined\let\tempx=\relax\else |
| 45 |
\long\def\tempx#1\end#2{}\fi\tempx |
| 46 |
%</a&!a> |
| 47 |
%<*driver> |
| 48 |
\NeedsTeXFormat{LaTeX2e}% |
| 49 |
\documentclass[nocjs,x11names,french,english]{cjs-rcs-article} |
| 50 |
|
| 51 |
%% Loading doc.sty creates some conflicts with the class and memoir. We |
| 52 |
%% need to: |
| 53 |
%% |
| 54 |
%% - keep a copy of the class' \maketitle command; |
| 55 |
%% - undefine the 'glossary' environment created by memoir; |
| 56 |
%% - restore the standard LaTeX commands for the glossary that |
| 57 |
%% doc.sty relies upon. |
| 58 |
\let\makeCJStitle\maketitle % keep class definition |
| 59 |
\let\theglossary\relax % avoid conflict with doc.sty |
| 60 |
\let\endtheglossary\relax % avoid conflict with doc.sty |
| 61 |
\makeatletter |
| 62 |
\def\makeglossary{% |
| 63 |
\newwrite\@glossaryfile |
| 64 |
\immediate\openout\@glossaryfile=\jobname.glo |
| 65 |
\def\glossary{\@bsphack\begingroup |
| 66 |
\@sanitize |
| 67 |
\@wrglossary}\typeout |
| 68 |
{Writing glossary file \jobname.glo }% |
| 69 |
\let\makeglossary\@empty |
| 70 |
} |
| 71 |
\@onlypreamble\makeglossary |
| 72 |
\def\@wrglossary#1{% |
| 73 |
\protected@write\@glossaryfile{}% |
| 74 |
{\string\glossaryentry{#1}{\thepage}}% |
| 75 |
\endgroup |
| 76 |
\@esphack} |
| 77 |
\def\glossary{\@bsphack\begingroup\@sanitize\@index} |
| 78 |
\@twosidefalse\@mparswitchfalse % turn off twoside option |
| 79 |
\makeatother |
| 80 |
\usepackage{doc} |
| 81 |
\def\changes#1#2#3{\glossary{#1>#3}} % simplified |
| 82 |
\DisableCrossrefs |
| 83 |
\CodelineNumbered |
| 84 |
\RecordChanges |
| 85 |
\OnlyDescription |
| 86 |
\DontCheckModules |
| 87 |
|
| 88 |
\AtEndPreamble{% |
| 89 |
\hypersetup{% |
| 90 |
pdfauthor = {Statistical Society of Canada}, |
| 91 |
pdftitle = {French language definition file cjs-rcs-french.mbs}}} |
| 92 |
|
| 93 |
%% Configuration of the glossary |
| 94 |
\addto\extrasenglish{% |
| 95 |
\def\glossaryname{History of changes}} |
| 96 |
\GlossaryPrologue{\section*{\glossaryname}% |
| 97 |
\addcontentsline{toc}{section}{\glossaryname}} |
| 98 |
\setlength{\GlossaryMin}{5cm} |
| 99 |
|
| 100 |
%% Additional semantic typesetting |
| 101 |
\let\class\textsf |
| 102 |
\newcommand*\dtx{\textsf{docstrip}} |
| 103 |
|
| 104 |
%% Name of the journal |
| 105 |
\makeatletter |
| 106 |
\newcommand*\TheCJS{\@ifstar{\emph{The Journal}}{\emph{\CJS@journalname@en}}} |
| 107 |
\newcommand*\LaRevue{\@ifstar{\emph{La revue}}{\emph{\CJS@journalname@fr}}} |
| 108 |
\newcommand*\CJSclass{\class{cjs-rcs-article}} |
| 109 |
\newcommand*\CJSbsten{\texttt{cjs-rcs-en.bst}} |
| 110 |
\newcommand*\CJSbstfr{\texttt{cjs-rcs-fr.bst}} |
| 111 |
\newcommand*\SSCen{Statistical Society of Canada} |
| 112 |
\newcommand*\SSCfr{Société statistique du Canada} |
| 113 |
\makeatother |
| 114 |
|
| 115 |
%% Redefine \year using information from \filedate instead of using |
| 116 |
%% compilation time |
| 117 |
\def\parsedate#1/#2/#3\relax{\def\year{#1}} |
| 118 |
|
| 119 |
\MakeShortVerb{\|} |
| 120 |
|
| 121 |
\begin{document} |
| 122 |
\DocInput{cjs-rcs-french.mbs} |
| 123 |
\end{document} |
| 124 |
%</driver> |
| 125 |
% end of meta-comment \fi |
| 126 |
% \GetFileInfo{cjs-rcs-french.mbs} |
| 127 |
% \expandafter\parsedate\filedate\relax |
| 128 |
% |
| 129 |
% \changes{1.0}{2023-11-29}{First official release distributed through |
| 130 |
% CTAN.} |
| 131 |
% \changes{0.93}{2023-11-06}{Add a prefix v in the version number like |
| 132 |
% the main file.} |
| 133 |
% \changes{0.9}{2023-10-14}{Initial version based on version 4.2 of |
| 134 |
% \texttt{french.mbs} from \textbf{custom-bib}.} |
| 135 |
% |
| 136 |
% \title[French language definition file \filename]{% |
| 137 |
% French language definition file \\ |
| 138 |
% of the master bibliographic style file \\ |
| 139 |
% for \TheCJS} |
| 140 |
% \author{Statistical Society of Canada} |
| 141 |
% \affil{Developed by Vincent Goulet, Université Laval} |
| 142 |
% |
| 143 |
% \begin{englishabstract} |
| 144 |
% The list of references in {\TheCJS} is typeset using the |
| 145 |
% bibliographic styles {\CJSbsten} for articles in English and |
| 146 |
% {\CJSbstfr} for articles in French. These styles are created using |
| 147 |
% the program \texttt{makebst} from the master bibliographic file |
| 148 |
% \texttt{cjs-rcs-merlin.mbs}, and the language definition files |
| 149 |
% \texttt{cjs-rcs-english.mbs} and \texttt{cjs-rcs-french.mbs}. |
| 150 |
% \end{englishabstract} |
| 151 |
% \begin{frenchabstract} |
| 152 |
% La liste des références dans {\LaRevue} est composée avec les |
| 153 |
% style de bibliographie {\CJSbstfr} pour les articles en français |
| 154 |
% et {\CJSbsten} pour les articles en anglais. Ceux-ci sont générés |
| 155 |
% par le programme \texttt{makebst} à partir du fichier maitre |
| 156 |
% \texttt{cjs-rcs-merlin.mbs} et des fichiers de localisation |
| 157 |
% \texttt{cjs-rcs-english.mbs} et \texttt{cjs-rcs-french.mbs}. |
| 158 |
% \end{frenchabstract} |
| 159 |
% |
| 160 |
% ^^A abusing the 'classification' environment. The final period is |
| 161 |
% ^^A added by the environment. |
| 162 |
% \begin{classification}[Version] |
| 163 |
% \item[] This is the documentation for the file \code{\filename} |
| 164 |
% {\fileversion}, dated {\filedate} |
| 165 |
% \end{classification} |
| 166 |
% |
| 167 |
% \licence{{\ccbysa*} 2023--{\year}, {\SSCen}~{\textbar}~{\SSCfr}} |
| 168 |
% |
| 169 |
% \makeCJStitle |
| 170 |
% |
| 171 |
% \section{Introduction} |
| 172 |
% |
| 173 |
% This file is to be used as a language definition file with the |
| 174 |
% master bibliographic file for {\TheCJS}. The language it defines is |
| 175 |
% French. |
| 176 |
% |
| 177 |
% This is not a self-sufficient \texttt{.mbs} file, but rather may |
| 178 |
% be used together with one that contains language support via |
| 179 |
% external definition files. |
| 180 |
% |
| 181 |
% See the documentation for \texttt{makebst} for formatting details. |
| 182 |
% |
| 183 |
% \section{The Menu Information} |
| 184 |
% |
| 185 |
% All the menu information is nested between \dtx{} guard options |
| 186 |
% |%<*options>| \dots\ |%</options>|, and the last command is |
| 187 |
% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>| |
| 188 |
% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to |
| 189 |
% extract only the menu information or the documentation driver. |
| 190 |
% |
| 191 |
% \begin{macrocode} |
| 192 |
%<*options> |
| 193 |
\mes{^^JOptions for FRENCH} |
| 194 |
\wr{\spsp\spsp french,\pc: French language} |
| 195 |
|
| 196 |
\beginoptiongroup{ABBREVIATE WORD `PAGES':}{} |
| 197 |
\optdef{*}{}{`Page(s)'}{(no abbreviation)} |
| 198 |
\optdef{a}{pp}{`Page' abbreviated}{as p. or pp.} |
| 199 |
\optdef{x}{ppx}{`Page' omitted}{} |
| 200 |
\getans |
| 201 |
\endoptiongroup |
| 202 |
\beginoptiongroup{ABBREVIATE WORD `EDITEUR:}{} |
| 203 |
\optdef{*}{}{`\string\'Editeur(s)'}{(no abbreviation)} |
| 204 |
\optdef{a}{ed}{`\string\'Editeur' abbreviated}{as \string\'Ed.} |
| 205 |
\getans |
| 206 |
\endoptiongroup |
| 207 |
\beginoptiongroup{OTHER ABBREVIATIONS:}{} |
| 208 |
\optdef{*}{}{No abbreviations}{of Tome, \string\'edition, chapitre} |
| 209 |
\optdef{a}{abr}{Abbreviations}{of such words} |
| 210 |
\getans |
| 211 |
\endoptiongroup |
| 212 |
\beginoptiongroup{EDITION NUMBERS:}{} |
| 213 |
\optdef{*}{xedn}{Editions as in database}{saving much processing memory} |
| 214 |
\optdef{w}{}{Write out editions}{as premi\string\`ere, deuxi\string\`eme,...} |
| 215 |
\optdef{n}{ord}{Numerical editions}{as 1re, 2e, 3e, etc} |
| 216 |
\getans |
| 217 |
\endoptiongroup |
| 218 |
\endoptions |
| 219 |
%</options> |
| 220 |
% \end{macrocode} |
| 221 |
% |
| 222 |
% \StopEventually{\PrintChanges} |
| 223 |
% |
| 224 |
% \section{The Coding} |
| 225 |
% \begin{macrocode} |
| 226 |
%<*!options&!driver> |
| 227 |
|
| 228 |
% The language selected here is FRENCH |
| 229 |
FUNCTION {bbl.and} |
| 230 |
{ "et"} |
| 231 |
|
| 232 |
FUNCTION {bbl.etal} |
| 233 |
{ "et~collab." } |
| 234 |
|
| 235 |
FUNCTION {bbl.editors} |
| 236 |
%<!ed>{ "directeurs" } |
| 237 |
%<ed>{ "dir." } |
| 238 |
|
| 239 |
FUNCTION {bbl.editor} |
| 240 |
%<!ed>{ "directeur" } |
| 241 |
%<ed>{ "dir." } |
| 242 |
|
| 243 |
FUNCTION {bbl.edby} |
| 244 |
{ "sous la direction de" } |
| 245 |
|
| 246 |
FUNCTION {bbl.edition} |
| 247 |
%<!abr>{ "\'edition" } |
| 248 |
%<abr>{ "\'ed." } |
| 249 |
|
| 250 |
FUNCTION {bbl.volume} |
| 251 |
%<!abr>{ "volume" } |
| 252 |
%<abr>{ "vol." } |
| 253 |
|
| 254 |
FUNCTION {bbl.of} |
| 255 |
{ "de" } |
| 256 |
|
| 257 |
FUNCTION {bbl.number} |
| 258 |
%<!abr>{ "num\'ero" } |
| 259 |
%<abr>{ "{\no}" } |
| 260 |
|
| 261 |
FUNCTION {bbl.nr} |
| 262 |
{ "{\no}" } |
| 263 |
|
| 264 |
FUNCTION {bbl.in} |
| 265 |
{ "dans" } |
| 266 |
|
| 267 |
FUNCTION {bbl.pages} |
| 268 |
%<!pp&!ppx>{ "pages" } |
| 269 |
%<pp>{ "p." } |
| 270 |
%<!pp&ppx>{ "" } |
| 271 |
|
| 272 |
FUNCTION {bbl.page} |
| 273 |
%<!pp&!ppx>{ "page" } |
| 274 |
%<pp>{ "p." } |
| 275 |
%<!pp&ppx>{ "" } |
| 276 |
|
| 277 |
%<*revdata> |
| 278 |
FUNCTION {bbl.eidpp} |
| 279 |
{ "pages" } |
| 280 |
|
| 281 |
%</revdata> |
| 282 |
FUNCTION {bbl.chapter} |
| 283 |
%<!abr>{ "chapitre" } |
| 284 |
%<abr>{ "chap." } |
| 285 |
|
| 286 |
FUNCTION {bbl.techrep} |
| 287 |
%<!abr>{ "rapport technique" } |
| 288 |
%<abr>{ "rapport technique" } |
| 289 |
|
| 290 |
FUNCTION {bbl.mthesis} |
| 291 |
{ "m\'emoire de ma\^itrise" } |
| 292 |
|
| 293 |
FUNCTION {bbl.phdthesis} |
| 294 |
{ "th\`ese de doctorat" } |
| 295 |
|
| 296 |
%<*!xedn> |
| 297 |
FUNCTION {bbl.first} |
| 298 |
%<!ord>{ "Premi\`ere" } |
| 299 |
%<ord>{ "1{\iere}" } |
| 300 |
|
| 301 |
FUNCTION {bbl.second} |
| 302 |
%<!ord>{ "Deuxi\`eme" } |
| 303 |
%<ord>{ "2{\ieme}" } |
| 304 |
|
| 305 |
FUNCTION {bbl.third} |
| 306 |
%<!ord>{ "Troisi\`eme" } |
| 307 |
%<ord>{ "3{\ieme}" } |
| 308 |
|
| 309 |
FUNCTION {bbl.fourth} |
| 310 |
%<!ord>{ "Quatri\`eme" } |
| 311 |
%<ord>{ "4{\ieme}" } |
| 312 |
|
| 313 |
FUNCTION {bbl.fifth} |
| 314 |
%<!ord>{ "Cinqui\`eme" } |
| 315 |
%<ord>{ "5{\ieme}" } |
| 316 |
|
| 317 |
FUNCTION {bbl.th} |
| 318 |
{ "{\ieme}" } |
| 319 |
|
| 320 |
%</!xedn> |
| 321 |
%<*!abr> |
| 322 |
MACRO {jan} {"janvier"} |
| 323 |
|
| 324 |
MACRO {feb} {"f\'evrier"} |
| 325 |
|
| 326 |
MACRO {mar} {"mars"} |
| 327 |
|
| 328 |
MACRO {apr} {"avril"} |
| 329 |
|
| 330 |
MACRO {may} {"mai"} |
| 331 |
|
| 332 |
MACRO {jun} {"juin"} |
| 333 |
|
| 334 |
MACRO {jul} {"juillet"} |
| 335 |
|
| 336 |
MACRO {aug} {"ao\^ut"} |
| 337 |
|
| 338 |
MACRO {sep} {"septembre"} |
| 339 |
|
| 340 |
MACRO {oct} {"octobre"} |
| 341 |
|
| 342 |
MACRO {nov} {"novembre"} |
| 343 |
|
| 344 |
MACRO {dec} {"d\'ecembre"} |
| 345 |
|
| 346 |
%</!abr> |
| 347 |
%<*abr> |
| 348 |
MACRO {jan} {"jan."} |
| 349 |
|
| 350 |
MACRO {feb} {"f\'ev."} |
| 351 |
|
| 352 |
MACRO {mar} {"mars"} |
| 353 |
|
| 354 |
MACRO {apr} {"avr."} |
| 355 |
|
| 356 |
MACRO {may} {"mai"} |
| 357 |
|
| 358 |
MACRO {jun} {"juin"} |
| 359 |
|
| 360 |
MACRO {jul} {"juil."} |
| 361 |
|
| 362 |
MACRO {aug} {"ao\^ut"} |
| 363 |
|
| 364 |
MACRO {sep} {"sept."} |
| 365 |
|
| 366 |
MACRO {oct} {"oct."} |
| 367 |
|
| 368 |
MACRO {nov} {"nov."} |
| 369 |
|
| 370 |
MACRO {dec} {"d\'ec."} |
| 371 |
|
| 372 |
%</abr> |
| 373 |
%</!options&!driver> |
| 374 |
% End module: cjs-rcs-french.mbs |
| 375 |
% \end{macrocode} |
| 376 |
% \Finale |