summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/nwejm/nwejm.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-06 22:25:38 +0000
committerKarl Berry <karl@freefriends.org>2017-01-06 22:25:38 +0000
commitaedb262d5de1f2ab529ceb36ef4e025eefa6ba05 (patch)
treeb7692ab7a86ac7f4233ddd17be6ac43ef82e3c07 /Master/texmf-dist/source/latex/nwejm/nwejm.dtx
parentb8159c6a75c91906de45a470a0b30b80a854d7e4 (diff)
nwejm (6jan17)
git-svn-id: svn://tug.org/texlive/trunk@42884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/nwejm/nwejm.dtx')
-rw-r--r--Master/texmf-dist/source/latex/nwejm/nwejm.dtx1170
1 files changed, 650 insertions, 520 deletions
diff --git a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx
index 605472aec3a..4910b922507 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 2016/06/10 v0.97}
+\Msg{* Class: nwejm 2017/01/06 v0.98a}
\Msg{* for the journal}
\Msg{* "North-Western European Journal of Mathematics" (DB)}
\Msg{********************************************************}
@@ -54,7 +54,7 @@ License:| Released under the LaTeX Project Public License v1.3c or later
\endpreamble
\postamble
-Copyright (C) 2015, 2016 by Denis Bitouze <denis.bitouze@lmpa.univ-littoral.fr>
+Copyright (C) 2015, 2016, 2017 by Denis Bitouze <denis.bitouze@lmpa.univ-littoral.fr>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -77,11 +77,6 @@ Running "make install" installs the files in the local TeX tree.
\def\NWEJM@addons{addons}
\def\NWEJM@documentation{documentation}
%
-\usedir{/}
-\generate{
- \nopreamble\nopostamble
- \file{README.md}{\from{\jobname.dtx}{readme}}
-}%
\usedir{tex/latex/\NWEJM@classname}
\generate{%
\file{\NWEJM@classname.cls}{\from{\jobname.dtx}{class}}
@@ -111,11 +106,11 @@ Running "make install" installs the files in the local TeX tree.
\file{\NWEJM@classname.drv}{\from{\jobname.dtx}{driver}}%
}%
\nopreamble\nopostamble
-% \usedir{doc/latex/\NWEJM@classname}
-% \generate{
-% \file{README.md}{\from{\jobname.dtx}{readme}}
-% }
-\usedir{doc/latex/\NWEJM@classname/\NWEJM@documentation}
+\usedir{doc/latex/\NWEJM@classname}
+\generate{
+ \file{README.md}{\from{\jobname.dtx}{readme}}
+}
+\usedir{doc/latex/\NWEJM@classname/french/\NWEJM@documentation}
\generate{
\file{latexmkrc}{\from{\jobname.dtx}{latexmkrc}}
}
@@ -159,6 +154,11 @@ 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.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.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
% current bundle. Instructions to authors added. Sections in appendices are
% lettered. The page numbers of standalone articles/issue are synchronized.}%
@@ -220,6 +220,7 @@ Running "make install" installs the files in the local TeX tree.
\RequirePackage{l3sort}
}{
}
+% \end{macrocode}
% \item e-\TeX{} tools for \LaTeX:
% \begin{macrocode}
\RequirePackage{etoolbox}
@@ -268,9 +269,16 @@ Running "make install" installs the files in the local TeX tree.
\msg_new:nnnn{nwejm}{Issue~number~needed}{Option~`#1'~needed!}
{Please~specify~`#1=<number>', ~otherwise~`<number>'~will~be~set~to
~`\int_use:N\c_@@_first_issue_number_int'.}%
-\msg_new:nnn{nwejm}{Wrong~main~file~name!}{The~ main~ file~ should~ be~ named~
- `\tl_use:N\c_@@_main_file_name_tl.tex',~ not~ `\jobname.tex'.~ Please~ rename~
+\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}{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.}%
\msg_new:nnnn{nwejmart}{Unknown~choice}{Choice~`#3'~invalid!}
{Please~specify~#1=#2.}%
\msg_new:nnn{nwejmart}{Unknown~tag}{There~ isn't~ any~ affiliation~ tagged~
@@ -337,6 +345,7 @@ Running "make install" installs the files in the local TeX tree.
\bool_new:N \g_@@_cover_bool
\bool_new:N \g_@@_coverpage_bool
\bool_new:N \g_@@_inside_pages_bool
+\bool_new:N \g_@@_show_binding_bool
% \end{macrocode}
%
% \begin{macrocode}
@@ -344,13 +353,8 @@ Running "make install" installs the files in the local TeX tree.
{
pagegrid .dim_gset:N = \g_@@_pagegrid_dim,
pagegrid .default:n = {\c_@@_pagegrid_dim},
- forauthors .code:n = {%
- \bool_gset_true:N \g_@@_for_authors_bool%
- \bool_gset_true:N \g_@@_inside_pages_bool%
- },%
- forprinter .bool_gset:N = \g_@@_for_printer_bool,
output .choice:,
- output / frontcover .code:n = {%
+ output / cover .code:n = {%
\bool_gset_true:N \g_@@_for_printer_bool%
\bool_gset_true:N \g_@@_cover_bool%
},%
@@ -358,10 +362,9 @@ Running "make install" installs the files in the local TeX tree.
\bool_gset_true:N \g_@@_for_printer_bool%
\bool_gset_true:N \g_@@_inside_pages_bool%
},%
- output / backcover .code:n = {%
- \bool_gset_true:N \g_@@_for_printer_bool%
- },%
- output / web .code:n = {%
+ binding .dim_gset:N = \g_@@_binding_dim,
+ showbinding .code:n = {%
+ \bool_gset_true:N \g_@@_show_binding_bool%
},%
}%
% \end{macrocode}
@@ -471,7 +474,6 @@ Running "make install" installs the files in the local TeX tree.
%
% \subsection{Class loading}
%
-% \begin{macrocode}
% As subsequent class, the \Cls{book} is loaded.
% \begin{macrocode}
\LoadClass { book }
@@ -536,20 +538,6 @@ Running "make install" installs the files in the local TeX tree.
% into two lists: one of the packages needed just by \nwejm{} (for both its logic
% and its layout) and one of packages useful for the end user.}
%
-% \begin{enumerate}
-% \item Selective filtering of error messages and warnings
-% \begin{macrocode}
-\RequirePackage{silence}
-% \end{macrocode}
-%
-% We filter harmless warnings (from \pkg{kpfonts}, \pkg{etex}, \pkg{etoc}).
-% \begin{macrocode}
-\WarningFilter[nwejm]{kpfonts}{With 'easyscsl' option, don't fit together}
-\WarningFilter[nwejm]{etex}{Extended allocation already in use}
-\WarningFilter[nwejm]{etoc}{package tocvsec2 detected and its modification of}
-\ActivateWarningFilters[nwejm]
-% \end{macrocode}
-%
% \item Detecting and warning about obsolete \LaTeX{} commands:
% \begin{macrocode}
\RequirePackage[l2tabu,orthodox]{nag}
@@ -560,7 +548,7 @@ Running "make install" installs the files in the local TeX tree.
% convenient for both \hologo{XeLaTeX} and \hologo{LuaLaTeX}, is loaded with
% ligatures à la \TeX{} by default enabled.
% \begin{macrocode}
-\pdftex_if_engine:TF
+\sys_if_engine_pdftex:TF
{
\RequirePackage[utf8]{inputenc}
}{
@@ -574,11 +562,6 @@ Running "make install" installs the files in the local TeX tree.
\RequirePackage[T1]{fontenc}
% \end{macrocode}
%
-% \item Compile \TeX{} pictures stand-alone or as part of a document:
-% \begin{macrocode}
-%<class>\RequirePackage[group=false,subpreambles,sort]{standalone}%
-% \end{macrocode}
-%
% \item Formatting both header and footers (pagestyle), and sections headers:
% \begin{macrocode}
\RequirePackage[pagestyles]{titlesec}%
@@ -636,7 +619,56 @@ Running "make install" installs the files in the local TeX tree.
%
% \item Extension of \LaTeX{}'s color facilities:
% \begin{macrocode}
-\RequirePackage[svgnames]{xcolor}%
+\RequirePackage{xcolor}%
+% \end{macrocode}
+%
+% Some of the packages are needed only when the cover has to be produced.
+% \begin{macrocode}
+%<class>\bool_if:NTF {\g_@@_cover_bool} {
+% \end{macrocode}
+%
+% \item Coloured boxes, for \LaTeX{} examples and theorems, etc.
+% \begin{macrocode}
+%<class> \RequirePackage{tcolorbox}
+% \end{macrocode}
+%
+% \item A single TikZ node for the whole page (used for cover crop marks)
+% \begin{macrocode}
+%<class> \RequirePackage{tikzpagenodes}
+%<class> \ExplSyntaxOff
+%<class> \usetikzlibrary{calc,backgrounds}
+%<class> \ExplSyntaxOn
+%<class> \tcbuselibrary{skins}
+%<class> \tcbset{_@@_title_cover/.style={%
+%<class> colback=white,
+%<class> colframe=blue!37!white,
+%<class> colupper=blue,
+%<class> width=14cm,
+%<class> fontupper=\fontsize{9mm}{9mm}\fontseries{bx}\selectfont\sffamily,
+%<class> halign=center,
+%<class> valign=center,
+%<class> % boxsep=3mm,
+%<class> boxrule=3mm,
+%<class> left=\c_zero_dim,
+%<class> right=\c_zero_dim,
+%<class> sharp~corners,
+%<class> rounded~corners=northwest,
+%<class> % draft
+%<class> }
+%<class> }
+% \end{macrocode}
+%
+% \item Macros for drawing graphs of graph theory (used for the backcover image)
+% \begin{macrocode}
+%<class> \RequirePackage{tkz-berge}
+%<class>}{
+% \end{macrocode}
+%
+% Typically, the \Package{standalone} is not used for the cover.
+% \item Compile \TeX{} pictures stand-alone or as part of a document:
+% \begin{macrocode}
+%<class>\RequirePackage[group=false,subpreambles,sort]{standalone}%
+%<class>}
% \end{macrocode}
%
% \item Define commands that appear not to eat spaces:
@@ -689,11 +721,6 @@ Running "make install" installs the files in the local TeX tree.
%<class-article>\RequirePackage[noDcommand]{kpfonts}
% \end{macrocode}
%
-% % \item Hooks to do actions on every page or on the current page:
-% % \begin{macrocode}
-% \RequirePackage{everypage}
-% % \end{macrocode}
-%
% \item Flexible and easy interface to page dimensions:
% \begin{macrocode}
\RequirePackage{geometry}
@@ -860,9 +887,9 @@ Running "make install" installs the files in the local TeX tree.
% two consecutive issues, are declared.
% \begin{macrocode}
\int_const:Nn \c_@@_first_issue_number_int { 1 }
-\int_const:Nn \c_@@_first_issue_year_int { 2016 }
+\int_const:Nn \c_@@_first_issue_year_int { 2015 }
\int_const:Nn \c_@@_first_issue_month_int { 1 }
-\int_const:Nn \c_@@_interval_in_months_int { 6 }
+\int_const:Nn \c_@@_interval_in_months_int { 12 }
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -927,7 +954,7 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
% For the printer.
% \begin{macrocode}
-\tl_const:Nn \c_@@_printer_string_tl {Printing~service}
+\tl_const:Nn \c_@@_graphicdesign_string_tl {Graphic~design}
% \end{macrocode}
% For configuration file.
% \begin{macrocode}
@@ -935,11 +962,16 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
% For the front cover header texts.
% \begin{macrocode}
-\tl_const:Nn \c_@@_frontcover_header_left_string_tl {
- \int_use:N\g_@@_issue_year_int%
-}
-\tl_const:Nn \c_@@_frontcover_header_right_string_tl {
- Number\space\int_use:N\g_@@_issue_number_int%
+\bool_if:NT {\g_@@_cover_bool} {
+ \tl_const:Nn \c_@@_frontcover_left_string_tl {
+ Number\c_space_tl\c_@@_issue_number_tl%
+ }
+ \tl_const:Nn \c_@@_frontcover_right_string_tl {
+ \c_@@_issue_year_tl%
+ }
+ \tl_const:Nn \c_@@_frontcover_string_tl {
+ \c_@@_frontcover_left_string_tl\c_space_tl--\c_space_tl\c_@@_frontcover_right_string_tl%
+ }
}
% \end{macrocode}
% For the name of the directory containing the 3rd and 4th cover pages.
@@ -992,6 +1024,14 @@ Running "make install" installs the files in the local TeX tree.
\c_@@_journal_title_string_tl.~The~current~layout~may~not~be~the~final~one.%
}
% \end{macrocode}
+% For the cover's background image.
+% \begin{macrocode}
+\tl_const:Nn \c_@@_cover_background_image_tl {nwejm-cover-background.jpg}
+% \end{macrocode}
+% For the cover's background color in case the corresponding image is missing.
+% \begin{macrocode}
+\definecolor{_@@_cover_background_color_tl}{rgb}{0.16,0.22,0.56}
+% \end{macrocode}
% For the \textsc{msc}.
% \begin{macrocode}
\tl_const:Nn \c_@@_msc_string_tl {\textsc{msc}}
@@ -1020,6 +1060,12 @@ Running "make install" installs the files in the local TeX tree.
\tl_const:Nn \c_@@_issue_bib_path_string_tl {\c_@@_issue_bib_file_string_tl}
% \end{macrocode}
%
+% For the name of the file containing the issue's number and year used by the
+% file that produces the cover.
+% \begin{macrocode}
+\tl_const:Nn \c_@@_issue_number_year_file_string_tl {\c_@@_main_file_name_tl.iny}
+% \end{macrocode}
+%
% For the prefix of the bibliographic key of each article.
% \begin{macrocode}
\tl_const:Nn \c_@@_issue_bib_key_tl {\int_use:N \g_@@_issue_number_int}
@@ -1103,9 +1149,9 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
%
% We define a \enquote{printer} layout offset dimension
-% "\c_@@_printer_layoutoffset_dim", fixed by the printer to be \SI{5}{\mm}.
+% "\c_@@_printer_layoutoffset_dim", fixed by the printer to be \SI{10}{\mm}.
% \begin{macrocode}
-\dim_const:Nn \c_@@_printer_layoutoffset_dim { 5mm}
+\dim_const:Nn \c_@@_printer_layoutoffset_dim { 10mm }
% \end{macrocode}
%
% We define a \enquote{potential} layout offset dimension which is non-zero (and
@@ -1157,19 +1203,18 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
% and the corresponding binding dimensions:
% \begin{macrocode}
-\dim_const:Nn \c_@@_bindingoffset_a_dim {3mm}
-\dim_const:Nn \c_@@_bindingoffset_b_dim {3.5mm}
-\dim_const:Nn \c_@@_bindingoffset_c_dim {3.9mm}
-\dim_const:Nn \c_@@_bindingoffset_d_dim {4.1mm}
-\dim_const:Nn \c_@@_bindingoffset_e_dim {4.5mm}
-\dim_const:Nn \c_@@_bindingoffset_f_dim {5mm}
+\dim_const:Nn \c_@@_bindingoffset_a_dim {6mm}
+\dim_const:Nn \c_@@_bindingoffset_b_dim {7mm}
+\dim_const:Nn \c_@@_bindingoffset_c_dim {7.8mm}
+\dim_const:Nn \c_@@_bindingoffset_d_dim {8.2mm}
+\dim_const:Nn \c_@@_bindingoffset_e_dim {9mm}
+\dim_const:Nn \c_@@_bindingoffset_f_dim {10mm}
% \end{macrocode}
%
% In order to know the total pages number of the document (store in
% "\g_@@_total_page_number_int"), we need first to specify the
% \enquote{external} document whom \File{.aux} will be read.
% \begin{macrocode}
-\zexternaldocument[self]{\jobname}%
\int_new:N \g_@@_total_pages_number_int%
\int_new:N \g_@@_total_inside_pages_number_int%
% \end{macrocode}
@@ -1177,7 +1222,11 @@ Running "make install" installs the files in the local TeX tree.
% We extract the total pages number thanks to "\zref@extractdefault" from
% \Package{zref-totpages}.
% \begin{macrocode}
-\int_gset:Nn \g_@@_total_pages_number_int { \zref@extractdefault{selfLastPage}{abspage}{0} }
+\zexternaldocument[self]{\c_@@_main_file_name_tl}
+\int_gset:Nn \g_@@_total_pages_number_int
+{
+ \zref@extractdefault{selfLastPage}{abspage}{0}
+}
\int_gset:Nn \g_@@_total_inside_pages_number_int { \g_@@_total_pages_number_int - 4 }
% \end{macrocode}
%
@@ -1230,7 +1279,11 @@ Running "make install" installs the files in the local TeX tree.
% offset ("\g_@@_for_printer_bool" flag equals true).
% \begin{macrocode}
\bool_if:NTF {\g_@@_cover_bool} {
- \dim_const:Nn \c_@@_potential_bindingoffset_dim { \c_@@_printer_bindingoffset_dim }
+ \dim_compare:nTF {\g_@@_binding_dim > \c_zero_dim} {%
+ \dim_const:Nn \c_@@_potential_bindingoffset_dim { \g_@@_binding_dim }
+ }{
+ \dim_const:Nn \c_@@_potential_bindingoffset_dim { \c_@@_printer_bindingoffset_dim }
+ }
}{
\dim_const:Nn \c_@@_potential_bindingoffset_dim {\c_zero_dim}
}
@@ -1240,7 +1293,11 @@ Running "make install" installs the files in the local TeX tree.
% plus 2 times (top and bottom) the layout offset dimension (which turns to be
% non-zero iff the output is prepared for the printer).
% \begin{macrocode}
-\dim_const:Nn \c_@@_paperheight_dim { \c_@@_layoutheight_dim+2\c_@@_potential_layoutoffset_dim}
+\dim_const:Nn \c_@@_paperheight_dim {
+ \c_@@_layoutheight_dim
+ +
+ 2\c_@@_potential_layoutoffset_dim
+}
% \end{macrocode}
%
% The paper width is more complicated: it is the layout width dimension plus:
@@ -1260,7 +1317,8 @@ Running "make install" installs the files in the local TeX tree.
\c_@@_layoutwidth_dim
+
\c_@@_potential_layoutoffset_dim
- +\c_@@_potential_bindingoffset_dim
+ +
+ .5\c_@@_potential_bindingoffset_dim
}
}{
\dim_const:Nn \c_@@_paperwidth_dim {
@@ -1277,11 +1335,9 @@ Running "make install" installs the files in the local TeX tree.
\dim_const:Nn \c_@@_topmargin_dim { 20mm}
\dim_const:Nn \c_@@_topmargin_frontcover_dim {
\c_@@_topmargin_dim
- % + 30mm
}
\dim_const:Nn \c_@@_topmargin_inside_cover_dim {
\c_@@_topmargin_dim
- % +10mm
}
\dim_const:Nn \c_@@_topmargin_front_matter_dim {
\c_@@_topmargin_inside_cover_dim
@@ -1292,8 +1348,6 @@ Running "make install" installs the files in the local TeX tree.
\dim_const:Nn \c_@@_headsep_dim { 9.5mm}
\dim_const:Nn \c_@@_headsep_frontcover_dim {
\c_@@_headsep_dim
- % +31mm
- % -\c_@@_potential_layoutoffset_dim
}
\dim_const:Nn \c_@@_headsep_inside_frontcover_dim {
\c_@@_headsep_dim
@@ -1314,16 +1368,9 @@ Running "make install" installs the files in the local TeX tree.
% \begin{macrocode}
\dim_const:Nn \c_@@_innermargin_dim { 23mm }
\dim_const:Nn \c_@@_outermargin_dim { 30mm }
-\dim_const:Nn \c_@@_inside_cover_box_width_dim { 150mm }%
-\dim_const:Nn \c_@@_innermargin_inside_cover_dim {
- (\c_@@_layoutwidth_dim - \c_@@_inside_cover_box_width_dim)/2
- - \c_@@_potential_bindingoffset_dim
- % + \c_@@_adjustmargin_dim
-}
-\dim_const:Nn \c_@@_outermargin_inside_cover_dim {
- (\c_@@_layoutwidth_dim - \c_@@_inside_cover_box_width_dim)/2
- % - \c_@@_adjustmargin_dim
-}
+\dim_const:Nn \c_@@_inside_cover_textwidth_dim { 145mm }%
+\dim_const:Nn \c_@@_outermargin_inside_frontcover_dim { 15mm }
+\dim_const:Nn \c_@@_outermargin_inside_backcover_dim { 10mm }
\dim_const:Nn \c_@@_innermargin_backcover_dim { 10mm }
\dim_const:Nn \c_@@_outermargin_backcover_dim { \c_@@_innermargin_backcover_dim }
\dim_const:Nn \c_@@_topmargin_backcover_dim { \c_@@_innermargin_backcover_dim }
@@ -1331,6 +1378,8 @@ Running "make install" installs the files in the local TeX tree.
\dim_const:Nn \c_@@_front_matter_extra_innermargin_dim { \c_zero_dim }
\dim_const:Nn \c_@@_front_matter_extra_outermargin_dim { \c_zero_dim }
\dim_const:Nn \c_@@_inside_cover_offset_dim { \c_zero_dim }%
+\dim_const:Nn \c_@@_logos_rectangle_thickness_dim { 3.1mm }
+\dim_const:Nn \c_@@_logos_rectangle_height_dim { 33mm }
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -1351,6 +1400,13 @@ Running "make install" installs the files in the local TeX tree.
}
% \end{macrocode}
%
+% When the inside pages are produced, the crop marks are shown.
+% \begin{macrocode}
+\bool_if:NT {\g_@@_inside_pages_bool} {
+ \geometry{showcrop}
+}
+% \end{macrocode}
+%
% \begin{macrocode}
%</class|class-article>
% \end{macrocode}
@@ -1362,35 +1418,24 @@ Running "make install" installs the files in the local TeX tree.
% We create a constant token list that contains the geometry of the front cover.
% \begin{macrocode}
\bool_if:NTF {\g_@@_cover_bool} {
- \dim_show:N \c_@@_topmargin_frontcover_dim
- \dim_show:N \c_@@_headsep_frontcover_dim
- \dim_show:N \c_@@_headheight_dim
\tl_const:Nn \c_@@_frontcover_geometry_tl {%
- ,layoutsize={\c_@@_layoutwidth_dim,\c_@@_layoutheight_dim}
- ,layoutvoffset=\c_@@_potential_layoutoffset_dim
- ,bindingoffset=\c_@@_potential_bindingoffset_dim
- ,top=\c_@@_topmargin_frontcover_dim
- ,top=\c_@@_topmargin_frontcover_dim
- ,headsep=\c_@@_headsep_frontcover_dim
- ,headheight=\c_@@_headheight_dim
- ,bottom=\c_@@_bottom_frontcover_dim
- ,footskip=\c_@@_footskip_dim
- ,outer=\c_@@_margin_frontcover_dim
- ,inner=\c_@@_potential_layoutoffset_dim
+ ,layoutheight=\c_@@_layoutheight_dim
+ ,layoutwidth=\c_@@_layoutwidth_dim
+ ,layoutoffset=\c_@@_potential_layoutoffset_dim
+ ,ignoreall%
,nomarginpar%
+ ,noheadfoot%
+ ,margin=\c_zero_dim
}%
}{
\tl_const:Nn \c_@@_frontcover_geometry_tl {%
- ,layoutsize={\c_@@_layoutwidth_dim,\c_@@_layoutheight_dim}
+ ,layoutheight=\c_@@_layoutheight_dim
+ ,layoutwidth=\c_@@_layoutwidth_dim
,layoutoffset=\c_@@_potential_layoutoffset_dim
- ,bindingoffset=\c_@@_potential_bindingoffset_dim
- ,top=\c_@@_topmargin_frontcover_dim
- ,headsep=\c_@@_headsep_frontcover_dim
- ,headheight=\c_@@_headheight_dim
- ,bottom=\c_@@_bottom_frontcover_dim
- ,footskip=\c_@@_footskip_dim
- ,hmargin=\c_@@_margin_frontcover_dim
+ ,ignoreall%
,nomarginpar%
+ ,noheadfoot%
+ ,margin=\c_zero_dim
}%
}
% \end{macrocode}
@@ -1401,32 +1446,26 @@ Running "make install" installs the files in the local TeX tree.
\bool_if:NTF {\g_@@_cover_bool} {
\tl_const:Nn \c_@@_inside_cover_geometry_tl {%
,layoutsize={\c_@@_layoutwidth_dim,\c_@@_layoutheight_dim}
- ,layoutvoffset=\c_@@_potential_layoutoffset_dim
- ,bindingoffset=\c_@@_potential_bindingoffset_dim
+ ,layoutoffset=\c_@@_potential_layoutoffset_dim
,top=\c_@@_topmargin_inside_cover_dim
,headheight=\c_@@_headheight_dim
,headsep=\c_@@_headsep_inside_frontcover_dim
,bottom=\c_@@_botmargin_dim
,footskip=\c_@@_footskip_dim
- ,inner=\c_@@_innermargin_inside_cover_dim-\c_@@_potential_layoutoffset_dim
- ,outer=\c_@@_outermargin_inside_cover_dim+\c_@@_potential_layoutoffset_dim
,nomarginpar%
+ ,textwidth=\c_@@_inside_cover_textwidth_dim
}%
}{
\tl_const:Nn \c_@@_inside_cover_geometry_tl {%
,layoutsize={\c_@@_layoutwidth_dim,\c_@@_layoutheight_dim}
,layoutoffset=\c_@@_potential_layoutoffset_dim
- ,bindingoffset=\c_@@_potential_bindingoffset_dim
,top=\c_@@_topmargin_inside_cover_dim
,headheight=\c_@@_headheight_dim
,headsep=\c_@@_headsep_inside_frontcover_dim
,bottom=\c_@@_botmargin_dim
,footskip=\c_@@_footskip_dim
- % ,inner=1cm
- % ,outer=1cm
- ,inner=\c_@@_innermargin_inside_cover_dim
- ,outer=\c_@@_outermargin_inside_cover_dim
,nomarginpar%
+ ,textwidth=\c_@@_inside_cover_textwidth_dim
}%
}
% \end{macrocode}
@@ -1516,27 +1555,27 @@ Running "make install" installs the files in the local TeX tree.
% \begin{macrocode}
\bool_if:NF {\g_@@_coverpage_bool} {
\bool_if:NF {\g_@@_inside_pages_bool} {
- \preto\@enddocumenthook{
-% \end{macrocode}
-%
-% The inside front cover and front cover pages are numbered \enquote{i} and
-% \enquote{ii} hence the inside back cover and back cover pages are numbered
-% \enquote{iii} and \enquote{iv}.
-% \begin{macrocode}
- \cleardoublepage
- \pagenumbering{roman}%
- \setcounter{page}{\c_three}
-% \end{macrocode}
-%
-% On the backcover, we want the table of contents (displayed as a chapter,
-% therefore by default starting on a right page) to be displayed on a left page.
-% \begin{macrocode}
- \bool_gset_true:N \g_@@_backmatter_bool
- \g_@@_display_inside_backcover_tl
- \newpage
- \@openrightfalse
- \g_@@_display_backcover_tl
- }%
+% \preto\@enddocumenthook{
+% % \end{macrocode}
+% %
+% % The inside front cover and front cover pages are numbered \enquote{i} and
+% % \enquote{ii} hence the inside back cover and back cover pages are numbered
+% % \enquote{iii} and \enquote{iv}.
+% % \begin{macrocode}
+% \cleardoublepage
+% \pagenumbering{roman}%
+% \setcounter{page}{\c_three}
+% % \end{macrocode}
+% %
+% % On the backcover, we want the table of contents (displayed as a chapter,
+% % therefore by default starting on a right page) to be displayed on a left page.
+% % \begin{macrocode}
+% \bool_gset_true:N \g_@@_backmatter_bool
+% \g_@@_display_inside_backcover_tl
+% \newpage
+% \@openrightfalse
+% \g_@@_display_backcover_tl
+% }%
}%
}%
% \end{macrocode}
@@ -1594,57 +1633,11 @@ Running "make install" installs the files in the local TeX tree.
% \subsection{Front cover page style}
%
% \begin{macrocode}
- % \box_new:N \l_@@_journal_frontcover_logo_box
- % \box_new:N \l_@@_journal_volume_box
- % \AfterEndPreamble{%
- % \hbox_set:Nn \l_@@_journal_volume_box
- % {
- % \color{Navy}
- % \LARGE
- % \bfseries
- % \sffamily
- % \adjustbox{stack=l}{%
- % \c_@@_frontcover_header_left_string_tl
- % \\\c_@@_frontcover_header_right_string_tl
- % }
- % }
- % \hbox_set:Nn \l_@@_journal_frontcover_logo_box
- % {
- % \includegraphics[width=3cm]{ nwejm-logo }
- % }
- % \hbox_set_to_wd:Nnn \l_@@_journal_frontcover_logo_box { 1cm }
- % {
- % \box_move_down:nn
- % {
- % \box_ht:N \l_@@_journal_frontcover_logo_box / 2
- % -
- % \box_ht:N \l_@@_journal_volume_box / 2
- % }
- % {
- % \box_use:N \l_@@_journal_frontcover_logo_box
- % }
- % }
-% \box_set_ht:Nn \l_@@_journal_frontcover_logo_box { \c_zero_dim }
-% \box_set_dp:Nn \l_@@_journal_frontcover_logo_box { \c_zero_dim }
-% }
-%
\newpagestyle{@@_frontcover_ps}[]{%
\sethead
- {
- \color{Navy}
- \Large
- \bfseries
- \sffamily
- \adjustbox{stack=l}{%
- \c_@@_frontcover_header_left_string_tl
- \\\c_@@_frontcover_header_right_string_tl
- }
- }%
{}%
- {%
- % \l_@@_journal_frontcover_logo_box
- {\includegraphics[width=1cm]{ nwejm-logo }}
- }%
+ {}%
+ {}%
%
\setfoot%
{}%
@@ -1653,10 +1646,10 @@ Running "make install" installs the files in the local TeX tree.
}%
% \end{macrocode}
%
-% \subsection{Inside front cover page style}
+% \subsection{Inside cover page style}
%
% \begin{macrocode}
-\newpagestyle{@@_inside_frontcover_ps}[]{%
+\newpagestyle{@@_inside_cover_ps}[]{%
\sethead%
{}%
{}%
@@ -1702,59 +1695,6 @@ Running "make install" installs the files in the local TeX tree.
}%
% \end{macrocode}
%
-% \subsection{Inside back cover page style}
-%
-% \begin{macrocode}
-\newpagestyle{@@_inside_backcover_ps}[]{%
- \sethead%
- {}%
- {}%
- {}%
- %
- \setfoot%
- {}%
- {}%
- {}%
-}%
-% \end{macrocode}
-%
-% \subsection{Back cover page style}
-%
-% \begin{macrocode}
-\newpagestyle{@@_backcover_ps}[]{%
- \sethead
- {}%
- {}%
- {}%
- %
- \setfoot%
- {}%
- {}%
- {}%
-}%
-% \end{macrocode}
-%
-% We define crop marks.
-% \begin{macrocode}
-% \bool_if:NT {\g_@@_for_printer_bool} {%
-% \AddEverypageHook{%
-% \tikz[remember~picture,overlay] {%
-% \draw ([yshift=\c_@@_potential_layoutoffset_dim]current~page.south~west) -- +(0.25,0);
-% \draw ([xshift=\c_@@_potential_layoutoffset_dim]current~page.south~west) -- +(0,0.25);
-% %% lower right
-% \draw ([yshift=\c_@@_potential_layoutoffset_dim]current~page.south~east) -- +(-0.25,0);
-% \draw ([xshift=-\c_@@_potential_layoutoffset_dim-\c_@@_potential_bindingoffset_dim]current~page.south~east) -- +(0,0.25);
-% %% upper left
-% \draw ([yshift=-\c_@@_potential_layoutoffset_dim]current~page.north~west) -- +(0.25,0);
-% \draw ([xshift=\c_@@_potential_layoutoffset_dim]current~page.north~west) -- +(0,-0.25);
-% %% upper right
-% \draw ([yshift=-\c_@@_potential_layoutoffset_dim]current~page.north~east) -- +(-0.25,0);
-% \draw ([xshift=-\c_@@_potential_layoutoffset_dim-\c_@@_potential_bindingoffset_dim]current~page.north~east) -- +(0,-0.25);
-% }%
-% }%
-% }
-% \end{macrocode}
-%
% \begin{macrocode}
%</class>
% \end{macrocode}
@@ -1816,7 +1756,7 @@ Running "make install" installs the files in the local TeX tree.
\bfseries%
\adjustbox{stack=l}{%
\c_@@_journal_title_string_tl
-%<class> \\\tl_mixed_case:n{\GetTranslation{volume-abbreviated}}\space\int_use:N \g_@@_issue_number_int
+%<class> \\\tl_mixed_case:n{\GetTranslation{volume-abbreviated}}\c_space_tl\int_use:N \g_@@_issue_number_int
%<class-article> \mbox{}
}
}
@@ -1956,13 +1896,13 @@ Running "make install" installs the files in the local TeX tree.
%
% All these options, when used, must receive a value.
% \begin{macrocode}
- publisher .value_required:,
- address .value_required:,
- phone .value_required:,
- email .value_required:,
- url .value_required:,
- issn .value_required:,
- isbn .value_required:,
+ publisher .value_required:n = true,
+ address .value_required:n = true,
+ phone .value_required:n = true,
+ email .value_required:n = true,
+ url .value_required:n = true,
+ issn .value_required:n = true,
+ isbn .value_required:n = true,
}
% \end{macrocode}
% \end{macro}
@@ -2010,7 +1950,7 @@ Running "make install" installs the files in the local TeX tree.
%
% All these options, when used, must receive a value.
% \begin{macrocode}
- volume .value_required:,
+ volume .value_required:n = true,
% \end{macrocode}
%
% If "number" option is not used, its initial value is set to $0$.
@@ -2048,9 +1988,9 @@ Running "make install" installs the files in the local TeX tree.
%
% The following options, when used, must receive a value.
% \begin{macrocode}
- received .value_required:,
- accepted .value_required:,
- online .value_required:,
+ received .value_required:n = true,
+ accepted .value_required:n = true,
+ online .value_required:n = true,
}
% \end{macrocode}
% \end{macro}
@@ -2110,8 +2050,8 @@ Running "make install" installs the files in the local TeX tree.
%
% All these options, when used, must receive a value.
% \begin{macrocode}
- affiliation .value_required:,
- affiliationtagged .value_required:,
+ affiliation .value_required:n = true,
+ affiliationtagged .value_required:n = true,
}
% \end{macrocode}
% \end{macro}
@@ -2128,11 +2068,11 @@ Running "make install" installs the files in the local TeX tree.
title / english .tl_set:N = \l_@@_newtheorem_english_title_tl,
title / german .tl_set:N = \l_@@_newtheorem_german_title_tl,
title / dutch .tl_set:N = \l_@@_newtheorem_dutch_title_tl,
- title .value_required:,
- title / french .value_required:,
- title / english .value_required:,
- title / german .value_required:,
- title / dutch .value_required:,
+ title .value_required:n = true,
+ title / french .value_required:n = true,
+ title / english .value_required:n = true,
+ title / german .value_required:n = true,
+ title / dutch .value_required:n = true,
%
style .choice:,
style / theorem .code:n = {\_@@_theorem_style:n {theorem}},
@@ -2189,18 +2129,6 @@ Running "make install" installs the files in the local TeX tree.
}
% \end{macrocode}
%
-% We fix some strings for the PDF's metadata .
-% \begin{macrocode}
-\tl_new:N \l_@@_pdftitle_string_tl
-\tl_new:N \l_@@_pdfauthor_string_tl
-\tl_set:Nn \l_@@_pdftile_string_tl {
- \c_@@_journal_title_string_tl\space--\space{}N°\int_use:N\g_@@_issue_number_int
-}
-\tl_set:Nn \l_@@_pdfauthor_string_tl {
- \g_@@_nwejm_string_tl
-}
-% \end{macrocode}
-%
% \begin{macrocode}
\cs_new_protected:Nn \_@@_email:n
{
@@ -2302,9 +2230,9 @@ Running "make install" installs the files in the local TeX tree.
\_@@_citeauthor_no_giveninits:n {\c_@@_issue_bib_key_tl -#1- \exp_not:V\DTLcurrentindex}%
]
\l_@@_people_affiliation_tl%
- \space%
+ \c_space_tl%
(\l_@@_people_country_tl)%
- % ,\space%
+ % ,\c_space_tl%
% \_@@_email:n {\l_@@_people_email_tl}
\DTLiflastrow{%
}{%
@@ -2341,7 +2269,7 @@ Running "make install" installs the files in the local TeX tree.
\exp_not:V\DTLcurrentindex}%
\tl_if_empty:NF \l_@@_people_email_tl
{
- \space(\_@@_email:n {\l_@@_people_email_tl})
+ \c_space_tl(\_@@_email:n {\l_@@_people_email_tl})
}
}
}
@@ -2351,6 +2279,44 @@ Running "make install" installs the files in the local TeX tree.
%
% \section{Displaying the front cover}
%
+% We create a control sequence for the binding text.
+% \begin{macrocode}
+\cs_new_protected:Nn \_@@_binding_text:n
+{
+ \Large
+ \color{white}
+ \bfseries
+ \sffamily
+ \node[outer~sep=0pt,inner~sep=0pt,rotate=90] at (current~page.#1)
+ {
+ \maxsizebox*{!}{\c_@@_potential_bindingoffset_dim}{\c_@@_journal_title_string_tl}
+ } ;
+ \node[outer~sep=0pt,inner~sep=0pt,rotate=90,anchor=east] at
+ ($ (current~page.south~#1)!.2!(current~page.north~#1) $)
+ {
+ \maxsizebox*{!}{\c_@@_potential_bindingoffset_dim}{\c_@@_frontcover_left_string_tl}
+ } ;
+ \node[outer~sep=0pt,inner~sep=0pt,rotate=90,anchor=west] at ($
+ (current~page.south~#1)!.8!(current~page.north~#1) $)
+ {
+ \maxsizebox*{!}{\c_@@_potential_bindingoffset_dim}{\c_@@_issue_year_tl}
+ } ;
+}
+\cs_new_protected:Nn \_@@_grWheelComplete:nn
+{
+ \begingroup%
+ \setkeys[GR]{cl}{#1}%
+ \grStar[#1]{#2}%
+ \pgfmathsetcounter{tkz@gr@a}{#2-1}%
+ \edef\tkz@auxctp{\thetkz@gr@a}%
+ \foreach \ia in {0,...,\tkz@auxctp}%
+ {\foreach \ib in {\ia,...,\tkz@auxctp}%
+ {\Edge(\cmdGR@cl@prefix\ia)(\cmdGR@cl@prefix\ib)}%
+ }%
+ \endgroup%
+}
+% \end{macrocode}
+%
% We create the variable that displays the front cover.
% \begin{macrocode}
\tl_new:N \g_@@_display_frontcover_tl%
@@ -2358,25 +2324,88 @@ Running "make install" installs the files in the local TeX tree.
\bool_gset_true:N \g_@@_frontcover_bool
\pagestyle{@@_frontcover_ps}%
\exp_after:wN\newgeometry\exp_after:wN{\c_@@_frontcover_geometry_tl}%
- \noindent%
- \bool_if:NTF {\g_@@_cover_bool} {
- \hspace*{-\c_@@_potential_layoutoffset_dim}
- }{
- \hspace*{-2\c_@@_potential_layoutoffset_dim}
- }
- {
- \mbox{}
- \vfill
- \begin{center}
- \Huge%
- \bfseries%
- \sffamily%
- \itshape%
- \color{Navy}%
- \c_@@_journal_front_cover_title_string_tl%
- \end{center}
- }
- \vfill%
+ \begin{tikzpicture}[remember~picture,overlay]
+ \NoAutoSpacing
+ \begin{pgfonlayer}{background}
+ \file_if_exist:nTF {\c_@@_cover_background_image_tl}{
+ \node[anchor=north~east,outer~sep=0pt,inner~sep=0pt] at (current~page.north~east) {
+ \reflectbox{%
+ \includegraphics[width=\paperheight,height=\c_@@_paperwidth_dim,angle=90]{
+ \c_@@_cover_background_image_tl
+ }%
+ }
+ };
+ }{
+ \fill[_@@_cover_background_color_tl] (current~page.north~east) rectangle
+ (current~page.south~west);
+ }
+ \end{pgfonlayer}
+ \_@@_binding_text:n {east}
+ \end{tikzpicture}
+ \begin{tikzpicture}[
+ remember~picture,
+ overlay,
+ shift={(current~page~text~area.center)},
+ scale=0.5,
+ every~node/.style={scale=0.5}
+ ]
+ \SetGraphShadeColor{white}{blue}{white}%
+ \tikzset{%
+ VertexStyle/.style = {%
+ shape = circle,%
+ fill = white,%
+ minimum~size = 3.5cm,%
+ draw%
+ }%
+ }%
+ \SetVertexNoLabel%
+ \_@@_grWheelComplete:nn {RA=9}{6}
+ \AssignVertexLabel{a}{%
+ \includegraphics[height=25mm]{nwejm-fields-institute-logo},%
+ \includegraphics[height=25mm]{nwejm-federation-recherche-math-npdc-logo},%
+ \includegraphics[height=10mm]{nwejm-kwg-logo},%
+ \includegraphics[height=20mm]{nwejm-smf-logo},%
+ \includegraphics[height=12mm]{nwejm-sml-logo},%
+ \includegraphics[height=25mm]{nwejm-logo}%
+ };%
+ \end{tikzpicture}
+ \begin{tikzpicture}[remember~picture,overlay]
+ % left horizontal lower white rule
+ \fill[white]
+ ([xshift=.95\c_@@_layoutwidth_dim,yshift=\c_@@_logos_rectangle_height_dim]current~page~text~area.south~west)
+ rectangle
+ ++(-.85\c_@@_layoutwidth_dim,\c_@@_logos_rectangle_thickness_dim)
+ ;
+ % left vertical white rule
+ \fill[white]
+ ([xshift=10mm,yshift=\c_@@_logos_rectangle_height_dim]current~page~text~area.south~west)
+ rectangle
+ ([xshift=10mm-\c_@@_logos_rectangle_thickness_dim,yshift=-\c_@@_logos_rectangle_height_dim+\c_@@_logos_rectangle_thickness_dim]current~page~text~area.north~west) ;
+ % left horizontal upper white rule
+ \fill[white]
+ ([xshift=.95\c_@@_layoutwidth_dim,yshift=-\c_@@_logos_rectangle_height_dim+\c_@@_logos_rectangle_thickness_dim]current~page~text~area.north~west)
+ rectangle
+ ([xshift=.6\c_@@_layoutwidth_dim,yshift=-\c_@@_logos_rectangle_height_dim]current~page~text~area.north~west) ;
+ % crop marks
+ \draw [white]
+ ([xshift=-2.5mm]current~page~text~area.north~west) --
+ ([xshift=-7.5mm]current~page~text~area.north~west);
+ \draw [white]
+ ([yshift=2.5mm]current~page~text~area.north~west) --
+ ([yshift=7.5mm]current~page~text~area.north~west);
+ \draw [white]
+ ([xshift=-2.5mm]current~page~text~area.south~west) --
+ ([xshift=-7.5mm]current~page~text~area.south~west);
+ \draw [white]
+ ([yshift=-2.5mm]current~page~text~area.south~west) --
+ ([yshift=-7.5mm]current~page~text~area.south~west);
+ % binding limit
+ \bool_if:NT {\g_@@_show_binding_bool} {
+ \draw[green]
+ ([xshift=-.5\c_@@_potential_bindingoffset_dim]current~page.north~east) --
+ ([xshift=-.5\c_@@_potential_bindingoffset_dim]current~page.south~east);
+ }
+ \end{tikzpicture}
\clearpage%
\bool_gset_false:N \g_@@_frontcover_bool
}
@@ -2389,31 +2418,42 @@ Running "make install" installs the files in the local TeX tree.
\tl_new:N \g_@@_display_inside_frontcover_tl%
\tl_gset:Nn \g_@@_display_inside_frontcover_tl {%
\bool_gset_true:N \g_@@_inside_frontcover_bool%
- \pagestyle{@@_inside_frontcover_ps}%
- \exp_after:wN\newgeometry\exp_after:wN{\c_@@_inside_cover_geometry_tl}%
+ \pagestyle{_@@_inside_cover_ps}%
+ \exp_after:wN\newgeometry\exp_after:wN{%
+ \c_@@_inside_cover_geometry_tl
+ ,outer=\c_@@_outermargin_inside_frontcover_dim
+ }%
+ % \tikz[remember~picture,overlay] {%
+ % \draw [green]
+ % (current~page~text~area.south~west)
+ % rectangle
+ % (current~page~text~area.north~east)
+ % ;
+ % }
+ \setlist[description,1]{font=\scshape\bfseries}
\footnotesize%
\begin{multicols*}{2}
\setlength{\columnsep}{1mm}
\begin{description}[leftmargin=2em]
- \item[\textsc{\c_@@_editorinchief_string_tl}] \
+ \item[\c_@@_editorinchief_string_tl] \
\begin{description}[leftmargin=1em]
\@@_display_people_by_role:n {editorinchief}
\end{description}
\bigskip
\par
- \item[\textsc{\c_@@_associate_editors_string_tl}] \
+ \item[\c_@@_associate_editors_string_tl] \
\begin{description}[leftmargin=1em]
\@@_display_people_by_role:n {editor}
\end{description}
\bigskip
\par
- \item[\textsc{\c_@@_field_editor_string_tl}] \
+ \item[\c_@@_field_editor_string_tl] \
\begin{description}[leftmargin=1em]
\@@_display_people_by_role:n {fieldseditor}
\end{description}
\bigskip
\par
- \item[\textsc{\c_@@_managing_editor_string_tl}] \
+ \item[\c_@@_managing_editor_string_tl] \
\begin{description}[leftmargin=1em]
\@@_display_people_by_role:n {managingeditor}
\end{description}
@@ -2433,44 +2473,49 @@ Running "make install" installs the files in the local TeX tree.
\tl_new:N \g_@@_display_inside_backcover_tl%
\tl_gset:Nn \g_@@_display_inside_backcover_tl {%
\bool_gset_true:N \g_@@_inside_backcover_bool%
- \pagestyle{@@_inside_backcover_ps}%
- % \exp_after:wN\newgeometry\exp_after:wN{\c_@@_inside_cover_geometry_tl}%
- % \file_if_exist:nT { \c_@@_authors_instructions_file_tl } {%
- \bool_if:NTF {\g_@@_no_inside_backcover_bool} {
- \hbox{}
- }{%
- % \small%
- \begin{description}[leftmargin=1em]
- \item[\c_@@_authors_instructions_string_tl{}:] \
- \g_@@_authors_instructions_tl
- \item[\c_@@_editorial_secretariat_string_tl{}:] \ \par%
- % \l_@@_journal_publisher_tl%
- % \par%
- % \space\textendash{}\space%
- \@@_display_people_by_role:n { secretary }\par
- \l_@@_journal_address_tl\par%
- \c_@@_phone_string_tl{}:~\l_@@_journal_phone_tl{}\par%
- \_@@_email:n {\l_@@_journal_email_tl}
- \newline%
- % \space\textendash{}\space
- \url{\l_@@_journal_url_tl}
- \item[\c_@@_issn_string_tl{}:] \l_@@_journal_issn_tl
- \tl_if_empty:NF \l_@@_journal_isbn_tl
- {%
- \item[\c_@@_isbn_string_tl{}:] \l_@@_journal_isbn_tl
- }
- \item[\c_@@_latexclass_string_tl{}:]
- \@@_display_people_by_role:n { classdesigner }
- \item[\c_@@_computer_engineering_string_tl{}:] %\g_@@_printer_text_tl
- \@@_display_people_by_role:n { computerengineer }
- \item[\c_@@_printer_string_tl{}:] %\g_@@_printer_text_tl
- \@@_display_people_by_role:n { printingservice }
- \end{description}
- \g_@@_font_designer_text_tl
- }
- % }{%
- % \hbox{}
+ \pagestyle{_@@_inside_cover_ps}%
+ \exp_after:wN\newgeometry\exp_after:wN{%
+ \c_@@_inside_cover_geometry_tl
+ ,outer=\c_@@_outermargin_inside_backcover_dim
+ }%
+ % \tikz[remember~picture,overlay] {%
+ % \draw [purple]
+ % (current~page~text~area.south~west)
+ % rectangle
+ % (current~page~text~area.north~east)
+ % ;
% }
+ \setlist[description,1]{font=\scshape\bfseries}
+ \begin{description}[leftmargin=1em]
+ \item[\c_@@_authors_instructions_string_tl{}:] \
+ \g_@@_authors_instructions_tl
+ \item[\c_@@_editorial_secretariat_string_tl{}:] \ \par%
+ % \l_@@_journal_publisher_tl%
+ % \par%
+ % \c_space_tl\textendash{}\c_space_tl%
+ \_@@_display_people_by_role:n { secretary }\par
+ \l_@@_journal_address_tl\par%
+ \c_@@_phone_string_tl{}:~\l_@@_journal_phone_tl{}\par%
+ \_@@_email:n {\l_@@_journal_email_tl}
+ \newline%
+ % \c_space_tl\textendash{}\c_space_tl
+ \url{\l_@@_journal_url_tl}
+ \tl_if_empty:NF \l_@@_journal_issn_tl
+ {%
+ \item[\c_@@_issn_string_tl{}:] \l_@@_journal_issn_tl
+ }
+ \tl_if_empty:NF \l_@@_journal_isbn_tl
+ {%
+ \item[\c_@@_isbn_string_tl{}:] \l_@@_journal_isbn_tl
+ }
+ \item[\c_@@_latexclass_string_tl{}:]
+ \_@@_display_people_by_role:n { classdesigner }
+ \item[\c_@@_computer_engineering_string_tl{}:] %\g_@@_printer_text_tl
+ \_@@_display_people_by_role:n { computerengineer }
+ \item[\c_@@_graphicdesign_string_tl{}:] %\g_@@_graphicdesign_text_tl
+ \_@@_display_people_by_role:n { graphicdesign }
+ \end{description}
+ \g_@@_font_designer_text_tl
\bool_gset_false:N \g_@@_inside_backcover_bool
}
% \end{macrocode}
@@ -2481,39 +2526,86 @@ Running "make install" installs the files in the local TeX tree.
\tl_new:N \g_@@_short_toc_tl%
% \end{macrocode}
%
-% The following code to get a framed TOC is borrowed from \pkg{etoc}'s
-% documentation.
-% \begin{macrocode}
-\tl_gset:Nn \g_@@_short_toc_tl {%
- \begingroup
- \etocstandardlines
- \etocsetnexttocdepth{chapter}
- \renewcommand{\etocbkgcolorcmd}{\color{Navy!5}}
- \renewcommand{\etocbelowtocskip}{0pt\relax}
- \fboxsep1ex
- \etocframedstyle [1]{\fbox{\makebox[.5\linewidth]{\etocfontminusone\c_@@_backcover_tableofcontents_string_tl}}}
- \tableofcontents
- \endgroup
-}
-% \end{macrocode}
-%
-% We compute the height of this framed TOC to know the place left on the page
-% for the collection of logos that will be displayed below.
% \begin{macrocode}
-% \newlength\toto
-% \setlength{\toto}{ \textheight - \heightof{\g_@@_short_toc_tl} }
\tl_new:N \g_@@_display_backcover_tl%
\tl_gset:Nn \g_@@_display_backcover_tl {%
\bool_gset_true:N \g_@@_backcover_bool
-% \end{macrocode}
-%
-% The following code is borrowed from \pkg{etoc}'s documentation.
-% \begin{macrocode}
-\g_@@_short_toc_tl
-\vfill{}
- \begin{center}
- \includegraphics[height=.4\textheight]{nwejm-logos-collection.pdf}
- \end{center}
+ \exp_after:wN\newgeometry\exp_after:wN{%
+ \c_@@_frontcover_geometry_tl
+ ,layouthoffset=.5\c_@@_potential_bindingoffset_dim
+ }%
+ \bool_gset_true:N \g_@@_backcover_bool
+ \begin{tikzpicture}[remember~picture,overlay]
+ \NoAutoSpacing
+ \begin{pgfonlayer}{background}
+ \file_if_exist:nTF {\c_@@_cover_background_image_tl}{
+ \node[anchor=north~west,outer~sep=0pt,inner~sep=0pt] at (current~page.north~west) {
+ \includegraphics[width=\paperheight,height=\c_@@_paperwidth_dim,angle=90]{\c_@@_cover_background_image_tl}%
+ };
+ }{
+ \fill[_@@_cover_background_color_tl] (current~page.north~east) rectangle
+ (current~page.south~west);
+ }
+ \end{pgfonlayer}
+ \_@@_binding_text:n {west}
+ \end{tikzpicture}
+ \noindent%
+ \begin{tikzpicture}[remember~picture,overlay]
+ % journal title
+ \node [anchor=north,yshift=-\c_@@_layoutwidth_dim/20] at (current~page~text~area.north) {
+ \begin{tcolorbox}[_@@_title_cover]
+ North-Western~European\\[.5cm]
+ Journal~of~Mathematics
+ \end{tcolorbox}
+ };
+ % circular node for NWEJM logo
+ \node[anchor=center,circle,fill=white,minimum~size=8.2cm] at
+ ([yshift=-\c_@@_layoutheight_dim/2]current~page~text~area.north)
+ {\includegraphics[height=5.5cm]{nwejm-logo}};
+ % right vertical white rule
+ \fill[white]
+ ([xshift=-10mm,yshift=\c_@@_logos_rectangle_height_dim]current~page~text~area.south~east)
+ rectangle
+ ([xshift=-10mm+\c_@@_logos_rectangle_thickness_dim,yshift=\c_@@_logos_rectangle_height_dim+14cm]current~page~text~area.south~east) ;
+ % right horizontal white rule
+ \fill[white]
+ ([yshift=\c_@@_logos_rectangle_height_dim+\c_@@_logos_rectangle_thickness_dim]current~page~text~area.south~west)
+ rectangle
+ ([xshift=.35\c_@@_layoutwidth_dim,yshift=\c_@@_logos_rectangle_height_dim]current~page~text~area.south~west) ;
+ % number and year node
+ \node[anchor=base~east] at
+ ([xshift=-1.2cm,yshift=\c_@@_logos_rectangle_height_dim]current~page~text~area.south~east)
+ {\color{white}\bfseries\sffamily\c_@@_frontcover_string_tl} ;
+ % % white rectangle for university and laboratory logos
+ \fill [white]
+ ([yshift=\c_@@_logos_rectangle_height_dim-7.5mm]current~page~text~area.south~west)
+ rectangle (current~page.south~east);
+ % laboratory logo
+ \node[anchor=south~east] at ([xshift=-10mm]current~page~text~area.south~east)
+ {\includegraphics[height=.66\c_@@_logos_rectangle_height_dim]{logo-painleve}} ;
+ % university logo
+ \node[anchor=south~west] at (current~page~text~area.south~west)
+ {\includegraphics[height=.66\c_@@_logos_rectangle_height_dim]{logo-ul1-ufr-math}} ;
+ % crop marks
+ \draw [white]
+ ([xshift=2.5mm]current~page~text~area.north~east) --
+ ([xshift=7.5mm]current~page~text~area.north~east);
+ \draw [white]
+ ([yshift=2.5mm]current~page~text~area.north~east) --
+ ([yshift=7.5mm]current~page~text~area.north~east);
+ \draw
+ ([xshift=2.5mm]current~page~text~area.south~east) --
+ ([xshift=7.5mm]current~page~text~area.south~east);
+ \draw
+ ([yshift=-2.5mm]current~page~text~area.south~east) --
+ ([yshift=-7.5mm]current~page~text~area.south~east);
+ % binding limit
+ \bool_if:NT {\g_@@_show_binding_bool} {
+ \draw[green]
+ ([xshift=.5\c_@@_potential_bindingoffset_dim]current~page.north~west) --
+ ([xshift=.5\c_@@_potential_bindingoffset_dim]current~page.south~west);
+ }
+ \end{tikzpicture}
}
% \end{macrocode}
%
@@ -2537,7 +2629,7 @@ Running "make install" installs the files in the local TeX tree.
{
\tl_if_eq:NNF {\c_@@_date_received_tl} {#1} { \c_@@_dates_separator_tl }
\tl_mixed_case:n { \exp_args:No \GetTranslation{#1} }
- \c_@@_colon_tl\space
+ \c_@@_colon_tl\c_space_tl
\DTMdate{#2}%
}
}
@@ -2557,21 +2649,22 @@ Running "make install" installs the files in the local TeX tree.
% \section{Displaying the keywords}
%
% \begin{macro}{\keywords}
-% \begin{macro}{\l_@@_keywords_tl}
+% \begin{macro}{\g_@@_keywords_tl}
% The command for article's keywords is defined: the article's keywords is
-% store in "\l_@@_keywords_tl" for later use.
-% \begin{macrocode}
-\seq_new:N \l_@@_keywords_seq
-\tl_new:N \l_@@_keywords_tl
-\NewDocumentCommand \keywords { m } {
- \seq_clear:N \l_@@_keywords_seq
- \tl_clear:N \l_@@_keywords_tl
- \seq_set_from_clist:Nn \l_tmpa_seq {#1}
- \seq_set_map:NNn \l_@@_keywords_seq \l_tmpa_seq {
- ##1
- }
- \tl_set:Nn \l_@@_keywords_tl { \seq_use:Nn \l_@@_keywords_seq {,~} }
-%<class-article> \hypersetup{pdfkeywords=\l_@@_keywords_tl}
+% store in "\g_@@_keywords_tl" for later use.
+% \begin{macrocode}
+\tl_new:N \g_@@_keywords_tl
+\NewDocumentCommand \keywords { O{} m } {
+ \tl_gclear:N \g_@@_keywords_tl
+ \tl_clear:N \l_tmpb_clist
+ \clist_set:Nn \l_tmpb_clist {#2}
+ \tl_set:Nn \g_@@_keywords_tl { \clist_use:Nnnn \l_tmpb_clist { ,~ } { ,~ } { ,~ } }
+%<class-article> \tl_if_empty:nTF {#1} {%
+%<class-article> \hypersetup{pdfkeywords={\g_@@_keywords_tl}}
+%<class-article> }{
+%<class-article> \clist_set:Nn \l_tmpb_clist {#1}
+%<class-article> \hypersetup{pdfkeywords={\clist_use:Nnnn \l_tmpb_clist { ,~ } { ,~ } { ,~ }}}
+%<class-article> }
}
% \end{macrocode}
% \end{macro}
@@ -2580,26 +2673,17 @@ Running "make install" installs the files in the local TeX tree.
% \section{Displaying the Mathematical Subject Classification (\textsc{msc})}
%
% \begin{macro}{\msc}
-% \begin{macro}{\l_@@_msc_tl}
+% \begin{macro}{\g_@@_msc_tl}
% The command for article's \textsc{msc} is defined: the article's \textsc{msc} is
-% store in "\l_@@_msc_tl" for later use.
+% store in "\g_@@_msc_tl" for later use.
% \begin{macrocode}
-\seq_new:N \l_@@_msc_seq
-\tl_new:N \l_@@_msc_tl
+\tl_new:N \g_@@_msc_tl
\NewDocumentCommand \msc { m } {
- \seq_clear:N \l_@@_msc_seq
- \tl_clear:N \l_@@_msc_tl
- %
- % does what the name suggests, set a sequence from the clist
- \seq_set_from_clist:Nn \l_tmpa_seq {#1}
- % applies final arg to each element of second seq and stores result in first seq
- \seq_set_map:NNn \l_@@_msc_seq \l_tmpa_seq {
- ##1
- }
- %
- % \seq_use puts the items from the seq back in the input with ",~" as a separator
- \tl_set:Nn \l_@@_msc_tl {\seq_use:Nn \l_@@_msc_seq {,~}}
-%%<class-article> \hypersetup{pdfmsc=\l_@@_msc_tl}
+ \tl_gclear:N \g_@@_msc_tl
+ \tl_clear:N \l_tmpa_clist
+ \clist_set:Nn \l_tmpa_clist {#1}
+ \tl_set:Nn \g_@@_msc_tl { \clist_use:Nnnn \l_tmpa_clist { ,~ } { ,~ } { ,~ } }
+%%<class-article> \hypersetup{pdfmsc=\g_@@_msc_tl}
}
% \end{macrocode}
% \end{macro}
@@ -2611,9 +2695,22 @@ Running "make install" installs the files in the local TeX tree.
% needs the main file name to be fixed (chosen name: \enquote{issue}). If that's
% not the case an error is thrown.
% \begin{macrocode}
-%<class>\tl_new:N \l_@@_jobname_tl
-%<class>\tl_set:Nn \l_@@_jobname_tl {\jobname}
-%<class>\str_if_eq_x:nnF \l_@@_jobname_tl \c_@@_main_file_name_tl { \msg_error:nn{nwejm}{Wrong~main~file~name!} }
+%<class>\str_if_eq_x:nnTF \c_sys_jobname_str \c_@@_main_file_name_tl {
+%<class> \bool_if:NT {\g_@@_cover_bool} {
+%<class> \msg_error:nn{nwejm}{Wrong~cover's~main~file~name!}
+%<class> }
+%<class>}{
+%<class> \bool_if:NTF {\g_@@_cover_bool} {
+%<class> \file_if_exist:nTF { \c_@@_issue_number_year_file_string_tl }
+%<class> {
+%<class> \file_input:n {\c_@@_issue_number_year_file_string_tl}
+%<class> }{
+%<class> \msg_error:nn{nwejm}{Main~file~needs~to~be~compiled!}
+%<class> }
+%<class> }{
+%<class> \msg_error:nn{nwejm}{Wrong~issue's~main~file~name!}
+%<class> }
+%<class>}
% \end{macrocode}
%
% \begin{macrocode}
@@ -2645,13 +2742,12 @@ Running "make install" installs the files in the local TeX tree.
% \begin{macro}{\classdesigner}
% \begin{macro}{\fontdesigner}
% \begin{macro}{\classmaintainer}
-% \begin{macro}{\printingservice}
+% \begin{macro}{\graphicdesign}
% \begin{macro}{\computerengineer}
% \begin{macro}{\secretary}
% We define some document-level commands that let the user specify
% respectively the editor(s) in chief, the fields editor, the managing editor,
% the editors, the class designer and maintainer(s), etc.
-%% \enquote{R\'{e}dacteur(s) en chef}.
% \begin{macrocode}
\NewDocumentCommand \editorinchief {mmmm}
{
@@ -2685,9 +2781,9 @@ Running "make install" installs the files in the local TeX tree.
{
\_@@_people:nnnnn {#1}{#2}{#3}{#4}{fontdesigner}
}
-\NewDocumentCommand \printingservice {mmmm}
+\NewDocumentCommand \graphicdesign {mmmm}
{
- \_@@_people:nnnnn {#1}{#2}{#3}{#4}{printingservice}
+ \_@@_people:nnnnn {#1}{#2}{#3}{#4}{graphicdesign}
}
\NewDocumentCommand \computerassistance {mmmm}
{
@@ -2722,12 +2818,6 @@ Running "make install" installs the files in the local TeX tree.
\keys_set:nn { nwejm/issuesetup } {#1}
% \end{macrocode}
%
-% We fix some of the PDF's metadata .
-% \begin{macrocode}
-\hypersetup{pdftitle=\l_@@_pdftitle_string_tl}
-\hypersetup{pdfauthor=\l_@@_pdfauthor_string_tl}
-% \end{macrocode}
-%
% We use here the fact that, if the "number", "month" or "year" options are not
% used, their corresponding "\g_@@_issue_number_int", "\g_@@_issue_month_int" or
% "\g_@@_issue_year_int" variables are equal to $0$ ($<1$).
@@ -2792,6 +2882,33 @@ Running "make install" installs the files in the local TeX tree.
\g_@@_issue_age_in_years_int + \c_@@_first_issue_year_int
}
}%
+% \end{macrocode}
+%
+% We fix some of the PDF's metadata.
+% \begin{macrocode}
+ \bool_if:NT {\g_@@_cover_bool} {
+ \hypersetup{
+ pdftitle=\c_@@_journal_title_string_tl\c_space_tl--\c_space_tl\c_@@_frontcover_left_string_tl\c_space_tl--\c_space_tl\int_use:N\g_@@_issue_year_int,
+ pdfauthor=\c_@@_journal_title_string_tl\c_space_tl(editor)
+ }
+ }
+% \end{macrocode}
+%
+% We write some data to an auxiliary file which be read by the file dedicated to
+% the cover pages production.
+% \begin{macrocode}
+ \iow_new:N \g_@@_issue_number_year_out_iow
+ \iow_open:Nn \g_@@_issue_number_year_out_iow {\c_@@_issue_number_year_file_string_tl}
+ \iow_now:Nx \g_@@_issue_number_year_out_iow {
+ \tl_const:Nn \token_to_str:N \c_@@_issue_number_tl {
+ \int_eval:n {\g_@@_issue_number_int}
+ }
+ \iow_newline:
+ \tl_const:Nn \token_to_str:N \c_@@_issue_year_tl {
+ \int_eval:n {\g_@@_issue_year_int}
+ }
+ }
+ \iow_close:N \g_@@_issue_number_year_out_iow
}
% \end{macrocode}
% \end{macro}
@@ -2866,7 +2983,7 @@ Running "make install" installs the files in the local TeX tree.
\def\reftextbefore {op~de~\reftextvario{vorige~\refpagename}%
{\refpagename\ hiervoor}}%
\def\reftextcurrent {op~deze~\refpagename}%
- \def\reftextfaraway#1{op~\refpagename\space\pageref{#1}}
+ \def\reftextfaraway#1{op~\refpagename\c_space_tl\pageref{#1}}
}
\addto\extrasenglish{%
\def\reftextfaceafter {on~the~\reftextvario{facing}{next}~page}%
@@ -3105,6 +3222,7 @@ Running "make install" installs the files in the local TeX tree.
\cleardoublepage
% \end{macrocode}
%
+% \begin{macrocode}
\int_incr:N \l_author_int
\prop_gput_if_new:Nxn \g_authors_prop {author_\int_use:c {l_author_int}} {#2}
\IfNoValueF {#1}
@@ -3219,7 +3337,7 @@ Running "make install" installs the files in the local TeX tree.
\tl_gset:Nn \g_@@_citeauthor_tl {%
\DeclareNameAlias{labelname}{default}%
\group_begin:
- \togglefalse{blx@giveninits}%
+ \togglefalse{abx@bool@giveninits}%
\citeauthor{#1}
\group_end:
}%
@@ -3251,7 +3369,7 @@ Running "make install" installs the files in the local TeX tree.
\AtNextCitekey{\defcounter{maxnames}{100}}
\group_begin:
\DeclareNameAlias{labelname}{default}%
- \togglefalse{blx@giveninits}%
+ \togglefalse{abx@bool@giveninits}%
\citeauthor{#1}
\group_end:
\cs_set_eq:NN \multinamedelim \_@@_orig_multinamedelim
@@ -3395,11 +3513,11 @@ Running "make install" installs the files in the local TeX tree.
\c_@@_colon_tl
}
}
- \space\l_@@_keywords_tl.
+ \c_space_tl\g_@@_keywords_tl.
}
\tl_set:Nn \l_@@_msc_box_tl
{%
- \noindent\textbf{\c_@@_msc_string_tl}\c_@@_colon_tl\space\l_@@_msc_tl.
+ \noindent\textbf{\c_@@_msc_string_tl}\c_@@_colon_tl\c_space_tl\g_@@_msc_tl.
}
\tl_set:Nn \l_@@_abstract_box_tl
{%
@@ -3432,7 +3550,7 @@ Running "make install" installs the files in the local TeX tree.
}
\bool_if:nF { \tl_if_empty_p:N \g_@@_short_subtitle_tl }
{
- .\space\g_@@_short_subtitle_tl
+ .\c_space_tl\g_@@_short_subtitle_tl
}
}
% \end{macrocode}
@@ -3454,10 +3572,10 @@ Running "make install" installs the files in the local TeX tree.
{
\texorpdfstring{%
\AtNextCitekey{\defcounter{maxnames}{100}}
- \space\textendash\space\citeauthor{\g_@@_article_bib_key_tl}
+ \c_space_tl\textendash\c_space_tl\citeauthor{\g_@@_article_bib_key_tl}
}{}
}{%
- \space\textendash\space\citeauthor{\g_@@_article_bib_key_tl}
+ \c_space_tl\textendash\c_space_tl\citeauthor{\g_@@_article_bib_key_tl}
}%
}
}
@@ -3499,14 +3617,14 @@ Running "make install" installs the files in the local TeX tree.
%
\l_@@_abstract_box_tl%
\normalsize
-\tl_if_empty:NTF \l_@@_keywords_tl {
+\tl_if_empty:NTF \g_@@_keywords_tl {
\msg_warning:nn{nwejmart}{No~keyword}
}{
\l_@@_keywords_box_tl
\par%
\vskip .5em%
}
-\tl_if_empty:NTF \l_@@_msc_tl {
+\tl_if_empty:NTF \g_@@_msc_tl {
\msg_warning:nn{nwejmart}{No~MSC}
}{
\l_@@_msc_box_tl
@@ -3690,10 +3808,10 @@ Running "make install" installs the files in the local TeX tree.
%
\cs_new_protected:Nn \_@@_century_suffix:n
{
- \space{}
+ \c_space_tl{}
\GetTranslation{century}%
\int_compare:nNnT { #1 } < { 0 }{
- \space
+ \c_space_tl
\GetTranslation{before-christ}
}{
}
@@ -3845,7 +3963,6 @@ Running "make install" installs the files in the local TeX tree.
\cs_set_eq:NN \_@@_orig_newtheorem \newtheorem
\cs_new_protected:Nn \_@@_new_theorem:nnnnn
{
- \AtBeginDocument{%
\IfTranslation{English}{#1}{%
}{%
\DeclareTranslation{English}{#1}{\tl_mixed_case:n{#2}}%
@@ -3862,11 +3979,10 @@ Running "make install" installs the files in the local TeX tree.
}{%
\DeclareTranslation{Dutch}{#1}{\tl_mixed_case:n{#5}}%
}
- }
- \_@@_orig_newtheorem{#1}{\protect\tl_mixed_case:n{ \protect\GetTranslation{#1} }}
- \bool_if:NF {\g_@@_no_numbered_theorem_bool} {
- \_@@_orig_newtheorem*{#1_@@_nonumbered}{\protect\tl_mixed_case:n{ \protect\GetTranslation{#1} }}
- }
+ \_@@_orig_newtheorem{#1}{\tl_mixed_case:n{ \GetTranslation{#1} }}
+ \bool_if:NF {\g_@@_no_numbered_theorem_bool} {
+ \_@@_orig_newtheorem*{#1_@@_nonumbered}{\tl_mixed_case:n{ \GetTranslation{#1} }}
+ }
}
\cs_generate_variant:Nn \_@@_new_theorem:nnnnn { nVVVV }
% \end{macrocode}
@@ -3876,79 +3992,71 @@ Running "make install" installs the files in the local TeX tree.
% \begin{macrocode}
\RenewDocumentCommand \newtheorem { O{} m }
{
- \tl_clear:N \l_@@_newtheorem_style_tl
- \tl_clear:N \l_@@_newtheorem_title_tl
- \tl_clear:N \l_@@_newtheorem_french_title_tl
- \tl_clear:N \l_@@_newtheorem_english_title_tl
- \tl_clear:N \l_@@_newtheorem_german_title_tl
- \tl_clear:N \l_@@_newtheorem_dutch_title_tl
- %
- \tl_set:Nn \l_@@_newtheorem_english_title_tl {
- #2
- }
- \tl_set:Nf \l_@@_newtheorem_french_title_tl {
- \l_@@_newtheorem_english_title_tl
- }
- \tl_set:Nf \l_@@_newtheorem_german_title_tl {
- \l_@@_newtheorem_english_title_tl
- }
- \tl_set:Nf \l_@@_newtheorem_dutch_title_tl {
- \l_@@_newtheorem_english_title_tl
- }
- \tl_set:Nn \l_@@_newtheorem_style_tl {
- theorem
- }
- \_@@_theorem_style:n {theorem}
- \IfNoValueF {#1}
- {
- \keys_set:nn { nwejm / newtheorem } { #1 }
- \tl_if_empty:NF \l_@@_newtheorem_title_tl {%
- \tl_set:Nf \l_@@_newtheorem_english_title_tl
- {
- \l_@@_newtheorem_title_tl
- }
- \tl_set:Nf \l_@@_newtheorem_french_title_tl
- {
- \l_@@_newtheorem_title_tl
- }
- \tl_set:Nf \l_@@_newtheorem_german_title_tl
- {
- \l_@@_newtheorem_title_tl
- }
- \tl_set:Nf \l_@@_newtheorem_dutch_title_tl
- {
- \l_@@_newtheorem_title_tl
+ \AtBeginDocument{
+ \tl_clear:N \l_@@_newtheorem_style_tl
+ \tl_clear:N \l_@@_newtheorem_title_tl
+ \tl_clear:N \l_@@_newtheorem_french_title_tl
+ \tl_clear:N \l_@@_newtheorem_english_title_tl
+ \tl_clear:N \l_@@_newtheorem_german_title_tl
+ \tl_clear:N \l_@@_newtheorem_dutch_title_tl
+ %
+ \tl_set:Nn \l_@@_newtheorem_english_title_tl {
+ #2
+ }
+ \tl_set:Nf \l_@@_newtheorem_french_title_tl {
+ \l_@@_newtheorem_english_title_tl
+ }
+ \tl_set:Nf \l_@@_newtheorem_german_title_tl {
+ \l_@@_newtheorem_english_title_tl
+ }
+ \tl_set:Nf \l_@@_newtheorem_dutch_title_tl {
+ \l_@@_newtheorem_english_title_tl
+ }
+ \tl_set:Nn \l_@@_newtheorem_style_tl {
+ theorem
+ }
+ \_@@_theorem_style:n {theorem}
+ \IfNoValueF {#1}
+ {
+ \keys_set:nn { nwejm / newtheorem } { #1 }
+ \tl_if_empty:NF \l_@@_newtheorem_title_tl {%
+ \tl_set:Nf \l_@@_newtheorem_english_title_tl
+ {
+ \l_@@_newtheorem_title_tl
+ }
+ \tl_set:Nf \l_@@_newtheorem_french_title_tl
+ {
+ \l_@@_newtheorem_title_tl
+ }
+ \tl_set:Nf \l_@@_newtheorem_german_title_tl
+ {
+ \l_@@_newtheorem_title_tl
+ }
+ \tl_set:Nf \l_@@_newtheorem_dutch_title_tl
+ {
+ \l_@@_newtheorem_title_tl
+ }
}
}
- }
- %
- \_@@_new_theorem:nVVVV
- {#2}
- {\l_@@_newtheorem_english_title_tl}
- {\l_@@_newtheorem_french_title_tl}
- {\l_@@_newtheorem_german_title_tl}
- {\l_@@_newtheorem_dutch_title_tl}
+ %
+ \_@@_new_theorem:nVVVV
+ {#2}
+ {\l_@@_newtheorem_english_title_tl}
+ {\l_@@_newtheorem_french_title_tl}
+ {\l_@@_newtheorem_german_title_tl}
+ {\l_@@_newtheorem_dutch_title_tl}
% \end{macrocode}
% The following line ensures footnotes and, more specifically, autocitations
% (which are in footnotes) are handled in theorems' notes (i.e. in their
% optional argument).
% \begin{macrocode}
- \makesavenoteenv{#2}
+ \makesavenoteenv{#2}
% \end{macrocode}
%
% \begin{macrocode}
- \bool_if:NF {\g_@@_no_numbered_theorem_bool} {
- \ifcsmacro{#2*}{%
- \RenewDocumentEnvironment{#2*}{o}
- {
- \IfNoValueTF {##1}
- { \begin{#2_@@_nonumbered} }
- { \begin{#2_@@_nonumbered}[##1] }
- }{
- \end{#2_@@_nonumbered}
- }
- }{
- \NewDocumentEnvironment{#2*}{o}
+ \bool_if:NF {\g_@@_no_numbered_theorem_bool} {
+ \ifcsmacro{#2*}{%
+ \RenewDocumentEnvironment{#2*}{o}
{
\IfNoValueTF {##1}
{ \begin{#2_@@_nonumbered} }
@@ -3956,15 +4064,25 @@ Running "make install" installs the files in the local TeX tree.
}{
\end{#2_@@_nonumbered}
}
+ }{
+ \NewDocumentEnvironment{#2*}{o}
+ {
+ \IfNoValueTF {##1}
+ { \begin{#2_@@_nonumbered} }
+ { \begin{#2_@@_nonumbered}[##1] }
+ }{
+ \end{#2_@@_nonumbered}
+ }
+ }
}
- }
% \end{macrocode}
%
% We add to the list of counters we want to be able to easily set to zero the
% ones associated to the (numbered) theorem environments (defined either by the
% class or by the user):
% \begin{macrocode}
- \clist_put_right:Nn \g_@@_counters_to_be_reset_clist {#2}
+ \clist_put_right:Nn \g_@@_counters_to_be_reset_clist {#2}
+ }
}
% \end{macrocode}
%
@@ -4290,12 +4408,6 @@ Running "make install" installs the files in the local TeX tree.
% \begin{macrocode}
\bool_new:N \g_@@_grad_used_bool
\NewDocumentCommand \grad {} {%
- \bool_if:NTF \g_@@_gradient_nabla_bool {
- \operatorname{\nabla}
- }{
- \operatorname{grad}
- }%
- \peek_after:Nw \@@_opx_check:
\bool_if:NTF \g_@@_grad_used_bool {
\bool_if:nT { (\g_@@_gradient_nabla_bool && !\g_@@_gradient_nabla_control_bool)
|| ( !\g_@@_gradient_nabla_bool && \g_@@_gradient_nabla_control_bool) } {
@@ -4305,6 +4417,12 @@ Running "make install" installs the files in the local TeX tree.
\bool_gset_eq:NN \g_@@_gradient_nabla_control_bool \g_@@_gradient_nabla_bool
\bool_gset_true:N \g_@@_grad_used_bool
}
+ \bool_if:NTF \g_@@_gradient_nabla_bool {
+ \operatorname{\nabla}
+ }{
+ \operatorname{grad}
+ }%
+ \peek_after:Nw \@@_opx_check:
}
\DeclareMathOperator{\Div}{div}
\NewDocumentCommand \curl {} {%
@@ -4381,15 +4499,15 @@ Running "make install" installs the files in the local TeX tree.
\NewDocumentCommand \set { m O{} } {
\if@display
\tl_if_empty:nTF {#2} {%
- \__nwejm_set*{#1}
+ \_@@_set*{#1}
}{
- \__nwejm_set*{#1\l__nwejm_given_tl #2}
+ \_@@_set*{#1\l_@@_given_tl #2}
}
\else
\tl_if_empty:nTF {#2} {%
- \__nwejm_set{#1}
+ \_@@_set{#1}
}{
- \__nwejm_set{#1\l__nwejm_given_tl #2}
+ \_@@_set{#1\l_@@_given_tl #2}
}
\fi
}
@@ -4740,14 +4858,14 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
%
% \begin{macrocode}
-\tl_new:N \g_@@_printer_text_tl%
-\cs_new_protected:Nn \@@_printer_text:n
+\tl_new:N \g_@@_graphicdesign_text_tl%
+\cs_new_protected:Nn \@@_graphicdesign_text:n
{
- \tl_gset:Nn \g_@@_printer_text_tl { #1 }
+ \tl_gset:Nn \g_@@_graphicdesign_text_tl { #1 }
}
-\NewDocumentCommand \printertext {m}
+\NewDocumentCommand \graphicdesigntext {m}
{
- \_@@_printer_text:n {#1}%
+ \_@@_graphicdesign_text:n {#1}%
}
% \end{macrocode}
%
@@ -4786,11 +4904,21 @@ Running "make install" installs the files in the local TeX tree.
disable%
}
}
- \bool_if:NF {\g_@@_inside_pages_bool} {
+% \end{macrocode}
+%
+% If the cover production is asked, we automatically load some libraries, make
+% some configurations and display it (and only it). Otherwise, we automatically
+% display the table of contents.
+% \begin{macrocode}
+ \bool_if:NTF {\g_@@_cover_bool} {
\g_@@_display_frontcover_tl
+ \g_@@_display_backcover_tl
\g_@@_display_inside_frontcover_tl
- }
+ \g_@@_display_inside_backcover_tl
+ \end{document}
+ }{
\tableofcontents
+ }
}
% \end{macrocode}
%
@@ -4967,7 +5095,7 @@ Running "make install" installs the files in the local TeX tree.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Printer text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\printingservice{Derycke, Jean-Jacques}{Universit\'{e} de Lille 1}{France}{}
+\graphicdesign{Luu, Patricia and Rémond, Catherine}{Universit\'{e} de Lille 1}{France}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Authors instructions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5110,7 +5238,7 @@ Running "make install" installs the files in the local TeX tree.
%
\ProvideDictTranslation{received}{re\c cu}
\ProvideDictTranslation{accepted}{accept\'{e}}
-\ProvideDictTranslation{online}{en\space ligne}
+\ProvideDictTranslation{online}{en~ligne}
%
\ProvideDictTranslation{hypothesis}{hypoth\`{e}se}
\ProvideDictTranslation{plural-hypothesis}{hypoth\`{e}ses}
@@ -5824,7 +5952,7 @@ dutch
\computerengineer{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
\classmaintainer{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
\fontdesigner{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
-\printingservice{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
+\graphicdesign{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
\computerassistance{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
\secretary{%<Last name%>, %<First name%>}{%<affiliation%>}{%<country%>}{%<email%>}#n
\issuesetup{number=%<positive integer%>}#n
@@ -5832,7 +5960,7 @@ dutch
\inputarticle{file}#i
\inputarticle[path]{file}#i
\fontdesignertext{text}#n
-\printertext{text}#n
+\graphicdesigntext{text}#n
% \end{macrocode}
%
% \begin{macrocode}
@@ -5860,8 +5988,10 @@ dutch
%
% \Finale
-% Local Variables:
-% mode: doctex
-% ispell-local-dictionary: "english"
-% TeX-master: t
-% End:
+%%% Local Variables:
+%%% mode: tex
+%%% eval: (doctex-mode)
+%%% ispell-local-dictionary: "english"
+%%% TeX-command-default: "TeX"
+%%% TeX-master: t
+%%% End: