diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-11 23:05:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-11 23:05:42 +0000 |
commit | 758b4758f0eb106984f66779738565d97ee91f7d (patch) | |
tree | 964dd971264b46d130d3eaace91a17a65dfa57fe /Master/texmf-dist/tex/latex | |
parent | c44a21c04063b38b9c04a092c51a2e7d39b94ecf (diff) |
nwejm (11jun16)
git-svn-id: svn://tug.org/texlive/trunk@41367 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
12 files changed, 123 insertions, 88 deletions
diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-federation-recherche-math-npdc-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-federation-recherche-math-npdc-logo.pdf Binary files differdeleted file mode 100644 index ddc8e34dcb3..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-federation-recherche-math-npdc-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-fields-institute-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-fields-institute-logo.pdf Binary files differdeleted file mode 100644 index 320d3c67a91..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-fields-institute-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-kwg-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-kwg-logo.pdf Binary files differdeleted file mode 100644 index 4f1b9c7e0c5..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-kwg-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo-NB.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo-NB.pdf Binary files differdeleted file mode 100644 index 1e6c7c58732..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo-NB.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo.pdf Binary files differdeleted file mode 100644 index 7162865ca50..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.pdf Binary files differdeleted file mode 100644 index 5d8d781164c..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.tex b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.tex deleted file mode 100644 index b32baede8a4..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-logos-collection.tex +++ /dev/null @@ -1,41 +0,0 @@ -\documentclass[tikz]{standalone} -\usepackage{graphicx} -\usepackage{tkz-berge} -\makeatletter -\newcommand*{\grWheelComplete}[2][]{% - \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% -} -\makeatother -\begin{document} -\begin{tikzpicture}[scale=.8] - \GraphInit[vstyle=Shade]% - \SetGraphShadeColor{blue!60!black!30}{blue}{white}% - \tikzset{% - VertexStyle/.style = {% - shape = circle,% - fill = white,% - minimum size = 3.5cm,% - draw% - }% - }% - \SetVertexNoLabel% - \grWheelComplete[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} -\end{document} diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-smf-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-smf-logo.pdf Binary files differdeleted file mode 100644 index 3ab1a5ac68e..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-smf-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-sml-logo.pdf b/Master/texmf-dist/tex/latex/nwejm/images/nwejm-sml-logo.pdf Binary files differdeleted file mode 100644 index 3bd23456f80..00000000000 --- a/Master/texmf-dist/tex/latex/nwejm/images/nwejm-sml-logo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.cfg b/Master/texmf-dist/tex/latex/nwejm/nwejm.cfg index 693a375a84e..5bb9161a7cf 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.cfg +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.cfg @@ -84,7 +84,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Font designer text %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\fontdesignertext{We make use of the set of fonts \href{http://ctan.org/pkg/kpfonts}{Kp-Fonts}, designed by Christophe Caignaert.} +\fontdesignertext{We make use of \href{http://ctan.org/pkg/kpfonts}{Kp-Fonts}, + the set of fonts designed by Christophe Caignaert.} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Printer text %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -92,3 +93,39 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Authors instructions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\authorsinstructions{% + \begin{description} + \item[Articles submission:] Upon submission, the authors have only to provide + a file in the \textsc{pdf} format. Once the paper is accepted or subject to + minor revisions, the authors have to ensure that it agrees with the journal + format. + \item[\LaTeX{} details:]\ + \begin{description} + \item[\LaTeX{} class:] We strongly encourage the authors to prepare their + article to appear in the \href{\l__nwejm_journal_url_tl}{\nwejm} journal with + the dedicated \href{http://ctan.org/pkg/nwejm}{\textsf{nwejmart}} \LaTeX{} + class (currently, + \href{http://mirrors.ctan.org/macros/latex/contrib/nwejm/doc/documentation/nwejm.pdf}{documented + only in French}), available with \textsf{MiKTeX} and \textsf{TeX~Live} + distributions. + \item[Incompatibilities:]\ + \begin{itemize} + \item Our production system is \emph{not} compatible with the + \href{http://ctan.org/pkg/xypic}{\textsf{xypic} bundle}. For commutative + diagramms, please use instead the user-friendly and modern + \href{http://ctan.org/pkg/xypic}{\textsf{tikz-cd}} package. + \item We much more prefer graphics \emph{not} created with + \href{http://ctan.org/topic/pstricks}{\textsf{PSTricks} and + derived}. Consider using + \href{http://ctan.org/pkg/pgf}{\textsf{PGF/TikZ}} or + \href{http://ctan.org/topic/pgf-tikz}{derived packages}. + \end{itemize} + In case you really need one of these packages, please contact us. + \item[Bibliography:] The bibliography must be provided as a \texttt{.bib} + file in the format of the + \href{http://ctan.org/pkg/biblatex}{\textsf{biblatex}} package. + \item[Figures:] The figures must be provided in \textsc{pdf} or \textsc{eps} + formats. + \end{description} + \end{description} +} diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejm.cls b/Master/texmf-dist/tex/latex/nwejm/nwejm.cls index 2c6687a3e62..19e0f832d7a 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejm.cls +++ b/Master/texmf-dist/tex/latex/nwejm/nwejm.cls @@ -31,6 +31,9 @@ \msg_new:nnnn{nwejm}{Issue~number~needed}{Option~`#1'~needed!} {Please~specify~`#1=<number>', ~otherwise~`<number>'~will~be~set~to ~`\int_use:N\c__nwejm_first_issue_number_int'.}% +\msg_new:nnn{nwejm}{Wrong~main~file~name!}{The~ main~ file~ should~ be~ named~ + `\tl_use:N\c__nwejm_main_file_name_tl.tex',~ not~ `\jobname.tex'.~ Please~ rename~ + the~ current~ file~ accordingly.}% \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~ @@ -45,7 +48,8 @@ \msg_new:nnn{nwejmart}{No~abstract}{You~ haven't~ specify~ any~ abstract~ for~ this~ article!}% \msg_new:nnn{nwejmart}{Starred~AMS~environments}{The~ starred~AMS~environment~ - `#1*'~should~ be~ avoided.~ It~ will ~be ~ replaced ~ by its~ unstarred~ counterpart~ `#1'.}% + `#1*'~should~ be~ avoided.~ It~ will ~be ~ replaced ~ by its~ unstarred~ + counterpart~ `#1'.}% \msg_new:nnn{ nwejm }{Command~restricted~to~document~body~used~in~preamble}{The~command~#1 @@ -54,6 +58,11 @@ concerning~ the~ option~ `#1'~ has~ changed~ after~ its~ 1st~ use.~ Please~ use~ \articlesetup~ command~ just~ once,~ just~ after~ the~ beginning~ of~ the~ document.}% +\msg_new:nnn{ + nwejm +}{`xy'~package~not~allowed!}{The~ `xy'~ package~ is~ not~ allowed~ with~ the~ + `nwejm'~ LaTeX~ classes.~ Please~ use~ instead~ the~ user-friendly~ and~ + modern~ `tikz-cd'~ package.}% \msg_new:nnn{nwejmart}{Wrong~paired~delimiter's~size~parameter}{The~ 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~ @@ -120,11 +129,12 @@ \RequirePackage[l2tabu,orthodox]{nag} \pdftex_if_engine:TF { - \RequirePackage[T1]{fontenc} \RequirePackage[utf8]{inputenc} }{ \RequirePackage{fontspec} + \DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } } +\RequirePackage[T1]{fontenc} \RequirePackage[group=false,subpreambles,sort]{standalone}% \RequirePackage[pagestyles]{titlesec}% \RequirePackage{graphicx}% @@ -134,6 +144,8 @@ } \RequirePackage{adjustbox}% \RequirePackage{zref-totpages} +\RequirePackage{xr} +\RequirePackage{currfile} \RequirePackage{zref-xr}% \RequirePackage[multiple]{footmisc}% \RequirePackage[svgnames]{xcolor}% @@ -161,6 +173,8 @@ \RequirePackage{datatool}% \RequirePackage{placeins}% \RequirePackage{footnote}% +\RequirePackage[backend=biber,style=nwejm]{biblatex}% +\ExecuteBibliographyOptions{defernumbers=true,dashed=false,uniquename=init,backref,safeinputenc} \RequirePackage[hyperfootnotes=false,pdfencoding=unicode]{hyperref}% \AtBeginDocument{% \hypersetup{hidelinks,hypertexnames=false}% @@ -170,8 +184,6 @@ \RequirePackage[nowarn]{glossaries}% \RequirePackage{cleveref}% \RequirePackage{autonum} -\RequirePackage[backend=biber,style=nwejm]{biblatex}% -\ExecuteBibliographyOptions{defernumbers=true,dashed=false,uniquename=init,backref,safeinputenc} \makeglossaries \setglossarystyle{indexhypergroup} \setacronymstyle{long-sc-short} @@ -204,9 +216,8 @@ \tl_const:Nn \c__nwejm_backmatter_directory_string_tl {backmatter} \tl_const:Nn \c__nwejm_issue_backcover_text_file_string_tl {backcover} \tl_const:Nn \c__nwejm_backcover_page_file_string_tl {\c__nwejm_backmatter_directory_string_tl/\c__nwejm_issue_backcover_text_file_string_tl} -\tl_const:Nn \c__nwejm_authors_instructions_file_extension_tl {ain} -\tl_const:Nn \c__nwejm_authors_instructions_file_tl {\c_job_name_tl.\c__nwejm_authors_instructions_file_extension_tl} \tl_const:Nn \c__nwejm_authors_instructions_string_tl {Instructions~to~authors} +\tl_const:Nn \c__nwejm_main_file_name_tl {issue} \tl_const:Nn \c__nwejm_date_received_tl {received} \tl_const:Nn \c__nwejm_date_accepted_tl {accepted} \tl_const:Nn \c__nwejm_date_online_tl {online} @@ -493,7 +504,7 @@ \preto\@enddocumenthook{ \cleardoublepage \pagenumbering{roman}% - \setcounter{page}{3} + \setcounter{page}{\c_three} \bool_gset_true:N \g__nwejm_backmatter_bool \g__nwejm_display_inside_backcover_tl \newpage @@ -1056,36 +1067,31 @@ \bool_if:NTF {\g__nwejm_no_inside_backcover_bool} { \hbox{} }{% - \small% - \file_if_exist:nT { \c__nwejm_authors_instructions_file_tl } {% - % \begin{multicols}{2} - % \setlength{\columnsep}{1mm} - \file_input:n {\c__nwejm_authors_instructions_file_tl} - % \end{multicols} - % \setlength{\columnseprule}{1pt} - } + % \small% \begin{description}[leftmargin=1em] - \item[\c__nwejm_editorial_secretariat_string_tl{}~:] \ \par% + \item[\c__nwejm_authors_instructions_string_tl{}:] \ + \g__nwejm_authors_instructions_tl + \item[\c__nwejm_editorial_secretariat_string_tl{}:] \ \par% % \l__nwejm_journal_publisher_tl% % \par% % \space\textendash{}\space% \__nwejm_display_people_by_role:n { secretary }\par \l__nwejm_journal_address_tl\par% - \c__nwejm_phone_string_tl{}~:~\l__nwejm_journal_phone_tl{}\par% + \c__nwejm_phone_string_tl{}:~\l__nwejm_journal_phone_tl{}\par% \__nwejm_email:n {\l__nwejm_journal_email_tl} \newline% % \space\textendash{}\space \url{\l__nwejm_journal_url_tl} - \item[\c__nwejm_issn_string_tl{}~:] \l__nwejm_journal_issn_tl + \item[\c__nwejm_issn_string_tl{}:] \l__nwejm_journal_issn_tl \tl_if_empty:NF \l__nwejm_journal_isbn_tl {% - \item[\c__nwejm_isbn_string_tl{}~:] \l__nwejm_journal_isbn_tl + \item[\c__nwejm_isbn_string_tl{}:] \l__nwejm_journal_isbn_tl } - \item[\c__nwejm_latexclass_string_tl{}~:] + \item[\c__nwejm_latexclass_string_tl{}:] \__nwejm_display_people_by_role:n { classdesigner } - \item[\c__nwejm_computer_engineering_string_tl{}~:] %\g__nwejm_printer_text_tl + \item[\c__nwejm_computer_engineering_string_tl{}:] %\g__nwejm_printer_text_tl \__nwejm_display_people_by_role:n { computerengineer } - \item[\c__nwejm_printer_string_tl{}~:] %\g__nwejm_printer_text_tl + \item[\c__nwejm_printer_string_tl{}:] %\g__nwejm_printer_text_tl \__nwejm_display_people_by_role:n { printingservice } \end{description} \g__nwejm_font_designer_text_tl @@ -1167,6 +1173,9 @@ \tl_set:Nn \l__nwejm_msc_tl {\seq_use:Nn \l__nwejm_msc_seq {,~}} %%<class-article> \hypersetup{pdfmsc=\l_@@_msc_tl} } +\tl_new:N \l__nwejm_jobname_tl +\tl_set:Nn \l__nwejm_jobname_tl {\jobname} +\str_if_eq_x:nnF \l__nwejm_jobname_tl \c__nwejm_main_file_name_tl { \msg_error:nn{nwejm}{Wrong~main~file~name!} } %% \enquote{R\'{e}dacteur(s) en chef}. \NewDocumentCommand \editorinchief {mmmm} { @@ -1254,6 +1263,13 @@ \NewDocumentCommand \journalsetup { m } { \keys_set:nn { nwejm/journalsetup } { #1 } } +\tl_new:N \g__nwejm_authors_instructions_tl +\NewDocumentCommand \authorsinstructions { +m } { + \IfNoValueF {#1} + { + \tl_gset:Nn \g__nwejm_authors_instructions_tl {#1} + } +} \addto\extrasfrench{% \def\reftextfaceafter {page~\reftextvario{ci-contre}{suivante}}% \def\reftextfacebefore{page~\reftextvario{ci-contre}% @@ -1673,6 +1689,7 @@ } \\[-4ex] } +\label{\currfilebase} \bool_gset_false:N \g__nwejm_date_specified_bool \bookmarksetup{depth=subsection} \setsecnumdepth{subsection} @@ -1722,6 +1739,7 @@ } \sisetup{detect-all} } +\apptocmd{\appendix}{\renewcommand{\thesection}{\Alph{section}}}{}{} \cs_set_eq:NN \__nwejm_section \section \cs_set_eq:NN \__nwejm_subsection \subsection \cs_set_eq:NN \__nwejm_subsubsection \subsubsection @@ -2587,32 +2605,25 @@ disable% } } - \bool_if:NTF {\g__nwejm_for_authors_bool} { - \thispagestyle{empty} - \includegraphics{gzt-logo} - \hfill - \includegraphics[height=22.5mm]{\c__nwejm_smf_logo_file_string_tl}% - \par - \vfill - \begin{adjustbox}{valign=c,minipage=\linewidth} - \Large% - \c__nwejm_preliminary_version_string_tl% - \end{adjustbox} - \vfill - \newpage - }{ - \bool_if:NF {\g__nwejm_inside_pages_bool} { - \g__nwejm_display_frontcover_tl - \g__nwejm_display_inside_frontcover_tl - } - \tableofcontents + \bool_if:NF {\g__nwejm_inside_pages_bool} { + \g__nwejm_display_frontcover_tl + \g__nwejm_display_inside_frontcover_tl } + \tableofcontents } \AfterEndPreamble{% \titleformat{\chapter}[block] {\normalfont\centering}{}{0pt}{} \titlespacing*{\chapter}{0pt}{0pt}{0pt} } +\AtEndPreamble{% + \@ifpackageloaded{xy}{% + \msg_error:nn{ + nwejm + }{`xy'~package~not~allowed!} + }{ + } +} \ExplSyntaxOff \patchcmd{\autonum@saveEnvironmentSubcommands} {(0,0)\begin} diff --git a/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls b/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls index d762c18f060..40f4f720284 100644 --- a/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls +++ b/Master/texmf-dist/tex/latex/nwejm/nwejmart.cls @@ -31,6 +31,9 @@ \msg_new:nnnn{nwejm}{Issue~number~needed}{Option~`#1'~needed!} {Please~specify~`#1=<number>', ~otherwise~`<number>'~will~be~set~to ~`\int_use:N\c__nwejm_first_issue_number_int'.}% +\msg_new:nnn{nwejm}{Wrong~main~file~name!}{The~ main~ file~ should~ be~ named~ + `\tl_use:N\c__nwejm_main_file_name_tl.tex',~ not~ `\jobname.tex'.~ Please~ rename~ + the~ current~ file~ accordingly.}% \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~ @@ -45,7 +48,8 @@ \msg_new:nnn{nwejmart}{No~abstract}{You~ haven't~ specify~ any~ abstract~ for~ this~ article!}% \msg_new:nnn{nwejmart}{Starred~AMS~environments}{The~ starred~AMS~environment~ - `#1*'~should~ be~ avoided.~ It~ will ~be ~ replaced ~ by its~ unstarred~ counterpart~ `#1'.}% + `#1*'~should~ be~ avoided.~ It~ will ~be ~ replaced ~ by its~ unstarred~ + counterpart~ `#1'.}% \msg_new:nnn{ nwejmart }{Command~restricted~to~document~body~used~in~preamble}{The~command~#1 @@ -54,6 +58,11 @@ concerning~ the~ option~ `#1'~ has~ changed~ after~ its~ 1st~ use.~ Please~ use~ \articlesetup~ command~ just~ once,~ just~ after~ the~ beginning~ of~ the~ document.}% +\msg_new:nnn{ + nwejmart +}{`xy'~package~not~allowed!}{The~ `xy'~ package~ is~ not~ allowed~ with~ the~ + `nwejm'~ LaTeX~ classes.~ Please~ use~ instead~ the~ user-friendly~ and~ + modern~ `tikz-cd'~ package.}% \msg_new:nnn{nwejmart}{Wrong~paired~delimiter's~size~parameter}{The~ 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~ @@ -124,14 +133,17 @@ \RequirePackage[l2tabu,orthodox]{nag} \pdftex_if_engine:TF { - \RequirePackage[T1]{fontenc} \RequirePackage[utf8]{inputenc} }{ \RequirePackage{fontspec} + \DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } } +\RequirePackage[T1]{fontenc} \RequirePackage[pagestyles]{titlesec}% \RequirePackage{graphicx}% \RequirePackage{adjustbox}% +\RequirePackage{xr} +\RequirePackage{currfile} \RequirePackage[multiple]{footmisc}% \RequirePackage[svgnames]{xcolor}% \RequirePackage{xspace}% @@ -155,6 +167,8 @@ \RequirePackage[inline]{enumitem}% \RequirePackage{environ} \RequirePackage{footnote}% +\RequirePackage[backend=biber,style=nwejm]{biblatex}% +\ExecuteBibliographyOptions{defernumbers=true,dashed=false,uniquename=init,backref,safeinputenc} \RequirePackage[hyperfootnotes=false,pdfencoding=unicode]{hyperref}% \AtBeginDocument{% \hypersetup{hidelinks,hypertexnames=false}% @@ -164,8 +178,6 @@ \RequirePackage[nowarn]{glossaries}% \RequirePackage{cleveref}% \RequirePackage{autonum} -\RequirePackage[backend=biber,style=nwejm]{biblatex}% -\ExecuteBibliographyOptions{defernumbers=true,dashed=false,uniquename=init,backref,safeinputenc} \makeglossaries \setglossarystyle{indexhypergroup} \setacronymstyle{long-sc-short} @@ -176,6 +188,7 @@ \int_const:Nn \c__nwejm_first_issue_year_int { 2016 } \int_const:Nn \c__nwejm_first_issue_month_int { 1 } \int_const:Nn \c__nwejm_interval_in_months_int { 6 } +\tl_const:Nn \c__nwejm_main_file_name_tl {issue} \tl_const:Nn \c__nwejm_date_received_tl {received} \tl_const:Nn \c__nwejm_date_accepted_tl {accepted} \tl_const:Nn \c__nwejm_date_online_tl {online} @@ -625,6 +638,11 @@ \tl_set:Nn \l__nwejm_msc_tl {\seq_use:Nn \l__nwejm_msc_seq {,~}} %%<class-article> \hypersetup{pdfmsc=\l_@@_msc_tl} } + +\file_if_exist:nT { \c__nwejm_main_file_name_tl.aux } +{\externaldocument[__nwejm-]{\c__nwejm_main_file_name_tl} + \AtBeginDocument{\setcounter{page}{\number\numexpr\getpagerefnumber{__nwejm-\currfilebase}}} +} \cs_new_protected:Nn \__nwejm_command_only_in_body:n { \cs_if_eq:NNF {\@onlypreamble} {\@notprerr} { @@ -995,6 +1013,7 @@ } \\[-4ex] } +\label{\currfilebase} \bool_gset_false:N \g__nwejm_date_specified_bool \bookmarksetup{depth=subsection} \setsecnumdepth{subsection} @@ -1044,6 +1063,7 @@ } \sisetup{detect-all} } +\apptocmd{\appendix}{\renewcommand{\thesection}{\Alph{section}}}{}{} \cs_set_eq:NN \__nwejm_section \section \cs_set_eq:NN \__nwejm_subsection \subsection \cs_set_eq:NN \__nwejm_subsubsection \subsubsection @@ -1847,7 +1867,7 @@ \__nwejm_printbibliography[heading=__nwejm_subbibliography,resetnumbers,#1] \bool_if:NF \g__nwejm_nolocaltoc_bool { \newpage - \setcounter{page}{0} + \setcounter{page}{\c_zero} \pagenumbering{roman}% \etocarticlestylenomarks \etocsetlevel{chapter}{6} @@ -1910,6 +1930,14 @@ {\normalfont\centering}{}{0pt}{} \titlespacing*{\chapter}{0pt}{0pt}{0pt} } +\AtEndPreamble{% + \@ifpackageloaded{xy}{% + \msg_error:nn{ + nwejmart + }{`xy'~package~not~allowed!} + }{ + } +} \ExplSyntaxOff \patchcmd{\autonum@saveEnvironmentSubcommands} {(0,0)\begin} |