summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nwejm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-12 03:00:58 +0000
committerNorbert Preining <norbert@preining.info>2024-03-12 03:00:58 +0000
commitd297b9ceca6496ab2982347e29bb4db2be6261ad (patch)
tree3ee6e6b38f47ae1f7b20dbd5e5a453f17cb3fe14 /macros/latex/contrib/nwejm
parentd0e99dfc632984d24851f9160409ef583a011f48 (diff)
CTAN sync 202403120300
Diffstat (limited to 'macros/latex/contrib/nwejm')
-rw-r--r--macros/latex/contrib/nwejm/README.md2
-rw-r--r--macros/latex/contrib/nwejm/doc/english/nwejm-en.pdfbin324653 -> 318860 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/english/nwejm-en.tex4
-rw-r--r--macros/latex/contrib/nwejm/doc/examples/article-in-dutch.pdfbin199039 -> 199291 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/examples/article-in-english.pdfbin194867 -> 194934 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/examples/article-in-french.pdfbin251488 -> 251770 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/examples/article-in-german.pdfbin202196 -> 202304 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/examples/issue.pdfbin397932 -> 397932 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/french/nwejm-fr.pdfbin345097 -> 339633 bytes
-rw-r--r--macros/latex/contrib/nwejm/doc/french/nwejm-fr.tex15
-rw-r--r--macros/latex/contrib/nwejm/source/nwejm.dtx64
11 files changed, 53 insertions, 32 deletions
diff --git a/macros/latex/contrib/nwejm/README.md b/macros/latex/contrib/nwejm/README.md
index 51b2bfc391..d61c3674a2 100644
--- a/macros/latex/contrib/nwejm/README.md
+++ b/macros/latex/contrib/nwejm/README.md
@@ -8,7 +8,7 @@ new journal “North-Western European Journal of Mathematics”.
Release
-------
-2022-09-21 v1.0.5
+2024-02-08 v1.0.6
Development
-----------
diff --git a/macros/latex/contrib/nwejm/doc/english/nwejm-en.pdf b/macros/latex/contrib/nwejm/doc/english/nwejm-en.pdf
index b6723ddf7d..ff0487f25c 100644
--- a/macros/latex/contrib/nwejm/doc/english/nwejm-en.pdf
+++ b/macros/latex/contrib/nwejm/doc/english/nwejm-en.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/english/nwejm-en.tex b/macros/latex/contrib/nwejm/doc/english/nwejm-en.tex
index 57e382120f..9c6f0a214c 100644
--- a/macros/latex/contrib/nwejm/doc/english/nwejm-en.tex
+++ b/macros/latex/contrib/nwejm/doc/english/nwejm-en.tex
@@ -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}
diff --git a/macros/latex/contrib/nwejm/doc/examples/article-in-dutch.pdf b/macros/latex/contrib/nwejm/doc/examples/article-in-dutch.pdf
index cc2aa090f7..93f7b52ce2 100644
--- a/macros/latex/contrib/nwejm/doc/examples/article-in-dutch.pdf
+++ b/macros/latex/contrib/nwejm/doc/examples/article-in-dutch.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/examples/article-in-english.pdf b/macros/latex/contrib/nwejm/doc/examples/article-in-english.pdf
index 9d486cc520..e494f1446a 100644
--- a/macros/latex/contrib/nwejm/doc/examples/article-in-english.pdf
+++ b/macros/latex/contrib/nwejm/doc/examples/article-in-english.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/examples/article-in-french.pdf b/macros/latex/contrib/nwejm/doc/examples/article-in-french.pdf
index 83cbf7c07b..d96142e528 100644
--- a/macros/latex/contrib/nwejm/doc/examples/article-in-french.pdf
+++ b/macros/latex/contrib/nwejm/doc/examples/article-in-french.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/examples/article-in-german.pdf b/macros/latex/contrib/nwejm/doc/examples/article-in-german.pdf
index 50ae92ace9..c387c8e46a 100644
--- a/macros/latex/contrib/nwejm/doc/examples/article-in-german.pdf
+++ b/macros/latex/contrib/nwejm/doc/examples/article-in-german.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/examples/issue.pdf b/macros/latex/contrib/nwejm/doc/examples/issue.pdf
index cfedc3e940..269480c9b8 100644
--- a/macros/latex/contrib/nwejm/doc/examples/issue.pdf
+++ b/macros/latex/contrib/nwejm/doc/examples/issue.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/french/nwejm-fr.pdf b/macros/latex/contrib/nwejm/doc/french/nwejm-fr.pdf
index 2f80d2cac4..0935c8c4a7 100644
--- a/macros/latex/contrib/nwejm/doc/french/nwejm-fr.pdf
+++ b/macros/latex/contrib/nwejm/doc/french/nwejm-fr.pdf
Binary files differ
diff --git a/macros/latex/contrib/nwejm/doc/french/nwejm-fr.tex b/macros/latex/contrib/nwejm/doc/french/nwejm-fr.tex
index 6923a6d8cb..891c0d0ef7 100644
--- a/macros/latex/contrib/nwejm/doc/french/nwejm-fr.tex
+++ b/macros/latex/contrib/nwejm/doc/french/nwejm-fr.tex
@@ -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@RestoreCatcodes
+
+\NewDocumentCommand{\myarrow}{}{{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char213}}
+\RenewDocumentCommand\tcb@ref@doc{msm}{%
+ \hyperref[#1:#3]{\texttt{\ref*{#1:#3}}%
+ \IfBooleanTF{#2}{}{%
+ \ifnum\getpagerefnumber{#1:#3}=\thepage\relax%
+ \else%
+ \up*{\myarrow%
+ \,\kvtcb@text@pageshort\,\pageref*{#1:#3}}%
+ \fi}}%
+}
\makeatother
%
\indexsetup{level=\section*,toclevel=section,noclearpage}
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> }