From 917f764bece8b19f3a434616b9826d23962bcb2d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 29 Jan 2020 22:39:29 +0000 Subject: nwejm (29jan20) git-svn-id: svn://tug.org/texlive/trunk@53597 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md | 95 +++++++ Master/texmf-dist/doc/latex/nwejm/README.md | 2 +- .../doc/latex/nwejm/examples/article-in-dutch.pdf | Bin 188075 -> 188077 bytes .../latex/nwejm/examples/article-in-english.pdf | Bin 183751 -> 183735 bytes .../doc/latex/nwejm/examples/article-in-french.pdf | Bin 239260 -> 238982 bytes .../doc/latex/nwejm/examples/article-in-german.pdf | Bin 189437 -> 189448 bytes .../texmf-dist/doc/latex/nwejm/examples/issue.pdf | Bin 382128 -> 382101 bytes .../texmf-dist/doc/latex/nwejm/examples/sample.pdf | Bin 182364 -> 182347 bytes .../latex/nwejm/french/documentation/nwejm-fr.pdf | Bin 568729 -> 579239 bytes .../latex/nwejm/french/documentation/nwejm-fr.tex | 4 +- Master/texmf-dist/source/latex/nwejm/nwejm.dtx | 302 ++++++++++++--------- Master/texmf-dist/tex/latex/nwejm/nwejm.bbx | 2 +- Master/texmf-dist/tex/latex/nwejm/nwejm.cbx | 2 +- Master/texmf-dist/tex/latex/nwejm/nwejm.cls | 158 ++++++----- Master/texmf-dist/tex/latex/nwejm/nwejm.dbx | 2 +- Master/texmf-dist/tex/latex/nwejm/nwejm.lbx | 2 +- Master/texmf-dist/tex/latex/nwejm/nwejmart.cls | 87 +++--- 17 files changed, 413 insertions(+), 243 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md b/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md new file mode 100644 index 00000000000..bd286e86017 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md @@ -0,0 +1,95 @@ +# [Unreleased] + +# [1.0.0] - 2020-01-28 + +## Added +- README file. +- CHANGELOG file (following https://keepachangelog.com/en/1.0.0/). +- Semantic versionning (following https://semver.org/). +- Publication director, composer, masthead (not for the articles' authors). + +## Fixed +- Track changes in `expl3`. + +# [0.98f] - 2019-03-18 + +## Added +- Built-in "conditions" enumeration. +- New public command for easily create new enumerations. + +## Changed +- "Such that" symbol in sets definitions now is `\vert` instead of `\slash`. +- `authoryear` bib and cite style changed for `authoryear-comp`. +- Hyperfootnotes now true. +- Documentation improved. +- Plural forms of (new) theorems now handled. +- Command `\textcite` revisited. +- Minor other changes. + +## Fixed +- Several bug fixes. + +# [0.98e] - 2018-04-07 + +## Changed +- Track changes in `expl3`. +- Support for `biblatex` 3.8 changes. +- "Cont. next page" notifications for `align` and `multline` across page breaks. +- *Breaking change* `flalign(*)` and `alignat(*)` now are aliases of `align(*)` + (needed for the previous feature). +- *Breaking change* Package `autonum` not loaded anymore: `equation`, `align`, + `gather`, `multline` and `flalign` that have to be un-numbered should now be + starred. +- Some new, minor, features. + +## Fixed +- Several bug fixes. + +# [0.98c] - 2017-02-09 + +## Fixed +- Fix error due to `l3sort` is now available directly on loading `expl3`. + +# [0.98b] - 2017-02-06 + +## Changed +- Adjustments because of deprecated functions removed from `expl3`. + +## Fixed +- Fix "n.d." appeared in case `.bib` files use `year` field instead of `date` + field. +- Other minor bug fix. + +# [0.98a] - 2017-01-06 + +## Changed +- Documentation improved. + +## Fixed +- Bug fixes. + +# [0.97] - 2016-06-10 + +## Added +- Instructions to authors + +## Changed +- Package `xy` declared incompatible with the current bundle. + +## Fixed +- Sections in appendices of the documentation are alphabetically numbered. +- The page numbers of standalone articles/issue are synchronized. + +# [0.96] - 2016-04-14 + +## Changed +- Improvements. +- (Not backward compatible) Big sets macros prefixed with `bb`, e.g. `\bbR` + instead of `\R`. + +## Fixed +- Bug fixes. + +# [0.95] - 2016-04-04 + +- Initial CTAN release of the `nwejm` bundle. diff --git a/Master/texmf-dist/doc/latex/nwejm/README.md b/Master/texmf-dist/doc/latex/nwejm/README.md index 9898194051e..c7148fff8bd 100644 --- a/Master/texmf-dist/doc/latex/nwejm/README.md +++ b/Master/texmf-dist/doc/latex/nwejm/README.md @@ -8,7 +8,7 @@ new journal "North-Western European Journal of Mathematics". Release ------- -2019/03/18 v0.98f +2020-01-28 v1.0.0 Development ----------- diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf index ea1377925e0..e0c9d68ced8 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf index f22973941b9..949d85495fd 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf index a333ca930b6..78b2ca4bdea 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf index 9f226a86f4c..d78a34e74af 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf index 9ed713d94af..a5be13e1bd3 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/examples/sample.pdf b/Master/texmf-dist/doc/latex/nwejm/examples/sample.pdf index 98ab36d4256..78ac4e0e52e 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/examples/sample.pdf and b/Master/texmf-dist/doc/latex/nwejm/examples/sample.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.pdf b/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.pdf index 556fa88645e..43f0b010ff8 100644 Binary files a/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.pdf and b/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.pdf differ diff --git a/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.tex b/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.tex index 1aa617a01bd..cfa4940dcf8 100644 --- a/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.tex +++ b/Master/texmf-dist/doc/latex/nwejm/french/documentation/nwejm-fr.tex @@ -1,7 +1,7 @@ \documentclass[french,nolocaltoc]{nwejmart} % -\DTMsavedate{release-date}{2019-03-18} -\newcommand{\releaseversion}{0.98f} +\DTMsavedate{release-date}{2020-01-28} +\newcommand{\releaseversion}{1.0.0} % \usepackage{denisbdoc} \usepackage{tabulary} diff --git a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx index a5efc1fe1e6..9c130bc183b 100644 --- a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx +++ b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx @@ -13,7 +13,7 @@ new journal "North-Western European Journal of Mathematics". Release ------- -2019/03/18 v0.98f +2020-01-28 v1.0.0 Development ----------- @@ -44,7 +44,7 @@ https://github.com/dbitouze/nwejm. \input l3docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: nwejm 2019/03/18 v0.98f} +\Msg{* Class: nwejm 2020-01-28 v1.0.0} \Msg{* for the journal} \Msg{* "North-Western European Journal of Mathematics" (DB)} \Msg{********************************************************} @@ -61,7 +61,7 @@ License:| Released under the LaTeX Project Public License v1.3c or later \endpreamble \postamble -Copyright (C) 2015-2019 by Denis Bitouze +Copyright (C) 2015-2020 by Denis Bitouze This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either @@ -174,7 +174,7 @@ Running "make install" installs the files in the local TeX tree. % %\maketitle % -% \changes{v0.98f}{2019/03/18}{% +% \changes{v1.0.0}{2020-01-28}{% % \begin{itemize} % \item ix page numbers of the standalone articles were not deduced from the % whole issue. @@ -312,8 +312,8 @@ Running "make install" installs the files in the local TeX tree. \ProvidesExplClass % {nwejm} % {nwejmart} - {2019/03/18} - {0.98f} + {2020-01-28} + {1.0.0} { Class for the journal "North-Western European Journal of Mathematics". } @@ -642,11 +642,6 @@ Running "make install" installs the files in the local TeX tree. \RequirePackage{xr} % \end{macrocode} % -% \item Provide file name and path of input files: -% \begin{macrocode} -\RequirePackage{currfile} -% \end{macrocode} -% % \item A range of footnote options: % \begin{macrocode} \RequirePackage[multiple]{footmisc}% @@ -677,6 +672,76 @@ Running "make install" installs the files in the local TeX tree. \RequirePackage{ifoddpage}% % \end{macrocode} % +% \item Control float placement: +% \begin{macrocode} +\RequirePackage{placeins}% +% \end{macrocode} +% +% \item Define commands that appear not to eat spaces: +% \begin{macrocode} +\RequirePackage{xspace}% +% \end{macrocode} +% +% \item Context sensitive quotation facilities: +% \begin{macrocode} +\RequirePackage[autostyle]{csquotes}% +% \end{macrocode} +% +% \item Extended implementation of the \LaTeX{} array and +% tabular–environments: +% \begin{macrocode} +\RequirePackage{array} +% \end{macrocode} +% +% \item Publication quality tables in \LaTeX{}: +% \begin{macrocode} +\RequirePackage{booktabs} +% \end{macrocode} +% +% \item Extension to \Pkg{amsmath}: correct various bugs/defeciencies in amsmath +% and useful tools for mathematical typesetting\footnote{The \Pkg{mathtools} +% loads \pkg{amsmath}, hence it's not necessary to load the +% latter. It has to be loaded before \pkg{datatool} and \pkg{kpfonts}.}: +% \begin{macrocode} +\RequirePackage{mathtools} +% \end{macrocode} +% +% \item Extensions to theorem environments: +% \begin{macrocode} +\RequirePackage[amsmath,thmmarks,fleqn]{ntheorem} +% \end{macrocode} +% +% \item Support for using RSFS fonts in maths: +% \begin{macrocode} +\RequirePackage{rsfso} +% \end{macrocode} +% +% \item Vector arrows: +% \begin{macrocode} +\RequirePackage{esvect} +% \end{macrocode} +% +% Load of main font to be used: +% \begin{macrocode} +\RequirePackage[easyscsl,noDcommand]{kpfonts} +% %\RequirePackage[noDcommand]{kpfonts} +% \end{macrocode} +% +% \item Flexible and easy interface to page dimensions: +% \begin{macrocode} +\RequirePackage{geometry} +% \end{macrocode} +% +% \item Internationalisation of \LaTeXe{} packages: +% \begin{macrocode} +\RequirePackage{translations}% +% \end{macrocode} +% +% \item Provide file name and path of input files: +% \begin{macrocode} +\RequirePackage{currfile} +% \end{macrocode} +% % \begin{macrocode} % % \end{macrocode} @@ -772,71 +837,6 @@ Running "make install" installs the files in the local TeX tree. %<*class|class-article> % \end{macrocode} % -% \item Control float placement: -% \begin{macrocode} -\RequirePackage{placeins}% -% \end{macrocode} -% -% \item Define commands that appear not to eat spaces: -% \begin{macrocode} -\RequirePackage{xspace}% -% \end{macrocode} -% -% \item Context sensitive quotation facilities: -% \begin{macrocode} -\RequirePackage[autostyle]{csquotes}% -% \end{macrocode} -% -% \item Extended implementation of the \LaTeX{} array and -% tabular–environments: -% \begin{macrocode} -\RequirePackage{array} -% \end{macrocode} -% -% \item Publication quality tables in \LaTeX{}: -% \begin{macrocode} -\RequirePackage{booktabs} -% \end{macrocode} -% -% \item Extension to \Pkg{amsmath}: correct various bugs/defeciencies in amsmath -% and useful tools for mathematical typesetting\footnote{The \Pkg{mathtools} -% loads \pkg{amsmath}, hence it's not necessary to load the -% latter. It has to be loaded before \pkg{datatool} and \pkg{kpfonts}.}: -% \begin{macrocode} -\RequirePackage{mathtools} -% \end{macrocode} -% -% \item Extensions to theorem environments: -% \begin{macrocode} -\RequirePackage[amsmath,thmmarks,fleqn]{ntheorem} -% \end{macrocode} -% -% \item Support for using RSFS fonts in maths: -% \begin{macrocode} -\RequirePackage{rsfso} -% \end{macrocode} -% -% \item Vector arrows: -% \begin{macrocode} -\RequirePackage{esvect} -% \end{macrocode} -% -% Load of main font to be used: -% \begin{macrocode} -\RequirePackage[easyscsl,noDcommand]{kpfonts} -% %\RequirePackage[noDcommand]{kpfonts} -% \end{macrocode} -% -% \item Flexible and easy interface to page dimensions: -% \begin{macrocode} -\RequirePackage{geometry} -% \end{macrocode} -% -% \item Internationalisation of \LaTeXe{} packages: -% \begin{macrocode} -\RequirePackage{translations}% -% \end{macrocode} -% % \item Display the value of a \LaTeX{} counter in a variety of formats % \begin{macrocode} \RequirePackage{fmtcount}% @@ -1051,10 +1051,18 @@ Running "make install" installs the files in the local TeX tree. % \begin{macrocode} \tl_const:Nn \c_@@_computer_engineering_string_tl {Computer~engineering~issues} % \end{macrocode} -% For the printer. +% For the graphic design. % \begin{macrocode} \tl_const:Nn \c_@@_graphicdesign_string_tl {Graphic~design} % \end{macrocode} +% For the director of the publication. +% \begin{macrocode} +\tl_const:Nn \c_@@_publication_director_string_tl {Directeur~de~la~publication} +% \end{macrocode} +% For the director of the publication. +% \begin{macrocode} +\tl_const:Nn \c_@@_composed_by_string_tl {Composition} +% \end{macrocode} % For configuration file. % \begin{macrocode} \tl_const:Nn \c_@@_configuration_file_string_tl {nwejm.cfg} @@ -1669,7 +1677,7 @@ Running "make install" installs the files in the local TeX tree. % % \begin{macrocode} % \cleardoublepage % \pagenumbering{roman}% -% \setcounter{page}{\c_three} +% \setcounter{page}{3} % % \end{macrocode} % % % % On the backcover, we want the table of contents (displayed as a chapter, @@ -1865,7 +1873,7 @@ Running "make install" installs the files in the local TeX tree. \bfseries% \adjustbox{stack=l}{% \c_@@_journal_title_string_tl -% \\\tl_mixed_case:n{\GetTranslation{volume-abbreviated}}\c_space_tl\int_use:N \g_@@_issue_number_int +% \\\text_titlecase:n{\GetTranslation{volume-abbreviated}}\c_space_tl\int_use:N \g_@@_issue_number_int % \mbox{} } } @@ -2388,11 +2396,15 @@ Running "make install" installs the files in the local TeX tree. \medskip% } }{ - \_@@_citeauthor_no_giveninits:n {\c_@@_issue_bib_key_tl -#1- - \exp_not:V\DTLcurrentindex}% - \tl_if_empty:NF \l_@@_people_email_tl - { - \c_space_tl(\_@@_email:n {\l_@@_people_email_tl}) + \tl_if_in:NnTF \l_@@_people_role_tl { publicationdirector } { + \_@@_citeauthor_no_giveninits:n {\c_@@_issue_bib_key_tl -#1- \exp_not:V\DTLcurrentindex},~ + \l_@@_people_affiliation_tl% + }{ + \_@@_citeauthor_no_giveninits:n {\c_@@_issue_bib_key_tl -#1- \exp_not:V\DTLcurrentindex}% + \tl_if_empty:NF \l_@@_people_email_tl + { + \c_space_tl(\_@@_email:n {\l_@@_people_email_tl}) + } } } } @@ -2640,6 +2652,20 @@ Running "make install" installs the files in the local TeX tree. \_@@_display_people_by_role:n { graphicdesign } \end{description} \g_@@_font_designer_text_tl + \par + \vspace*{\stretch{1}} + \selectlanguage{french} + \shorthandon{;:!?} + \begin{description} + \item[\c_@@_publication_director_string_tl{}~:] + \_@@_display_people_by_role:n { publicationdirector } + \item[\c_@@_composed_by_string_tl{}~:] + \_@@_display_people_by_role:n { composer } + \end{description} + \DTMlangsetup*{showdayofmonth=false} + \centering + \g_@@_masthead_tl + \selectlanguage{english} \bool_gset_false:N \g_@@_inside_backcover_bool } % \end{macrocode} @@ -2752,7 +2778,7 @@ Running "make install" installs the files in the local TeX tree. \tl_if_empty:NF {#2} { \tl_if_eq:NNF {\c_@@_date_received_tl} {#1} { \c_@@_dates_separator_tl } - \tl_mixed_case:n { \exp_args:No \GetTranslation{#1} } + \text_titlecase:n { \exp_args:No \GetTranslation{#1} } \c_@@_colon_tl\c_space_tl \DTMdate{#2}% } @@ -2819,7 +2845,7 @@ Running "make install" installs the files in the local TeX tree. % needs the main file name to be fixed (chosen name: \enquote{issue}). If that's % not the case an error is thrown. % \begin{macrocode} -%\str_if_eq_x:nnTF \c_sys_jobname_str \c_@@_main_file_name_tl { +%\str_if_eq:eeTF \c_sys_jobname_str \c_@@_main_file_name_tl { % \bool_if:NT {\g_@@_cover_bool} { % \msg_error:nn{nwejm}{Wrong~cover's~main~file~name!} % } @@ -2925,6 +2951,14 @@ Running "make install" installs the files in the local TeX tree. { \_@@_people:nnnnn {#1}{#2}{#3}{#4}{secretary} } +\NewDocumentCommand \publicationdirector {mmmm} +{ + \_@@_people:nnnnn {#1}{#2}{#3}{#4}{publicationdirector} +} +\NewDocumentCommand \composer {mmmm} +{ + \_@@_people:nnnnn {#1}{#2}{#3}{#4}{composer} +} % \end{macrocode} % \end{macro} % \end{macro} @@ -3073,6 +3107,20 @@ Running "make install" installs the files in the local TeX tree. } } % \end{macrocode} +% +% \begin{macro}{\masthead} +% We define the command that lets us specify the masthead (\enquote{ours} in French). This +% setup is likely to be rarely changed. +% \begin{macrocode} +\tl_new:N \g_@@_masthead_tl +\NewDocumentCommand \masthead { +m } { + \IfNoValueF {#1} + { + \tl_gset:Nn \g_@@_masthead_tl {#1} + } +} +% \end{macrocode} +% % \begin{macrocode} % % \end{macrocode} @@ -3205,11 +3253,11 @@ Running "make install" installs the files in the local TeX tree. } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{#1} } }{% - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{plural-#1} } } @@ -3349,7 +3397,7 @@ Running "make install" installs the files in the local TeX tree. \clist_map_inline:Nn \g_@@_counters_to_be_reset_clist { \@ifundefined{c@##1}{ }{ - \setcounter{##1}{\c_zero} + \setcounter{##1}{\c_zero_int} } } % \end{macrocode} @@ -3767,7 +3815,7 @@ Running "make install" installs the files in the local TeX tree. \noindent { \bfseries - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-keyword} \c_@@_colon_tl } @@ -4044,22 +4092,22 @@ Running "make install" installs the files in the local TeX tree. \int_set:Nn \l_@@_abs_int {\int_abs:n {#1}} \ifcurrentbaselanguage{english}{ \int_use:N \l_@@_abs_int - \int_set:Nn \l_tmpa_int {\int_mod:nn {\l_@@_abs_int} {\c_one_hundred}} + \int_set:Nn \l_tmpa_int {\int_mod:nn {\l_@@_abs_int} { 100 }} \int_case:nnF { \l_tmpa_int } { - { \c_eleven } { \fmtord{th} } - { \c_twelve } { \fmtord{th} } - { \c_thirteen } { \fmtord{th} } + { 11 } { \fmtord{th} } + { 12 } { \fmtord{th} } + { 13 } { \fmtord{th} } }{ - \int_set:Nn \l_tmpb_int {\int_mod:nn {\l_@@_abs_int} {\c_ten}} + \int_set:Nn \l_tmpb_int {\int_mod:nn {\l_@@_abs_int} { 10 }} \int_case:nnF { \l_tmpb_int } { - { \c_zero } { \fmtord{th} } - { \c_one } { \fmtord{st} } - { \c_two } { \fmtord{nd} } - { \c_three } { \fmtord{rd} } + { 0 } { \fmtord{th} } + { 1 } { \fmtord{st} } + { 2 } { \fmtord{nd} } + { 3 } { \fmtord{rd} } }{ \fmtord{th} } @@ -4256,42 +4304,41 @@ Running "make install" installs the files in the local TeX tree. { \IfTranslation{English}{#1}{% }{% - \DeclareTranslation{English}{#1}{\tl_mixed_case:n{#2}}% + \DeclareTranslation{English}{#1}{\text_titlecase:n{#2}}% } \IfTranslation{French}{#1}{% }{% - \DeclareTranslation{French}{#1}{\tl_mixed_case:n{#3}}% + \DeclareTranslation{French}{#1}{\text_titlecase:n{#3}}% } \IfTranslation{German}{#1}{% }{% - \DeclareTranslation{German}{#1}{\tl_mixed_case:n{#4}}% + \DeclareTranslation{German}{#1}{\text_titlecase:n{#4}}% } \IfTranslation{Dutch}{#1}{% }{% - \DeclareTranslation{Dutch}{#1}{\tl_mixed_case:n{#5}}% + \DeclareTranslation{Dutch}{#1}{\text_titlecase:n{#5}}% } % \IfTranslation{English}{#1-plural}{% }{% - \DeclareTranslation{English}{#1-plural}{\tl_mixed_case:n{#6}}% + \DeclareTranslation{English}{#1-plural}{\text_titlecase:n{#6}}% } \IfTranslation{French}{#1-plural}{% }{% - \DeclareTranslation{French}{#1-plural}{\tl_mixed_case:n{#7}}% + \DeclareTranslation{French}{#1-plural}{\text_titlecase:n{#7}}% } \IfTranslation{German}{#1-plural}{% }{% - \DeclareTranslation{German}{#1-plural}{\tl_mixed_case:n{#8}}% + \DeclareTranslation{German}{#1-plural}{\text_titlecase:n{#8}}% } \IfTranslation{Dutch}{#1-plural}{% }{% - \DeclareTranslation{Dutch}{#1-plural}{\tl_mixed_case:n{#9}}% + \DeclareTranslation{Dutch}{#1-plural}{\text_titlecase:n{#9}}% } - \_@@_orig_newtheorem{#1}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \_@@_orig_newtheorem{#1}{\text_titlecase:n{ \GetTranslation{#1} }} \bool_if:NF {\g_@@_no_numbered_theorem_bool} { - \_@@_orig_newtheorem*{#1_@@_nonumbered}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \_@@_orig_newtheorem*{#1_@@_nonumbered}{\text_titlecase:n{ \GetTranslation{#1} }} } - } \cs_generate_variant:Nn \_@@_new_theorem:nnnnnnnnn { nVVVVVVVV } % \end{macrocode} @@ -4445,11 +4492,11 @@ Running "make install" installs the files in the local TeX tree. \clist_put_right:Nn \g_@@_counters_to_be_reset_clist {#2} } \ifcurrentbaselanguage{french}{% - \crefname{#2}{\tl_lower_case:n{ \GetTranslation{#2} }}{\tl_lower_case:n{ \GetTranslation{#2-plural} }} + \crefname{#2}{\text_lowercase:n{ \GetTranslation{#2} }}{\text_lowercase:n{ \GetTranslation{#2-plural} }} }{% \crefname{#2}{\GetTranslation{#2}}{\GetTranslation{#2-plural}} } - \Crefname{#2}{\tl_mixed_case:n{ \GetTranslation{#2} }}{\tl_mixed_case:n{ \GetTranslation{#2-plural} }} + \Crefname{#2}{\text_titlecase:n{ \GetTranslation{#2} }}{\text_titlecase:n{ \GetTranslation{#2-plural} }} } % \end{macrocode} % @@ -4512,20 +4559,20 @@ Running "make install" installs the files in the local TeX tree. } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } \Crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -4552,12 +4599,12 @@ Running "make install" installs the files in the local TeX tree. \normalfont ( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $\c_math_subscript_token\mathsf{\arabic*}$), ref=( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $_\mathsf{\arabic*}$ ) @@ -4568,11 +4615,11 @@ Running "make install" installs the files in the local TeX tree. \GetTranslation{plural-#1} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -4623,7 +4670,7 @@ Running "make install" installs the files in the local TeX tree. } \tl_if_empty:cT {l_@@_newenumeration_#2_label_tl} { \tl_set:cV {l_@@_newenumeration_#2_label_tl} { - \tl_upper_case:n { + \text_uppercase:n { \tl_head:f { \tl_use:c {l_@@_newenumeration_#2_singular_tl} } @@ -4657,11 +4704,11 @@ Running "make install" installs the files in the local TeX tree. \tl_use:c {l_@@_newenumeration_#1_plural_tl} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l_@@_newenumeration_#1_singular_tl} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l_@@_newenumeration_#1_plural_tl} } } @@ -5615,7 +5662,7 @@ Running "make install" installs the files in the local TeX tree. \bool_if:NF \g_@@_nolocaltoc_bool { % \setcounter{lastpagearticle}{\value{page}} \newpage - \setcounter{page}{\c_zero} + \setcounter{page}{\c_zero_int} \pagenumbering{roman}% \etocarticlestylenomarks % \end{macrocode} @@ -5693,7 +5740,7 @@ Running "make install" installs the files in the local TeX tree. \expandafter\def\expandafter\pdfstringdefPreHook \expandafter{% \pdfstringdefPreHook - \renewcommand{\acrshort}[1]{\tl_upper_case:n {\glsentryshort{##1}}}% + \renewcommand{\acrshort}[1]{\text_uppercase:n {\glsentryshort{##1}}}% } % \end{macrocode} % @@ -6636,11 +6683,6 @@ $bibtex = 'biber -U %O %B'; $makeindex = 'texindy -L english'; -add_cus_dep('idx', 'ind', 0, 'texindy'); -sub texindy{ - system("texindy -L english \"$_[0].idx\""); -} - push @generated_exts, "aux", "idx", "ind", "lo*", "out", "toc", "acn", "acr", "alg", "bbl", "bcf", "fls", "gl*", "ist", "run.xml", "sbl*", "sl*", "sym*", "xdy", "unq", "mw", "*~" "sta" ; diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx b/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx index 3bf9f125f10..6866f29678f 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx @@ -96,7 +96,7 @@ \renewcommand*\bibnamedelimd{\addnbspace} \DeclareFieldFormat{journaltitle}{\mkbibemph{#1\isdot}} %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx b/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx index 431ce78aa79..13a85c8771e 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx @@ -145,7 +145,7 @@ % {\usebibmacro{textcite:postnote}} \ExecuteBibliographyOptions{autocite=nwejmfootcite} %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.cls b/Master/texmf-dist/tex/latex/nwejm/nwejm.cls index 5e1af9fd9fd..8c0323329b6 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.cls +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.cls @@ -18,8 +18,8 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesExplClass {nwejm} - {2019/03/18} - {0.98f} + {2020-01-28} + {1.0.0} { Class for the journal "North-Western European Journal of Mathematics". } @@ -138,13 +138,25 @@ \RequirePackage{graphicx}% \RequirePackage{adjustbox}% \RequirePackage{xr} -\RequirePackage{currfile} \RequirePackage[multiple]{footmisc}% \RequirePackage{marginnote}% \RequirePackage{refcount}% \RequirePackage{xcolor}% \RequirePackage{afterpage}% \RequirePackage{ifoddpage}% +\RequirePackage{placeins}% +\RequirePackage{xspace}% +\RequirePackage[autostyle]{csquotes}% +\RequirePackage{array} +\RequirePackage{booktabs} +\RequirePackage{mathtools} +\RequirePackage[amsmath,thmmarks,fleqn]{ntheorem} +\RequirePackage{rsfso} +\RequirePackage{esvect} +\RequirePackage[easyscsl,noDcommand]{kpfonts} +\RequirePackage{geometry} +\RequirePackage{translations}% +\RequirePackage{currfile} \RequirePackage{import}% \bool_if:nT { \g__nwejm_for_authors_bool } { \RequirePackage{draftwatermark}[2006/06/30]% @@ -180,18 +192,6 @@ \RequirePackage[group=false,subpreambles,sort]{standalone}% } \RequirePackage{datatool}% -\RequirePackage{placeins}% -\RequirePackage{xspace}% -\RequirePackage[autostyle]{csquotes}% -\RequirePackage{array} -\RequirePackage{booktabs} -\RequirePackage{mathtools} -\RequirePackage[amsmath,thmmarks,fleqn]{ntheorem} -\RequirePackage{rsfso} -\RequirePackage{esvect} -\RequirePackage[easyscsl,noDcommand]{kpfonts} -\RequirePackage{geometry} -\RequirePackage{translations}% \RequirePackage{fmtcount}% \RequirePackage{babel}% \RequirePackage{varioref} @@ -237,6 +237,8 @@ \tl_const:Nn \c__nwejm_latexclass_string_tl {\LaTeX{}~class} \tl_const:Nn \c__nwejm_computer_engineering_string_tl {Computer~engineering~issues} \tl_const:Nn \c__nwejm_graphicdesign_string_tl {Graphic~design} +\tl_const:Nn \c__nwejm_publication_director_string_tl {Directeur~de~la~publication} +\tl_const:Nn \c__nwejm_composed_by_string_tl {Composition} \tl_const:Nn \c__nwejm_configuration_file_string_tl {nwejm.cfg} \bool_if:NT {\g__nwejm_cover_bool} { \tl_const:Nn \c__nwejm_frontcover_left_string_tl { @@ -645,7 +647,7 @@ \bfseries% \adjustbox{stack=l}{% \c__nwejm_journal_title_string_tl - \\\tl_mixed_case:n{\GetTranslation{volume-abbreviated}}\c_space_tl\int_use:N \g__nwejm_issue_number_int + \\\text_titlecase:n{\GetTranslation{volume-abbreviated}}\c_space_tl\int_use:N \g__nwejm_issue_number_int } } \hbox_set:Nn \l__nwejm_journal_logo_box @@ -940,11 +942,15 @@ \medskip% } }{ - \__nwejm_citeauthor_no_giveninits:n {\c__nwejm_issue_bib_key_tl -#1- - \exp_not:V\DTLcurrentindex}% - \tl_if_empty:NF \l__nwejm_people_email_tl - { - \c_space_tl(\__nwejm_email:n {\l__nwejm_people_email_tl}) + \tl_if_in:NnTF \l__nwejm_people_role_tl { publicationdirector } { + \__nwejm_citeauthor_no_giveninits:n {\c__nwejm_issue_bib_key_tl -#1- \exp_not:V\DTLcurrentindex},~ + \l__nwejm_people_affiliation_tl% + }{ + \__nwejm_citeauthor_no_giveninits:n {\c__nwejm_issue_bib_key_tl -#1- \exp_not:V\DTLcurrentindex}% + \tl_if_empty:NF \l__nwejm_people_email_tl + { + \c_space_tl(\__nwejm_email:n {\l__nwejm_people_email_tl}) + } } } } @@ -1170,6 +1176,20 @@ \__nwejm_display_people_by_role:n { graphicdesign } \end{description} \g__nwejm_font_designer_text_tl + \par + \vspace*{\stretch{1}} + \selectlanguage{french} + \shorthandon{;:!?} + \begin{description} + \item[\c__nwejm_publication_director_string_tl{}~:] + \__nwejm_display_people_by_role:n { publicationdirector } + \item[\c__nwejm_composed_by_string_tl{}~:] + \__nwejm_display_people_by_role:n { composer } + \end{description} + \DTMlangsetup*{showdayofmonth=false} + \centering + \g__nwejm_masthead_tl + \selectlanguage{english} \bool_gset_false:N \g__nwejm_inside_backcover_bool } \tl_new:N \g__nwejm_short_toc_tl% @@ -1260,7 +1280,7 @@ \tl_if_empty:NF {#2} { \tl_if_eq:NNF {\c__nwejm_date_received_tl} {#1} { \c__nwejm_dates_separator_tl } - \tl_mixed_case:n { \exp_args:No \GetTranslation{#1} } + \text_titlecase:n { \exp_args:No \GetTranslation{#1} } \c__nwejm_colon_tl\c_space_tl \DTMdate{#2}% } @@ -1291,7 +1311,7 @@ \tl_set:Nn \g__nwejm_msc_tl { \clist_use:Nnnn \l_tmpa_clist { ,~ } { ,~ } { ,~ } } %% \hypersetup{pdfmsc=\g_@@_msc_tl} } -\str_if_eq_x:nnTF \c_sys_jobname_str \c__nwejm_main_file_name_tl { +\str_if_eq:eeTF \c_sys_jobname_str \c__nwejm_main_file_name_tl { \bool_if:NT {\g__nwejm_cover_bool} { \msg_error:nn{nwejm}{Wrong~cover's~main~file~name!} } @@ -1353,6 +1373,14 @@ { \__nwejm_people:nnnnn {#1}{#2}{#3}{#4}{secretary} } +\NewDocumentCommand \publicationdirector {mmmm} +{ + \__nwejm_people:nnnnn {#1}{#2}{#3}{#4}{publicationdirector} +} +\NewDocumentCommand \composer {mmmm} +{ + \__nwejm_people:nnnnn {#1}{#2}{#3}{#4}{composer} +} \NewDocumentCommand \issuesetup { m } { \keys_set:nn { nwejm/issuesetup } {#1} \int_compare:nNnT {\g__nwejm_issue_number_int}<{1} @@ -1418,6 +1446,13 @@ \tl_gset:Nn \g__nwejm_authors_instructions_tl {#1} } } +\tl_new:N \g__nwejm_masthead_tl +\NewDocumentCommand \masthead { +m } { + \IfNoValueF {#1} + { + \tl_gset:Nn \g__nwejm_masthead_tl {#1} + } +} \vref@addto\extrasfrench{% \def\reftextfaceafter {page~\reftextvario{ci-contre}{suivante}}% \def\reftextfacebefore{page~\reftextvario{ci-contre}% @@ -1496,11 +1531,11 @@ } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{#1} } }{% - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{plural-#1} } } @@ -1610,7 +1645,7 @@ \clist_map_inline:Nn \g__nwejm_counters_to_be_reset_clist { \@ifundefined{c@##1}{ }{ - \setcounter{##1}{\c_zero} + \setcounter{##1}{\c_zero_int} } } \glsresetall @@ -1871,7 +1906,7 @@ \noindent { \bfseries - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-keyword} \c__nwejm_colon_tl } @@ -2044,22 +2079,22 @@ \int_set:Nn \l__nwejm_abs_int {\int_abs:n {#1}} \ifcurrentbaselanguage{english}{ \int_use:N \l__nwejm_abs_int - \int_set:Nn \l_tmpa_int {\int_mod:nn {\l__nwejm_abs_int} {\c_one_hundred}} + \int_set:Nn \l_tmpa_int {\int_mod:nn {\l__nwejm_abs_int} { 100 }} \int_case:nnF { \l_tmpa_int } { - { \c_eleven } { \fmtord{th} } - { \c_twelve } { \fmtord{th} } - { \c_thirteen } { \fmtord{th} } + { 11 } { \fmtord{th} } + { 12 } { \fmtord{th} } + { 13 } { \fmtord{th} } }{ - \int_set:Nn \l_tmpb_int {\int_mod:nn {\l__nwejm_abs_int} {\c_ten}} + \int_set:Nn \l_tmpb_int {\int_mod:nn {\l__nwejm_abs_int} { 10 }} \int_case:nnF { \l_tmpb_int } { - { \c_zero } { \fmtord{th} } - { \c_one } { \fmtord{st} } - { \c_two } { \fmtord{nd} } - { \c_three } { \fmtord{rd} } + { 0 } { \fmtord{th} } + { 1 } { \fmtord{st} } + { 2 } { \fmtord{nd} } + { 3 } { \fmtord{rd} } }{ \fmtord{th} } @@ -2196,42 +2231,41 @@ { \IfTranslation{English}{#1}{% }{% - \DeclareTranslation{English}{#1}{\tl_mixed_case:n{#2}}% + \DeclareTranslation{English}{#1}{\text_titlecase:n{#2}}% } \IfTranslation{French}{#1}{% }{% - \DeclareTranslation{French}{#1}{\tl_mixed_case:n{#3}}% + \DeclareTranslation{French}{#1}{\text_titlecase:n{#3}}% } \IfTranslation{German}{#1}{% }{% - \DeclareTranslation{German}{#1}{\tl_mixed_case:n{#4}}% + \DeclareTranslation{German}{#1}{\text_titlecase:n{#4}}% } \IfTranslation{Dutch}{#1}{% }{% - \DeclareTranslation{Dutch}{#1}{\tl_mixed_case:n{#5}}% + \DeclareTranslation{Dutch}{#1}{\text_titlecase:n{#5}}% } % \IfTranslation{English}{#1-plural}{% }{% - \DeclareTranslation{English}{#1-plural}{\tl_mixed_case:n{#6}}% + \DeclareTranslation{English}{#1-plural}{\text_titlecase:n{#6}}% } \IfTranslation{French}{#1-plural}{% }{% - \DeclareTranslation{French}{#1-plural}{\tl_mixed_case:n{#7}}% + \DeclareTranslation{French}{#1-plural}{\text_titlecase:n{#7}}% } \IfTranslation{German}{#1-plural}{% }{% - \DeclareTranslation{German}{#1-plural}{\tl_mixed_case:n{#8}}% + \DeclareTranslation{German}{#1-plural}{\text_titlecase:n{#8}}% } \IfTranslation{Dutch}{#1-plural}{% }{% - \DeclareTranslation{Dutch}{#1-plural}{\tl_mixed_case:n{#9}}% + \DeclareTranslation{Dutch}{#1-plural}{\text_titlecase:n{#9}}% } - \__nwejm_orig_newtheorem{#1}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \__nwejm_orig_newtheorem{#1}{\text_titlecase:n{ \GetTranslation{#1} }} \bool_if:NF {\g__nwejm_no_numbered_theorem_bool} { - \__nwejm_orig_newtheorem*{#1__nwejm_nonumbered}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \__nwejm_orig_newtheorem*{#1__nwejm_nonumbered}{\text_titlecase:n{ \GetTranslation{#1} }} } - } \cs_generate_variant:Nn \__nwejm_new_theorem:nnnnnnnnn { nVVVVVVVV } \RenewDocumentCommand \newtheorem { O{} m } @@ -2366,11 +2400,11 @@ \clist_put_right:Nn \g__nwejm_counters_to_be_reset_clist {#2} } \ifcurrentbaselanguage{french}{% - \crefname{#2}{\tl_lower_case:n{ \GetTranslation{#2} }}{\tl_lower_case:n{ \GetTranslation{#2-plural} }} + \crefname{#2}{\text_lowercase:n{ \GetTranslation{#2} }}{\text_lowercase:n{ \GetTranslation{#2-plural} }} }{% \crefname{#2}{\GetTranslation{#2}}{\GetTranslation{#2-plural}} } - \Crefname{#2}{\tl_mixed_case:n{ \GetTranslation{#2} }}{\tl_mixed_case:n{ \GetTranslation{#2-plural} }} + \Crefname{#2}{\text_titlecase:n{ \GetTranslation{#2} }}{\text_titlecase:n{ \GetTranslation{#2-plural} }} } \newtheorem{theorem} \newtheorem{corollary} @@ -2424,20 +2458,20 @@ } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } \Crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -2457,12 +2491,12 @@ \normalfont ( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $\c_math_subscript_token\mathsf{\arabic*}$), ref=( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $_\mathsf{\arabic*}$ ) @@ -2473,11 +2507,11 @@ \GetTranslation{plural-#1} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -2515,7 +2549,7 @@ } \tl_if_empty:cT {l__nwejm_newenumeration_#2_label_tl} { \tl_set:cV {l__nwejm_newenumeration_#2_label_tl} { - \tl_upper_case:n { + \text_uppercase:n { \tl_head:f { \tl_use:c {l__nwejm_newenumeration_#2_singular_tl} } @@ -2549,11 +2583,11 @@ \tl_use:c {l__nwejm_newenumeration_#1_plural_tl} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l__nwejm_newenumeration_#1_singular_tl} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l__nwejm_newenumeration_#1_plural_tl} } } @@ -3264,7 +3298,7 @@ \expandafter\def\expandafter\pdfstringdefPreHook \expandafter{% \pdfstringdefPreHook - \renewcommand{\acrshort}[1]{\tl_upper_case:n {\glsentryshort{##1}}}% + \renewcommand{\acrshort}[1]{\text_uppercase:n {\glsentryshort{##1}}}% } \@ifpackageloaded{draftwatermark}{% \SetWatermarkColor{gray!10}% @@ -3330,7 +3364,7 @@ } \ExplSyntaxOff %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx b/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx index 607ec309228..6ad76a5683b 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx @@ -13,7 +13,7 @@ %% See:| http://www.latex-project.org/lppl.txt %% %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx b/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx index 2650a70dee5..5c60fe65557 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx @@ -21,7 +21,7 @@ volumes = {{volumes}{vol\adddot}}, } %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls b/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls index 509a7234fce..0f0091be478 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls +++ b/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls @@ -18,8 +18,8 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesExplClass {nwejmart} - {2019/03/18} - {0.98f} + {2020-01-28} + {1.0.0} { Class for the journal "North-Western European Journal of Mathematics". } @@ -150,7 +150,6 @@ \RequirePackage{graphicx}% \RequirePackage{adjustbox}% \RequirePackage{xr} -\RequirePackage{currfile} \RequirePackage[multiple]{footmisc}% \RequirePackage{marginnote}% \RequirePackage{refcount}% @@ -169,6 +168,7 @@ \RequirePackage[easyscsl,noDcommand]{kpfonts} \RequirePackage{geometry} \RequirePackage{translations}% +\RequirePackage{currfile} \RequirePackage{fmtcount}% \RequirePackage{babel}% \RequirePackage{varioref} @@ -582,7 +582,7 @@ \tl_if_empty:NF {#2} { \tl_if_eq:NNF {\c__nwejm_date_received_tl} {#1} { \c__nwejm_dates_separator_tl } - \tl_mixed_case:n { \exp_args:No \GetTranslation{#1} } + \text_titlecase:n { \exp_args:No \GetTranslation{#1} } \c__nwejm_colon_tl\c_space_tl \DTMdate{#2}% } @@ -705,11 +705,11 @@ } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{#1} } }{% - \tl_lower_case:n{ + \text_lowercase:n{ \GetTranslationFor{french}{plural-#1} } } @@ -816,7 +816,7 @@ \clist_map_inline:Nn \g__nwejm_counters_to_be_reset_clist { \@ifundefined{c@##1}{ }{ - \setcounter{##1}{\c_zero} + \setcounter{##1}{\c_zero_int} } } \glsresetall @@ -1076,7 +1076,7 @@ \noindent { \bfseries - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-keyword} \c__nwejm_colon_tl } @@ -1251,22 +1251,22 @@ \int_set:Nn \l__nwejm_abs_int {\int_abs:n {#1}} \ifcurrentbaselanguage{english}{ \int_use:N \l__nwejm_abs_int - \int_set:Nn \l_tmpa_int {\int_mod:nn {\l__nwejm_abs_int} {\c_one_hundred}} + \int_set:Nn \l_tmpa_int {\int_mod:nn {\l__nwejm_abs_int} { 100 }} \int_case:nnF { \l_tmpa_int } { - { \c_eleven } { \fmtord{th} } - { \c_twelve } { \fmtord{th} } - { \c_thirteen } { \fmtord{th} } + { 11 } { \fmtord{th} } + { 12 } { \fmtord{th} } + { 13 } { \fmtord{th} } }{ - \int_set:Nn \l_tmpb_int {\int_mod:nn {\l__nwejm_abs_int} {\c_ten}} + \int_set:Nn \l_tmpb_int {\int_mod:nn {\l__nwejm_abs_int} { 10 }} \int_case:nnF { \l_tmpb_int } { - { \c_zero } { \fmtord{th} } - { \c_one } { \fmtord{st} } - { \c_two } { \fmtord{nd} } - { \c_three } { \fmtord{rd} } + { 0 } { \fmtord{th} } + { 1 } { \fmtord{st} } + { 2 } { \fmtord{nd} } + { 3 } { \fmtord{rd} } }{ \fmtord{th} } @@ -1403,42 +1403,41 @@ { \IfTranslation{English}{#1}{% }{% - \DeclareTranslation{English}{#1}{\tl_mixed_case:n{#2}}% + \DeclareTranslation{English}{#1}{\text_titlecase:n{#2}}% } \IfTranslation{French}{#1}{% }{% - \DeclareTranslation{French}{#1}{\tl_mixed_case:n{#3}}% + \DeclareTranslation{French}{#1}{\text_titlecase:n{#3}}% } \IfTranslation{German}{#1}{% }{% - \DeclareTranslation{German}{#1}{\tl_mixed_case:n{#4}}% + \DeclareTranslation{German}{#1}{\text_titlecase:n{#4}}% } \IfTranslation{Dutch}{#1}{% }{% - \DeclareTranslation{Dutch}{#1}{\tl_mixed_case:n{#5}}% + \DeclareTranslation{Dutch}{#1}{\text_titlecase:n{#5}}% } % \IfTranslation{English}{#1-plural}{% }{% - \DeclareTranslation{English}{#1-plural}{\tl_mixed_case:n{#6}}% + \DeclareTranslation{English}{#1-plural}{\text_titlecase:n{#6}}% } \IfTranslation{French}{#1-plural}{% }{% - \DeclareTranslation{French}{#1-plural}{\tl_mixed_case:n{#7}}% + \DeclareTranslation{French}{#1-plural}{\text_titlecase:n{#7}}% } \IfTranslation{German}{#1-plural}{% }{% - \DeclareTranslation{German}{#1-plural}{\tl_mixed_case:n{#8}}% + \DeclareTranslation{German}{#1-plural}{\text_titlecase:n{#8}}% } \IfTranslation{Dutch}{#1-plural}{% }{% - \DeclareTranslation{Dutch}{#1-plural}{\tl_mixed_case:n{#9}}% + \DeclareTranslation{Dutch}{#1-plural}{\text_titlecase:n{#9}}% } - \__nwejm_orig_newtheorem{#1}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \__nwejm_orig_newtheorem{#1}{\text_titlecase:n{ \GetTranslation{#1} }} \bool_if:NF {\g__nwejm_no_numbered_theorem_bool} { - \__nwejm_orig_newtheorem*{#1__nwejm_nonumbered}{\tl_mixed_case:n{ \GetTranslation{#1} }} + \__nwejm_orig_newtheorem*{#1__nwejm_nonumbered}{\text_titlecase:n{ \GetTranslation{#1} }} } - } \cs_generate_variant:Nn \__nwejm_new_theorem:nnnnnnnnn { nVVVVVVVV } \RenewDocumentCommand \newtheorem { O{} m } @@ -1573,11 +1572,11 @@ \clist_put_right:Nn \g__nwejm_counters_to_be_reset_clist {#2} } \ifcurrentbaselanguage{french}{% - \crefname{#2}{\tl_lower_case:n{ \GetTranslation{#2} }}{\tl_lower_case:n{ \GetTranslation{#2-plural} }} + \crefname{#2}{\text_lowercase:n{ \GetTranslation{#2} }}{\text_lowercase:n{ \GetTranslation{#2-plural} }} }{% \crefname{#2}{\GetTranslation{#2}}{\GetTranslation{#2-plural}} } - \Crefname{#2}{\tl_mixed_case:n{ \GetTranslation{#2} }}{\tl_mixed_case:n{ \GetTranslation{#2-plural} }} + \Crefname{#2}{\text_titlecase:n{ \GetTranslation{#2} }}{\text_titlecase:n{ \GetTranslation{#2-plural} }} } \newtheorem{theorem} \newtheorem{corollary} @@ -1631,20 +1630,20 @@ } \clist_map_inline:Nn \l_tmpa_clist { \crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } \Crefname{#1}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -1664,12 +1663,12 @@ \normalfont ( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $\c_math_subscript_token\mathsf{\arabic*}$), ref=( \textsf{ - \tl_upper_case:n {\tl_head:f {\GetTranslation{#1}}} + \text_uppercase:n {\tl_head:f {\GetTranslation{#1}}} } $_\mathsf{\arabic*}$ ) @@ -1680,11 +1679,11 @@ \GetTranslation{plural-#1} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{#1} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \GetTranslation{plural-#1} } } @@ -1722,7 +1721,7 @@ } \tl_if_empty:cT {l__nwejm_newenumeration_#2_label_tl} { \tl_set:cV {l__nwejm_newenumeration_#2_label_tl} { - \tl_upper_case:n { + \text_uppercase:n { \tl_head:f { \tl_use:c {l__nwejm_newenumeration_#2_singular_tl} } @@ -1756,11 +1755,11 @@ \tl_use:c {l__nwejm_newenumeration_#1_plural_tl} } \Crefname{#1i}{ - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l__nwejm_newenumeration_#1_singular_tl} } }{% - \tl_mixed_case:n{ + \text_titlecase:n{ \tl_use:c {l__nwejm_newenumeration_#1_plural_tl} } } @@ -2461,7 +2460,7 @@ \__nwejm_printbibliography[heading=__nwejm_subbibliography,resetnumbers,#1] \bool_if:NF \g__nwejm_nolocaltoc_bool { \newpage - \setcounter{page}{\c_zero} + \setcounter{page}{\c_zero_int} \pagenumbering{roman}% \etocarticlestylenomarks \etocsetlevel{chapter}{6} @@ -2479,7 +2478,7 @@ \expandafter\def\expandafter\pdfstringdefPreHook \expandafter{% \pdfstringdefPreHook - \renewcommand{\acrshort}[1]{\tl_upper_case:n {\glsentryshort{##1}}}% + \renewcommand{\acrshort}[1]{\text_uppercase:n {\glsentryshort{##1}}}% } \@ifpackageloaded{draftwatermark}{% \SetWatermarkColor{gray!10}% @@ -2534,7 +2533,7 @@ } \ExplSyntaxOff %% -%% Copyright (C) 2015-2019 by Denis Bitouze +%% Copyright (C) 2015-2020 by Denis Bitouze %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either -- cgit v1.2.3