diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-21 20:58:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-21 20:58:02 +0000 |
commit | 3e34887b92bc2cfd1e43815528508408a0b12110 (patch) | |
tree | 6b0dae46e6359c8a2e040daa51577e122d0885e4 /Master/texmf-dist/source | |
parent | 26be1d8aa7b1cb0247091a863439a7832f2e310e (diff) |
nwejm (21feb22)
git-svn-id: svn://tug.org/texlive/trunk@62129 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/nwejm/nwejm-examples-template.dtx | 22 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/nwejm/nwejm.dtx | 479 |
2 files changed, 416 insertions, 85 deletions
diff --git a/Master/texmf-dist/source/latex/nwejm/nwejm-examples-template.dtx b/Master/texmf-dist/source/latex/nwejm/nwejm-examples-template.dtx index 55775e4db46..923c68b15d5 100644 --- a/Master/texmf-dist/source/latex/nwejm/nwejm-examples-template.dtx +++ b/Master/texmf-dist/source/latex/nwejm/nwejm-examples-template.dtx @@ -748,6 +748,22 @@ Cf. \vref{thm-bolzano-weierstrass} \& \vref{rmk-euler} \& % This is a template that may be used for the articles submitted to the % North-Western European Journal of Mathematics. % +%%%%%%%%%%%% +% CAUTION! % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This template is based on the `nwejmart` class. For: +% +% - your name(s), as author(s) of this article, +% - the list of bibliographic references, +% +% to be correctly displayed, this class requires : +% +% - the `biblatex` package (already loaded by the class), +% - as a bibliographic engine, NOT the usual `bibtex`, BUT `biber`. +% +% See the documentation (currently only in French) for more details. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % The language of the article is by default English. Should it be French, German % or Dutch instead, it would be specified as \documentclass' option. %COMMENT @@ -848,3 +864,9 @@ Cf. \vref{thm-bolzano-weierstrass} \& \vref{rmk-euler} \& % \begin{macrocode} %</template> % \end{macrocode} + +% \endinput +% Local Variables: +% mode: doctex +% TeX-master: "nwejm" +% End: diff --git a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx index 86bfb0627ba..f81c1448790 100644 --- a/Master/texmf-dist/source/latex/nwejm/nwejm.dtx +++ b/Master/texmf-dist/source/latex/nwejm/nwejm.dtx @@ -2,6 +2,273 @@ %<*internal> \iffalse %</internal> +% \begin{macrocode} +%<*ctanomat> +% \end{macrocode} +% This is a description file for ctan-o-mat. +% It manages uploads of a package to +% CTAN -- the Comprehensive TeX Archive Network. +% +% The syntax is roughly oriented towards (La)TeX. +% Two form of the macros are used. The simple macros take one argument +% in braces. Here the argument may not contain embedded macros. +% +% The second form uses an environment enclosed in \begin{}/\end{}. +% In the long text fields logo macros can be used. +% +% You should enter your values between the begin and the end of the +% named type. +% ------------------------------------------------------------------------- +% This field contains the CTAN id of the package. +% The value is optional. +% The value is restricted to 32 characters. +\pkg{nwejm} +% ------------------------------------------------------------------------- +% 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} +% ------------------------------------------------------------------------- +% This field contains the name of the author(s). +% The value is optional. +% The value is restricted to 128 characters. +\author{Denis Bitouzé} +% ------------------------------------------------------------------------- +% This field contains the email address of the uploader. +% The value is an email address. +% The value is restricted to 255 characters. +\email{denis.bitouze@univ-littoral.fr} +% ------------------------------------------------------------------------- +% This field contains the name of the uploader. +% The value is restricted to 255 characters. +\uploader{Denis Bitouzé} +% ------------------------------------------------------------------------- +% This field contains the directory on CTAN. +% The value is optional. +% The value is restricted to 255 characters. +\ctanPath{/macros/latex/contrib/nwejm} +% ------------------------------------------------------------------------- +% This field contains the license. +% The value is optional. +% The value is restricted to 2048 characters. +% Multiple values are allowed. +\license{lppl1.3c} +% ------------------------------------------------------------------------- +% This field contains the URL of the home page. +% The value is optional. +% The value is a URL. +% The value is restricted to 255 characters. +% Multiple values are allowed. +\home{} +% ------------------------------------------------------------------------- +% This field contains the URL of the bug tracker. +% The value is optional. +% The value is a URL. +% The value is restricted to 255 characters. +% Multiple values are allowed. +\bugtracker{https://github.com/dbitouze/nwejm/issues/} +% ------------------------------------------------------------------------- +% This field contains the support channel. +% The value is optional. +% The value is a URL. +% The value is restricted to 255 characters. +% Multiple values are allowed. +\support{} +% ------------------------------------------------------------------------- +% This field contains the version management. +% The value is optional. +% The value is a URL. +% The value is restricted to 255 characters. +% Multiple values are allowed. +\repository{https://github.com/dbitouze/nwejm/} +% ------------------------------------------------------------------------- +% This field contains the developer's channel. +% The value is optional. +% The value is a URL. +% The value is restricted to 255 characters. +% Multiple values are allowed. +\development{} +% ------------------------------------------------------------------------- +% This field contains the update indicator; true for update. +% The value is optional. +% The value is restricted to 8 characters. +\update{true} +% ------------------------------------------------------------------------- +% This field contains the topics id. +% The value is optional. +% The value is restricted to 1024 characters. +% Multiple values are allowed. +\topic{} +% ------------------------------------------------------------------------- +% This field contains the text for the mail announcement. +% The value is optional. +% The value is restricted to 8192 characters. +\begin{announcement} +\end{announcement} +% ------------------------------------------------------------------------- +% This field contains the one-liner for the package. +% The value is optional. +% The value is restricted to 128 characters. +\summary{Support for the journal “North-Western European Journal of Mathematics”} +% ------------------------------------------------------------------------- +% This field contains the descriptive abstract for the package. +% The value is optional. +% The value is restricted to 4096 characters. +\begin{description} +The bundle includes LaTeX classes and BibLaTeX styles files dedicated to the new +journal [“North-Western European Journal of +Mathematics”](http://math.univ-lille1.fr/~nwejm/): +- nwejm for the complete issues of the journal, aimed at the NWEJM’s team, +- nwejmart, intended for the authors who wish to publish an article in the NWEJM. This class’s goal is to: + - faithfully reproduce the layout of the nwejm, thus enabling the authors to be able to work their document in actual conditions, + - provide a number of tools (commands and environments) to facilitate the drafting of documents, in particular those containing mathematical formulas. +\end{description} +% ------------------------------------------------------------------------- +% This field contains the note to the CTAN upload managers. +% The value is optional. +% The value is restricted to 2048 characters. +\begin{note} +\end{note} +% ------------------------------------------------------------------------- +% This field contains the archive file. +% The value is the file name of the archive to be uploaded. +% It may have a relative or absolute directory. +\file{../dtx-forge/nwejm.zip} +% \begin{macrocode} +%</ctanomat> +% \end{macrocode} +% +% \begin{macrocode} +%<*changelog> +% \end{macrocode} +# [Unreleased] + +# [1.0.4] - 2022-02-21 + +## Changed +Logo file renamed for consistency. + +# [1.0.3] - 2022-02-02 + +## Added +- Add the ability to fit the TOC on a reduced number of pages. +- Warning in the documentation and in the template about the necessity to use both `biblatex` and `biber`. + +## Fixed +- Authors in headers appeared one page too early. +- `\begin{alignat}{X}...` displayed "X". +- Boring warning "unable to apply patch 'eqnum'". +- Conflicts between `tikzcd` and (Dutch) `babel`. + +# [1.0.2] - 2021-10-12 + +## Fixed +- Bug gh #4 (https://git.io/JKLYW). +- Fix bug in case of engine other than `pdftex`. + +# [1.0.1] - 2020-03-18 + +## Fixed +- Track changes in `expl3`. +- Fix bugs due to changes in `expl3`. + +# [1.0.0] - 2020-01-28 + +## Added +- README file. +- CHANGELOG file (following https://keepachangelog.com/en/1.0.0/). +- Semantic versionning (following https://semver.org/). +- Publication director, composer, masthead (not for the articles' authors). + +## Fixed +- Track changes in `expl3`. + +# [0.98f] - 2019-03-18 + +## Added +- 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`. +- `authoryear` bib and cite style changed for `authoryear-comp`. +- Hyperfootnotes now true. +- Documentation improved. +- Plural forms of (new) theorems now handled. +- Command `\textcite` revisited. +- Minor other changes. + +## Fixed +- Several bug fixes. + +# [0.98e] - 2018-04-07 + +## Changed +- Track changes in `expl3`. +- Support for `biblatex` 3.8 changes. +- "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`, + `gather`, `multline` and `flalign` that have to be un-numbered should now be + starred. +- Some new, minor, features. + +## Fixed +- Several bug fixes. + +# [0.98c] - 2017-02-09 + +## Fixed +- Fix error due to `l3sort` is now available directly on loading `expl3`. + +# [0.98b] - 2017-02-06 + +## Changed +- Adjustments because of deprecated functions removed from `expl3`. + +## Fixed +- Fix "n.d." appeared in case `.bib` files use `year` field instead of `date` + field. +- Other minor bug fix. + +# [0.98a] - 2017-01-06 + +## Changed +- Documentation improved. + +## Fixed +- Bug fixes. + +# [0.97] - 2016-06-10 + +## Added +- Instructions to authors + +## Changed +- Package `xy` declared incompatible with the current bundle. + +## Fixed +- Sections in appendices of the documentation are alphabetically numbered. +- The page numbers of standalone articles/issue are synchronized. + +# [0.96] - 2016-04-14 + +## Changed +- Improvements. +- (Not backward compatible) Big sets macros prefixed with `bb`, e.g. `\bbR` + instead of `\R`. + +## Fixed +- Bug fixes. + +# [0.95] - 2016-04-04 + +- Initial CTAN release of the `nwejm` bundle. +% \begin{macrocode} +%</changelog> +% \end{macrocode} +% %<*readme> nwejm - Support for the journal "North-Western European Journal of Mathematics" =============================================================================== @@ -13,7 +280,7 @@ new journal "North-Western European Journal of Mathematics". Release ------- -2021-10-12 v1.0.2 +2022-02-21 v1.0.4 Development ----------- @@ -44,7 +311,7 @@ https://github.com/dbitouze/nwejm. \input l3docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: nwejm 2021-10-12 v1.0.2} +\Msg{* Class: nwejm 2022-02-21 v1.0.4} \Msg{* for the journal} \Msg{* "North-Western European Journal of Mathematics" (DB)} \Msg{********************************************************} @@ -61,7 +328,7 @@ License:| Released under the LaTeX Project Public License v1.3c or later \endpreamble \postamble -Copyright (C) 2015-2021 by Denis Bitouze <denis.bitouze@univ-littoral.fr> +Copyright (C) 2015-2022 by Denis Bitouze <denis.bitouze@univ-littoral.fr> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either @@ -82,7 +349,6 @@ Running "make install" installs the files in the local TeX tree. % \def\NWEJM@classname{\jobname} \def\NWEJM@addons{addons} -\def\NWEJM@documentation{documentation} \def\NWEJM@examplestemplate{\jobname-examples-template} % \usedir{tex/latex/\NWEJM@classname} @@ -108,6 +374,11 @@ Running "make install" installs the files in the local TeX tree. %</install> %<install>\endbatchfile %<*internal> +\usedir{.} +\generate{ + \nopreamble\nopostamble + \file{\NWEJM@classname.pkg}{\from{\jobname.dtx}{ctanomat}} +}% \usedir{source/latex/\NWEJM@classname} \generate{ \file{\NWEJM@classname.ins}{\from{\jobname.dtx}{install}} @@ -117,8 +388,9 @@ Running "make install" installs the files in the local TeX tree. \usedir{doc/latex/\NWEJM@classname} \generate{ \file{README.md}{\from{\jobname.dtx}{readme}} + \file{CHANGELOG.md}{\from{\jobname.dtx}{changelog}} } -\usedir{doc/latex/\NWEJM@classname/french/\NWEJM@documentation} +\usedir{doc/latex/\NWEJM@classname/french} \generate{ \file{latexmkrc}{\from{\jobname.dtx}{latexmkrc}} } @@ -323,8 +595,8 @@ Running "make install" installs the files in the local TeX tree. \ProvidesExplClass %<class> {nwejm} %<class-article> {nwejmart} - {2021-10-12} - {1.0.2} + {2022-02-21} + {1.0.4} { Class for the journal "North-Western European Journal of Mathematics". } @@ -628,7 +900,7 @@ Running "make install" installs the files in the local TeX tree. % % \item Load of main font to be used: % \begin{macrocode} - \RequirePackage[easyscsl,noDcommand]{kpfonts} + \RequirePackage[noDcommand]{kpfonts} }{ % \end{macrocode} % @@ -873,6 +1145,12 @@ Running "make install" installs the files in the local TeX tree. \RequirePackage{tocvsec2} % \end{macrocode} % +% \item Control table of contents, figures, etc. +% \begin{macrocode} +\RequirePackage{tocloft}% +\gdef\ttl@savemark{} +% \end{macrocode} +% % \item Completely customisable TOCs: % \begin{macrocode} \RequirePackage{etoc}% @@ -880,7 +1158,7 @@ Running "make install" installs the files in the local TeX tree. % % \item Subliminal refinements towards typographical perfection: % \begin{macrocode} -\RequirePackage[babel=true,final]{microtype}% +\RequirePackage[babel=true,nopatch=eqnum,final]{microtype}% % \end{macrocode} % % \item Current date and time formatting: @@ -939,14 +1217,6 @@ Running "make install" installs the files in the local TeX tree. \RequirePackage{cleveref}% % \end{macrocode} % -% \item Automatic equation references (we first make use of a workaround due to -% Enrico Gregorio in order to get rid of the warning about \package{etex} --~ -% see https://tex.stackexchange.com/a/285953/18401): -% \begin{macrocode} -\expandafter\def\csname ver@etex.sty\endcsname{3000/12/31} -\let\globcount\newcount -% \end{macrocode} -% % \end{enumerate} % % Setings of the glossaries and acronyms. @@ -1259,7 +1529,7 @@ Running "make install" installs the files in the local TeX tree. % \begin{macro}{\c_@@_paperwidth_dim} % \begin{macro}{\c_@@_topmargin_dim} % \begin{macro}{\c_@@_headsep_dim} -% \begin{macro}{\c_@@_botmargin_dim} +% \begin{macro}{\c_@@_bottom_margin_front_dim} % \begin{macro}{\c_@@_innermargin_dim} % \begin{macro}{\c_@@_outermargin_dim} % \begin{macro}{\c_@@_footskip_dim} @@ -1480,10 +1750,10 @@ Running "make install" installs the files in the local TeX tree. \c_@@_headsep_inside_frontcover_dim } \dim_const:Nn \c_@@_headheight_dim { 5mm } -\dim_const:Nn \c_@@_botmargin_dim { 30mm} +\dim_const:Nn \c_@@_bottom_margin_main_dim { 36mm} +\dim_const:Nn \c_@@_bottom_margin_front_dim { 30mm} \dim_const:Nn \c_@@_footskip_dim { 10mm} \dim_const:Nn \c_@@_margin_frontcover_dim { 15mm } -\dim_const:Nn \c_@@_bottom_frontcover_dim { 15mm } \dim_const:Nn \c_@@_left_minipage_frontcover_dim { .4\linewidth } \dim_const:Nn \c_@@_right_minipage_frontcover_dim { .6\linewidth } % \end{macrocode} @@ -1516,13 +1786,6 @@ Running "make install" installs the files in the local TeX tree. % \end{macro} % \end{macro} % -% We set the default geometry of the page. -% \begin{macrocode} -\geometry{% - papersize={\c_@@_paperwidth_dim,\c_@@_paperheight_dim} -} -% \end{macrocode} -% % \begin{macrocode} %</class|class-article> % \end{macrocode} @@ -1573,7 +1836,7 @@ Running "make install" installs the files in the local TeX tree. ,top=\c_@@_topmargin_inside_cover_dim ,headheight=\c_@@_headheight_dim ,headsep=\c_@@_headsep_inside_frontcover_dim - ,bottom=\c_@@_botmargin_dim + ,bottom=\c_@@_bottom_margin_front_dim ,footskip=\c_@@_footskip_dim ,nomarginpar% ,textwidth=\c_@@_inside_cover_textwidth_dim @@ -1585,7 +1848,7 @@ Running "make install" installs the files in the local TeX tree. ,top=\c_@@_topmargin_inside_cover_dim ,headheight=\c_@@_headheight_dim ,headsep=\c_@@_headsep_inside_frontcover_dim - ,bottom=\c_@@_botmargin_dim + ,bottom=\c_@@_bottom_margin_front_dim ,footskip=\c_@@_footskip_dim ,nomarginpar% ,textwidth=\c_@@_inside_cover_textwidth_dim @@ -1602,7 +1865,7 @@ Running "make install" installs the files in the local TeX tree. ,top=\c_@@_topmargin_front_matter_dim% ,headheight=\c_@@_headheight_dim ,headsep=\c_@@_headsep_front_matter_dim - ,bottom=\c_@@_botmargin_dim + ,bottom=\c_@@_bottom_margin_front_dim ,footskip=\c_@@_footskip_dim% ,inner=\c_@@_innermargin_dim+\c_@@_front_matter_extra_innermargin_dim% ,outer=\c_@@_outermargin_dim+\c_@@_front_matter_extra_outermargin_dim% @@ -1643,6 +1906,7 @@ Running "make install" installs the files in the local TeX tree. ,textwidth=\c_@@_layoutwidth_dim*3/4 ,textheight=\c_@@_layoutheight_dim*3/4 % ,marginratio={4\string :6,5\string :7} + ,bottom=\c_@@_bottom_margin_main_dim ,inner=\c_@@_innermargin_dim ,headheight=\c_@@_headheight_dim ,footskip=\c_@@_footskip_dim @@ -1653,13 +1917,25 @@ Running "make install" installs the files in the local TeX tree. % ,top=\c_@@_topmargin_dim% % ,headheight=\c_@@_headheight_dim % ,headsep=\c_@@_headsep_dim - % ,bottom=\c_@@_botmargin_dim + % ,bottom=\c_@@_bottom_margin_front_dim % ,footskip=\c_@@_footskip_dim % ,inner=\c_@@_innermargin_dim % ,outer=\c_@@_outermargin_dim }% % \end{macrocode} % +% We set the default geometry of the page. +% \begin{macrocode} +\geometry +{% + papersize={\c_@@_paperwidth_dim,\c_@@_paperheight_dim}, +} +\exp_after:wN\geometry\exp_after:wN +{% + \c_@@_main_geometry_tl +} +% \end{macrocode} +% % \begin{macrocode} %</class|class-article> % \end{macrocode} @@ -1742,7 +2018,6 @@ Running "make install" installs the files in the local TeX tree. \bool_if:NF {\g_@@_for_authors_bool}{ \bool_if:NF {\g_@@_tableofcontents_already_used_bool}{ \normalsize% - \clearpage% \bool_gset_false:N \g_@@_frontmatter_bool% \g_@@_mainmatter_switch_tl } @@ -1751,7 +2026,7 @@ Running "make install" installs the files in the local TeX tree. }% \renewcommand\etocaftercontentshook {% - \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% + % \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% }% % \end{macrocode} % @@ -2605,10 +2880,12 @@ Running "make install" installs the files in the local TeX tree. \end{description} \end{description} \end{multicols*} - \clearpage% + % \clearpage% + \restoregeometry \bool_gset_false:N \g_@@_inside_frontcover_bool \pagestyle{@@_frontmatter_ps}% - \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% + \restoregeometry + % \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% } % \end{macrocode} % @@ -2742,10 +3019,10 @@ Running "make install" installs the files in the local TeX tree. rectangle (current~page.south~east); % laboratory logo \node[anchor=south~east] at ([xshift=-10mm]current~page~text~area.south~east) - {\includegraphics[height=.5\c_@@_logos_rectangle_height_dim]{logo-painleve}} ; + {\includegraphics[height=.5\c_@@_logos_rectangle_height_dim]{nwejm-logo-painleve}} ; % university logo \node[anchor=south~west] at (current~page~text~area.south~west) - {\includegraphics[height=.5\c_@@_logos_rectangle_height_dim]{ul-fst-math}} ; + {\includegraphics[height=.5\c_@@_logos_rectangle_height_dim]{nwejm-ul-fst-math}} ; % crop marks \draw [white] ([xshift=2.5mm]current~page~text~area.north~east) -- @@ -3314,6 +3591,12 @@ Running "make install" installs the files in the local TeX tree. % \url{https://tex.stackexchange.com/q/475788/18401}). % \begin{macrocode} \NewDocumentCommand \inputarticle { O{english} m } {% +% \end{macrocode} +% +% First, we don't want the (next) title to appear in the headers of the preceding +% article. +% \begin{macrocode} + \cleardoublepage \int_gincr:N \g_@@_articles_int \newrefsection \renewcommand*{\glspluralsuffix}{s} @@ -3499,12 +3782,6 @@ Running "make install" installs the files in the local TeX tree. \RenewDocumentCommand \title { o o m } { % \end{macrocode} % -% We don't want the (next) title to appear in the headers of the preceding -% article. -% \begin{macrocode} - \cleardoublepage -% \end{macrocode} -% % We increment the "\g_@@_articles_int" integer that counts the number of % articles in order to provide for each of them a unique bibliographic key. % \begin{macrocode} @@ -3626,10 +3903,10 @@ Running "make install" installs the files in the local TeX tree. % \begin{macrocode} \tl_new:N \g_@@_frontmatter_switch_tl% \tl_gset:Nn \g_@@_frontmatter_switch_tl { - \bool_gset_true:N \g_@@_frontmatter_bool + \bool_gset_true:N \g_@@_frontmatter_bool \frontmatter - \pagestyle{@@_frontmatter_ps}% - \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% + % \pagestyle{@@_frontmatter_ps}% + % \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% } % \end{macrocode} % @@ -3643,7 +3920,8 @@ Running "make install" installs the files in the local TeX tree. \mainmatter % \SetParskip{\c_@@_mainmatter_parskip_skip} \pagestyle{@@_mainmatter_ps}% - \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% + \restoregeometry + % \exp_after:wN\newgeometry\exp_after:wN{\c_@@_main_geometry_tl}% } % \end{macrocode} % @@ -5288,16 +5566,21 @@ Running "make install" installs the files in the local TeX tree. % \url{https://tex.stackexchange.com/q/399979/18401}). As a workaround, we make % these environments the same as ×align(*)×. % \begin{macrocode} -\clist_set:Nn \l_tmpa_clist {flalign,alignat} -\clist_map_inline:Nn \l_tmpa_clist { - \RenewEnviron{#1} - { - \cs:w db_multiline_eq:nV\cs_end: {align} \BODY - } - \RenewEnviron{#1*} - { - \cs:w db_multiline_eq:nV\cs_end: {align*} \BODY - } +\RenewEnviron{flalign} +{ + \cs:w db_multiline_eq:nV\cs_end: {align} \BODY +} +\RenewEnviron{flalign*} +{ + \cs:w db_multiline_eq:nV\cs_end: {align*} \BODY +} +\RenewEnviron{alignat}[1] +{ + \cs:w db_multiline_eq:nV\cs_end: {align} \BODY +} +\RenewEnviron{alignat*}[1] +{ + \cs:w db_multiline_eq:nV\cs_end: {align*} \BODY } % \end{macrocode} % @@ -5758,22 +6041,12 @@ Running "make install" installs the files in the local TeX tree. % % \subsection{Related to \Pkg{kpfonts}} % -% We robustify the "\itshape" redefinition (in case of "easyscsl" option), that -% is not robust in \pkg{kpfonts} code -% (cf. \url{https://groups.google.com/d/msg/fr.comp.text.tex/hIi97ipK5qA/WJoPwvH-p1UJ}). -% \begin{macrocode} -\sys_if_engine_pdftex:T -{ - \ifkp@easyscsl - \DeclareRobustCommand{\itshape}{\not@math@alphabet\itshape\mathit% - \ifthenelse{\equal{\f@shape}{\scdefault}}{\fontshape{scsl}}{% - \fontshape\itdefault}\selectfont} - \fi -% \end{macrocode} % % We replace the \pkg{kpfonts}' \enquote{mathfrak} by the one from % \enquote{eufrak}, as the former doesn't provide Euler Fraktur digits. % \begin{macrocode} +\sys_if_engine_pdftex:T +{ \DeclareMathAlphabet\mathfrak{U}{euf}{m}{n} \SetMathAlphabet\mathfrak{bold}{U}{euf}{b}{n} } @@ -5911,15 +6184,24 @@ Running "make install" installs the files in the local TeX tree. } % \end{macrocode} % -% % By default, we switch the shorthand character ×"× off used by the Dutch and -% % German languages as they are source of many troubles, especially with the -% % ×tikzcd× environments. -% % \begin{macrocode} -% \AddToHook{begindocument/end}{% -% \shorthandoff{"}% -% \usetikzlibrary{babel}% -% } -% % \end{macrocode} +% By default, we switch the shorthand character ×"× off used by the Dutch and +% German languages as they are source of many troubles, especially with the +% ×tikzcd× environments. +% \begin{macrocode} +\AddToHook{begindocument/end}{% + % \shorthandoff{"}% + \@ifpackageloaded{tikz}{% + \usetikzlibrary{babel}% + }{}% +} +% \end{macrocode} +% +% By default, the page style is the one of the mainmatter. +% \begin{macrocode} +\AddToHook{begindocument/end}{% + \pagestyle{@@_mainmatter_ps}% +} +% \end{macrocode} % % We now leave the \LaTeX3{} programming environment. % \begin{macrocode} @@ -6733,18 +7015,45 @@ Running "make install" installs the files in the local TeX tree. % \end{macrocode} % % \begin{macrocode} -$pdf_mode = 1; +$pdf_mode = 4; +$biber = 'biber -U %O %B'; $bibtex_use = 1; -$bibtex = 'biber -U %O %B'; -$makeindex = 'texindy -L english'; +$pdflatex="pdflatex -synctex=1 %O %S"; +$lualatex="lualatex -synctex=1 %O %S"; + +add_cus_dep('glo', 'gls', 0, 'makeglossaries'); +add_cus_dep('acn', 'acr', 0, 'makeglossaries'); +add_cus_dep('slo', 'sls', 0, 'makeglossaries'); +sub makeglossaries { + my ($base_name, $path) = fileparse( $_[0] ); + pushd $path; + my $return = system "makeglossaries", $base_name; + popd; + return $return; +} + +$makeindex = 'texindy -L english -C utf8'; + +push @generated_exts, 'acn', 'acr', 'alg', 'bbl', 'bcf', 'fls', 'gl*', 'ist', +'run.xml', 'sbl*', 'sl*', 'sym*', 'unq', 'mw' ; -push @generated_exts, "aux", "idx", "ind", "lo*", "out", "toc", "acn", "acr", -"alg", "bbl", "bcf", "fls", "gl*", "ist", "run.xml", "sbl*", "sl*", "sym*", -"xdy", "unq", "mw", "*~" "sta" ; +$clean_ext .= ' synctex.gz* run.xml tex.bak out sta bbl bcf fdb_latexmk run tdo + listing *~ lo* xdy vrb ain atfi nav snm thm iny xref db* listing tcbtemp aux + idx ind lof lot out toc acn acr alg glg* glo* gls* ins sbl slg sym ist + run.xml xdy lol fls unq synctex.gz mw *~ aux bcf frm msk nlg nls ntn tcbtemp + thm nav nlo not i dx ind lof lot out toc acn acr alg glg glo gls glg2 gls2 + glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol fls unq synctex.gz *~ + listing png tkzfct.gnuplot tkzfct.table mw snm tns sta %R.*.vrb xref 4ct 4tc idv + lg pre tmp *.typo mp epub html' ; -$clean_ext = "synctex.gz* run.xml tex.bak bbl bcf fdb_latexmk run tdo listing sta" +@generated_exts = qw(db* listing tcbtemp aux idx ind lof lot out toc acn acr alg +glg* glo* gls* ins sbl slg sym ist run.xml xdy lol fls unq synctex.gz mw *~ aux +bcf frm msk nlg nls ntn tcbtemp thm nav nlo not i dx ind lof lot out toc acn acr +alg glg glo gls glg2 gls2 glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol +fls unq synctex.gz *~ listing png tkzfct.gnuplot tkzfct.table mw snm tns sta +vrb xref *.typo mp epub html); % \end{macrocode} % % \begin{macrocode} |