diff options
Diffstat (limited to 'macros/latex/contrib/nwejm/source/nwejm.dtx')
-rw-r--r-- | macros/latex/contrib/nwejm/source/nwejm.dtx | 64 |
1 files changed, 37 insertions, 27 deletions
diff --git a/macros/latex/contrib/nwejm/source/nwejm.dtx b/macros/latex/contrib/nwejm/source/nwejm.dtx index 73840d7333..f5efe4c4f1 100644 --- a/macros/latex/contrib/nwejm/source/nwejm.dtx +++ b/macros/latex/contrib/nwejm/source/nwejm.dtx @@ -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 @@ This update consists only in a logo file renamed as requested by Karl Berry. % \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 @@ new journal “North-Western European Journal of Mathematics”. Release ------- -2022-09-21 v1.0.5 +2024-02-08 v1.0.6 Development ----------- @@ -323,7 +330,7 @@ https://github.com/dbitouze/nwejm. \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 @@ License:| Released under the LaTeX Project Public License v1.3c or later \endpreamble \postamble -Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze@univ-littoral.fr> +Copyright (C) 2015-2024 by Denis Bitouze <denis.bitouze@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 @@ Running "make install" installs the files in the local TeX tree. % 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 @@ Running "make install" installs the files in the local TeX tree. \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,6 +684,12 @@ Running "make install" installs the files in the local TeX tree. %<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 @@ Running "make install" installs the files in the local TeX tree. % \end{macrocode} % % \begin{macrocode} -\ProcessKeysOptions { nwejm } +\ProcessKeyOptions [nwejm] % \end{macrocode} % % \subsection{Class loading} @@ -904,6 +909,12 @@ Running "make install" installs the files in the local TeX tree. \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 @@ Running "make install" installs the files in the local TeX tree. % % \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 @@ Running "make install" installs the files in the local TeX tree. \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 @@ Running "make install" installs the files in the local TeX tree. \RequirePackage{babel}% % \end{macrocode} % +% \item : +% \begin{macrocode} +\RequirePackage{listings}% +% \end{macrocode} +% % \item Intelligent page references: % \begin{macrocode} \RequirePackage{varioref} @@ -1325,7 +1335,7 @@ Running "make install" installs the files in the local TeX tree. % \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 @@ Running "make install" installs the files in the local TeX tree. %<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> } |