From d8560ef522bcc300a2a5b0424830766b7bca240d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 7 Feb 2017 22:43:41 +0000 Subject: nwejm (7feb17) git-svn-id: svn://tug.org/texlive/trunk@43164 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/nwejm/nwejm.dtx | 42 +++++++++++++++++--------- 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/source/latex/nwejm') diff --git a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx index 4910b922507..826bce021c0 100644 --- a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx +++ b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx @@ -37,7 +37,7 @@ documenting the classes I've written. \input l3docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: nwejm 2017/01/06 v0.98a} +\Msg{* Class: nwejm 2017/02/06 v0.98b} \Msg{* for the journal} \Msg{* "North-Western European Journal of Mathematics" (DB)} \Msg{********************************************************} @@ -154,9 +154,17 @@ Running "make install" installs the files in the local TeX tree. % %\maketitle % -% \changes{v0.98a}{2017/01/06}{Adjustments because of deprecated functions removed from \Package{expl3}.}% +% \changes{v0.98b}{2017/02/06}{Adjustments because of deprecated functions +% removed from \Package{expl3}.}% +% \changes{v0.98b}{2017/02/06}{Better error message that warns the author of an +% article in case he's using the ×nwejm× class instead of the ×nwejmart× one.}% +% \changes{v0.98b}{2017/02/06}{Fix wrong behavior in case bib field ×year× used +% instead of ×date×.}% +% \changes{v0.98a}{2017/01/06}{Adjustments because of deprecated functions +% removed from \Package{expl3}.}% % \changes{v0.98a}{2017/01/06}{Fix wrong behavior of ×\grad× command.}% -% \changes{v0.98a}{2017/01/06}{Fix theorems recurrent titles weren't displayed anymore.}% +% \changes{v0.98a}{2017/01/06}{Fix theorems recurrent titles weren't displayed +% anymore.}% % \changes{v0.98}{2016/10/24}{Some bug fixes.}% % \changes{v0.98}{2016/10/24}{Cover pages handling.}% % \changes{v0.97}{2016/06/10}{\Package{xy} declared incompatible with the @@ -251,8 +259,8 @@ Running "make install" installs the files in the local TeX tree. \ProvidesExplClass % {nwejm} % {nwejmart} - {2015/09/30} - {1.00} + {2017/02/06} + {0.98b} { Class for the journal "North-Western European Journal of Mathematics". } @@ -269,13 +277,18 @@ Running "make install" installs the files in the local TeX tree. \msg_new:nnnn{nwejm}{Issue~number~needed}{Option~`#1'~needed!} {Please~specify~`#1=', ~otherwise~`'~will~be~set~to ~`\int_use:N\c_@@_first_issue_number_int'.}% -\msg_new:nnn{nwejm}{Wrong~issue's~main~file~name!}{The~ issue's~ main~ file~ - should~ be~ named~ `\tl_use:N\c_@@_main_file_name_tl.tex',~ not~ - `\c_sys_jobname_str.tex'.~ Please~ rename~ the~ current~ file~ accordingly.}% -\msg_new:nnn{nwejm}{Wrong~cover's~main~file~name!}{The~ cover~ file~ - should~ /not/~ be~ named~ as~ the~ issue's~ main~ file~ - `\tl_use:N\c_@@_main_file_name_tl.tex'.~ Please~ rename~ - the~ current~ file~ accordingly.}% +\msg_new:nnn{nwejm}{Wrong~issue's~main~file~name!}{You~ are~ using~ the~ + `nwejm'~ class~ designed~ for~ the~ complete~ issues~ of~ the~ NWEJM~ and~ + aimed~ for~ the~ NWEJM's~ team,~ not~ for~ authors~ of~ articles:~ if~ you're~ + an~ author~ of~ an~ article~,~ you~ should~ use~ the~ `nwejmart'~ class~ + instead.~ Otherwise,~ if~ you're~ from~ the~ NWEJM's~ team,~ please~ note~ + that~ the~ issue's~ main~ file~ should~ be~ named~ + `\tl_use:N\c_@@_main_file_name_tl.tex',~ not~ `\c_sys_jobname_str.tex'.~ + Please~ rename~ the~ current~ file~ accordingly.}% +\msg_new:nnn{nwejm}{Wrong~cover's~main~file~name!}{The~ cover~ file~ should~ + /not/~ be~ named~ as~ the~ issue's~ main~ file~ + `\tl_use:N\c_@@_main_file_name_tl.tex'.~ Please~ rename~ the~ current~ file~ + accordingly.}% \msg_new:nnn{nwejm}{Main~file~needs~to~be~compiled!}{The~ issue's~ main~ file~ (`\tl_use:N\c_@@_main_file_name_tl.tex')~ should~ be~ compiled~ at~ least~ once~ before~ the~ cover~ can~ be~ generated.}% @@ -1056,7 +1069,7 @@ Running "make install" installs the files in the local TeX tree. % For the name of the file containing the bibliography of the current issue. % \begin{macrocode} \tl_const:Nn \c_@@_issue_bib_file_suffix_string_tl {@@} -\tl_const:Nn \c_@@_issue_bib_file_string_tl {\c_job_name_tl\c_@@_issue_bib_file_suffix_string_tl.bib} +\tl_const:Nn \c_@@_issue_bib_file_string_tl {\c_sys_jobname_str\c_@@_issue_bib_file_suffix_string_tl.bib} \tl_const:Nn \c_@@_issue_bib_path_string_tl {\c_@@_issue_bib_file_string_tl} % \end{macrocode} % @@ -4839,7 +4852,7 @@ Running "make install" installs the files in the local TeX tree. % In case of \hologo{pdfTeX} engine, the document makes use of the \pkg{lmodern} % for the \enquote{ttfamily} font. % \begin{macrocode} -\pdftex_if_engine:T +\sys_if_engine_pdftex:T { \renewcommand{\ttdefault}{lmtt} } @@ -5533,6 +5546,7 @@ Running "make install" installs the files in the local TeX tree. % provided (e.g. for references to appear). % \begin{macrocode} \DeclareLabeldate{% + \field{year}% \field{date}% \field{eventdate}% \field{origdate}% -- cgit v1.2.3