diff options
Diffstat (limited to 'macros/latex/contrib/nwejm/source/nwejm.dtx')
-rw-r--r-- | macros/latex/contrib/nwejm/source/nwejm.dtx | 79 |
1 files changed, 59 insertions, 20 deletions
diff --git a/macros/latex/contrib/nwejm/source/nwejm.dtx b/macros/latex/contrib/nwejm/source/nwejm.dtx index f81c144879..73840d7333 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.4 2022-02-21} +\version{1.0.5 2022-09-21} % ------------------------------------------------------------------------- % This field contains the name of the author(s). % The value is optional. @@ -128,6 +128,7 @@ Mathematics”](http://math.univ-lille1.fr/~nwejm/): % The value is optional. % The value is restricted to 2048 characters. \begin{note} +This update consists only in a logo file renamed as requested by Karl Berry. \end{note} % ------------------------------------------------------------------------- % This field contains the archive file. @@ -143,6 +144,17 @@ Mathematics”](http://math.univ-lille1.fr/~nwejm/): % \end{macrocode} # [Unreleased] +# [1.0.5] - 2022-09-21 + +## Fixed +(First) Page numbers could be not the same in whole issue and in standalone articles. + +## Added +English translation of the documentation. + +## Changed + `\fixpagenumber` restricted to preamble (`nwejm` class only, not used by the authors). + # [1.0.4] - 2022-02-21 ## Changed @@ -156,8 +168,8 @@ Logo file renamed for consistency. ## Fixed - Authors in headers appeared one page too early. -- `\begin{alignat}{X}...` displayed "X". -- Boring warning "unable to apply patch 'eqnum'". +- `\begin{alignat}{X}...` displayed “X”. +- Boring warning “unable to apply patch 'eqnum'”. - Conflicts between `tikzcd` and (Dutch) `babel`. # [1.0.2] - 2021-10-12 @@ -186,11 +198,11 @@ Logo file renamed for consistency. # [0.98f] - 2019-03-18 ## Added -- Built-in "conditions" enumeration. +- 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`. +- “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. @@ -206,7 +218,7 @@ Logo file renamed for consistency. ## Changed - Track changes in `expl3`. - Support for `biblatex` 3.8 changes. -- "Cont. next page" notifications for `align` and `multline` across page breaks. +- “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`, @@ -228,7 +240,7 @@ Logo file renamed for consistency. - Adjustments because of deprecated functions removed from `expl3`. ## Fixed -- Fix "n.d." appeared in case `.bib` files use `year` field instead of `date` +- Fix “n.d.” appeared in case `.bib` files use `year` field instead of `date` field. - Other minor bug fix. @@ -270,17 +282,17 @@ Logo file renamed for consistency. % \end{macrocode} % %<*readme> -nwejm - Support for the journal "North-Western European Journal of Mathematics" +nwejm - Support for the journal “North-Western European Journal of Mathematics” =============================================================================== About ------- This bundle includes LaTeX classes and `biblatex` styles files dedicated to the -new journal "North-Western European Journal of Mathematics". +new journal “North-Western European Journal of Mathematics”. Release ------- -2022-02-21 v1.0.4 +2022-09-21 v1.0.5 Development ----------- @@ -311,7 +323,7 @@ https://github.com/dbitouze/nwejm. \input l3docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: nwejm 2022-02-21 v1.0.4} +\Msg{* Class: nwejm 2022-09-21 v1.0.5} \Msg{* for the journal} \Msg{* "North-Western European Journal of Mathematics" (DB)} \Msg{********************************************************} @@ -595,8 +607,8 @@ Running "make install" installs the files in the local TeX tree. \ProvidesExplClass %<class> {nwejm} %<class-article> {nwejmart} - {2022-02-21} - {1.0.4} + {2022-09-21} + {1.0.5} { Class for the journal "North-Western European Journal of Mathematics". } @@ -663,6 +675,14 @@ Running "make install" installs the files in the local TeX tree. 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.}% +%<class-article> \msg_new:nnn{nwejmart}{Something~wrong~with~page~numbers}{The~ first~ page~ +%<class-article> number~ of~ the~ current~ article~ (`\c_sys_jobname_str.tex')~ is~ supposed~ +%<class-article> to~ be~ extracted~ from~ the~ file~ `\c_@@_main_file_name_tl.aux`~ but~ the~ +%<class-article> latter~ doesn't~ contain~ any~ relevant~ information~ for~ this~ purpose.~ +%<class-article> Double~ check~ the~ `\c_@@_main_file_name_tl.tex'~ file~ actually~ contains~ +%<class-article> `\string\inputarticle\string{\c_sys_jobname_str\string}'~ and~ the~ resulting~ +%<class-article> `\c_@@_main_file_name_tl.pdf'~ actually~ contains~ the~ content~ of~ the~ +%<class-article> current~ article.}% % \end{macrocode} % % \begin{macrocode} @@ -3150,20 +3170,41 @@ Running "make install" installs the files in the local TeX tree. %<class>} % \end{macrocode} % +% If the auxiliairy ×issue.aux× file: +% \begin{itemize} +% \item does exist, the first page number of the article gets extracted from here, +% at least if the relevant information (×\getpagerefnumber{@@-\currfilebase}) +% is avaialable (otherwise, an error message is emitted since, it is the +% manifestation of a problem that would lead to an extra page numbered 0), +% \item doesn't exist, the first page number is by default 1, but may be fixed +% thanks to the macro ×\fixpagenumber× (which has no effect in the case +% ×issue.aux× file does exist). +% \end{itemize} +% % \begin{macrocode} %<class-article> -%<class-article>\file_if_exist:nT { \c_@@_main_file_name_tl.aux } -%<class-article>{\externaldocument[@@-]{\c_@@_main_file_name_tl} -%<class-article> \AddToHook{begindocument/end}{\setcounter{page}{\number\numexpr\getpagerefnumber{@@-\currfilebase}}} -%<class-article>} +%<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> { +%<class-article> \AddToHook{begindocument/end}{\setcounter{page}{\l_tmpa_int}} +%<class-article> }{ +%<class-article> \msg_error:nn{nwejmart}{Something~wrong~with~page~numbers} +%<class-article> } +%<class-article> \NewDocumentCommand \fixpagenumber { m } { } +%<class-article>}{ % \end{macrocode} % % In case one wants to manually control the page numbers, the following macro % ×\fixpagenumber{...}× has to be used instead of ×\setcounter{page}{...}×. % \begin{macrocode} \NewDocumentCommand \fixpagenumber { m } { -%<class-article>\setcounter{page}{#1} +%<class-article> \setcounter{page}{#1} } +%<class-article>} % \end{macrocode} % % \section{User level commands} @@ -3649,7 +3690,6 @@ Running "make install" installs the files in the local TeX tree. % French ones in the issue. The following fixes this trouble. % \begin{macrocode} \FrenchFootnotes - \g__nwejm_french_crefname_tl \renewcommand*{\glossaryname}{Glossaire}% \renewcommand*{\acronymname}{Acronymes}% \renewcommand*{\entryname}{Terme}% @@ -3950,7 +3990,6 @@ Running "make install" installs the files in the local TeX tree. \tl_new:N \g_@@_article_bib_key_tl% \tl_new:N \l_@@_people_first_last_names_tl \tl_new:N \g_@@_authors_first_last_names_tl% -\tl_new:N \g__@@_citeauthor_no_giveninits% \tl_new:N \g_@@_citeauthor_tl% \int_new:N \g_@@_author_s_number_current_article_int% % |