texlive[70606] branches/branch2023.final/Master/texmf-dist: nwejm

commits+karl at tug.org commits+karl at tug.org
Mon Mar 11 21:02:07 CET 2024


Revision: 70606
          https://tug.org/svn/texlive?view=revision&revision=70606
Author:   karl
Date:     2024-03-11 21:02:07 +0100 (Mon, 11 Mar 2024)
Log Message:
-----------
nwejm (branch) (11mar24)

Modified Paths:
--------------
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/README.md
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.tex
    branches/branch2023.final/Master/texmf-dist/source/latex/nwejm/nwejm.dtx
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cls
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx
    branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/CHANGELOG.md	2024-03-11 20:02:07 UTC (rev 70606)
@@ -1,5 +1,12 @@
 # [Unreleased]
 
+# [1.0.6] - 2024-02-08
+
+## Fixed
+- (First) Page numbers could be not the same in whole issue and in standalone
+  articles.
+- Minor tweaks in the code.
+
 # [1.0.5] - 2022-09-21
 
 ## Fixed

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/README.md
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/README.md	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/README.md	2024-03-11 20:02:07 UTC (rev 70606)
@@ -8,7 +8,7 @@
 
 Release
 -------
-2022-09-21 v1.0.5
+2024-02-08 v1.0.6
 
 Development
 -----------

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.tex	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/english/nwejm-en.tex	2024-03-11 20:02:07 UTC (rev 70606)
@@ -9,8 +9,8 @@
 
 \documentclass[english,nolocaltoc]{nwejmart}
 %
-\DTMsavedate{release-date}{2022-09-21}
-\newcommand{\releaseversion}{1.0.5}
+\DTMsavedate{release-date}{2024-02-08}
+\newcommand{\releaseversion}{1.0.6}
 %
 \usepackage[nwejm]{denisbdoc}
 \usepackage{tabulary}

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-dutch.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-english.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-french.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/article-in-german.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/examples/issue.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.tex	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/nwejm/french/nwejm-fr.tex	2024-03-11 20:02:07 UTC (rev 70606)
@@ -9,8 +9,8 @@
 %
 \documentclass[french,nolocaltoc]{nwejmart}
 %
-\DTMsavedate{release-date}{2022-09-21}
-\newcommand{\releaseversion}{1.0.5}
+\DTMsavedate{release-date}{2024-02-08}
+\newcommand{\releaseversion}{1.0.6}
 %
 \usepackage[nwejm]{denisbdoc}
 \usepackage{tabulary}
@@ -37,6 +37,17 @@
   ^^^^27e9% Right-Pointing Angle Bracket
   ^^00}
 \lst at RestoreCatcodes
+
+\NewDocumentCommand{\myarrow}{}{{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char213}}
+\RenewDocumentCommand\tcb at ref@doc{msm}{%
+  \hyperref[#1:#3]{\texttt{\ref*{#1:#3}}%
+  \IfBooleanTF{#2}{}{%
+    \ifnum\getpagerefnumber{#1:#3}=\thepage\relax%
+    \else%
+      \up*{\myarrow%
+      \,\kvtcb at text@pageshort\,\pageref*{#1:#3}}%
+    \fi}}%
+}
 \makeatother
 %
 \indexsetup{level=\section*,toclevel=section,noclearpage}

Modified: branches/branch2023.final/Master/texmf-dist/source/latex/nwejm/nwejm.dtx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/source/latex/nwejm/nwejm.dtx	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/source/latex/nwejm/nwejm.dtx	2024-03-11 20:02:07 UTC (rev 70606)
@@ -27,7 +27,7 @@
 % This field contains the version of the package.
 % The value is optional.
 % The value is restricted to 32 characters.
-\version{1.0.5 2022-09-21}
+\version{1.0.6 2024-02-08}
 % -------------------------------------------------------------------------
 % This field contains the name of the author(s).
 % The value is optional.
@@ -144,6 +144,13 @@
 %    \end{macrocode}
 # [Unreleased]
 
+# [1.0.6] - 2024-02-08
+
+## Fixed
+- (First) Page numbers could be not the same in whole issue and in standalone
+  articles.
+- Minor tweaks in the code.
+
 # [1.0.5] - 2022-09-21
 
 ## Fixed
@@ -292,7 +299,7 @@
 
 Release
 -------
-2022-09-21 v1.0.5
+2024-02-08 v1.0.6
 
 Development
 -----------
@@ -323,7 +330,7 @@
 \input l3docstrip.tex
 \Msg{********************************************************}
 \Msg{* Installation}
-\Msg{* Class: nwejm 2022-09-21 v1.0.5}
+\Msg{* Class: nwejm 2024-02-08 v1.0.6}
 \Msg{* for the journal}
 \Msg{* "North-Western European Journal of Mathematics" (DB)}
 \Msg{********************************************************}
@@ -340,7 +347,7 @@
 \endpreamble
 \postamble
 
-Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License (LPPL), either
@@ -561,14 +568,6 @@
 % commands.
 %
 % \begin{itemize}
-% \item A generic document command parser:
-%    \begin{macrocode}
-\RequirePackage{xparse}
-%    \end{macrocode}
-% \item \LaTeXe{} option processing using \LaTeX3 keys:
-%    \begin{macrocode}
-\RequirePackage{l3keys2e}
-%    \end{macrocode}
 % % \item Sorting lists (since \Pkg{l3sort} is about to move from `experimental'
 % % to `stable' status, the \File{l3sort.sty} will be removed soonish):
 % %    \begin{macrocode}
@@ -607,8 +606,8 @@
 \ProvidesExplClass
 %<class>  {nwejm}
 %<class-article>  {nwejmart}
-  {2022-09-21}
-  {1.0.5}
+  {2024-02-08}
+  {1.0.6}
   {
     Class for the journal "North-Western European Journal of Mathematics".
   }
@@ -685,7 +684,13 @@
 %<class-article>   current~ article.}%
 %    \end{macrocode}
 %
+%   In order to automatically fix the first page number each of the articles, we
+%   define a related integer.
 %    \begin{macrocode}
+\int_new:N \l_@@_first_page_number_int%
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 %</class|class-article>
 %    \end{macrocode}
 %
@@ -830,7 +835,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProcessKeysOptions { nwejm }
+\ProcessKeyOptions [nwejm]
 %    \end{macrocode}
 %
 % \subsection{Class loading}
@@ -904,6 +909,12 @@
 \RequirePackage[l2tabu,orthodox]{nag}
 %    \end{macrocode}
 %
+% \item Extension to \Pkg{amsmath}: correct various bugs/defeciencies in amsmath
+%   and useful tools for mathematical typesetting:
+%    \begin{macrocode}
+\RequirePackage{mathtools}
+%    \end{macrocode}
+%
 % \item In case of \hologo{pdfTeX} engine, we enforce \pkg{fontenc} to be
 %   loaded with its \docAuxKey*{T1} option. Otherwise \pkg{fontspec},
 %   convenient for both \hologo{XeLaTeX} and \hologo{LuaLaTeX}, is loaded by the
@@ -926,7 +937,7 @@
 %
 % \item Unicode mathematics support for \hologo{XeTeX} and \hologo{LuaTeX}:
 %    \begin{macrocode}
-  \RequirePackage{unicode-math}
+  \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
 %    \end{macrocode}
 %
 % \item OTF version of the Kp-fonts for both roman and sans-serif font, but
@@ -1013,12 +1024,6 @@
 \RequirePackage{booktabs}
 %    \end{macrocode}
 %
-% \item Extension to \Pkg{amsmath}: correct various bugs/defeciencies in amsmath
-%   and useful tools for mathematical typesetting:
-%    \begin{macrocode}
-\RequirePackage{mathtools}
-%    \end{macrocode}
-%
 % \item Extensions to theorem environments:
 %    \begin{macrocode}
 \RequirePackage[amsmath,thmmarks,fleqn]{ntheorem}
@@ -1149,6 +1154,11 @@
 \RequirePackage{babel}%
 %    \end{macrocode}
 %
+% \item :
+%    \begin{macrocode}
+\RequirePackage{listings}%
+%    \end{macrocode}
+%
 % \item Intelligent page references:
 %    \begin{macrocode}
 \RequirePackage{varioref}
@@ -1325,7 +1335,7 @@
 %    \end{macrocode}
 % For the field editor.
 %    \begin{macrocode}
-\tl_const:Nn \c_@@_field_editor_string_tl {Field~Editor}
+\tl_const:Nn \c_@@_field_editor_string_tl {Fields~Editor}
 %    \end{macrocode}
 % For the editorial secretariat.
 %    \begin{macrocode}
@@ -3186,11 +3196,11 @@
 %<class-article>\file_if_exist:nTF { \c_@@_main_file_name_tl.aux }
 %<class-article>{
 %<class-article>   \externaldocument[@@-]{\c_@@_main_file_name_tl}
-%<class-article>   \cs_generate_variant:Nn \int_set:Nn { Nx }
-%<class-article>   \int_set:Nx \l_tmpa_int {\number\numexpr\getpagerefnumber{@@-\currfilebase}}
-%<class-article>   \int_compare:nNnTF {\l_tmpa_int} > {0}
+%<class-article>   \cs_generate_variant:Nn \int_set:Nn { Ne }
+%<class-article>   \int_set:Ne \l_@@_first_page_number_int {\number\numexpr\getpagerefnumber{@@-\currfilebase}}
+%<class-article>   \int_compare:nNnTF {\l_@@_first_page_number_int} > {0}
 %<class-article>   {
-%<class-article>     \AddToHook{begindocument/end}{\setcounter{page}{\l_tmpa_int}}
+%<class-article>     \AddToHook{begindocument/end}{\setcounter{page}{\l_@@_first_page_number_int}}
 %<class-article>   }{
 %<class-article>     \msg_error:nn{nwejmart}{Something~wrong~with~page~numbers}
 %<class-article>   }

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.bbx	2024-03-11 20:02:07 UTC (rev 70606)
@@ -96,7 +96,7 @@
 \renewcommand*\bibnamedelimd{\addnbspace}
 \DeclareFieldFormat{journaltitle}{\mkbibemph{#1\isdot}}
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cbx	2024-03-11 20:02:07 UTC (rev 70606)
@@ -145,7 +145,7 @@
  %  {\usebibmacro{textcite:postnote}}
 \ExecuteBibliographyOptions{autocite=nwejmfootcite}
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cls
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cls	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.cls	2024-03-11 20:02:07 UTC (rev 70606)
@@ -12,14 +12,12 @@
 %% License:| Released under the LaTeX Project Public License v1.3c or later
 %%     See:| http://www.latex-project.org/lppl.txt
 %% 
-\RequirePackage{xparse}
-\RequirePackage{l3keys2e}
 \RequirePackage{etoolbox}
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesExplClass
   {nwejm}
-  {2022-09-21}
-  {1.0.5}
+  {2024-02-08}
+  {1.0.6}
   {
     Class for the journal "North-Western European Journal of Mathematics".
   }
@@ -75,6 +73,7 @@
   size~parameter~specified~ (`#1')~is~ not~ allowed:~ only~ `0',~`1'~(or~
   `\string\big'),~`2'~(or~ `\string\Big'),~`3'~(or~ `\string\big'g)~and~`4'~(or~
   `\string\Bigg')~ are ~ allowed. ~ It~ will~ be~ ignored.}%
+\int_new:N \l__nwejm_first_page_number_int%
 \bool_new:N \g__nwejm_for_authors_bool
 \bool_new:N \g__nwejm_for_printer_bool
 \bool_new:N \g__nwejm_cover_bool
@@ -112,7 +111,7 @@
     \PassOptionsToClass{draft}{book}
   },%
 }%
-\ProcessKeysOptions { nwejm }
+\ProcessKeyOptions [nwejm]
 \LoadClass { book }
 \PassOptionsToPackage{export}{adjustbox}%
 \PassOptionsToPackage{fleqn}{amsmath}%
@@ -126,12 +125,13 @@
 \PassOptionsToPackage{french,ngerman,dutch,english}{babel}
 \PassOptionsToPackage{french,ngerman,dutch,english}{varioref}
 \RequirePackage[l2tabu,orthodox]{nag}
+\RequirePackage{mathtools}
 \sys_if_engine_pdftex:TF
 {
   \RequirePackage[T1]{fontenc}
   \RequirePackage[noDcommand]{kpfonts}
 }{
-  \RequirePackage{unicode-math}
+  \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
   \RequirePackage[noDcommand]{kpfonts-otf}
   \setmonofont[Scale = MatchLowercase]{Latin Modern Mono}
 }
@@ -150,7 +150,6 @@
 \RequirePackage[autostyle]{csquotes}%
 \RequirePackage{array}
 \RequirePackage{booktabs}
-\RequirePackage{mathtools}
 \RequirePackage[amsmath,thmmarks,fleqn]{ntheorem}
 \RequirePackage{esvect}
 \RequirePackage{geometry}
@@ -193,6 +192,7 @@
 \RequirePackage{datatool}%
 \RequirePackage{fmtcount}%
 \RequirePackage{babel}%
+\RequirePackage{listings}%
 \RequirePackage{varioref}
 \RequirePackage{subcaption}
 \RequirePackage{tocvsec2}
@@ -228,7 +228,7 @@
 \tl_const:Nn \c__nwejm_editorinchief_string_tl {Editor~in~Chief}
 \tl_const:Nn \c__nwejm_associate_editors_string_tl {Associate~Editors}
 \tl_const:Nn \c__nwejm_managing_editor_string_tl {Managing~Editor}
-\tl_const:Nn \c__nwejm_field_editor_string_tl {Field~Editor}
+\tl_const:Nn \c__nwejm_field_editor_string_tl {Fields~Editor}
 \tl_const:Nn \c__nwejm_editorial_secretariat_string_tl {Secretariat}
 \tl_const:Nn \c__nwejm_phone_string_tl {Tel.}
 \tl_const:Nn \c__nwejm_issn_string_tl {\textsc{issn}}
@@ -3395,7 +3395,7 @@
 }
 \ExplSyntaxOff
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.dbx	2024-03-11 20:02:07 UTC (rev 70606)
@@ -13,7 +13,7 @@
 %%     See:| http://www.latex-project.org/lppl.txt
 %% 
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejm.lbx	2024-03-11 20:02:07 UTC (rev 70606)
@@ -21,7 +21,7 @@
     volumes          = {{volumes}{vol\adddot}},
   }
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls	2024-03-11 20:01:04 UTC (rev 70605)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls	2024-03-11 20:02:07 UTC (rev 70606)
@@ -12,14 +12,12 @@
 %% License:| Released under the LaTeX Project Public License v1.3c or later
 %%     See:| http://www.latex-project.org/lppl.txt
 %% 
-\RequirePackage{xparse}
-\RequirePackage{l3keys2e}
 \RequirePackage{etoolbox}
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesExplClass
   {nwejmart}
-  {2022-09-21}
-  {1.0.5}
+  {2024-02-08}
+  {1.0.6}
   {
     Class for the journal "North-Western European Journal of Mathematics".
   }
@@ -83,6 +81,7 @@
    `\string\inputarticle\string{\c_sys_jobname_str\string}'~ and~ the~ resulting~
    `\c__nwejm_main_file_name_tl.pdf'~ actually~ contains~ the~ content~ of~ the~
    current~ article.}%
+\int_new:N \l__nwejm_first_page_number_int%
 \bool_new:N \g__nwejm_language_specified_bool
 \cs_new_protected:Nn \__nwejm_language:n
 {
@@ -135,7 +134,7 @@
     \bool_gset_true:N \g__nwejm_nolocaltoc_bool
   },%
 }%
-\ProcessKeysOptions { nwejm }
+\ProcessKeyOptions [nwejm]
 \LoadClass { book }
 \PassOptionsToPackage{export}{adjustbox}%
 \PassOptionsToPackage{fleqn}{amsmath}%
@@ -144,12 +143,13 @@
   \__nwejm_language:n {english}
 }
 \RequirePackage[l2tabu,orthodox]{nag}
+\RequirePackage{mathtools}
 \sys_if_engine_pdftex:TF
 {
   \RequirePackage[T1]{fontenc}
   \RequirePackage[noDcommand]{kpfonts}
 }{
-  \RequirePackage{unicode-math}
+  \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
   \RequirePackage[noDcommand]{kpfonts-otf}
   \setmonofont[Scale = MatchLowercase]{Latin Modern Mono}
 }
@@ -168,7 +168,6 @@
 \RequirePackage[autostyle]{csquotes}%
 \RequirePackage{array}
 \RequirePackage{booktabs}
-\RequirePackage{mathtools}
 \RequirePackage[amsmath,thmmarks,fleqn]{ntheorem}
 \RequirePackage{esvect}
 \RequirePackage{geometry}
@@ -176,6 +175,7 @@
 \RequirePackage{currfile}
 \RequirePackage{fmtcount}%
 \RequirePackage{babel}%
+\RequirePackage{listings}%
 \RequirePackage{varioref}
 \RequirePackage{subcaption}
 \RequirePackage{tocvsec2}
@@ -634,11 +634,11 @@
 \file_if_exist:nTF { \c__nwejm_main_file_name_tl.aux }
 {
    \externaldocument[__nwejm-]{\c__nwejm_main_file_name_tl}
-   \cs_generate_variant:Nn \int_set:Nn { Nx }
-   \int_set:Nx \l_tmpa_int {\number\numexpr\getpagerefnumber{__nwejm-\currfilebase}}
-   \int_compare:nNnTF {\l_tmpa_int} > {0}
+   \cs_generate_variant:Nn \int_set:Nn { Ne }
+   \int_set:Ne \l__nwejm_first_page_number_int {\number\numexpr\getpagerefnumber{__nwejm-\currfilebase}}
+   \int_compare:nNnTF {\l__nwejm_first_page_number_int} > {0}
    {
-     \AddToHook{begindocument/end}{\setcounter{page}{\l_tmpa_int}}
+     \AddToHook{begindocument/end}{\setcounter{page}{\l__nwejm_first_page_number_int}}
    }{
      \msg_error:nn{nwejmart}{Something~wrong~with~page~numbers}
    }
@@ -2487,7 +2487,7 @@
 }
 \ExplSyntaxOff
 %% 
-%% Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
+%% Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze at univ-littoral.fr>
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License (LPPL), either



More information about the tex-live-commits mailing list.