Skip to content

Commit

Permalink
Rename the tags in the previous commits to match other french tags in…
Browse files Browse the repository at this point in the history
… the YAML - french_* instead of *_french
  • Loading branch information
cgrandin committed Sep 24, 2024
1 parent 9a9f4e7 commit 1ff358c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions inst/csas-tex/res-doc-french.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
% Title
\newcommand{\rdTitle}{$title$}

% Use isbn_french and cat_no_french if they exist, if they don't use isbn and cat_no
% Use french_isbn and french_cat_no if they exist, if they don't use isbn and cat_no
% This preserves backwards compatibility for those without the french tags
\newcommand{\rdISBN}{\ifx&$isbn_french$& $isbn$ \else $isbn_french$ \fi}
\newcommand{\rdCatNo}{\ifx&$cat_no_french$& $cat_no$ \else $cat_no_french$ \fi}
\newcommand{\rdISBN}{\ifx&$french_isbn$& $isbn$ \else $french_isbn$ \fi}
\newcommand{\rdCatNo}{\ifx&$french_cat_no$& $cat_no$ \else $french_cat_no$ \fi}

% Author names separated by commas and ', and' for the last author in the format 'M.H. Grinnell' (use \textsuperscript{n} for addresses)
\newcommand{\rdAuth}{$author$}
Expand Down
6 changes: 3 additions & 3 deletions inst/csas-tex/sr-french.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
% Region
\newcommand{\rdRegion}{$region$}

% Use isbn_french and cat_no_french if they exist, if they don't use isbn and cat_no
% Use french_isbn and french_cat_no if they exist, if they don't use isbn and cat_no
% This preserves backwards compatibility for those without the french tags
\newcommand{\rdISBN}{\ifx&$isbn_french$& $isbn$ \else $isbn_french$ \fi}
\newcommand{\rdCatNo}{\ifx&$cat_no_french$& $cat_no$ \else $cat_no_french$ \fi}
\newcommand{\rdISBN}{\ifx&$french_isbn$& $isbn$ \else $french_isbn$ \fi}
\newcommand{\rdCatNo}{\ifx&$french_cat_no$& $cat_no$ \else $french_cat_no$ \fi}

%%%% End of title page commands %%%%%

Expand Down

0 comments on commit 1ff358c

Please sign in to comment.