diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-09 20:45:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-09 20:45:37 +0000 |
commit | d2602fc0b65f4c8d5ab78f5e88e73f1b78127b61 (patch) | |
tree | de78c7d078b1f799c265a330b2de923ce5a117cc /Master/texmf-dist/tex/latex/gzt | |
parent | c947b0e3bfb9106e6b82bda20c09f6eca96e366e (diff) |
gzt (9mar24)
git-svn-id: svn://tug.org/texlive/trunk@70532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gzt')
-rw-r--r-- | Master/texmf-dist/tex/latex/gzt/gzt.cls | 428 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gzt/gzt.dbx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gzt/gzt.lbx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gzt/gztarticle.cls | 366 |
4 files changed, 451 insertions, 347 deletions
diff --git a/Master/texmf-dist/tex/latex/gzt/gzt.cls b/Master/texmf-dist/tex/latex/gzt/gzt.cls index e26f26ac702..6d6c5d8ab58 100644 --- a/Master/texmf-dist/tex/latex/gzt/gzt.cls +++ b/Master/texmf-dist/tex/latex/gzt/gzt.cls @@ -11,8 +11,8 @@ %% E-mail:| denis.bitouze@univ-littoral.fr %% License:| Released under the LaTeX Project Public License v1.3c or later %% See:| http://www.latex-project.org/lppl.txt -\def\gztfileversion{1.1.3} -\def\gztfiledate{2022-06-13} +\def\gztfileversion{1.1.4} +\def\gztfiledate{2024-03-09} \def\sectioncommandslist{} \let\saved@ifdefinable\@ifdefinable \let\saved@@ifdefinable\@@ifdefinable @@ -82,9 +82,9 @@ {gzt} {\gztfiledate} {\gztfileversion} - { - SMF~ class~ for~ the~ French~ journal^^J - "La~ Gazette~ de~ la~ Soci'et'e~ Math'ematique~ de~ France". + {% + SMF class for the French journal^^J + “La Gazette de la Société Mathématique de France”. } \NeedsTeXFormat{LaTeX2e} \bool_new:N \g__gzt_moral_report_bool @@ -143,6 +143,11 @@ }, output / web .code:n = { }, + maindarkcolor .code:n = { + \AddToHook{begindocument/before}{ + \definecolor{__gzt_generic_dark_color}{cmyk}{#1} + } + }, specialedition .code:n = { \bool_gset_true:N \g__gzt_special_edition_bool \bool_gset_true:N \g__gzt_frontcover_without_minitoc_bool @@ -151,6 +156,11 @@ specialedition / color .code:n = { \tl_gset:Nn \g__gzt_special_edition_color_tl {#1} }, + specialedition / ornaments~ color .code:n = { + \AddToHook{begindocument/before}{ + \definecolor{__gzt_generic_dark_color}{cmyk}{#1} + } + }, specialedition / invisible~ titles .bool_gset:N = \g__gzt_invisible_titles_bool, specialedition / rubrics~ in~ toc .bool_gset:N = \g__gzt_rubrics_in_toc_bool, specialedition / minitoc .code:n = { @@ -872,7 +882,9 @@ { short .tl_gset:N = \g__gzt_short_title_tl, minishort .tl_gset:N = \g__gzt_mini_short_title_tl, + notinarticle .bool_gset:N = \g__gzt_title_not_in_article_bool, notintoc .bool_gset:N = \g__gzt_title_not_in_toc_bool, + without~ rule .bool_gset:N = \g__gzt_title_without_rule_bool, short .value_required:n = true, minishort .value_required:n = true, } @@ -880,6 +892,7 @@ { short .tl_gset:N = \g__gzt_short_subtitle_tl, minishort .tl_gset:N = \g__gzt_mini_short_subtitle_tl, + notinarticle .bool_gset:N = \g__gzt_subtitle_not_in_article_bool, notintoc .bool_gset:N = \g__gzt_subtitle_not_in_toc_bool, short .value_required:n = true, minishort .value_required:n = true, @@ -887,6 +900,7 @@ \keys_define:nn { gzt/rubric } { abstract .tl_gset:N = \g__gzt_rubric_abstract_tl, + header .tl_gset:N = \g__gzt_rubric_header_tl, title .tl_gset:N = \g__gzt_rubric_title_tl, pictogram .tl_gset:N = \g__gzt_rubric_pictofile_tl, abstract .value_required:n = true, @@ -964,54 +978,53 @@ { theorem~ or~ definition~ or~ proof } { \exp_not:n {#1} } } -\definecolorset{cmyk}{__gzt_}{_color}{ - generic_dark,1,.60,.10,0; % kind of blue (!) - light_generic_dark,1,.35,0,0 % kind of blue (!), light -} -\colorlet{__gzt_generic_light_color}{black!50} -\colorlet{__gzt_dark_generic_light_color}{black!60} -\colorlet{__gzt_description_label_light_color}{__gzt_dark_generic_light_color} -\colorlet{__gzt_minitoc_color}{__gzt_generic_light_color} -\colorlet{__gzt_cover_itemize_label_color}{__gzt_light_generic_dark_color} -\colorlet{__gzt_default_text_color}{black} -\colorlet{__gzt_head_text_color}{black!65} -\colorlet{__gzt_rubric_head_text_color}{__gzt_head_text_color} -\colorlet{__gzt_bibliography_minibios_acknowledgements_bg_color}{black!10} -\colorlet{__gzt_headrule_color}{__gzt_generic_light_color!65} -\colorlet{__gzt_circlerule_color}{__gzt_generic_dark_color!65} -\colorlet{__gzt_frontmatter_text_color}{black!75} -\colorlet{__gzt_people_color}{__gzt_generic_dark_color} -\colorlet{__gzt_arrayrule_color}{__gzt_generic_dark_color} -\colorlet{__gzt_acknowledgements_color}{__gzt_generic_dark_color} -\colorlet{__gzt_question_color}{__gzt_generic_dark_color} -\colorlet{__gzt_boxed_issue_number_bg_color}{__gzt_generic_dark_color} -\colorlet{__gzt_rule_in_toc_color}{__gzt_generic_dark_color} -\colorlet{__gzt_rubric_in_toc_color}{__gzt_generic_dark_color} -\colorlet{__gzt_article_in_toc_color}{__gzt_frontmatter_text_color} -\colorlet{__gzt_rubric_title_color}{__gzt_generic_light_color} -\colorlet{__gzt_article_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_section_color}{__gzt_generic_dark_color} -\colorlet{__gzt_subsection_color}{__gzt_generic_dark_color!90} -\colorlet{__gzt_subsubsection_color}{__gzt_generic_dark_color!80} -\colorlet{__gzt_rubric_abstract_color}{__gzt_generic_dark_color} -\colorlet{__gzt_article_abstract_color}{__gzt_generic_light_color} -\colorlet{__gzt_dotfill_color}{__gzt_generic_dark_color} -\colorlet{__gzt_about_frontcover_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_reflected_text_color}{__gzt_generic_dark_color} -\colorlet{__gzt_inside_frontcover_frame_bg_color}{__gzt_generic_dark_color!8} -\colorlet{__gzt_inside_frontcover_frame_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_footer_bg_color}{black!10} -\colorlet{__gzt_float_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_float_title_bg_color}{__gzt_generic_dark_color!10} -\colorlet{__gzt_float_frame_color}{__gzt_generic_dark_color!20} -\colorlet{__gzt_chapter_color}{__gzt_generic_dark_color} -\colorlet{__gzt_smf_number_color}{__gzt_generic_dark_color} -\colorlet{__gzt_date_color}{__gzt_generic_light_color} -\colorlet{__gzt_table_head_color}{__gzt_generic_dark_color!25} -\colorlet{__gzt_book_review_frame_bg_color}{__gzt_generic_dark_color!8} -\colorlet{__gzt_book_advertisement_bg_color}{white} -\colorlet{__gzt_book_advertisement_frame_color}{__gzt_generic_dark_color} -\colorlet{__gzt_default_cover_color}{white} +\definecolor{__gzt_generic_dark_color}{cmyk}{1,.60,.10,0} +\AddToHook{begindocument}{ + \colorlet{__gzt_generic_light_color}{black!50} + \colorlet{__gzt_dark_generic_light_color}{black!60} + \colorlet{__gzt_description_label_light_color}{__gzt_dark_generic_light_color} + \colorlet{__gzt_minitoc_color}{__gzt_generic_light_color} + \colorlet{__gzt_cover_itemize_label_color}{__gzt_generic_dark_color} + \colorlet{__gzt_default_text_color}{black} + \colorlet{__gzt_head_text_color}{black!65} + \colorlet{__gzt_rubric_head_text_color}{__gzt_head_text_color} + \colorlet{__gzt_bibliography_minibios_acknowledgements_bg_color}{black!10} + \colorlet{__gzt_headrule_color}{__gzt_generic_light_color!65} + \colorlet{__gzt_circlerule_color}{__gzt_generic_dark_color!65} + \colorlet{__gzt_frontmatter_text_color}{black!75} + \colorlet{__gzt_people_color}{__gzt_generic_dark_color} + \colorlet{__gzt_arrayrule_color}{__gzt_generic_dark_color} + \colorlet{__gzt_acknowledgements_color}{__gzt_generic_dark_color} + \colorlet{__gzt_question_color}{__gzt_generic_dark_color} + \colorlet{__gzt_boxed_issue_number_bg_color}{__gzt_generic_dark_color} + \colorlet{__gzt_rule_in_toc_color}{__gzt_generic_dark_color} + \colorlet{__gzt_rubric_in_toc_color}{__gzt_generic_dark_color} + \colorlet{__gzt_article_in_toc_color}{__gzt_frontmatter_text_color} + \colorlet{__gzt_rubric_title_color}{__gzt_generic_light_color} + \colorlet{__gzt_article_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_section_color}{__gzt_generic_dark_color} + \colorlet{__gzt_subsection_color}{__gzt_generic_dark_color!90} + \colorlet{__gzt_subsubsection_color}{__gzt_generic_dark_color!80} + \colorlet{__gzt_rubric_abstract_color}{__gzt_generic_dark_color} + \colorlet{__gzt_article_abstract_color}{__gzt_generic_light_color} + \colorlet{__gzt_dotfill_color}{__gzt_generic_dark_color} + \colorlet{__gzt_about_frontcover_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_reflected_text_color}{__gzt_generic_dark_color} + \colorlet{__gzt_inside_frontcover_frame_bg_color}{__gzt_generic_dark_color!8} + \colorlet{__gzt_inside_frontcover_frame_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_footer_bg_color}{black!10} + \colorlet{__gzt_float_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_float_title_bg_color}{__gzt_generic_dark_color!10} + \colorlet{__gzt_float_frame_color}{__gzt_generic_dark_color!20} + \colorlet{__gzt_chapter_color}{__gzt_generic_dark_color} + \colorlet{__gzt_smf_number_color}{__gzt_generic_dark_color} + \colorlet{__gzt_date_color}{__gzt_generic_light_color} + \colorlet{__gzt_table_head_color}{__gzt_generic_dark_color!25} + \colorlet{__gzt_book_review_frame_bg_color}{__gzt_generic_dark_color!8} + \colorlet{__gzt_book_advertisement_bg_color}{white} + \colorlet{__gzt_book_advertisement_frame_color}{__gzt_generic_dark_color} + \colorlet{__gzt_default_cover_color}{white} +} \AddToHook{env/multicols/begin}{ \bool_gset_true:N \g__gzt_multicols_bool } @@ -1718,7 +1731,9 @@ \int_gincr:N \g__gzt_articles_int \tl_gclear:N \g__gzt_short_title_tl \tl_gclear:N \g__gzt_short_subtitle_tl + \bool_gset_false:N \g__gzt_title_not_in_article_bool \bool_gset_false:N \g__gzt_title_not_in_toc_bool + \bool_gset_false:N \g__gzt_title_without_rule_bool \IfNoValueF {#1} { \keys_set:nn { gzt/title } { #1 } @@ -1811,6 +1826,7 @@ { \newpage \tl_gclear:N \g__gzt_rubric_abstract_tl + \tl_gclear:N \g__gzt_rubric_header_tl \tl_gset:Nn \g__gzt_rubric_title_tl {#2} \file_if_exist:nTF { #3.pdf }{ \tl_gset:Nn \g__gzt_rubric_pictofile_tl {#3} @@ -2074,8 +2090,9 @@ } \tl_set:Nn \l__gzt_title_box_tl { - \noindent \bool_if:NF {\g__gzt_invisible_titles_bool} { + \noindent + % \bool_show:N \g__gzt_title_not_in_article_bool \hspace*{18mm} \begin{adjustbox}{minipage=\linewidth-18mm,valign=t} \raggedright @@ -2090,46 +2107,8 @@ \phantomsection \par } - \bool_if:NTF {\g__gzt_title_not_in_toc_bool} { - \bookmark[page=\thepage,level=chapter]{\g__gzt_short_title_tl} - }{ - \addcontentsline{toc}{chapter}{ - \tl_if_empty:NTF \g__gzt_short_title_tl { - \g__gzt_title_tl - }{ - \g__gzt_short_title_tl - } - \bool_if:NF {\g__gzt_subtitle_not_in_toc_bool} { - \bool_if:nF { - \tl_if_empty_p:N \g__gzt_short_subtitle_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - }{ - \c_space_tl\textendash{}\c_space_tl\g__gzt_short_subtitle_tl - } - } - \bool_if:nF { - \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - }{ - \textsl{ - \cs_if_exist:cTF {texorpdfstring} - { - \texorpdfstring{ - \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} - }{} - }{ - \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} - } - } - } - } - } - \bool_if:NF {\g__gzt_invisible_titles_bool} { - \end{adjustbox} - } - } + \end{adjustbox} +} \dim_gset:Nn \g__gzt_abstract_box_width_dim {0.75\linewidth} % \bool_if:nT { \tl_if_empty_p:N \l__gzt_people_first_last_names_tl } % { @@ -2160,20 +2139,18 @@ } { \color{__gzt_people_color} - \bool_if:NTF {\g__gzt_invisible_titles_bool} { - \nocite {\g__gzt_article_bib_key_tl} - }{ + \bool_if:NF {\g__gzt_invisible_titles_bool} { \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl} } } \bool_if:NF {\g__gzt_invisible_titles_bool} { - \end{adjustbox} - } - } - \bool_if:nTF { - \int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 } + \end{adjustbox} } - { + } + \bool_if:nTF { + \int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 } + } + { \mbox{} \par \bool_if:nTF { @@ -2210,74 +2187,115 @@ } } \bool_gset_false:N \g__gzt_previous_article_with_bibliography_or_minibio_bool -\bool_if:NT {\g__gzt_for_authors_bool} { - \hypersetup{ - pdftitle=\g__gzt_short_title_tl, - pdfauthor=\l__gzt_people_first_last_names_tl - } -} - \bool_if:nF { \g__gzt_for_authors_bool } { - % \xleaders\vbox { - % \bigskip - % } - % \vskip\bigskipamount - \noindent - \checkoddpage - \ifoddpage - \l__gzt_bullet_and_rule_odd_tl - \else - \l__gzt_bullet_and_rule_even_tl - \fi - \bigskip + \bool_if:NT {\g__gzt_for_authors_bool} { + \hypersetup{ + pdftitle=\g__gzt_short_title_tl, + pdfauthor=\l__gzt_people_first_last_names_tl + } + } + \bool_if:nF { \g__gzt_for_authors_bool } { + \bool_if:NF {\g__gzt_title_without_rule_bool} { + % \xleaders\vbox { + % \bigskip + % } + % \vskip\bigskipamount + \noindent + \checkoddpage + \ifoddpage + \l__gzt_bullet_and_rule_odd_tl + \else + \l__gzt_bullet_and_rule_even_tl + \fi + \bigskip + } } \par \nopagebreak[4] - \l__gzt_title_box_tl - \normalsize - \nopagebreak[3] - \bool_if:nF { - \tl_if_empty_p:N \g__gzt_abstract_body_tl - && - ( - \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - ) - }{ - \par - \bigskip - \bigskip - \large - \mbox{} - \checkoddpage - \ifoddpage - \l__gzt_abstract_box_tl - \hspace*{11mm} - \l__gzt_authors_box_tl - \else - \hspace*{-.85\c__gzt_outermargin_dim} - \l__gzt_authors_box_tl - \hspace*{11mm} - \l__gzt_abstract_box_tl - \fi - } - \tl_gclear:N \g__gzt_title_tl - \tl_gclear:N \g__gzt_subtitle_tl - \tl_gclear:N \g__gzt_abstract_body_tl - \normalsize - \bigskip - \tl_if_empty:NF \g__gzt_abstract_body_tl - % { - % \tl_if_empty:NF \l__gzt_people_first_last_names_tl - % { - % \bigskip - % } - % } - { + \nocite {\g__gzt_article_bib_key_tl} + \bool_if:NTF {\g__gzt_title_not_in_toc_bool} { + \bookmark[page=\thepage,level=chapter]{\g__gzt_short_title_tl} + }{ + \addcontentsline{toc}{chapter}{ + \tl_if_empty:NTF \g__gzt_short_title_tl { + \g__gzt_title_tl + }{ + \g__gzt_short_title_tl + } + \bool_if:NF {\g__gzt_subtitle_not_in_toc_bool} { + \bool_if:nF { + \tl_if_empty_p:N \g__gzt_short_subtitle_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + }{ + \c_space_tl\textendash{}\c_space_tl\g__gzt_short_subtitle_tl + } + } + \bool_if:nF { + \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + }{ + \textsl{ + \cs_if_exist:cTF {texorpdfstring} + { + \texorpdfstring{ + \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} + }{} + }{ + \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} + } + } + } + } + } + \bool_if:NF {\g__gzt_title_not_in_article_bool} { + \l__gzt_title_box_tl + \normalsize + \nopagebreak[3] + \bool_if:nF { + \tl_if_empty_p:N \g__gzt_abstract_body_tl + && + ( + \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + ) + }{ + \par + \bigskip + \bigskip + \large + \mbox{} + \checkoddpage + \ifoddpage + \l__gzt_abstract_box_tl + \hspace*{11mm} + \l__gzt_authors_box_tl + \else + \hspace*{-.85\c__gzt_outermargin_dim} + \l__gzt_authors_box_tl + \hspace*{11mm} + \l__gzt_abstract_box_tl + \fi + } + } + \tl_gclear:N \g__gzt_title_tl + \tl_gclear:N \g__gzt_subtitle_tl + \tl_gclear:N \g__gzt_abstract_body_tl + \normalsize \bigskip - } - \bool_if:nT \g__gzt_interview_rubric_bool - { + \tl_if_empty:NF \g__gzt_abstract_body_tl + % { + % \tl_if_empty:NF \l__gzt_people_first_last_names_tl + % { + % \bigskip + % } + % } + { + \bigskip + } + \bool_if:nT \g__gzt_interview_rubric_bool + { \dim_zero:N \parindent % \tl_if_empty:NF \l__gzt_people_photo_tl % { @@ -2321,20 +2339,23 @@ \edef\toctablepiece { \ExceptFirstPart {\noexpand\\[-1.5mm]} \unexpanded{ - \color{__gzt_rubric_in_toc_color}\scshape\fontseries{bx}\selectfont + \protect\leavevmode\color{__gzt_rubric_in_toc_color}% + \scshape\fontseries{bx}\selectfont } \unexpanded\expandafter{\etocthelinkedname}& % \ifShowPartPageInToc - \unexpanded{\bfseries\color{__gzt_rubric_in_toc_color}} + \unexpanded{\bfseries% + \protect\leavevmode\color{__gzt_rubric_in_toc_color}% + } \unexpanded\expandafter{\etocthelinkedpage} % \fi \noexpand\\} \gdef\ExceptFirstPart ##1{##1} } \newcommand*\PrepareChapter{ - \edef\toctablepiece { - \unexpanded{\color{__gzt_article_in_toc_color}\small} - \unexpanded\expandafter{\etocthelinkedname}& + \edef\toctablepiece {\begingroup + \unexpanded{\small\color{__gzt_article_in_toc_color}} + \unexpanded\expandafter{\etocthelinkedname}\endgroup& \unexpanded{\color{__gzt_article_in_toc_color}\small} \unexpanded\expandafter{\etocthelinkedpage} \noexpand\\[1mm]} @@ -2365,6 +2386,7 @@ \tl_gset:Nn \g__gzt_boxed_issue_number_tl { \tcbox{\Large\No\g__gzt_issue_number_int} } +\tl_new:N \l__gzt_boxed_issue_number_title_tl \cs_new_protected:Nn \__gzt_boxed_issue_number:nn { \noindent @@ -2378,14 +2400,14 @@ } } \bool_if:NTF {\g__gzt_special_edition_bool} { - \tl_set:Nn \l_tmpa_tl {\c__gzt_short_special_edition_string_tl} + \tl_set:Nn \l__gzt_boxed_issue_number_title_tl {\c__gzt_short_special_edition_string_tl} }{ - \tl_set:Nn \l_tmpa_tl {\No\int_use:N\g__gzt_issue_number_int} + \tl_set:Nn \l__gzt_boxed_issue_number_title_tl {\No\int_use:N\g__gzt_issue_number_int} } \begin{adjustbox}{valign=t} \begin{tcolorbox}[ enhanced, - title=\l_tmpa_tl,%\int_use:N \g__gzt_issue_number_int, + title=\l__gzt_boxed_issue_number_title_tl,%\int_use:N \g__gzt_issue_number_int, fonttitle=\Large, colback=white, sharp~ corners=all, @@ -2431,7 +2453,6 @@ \__gzt_boxed_issue_number:nn {#1}{#2} \color{__gzt_frontmatter_text_color} \fontsize{11}{13.6}\selectfont - \RaggedRight } \cs_new_protected:Nn \__gzt_after_editorial_presidentmessage: { @@ -3060,9 +3081,14 @@ ] [ \adjustbox{raise={\c__gzt_header_yshift_dim}{\height}}{ - \large\bfseries\scshape\color{__gzt_head_text_color}\g__gzt_rubric_title_tl + \large\bfseries\scshape\color{__gzt_head_text_color} + \tl_if_empty:NTF \g__gzt_rubric_header_tl { + \g__gzt_rubric_title_tl + }{ + \g__gzt_rubric_header_tl } - ] + } + ] [] {} { @@ -3111,11 +3137,15 @@ \end{multicols} } \FloatBarrier - \begin{__gzt_minibiographies_acknowledgements_tcbox} \nopagebreak[0] - \IfBooleanF {#1} + \IfBooleanTF {#1} { - \__gzt_display_people_by_role:n { author-art-\int_use:N \g__gzt_articles_int } + \tl_if_empty:NF \l__gzt_article_acknowledgements_tl { + \begin{__gzt_minibiographies_acknowledgements_tcbox} + } + }{ + \begin{__gzt_minibiographies_acknowledgements_tcbox} + \__gzt_display_people_by_role:n { author-art-\int_use:N \g__gzt_articles_int } } \DTLsavelastrowcount{\__gzt_authors_number} \tl_if_empty:NF \l__gzt_article_acknowledgements_tl @@ -3133,7 +3163,14 @@ \end{adjustbox} } \bool_gset_true:N \g__gzt_previous_article_with_bibliography_or_minibio_bool - \end{__gzt_minibiographies_acknowledgements_tcbox} + \IfBooleanTF {#1} + { + \tl_if_empty:NF \l__gzt_article_acknowledgements_tl { + \end{__gzt_minibiographies_acknowledgements_tcbox} + } + }{ + \end{__gzt_minibiographies_acknowledgements_tcbox} + } } \cs_set_eq:NN \__gzt_printbibliography \printbibliography \RenewDocumentCommand \printbibliography { s O{} } { @@ -3152,6 +3189,26 @@ \printminibios } } +\cs_set_eq:NN \__gzt_bibbycategory \bibbycategory +\RenewDocumentCommand \bibbycategory { s O{} } { + \bool_if:NT {\g__gzt_multicols_bool} { + \end{multicols} + } + \FloatBarrier + \begin{__gzt_bibliography_tcbox} + \defbibheading{bibliography}{% + \section*{Références}} + \printbibheading + \__gzt_bibbycategory[#2] + \end{__gzt_bibliography_tcbox} + \nopagebreak[0] + \IfBooleanTF {#1} + { + \printminibios* + }{ + \printminibios + } +} \deftranslation[to=French]{__gzt_century}{si\`ecle} \deftranslation[to=English]{__gzt_century}{century} \deftranslation[to=French]{__gzt_first}{\ier} @@ -3488,7 +3545,7 @@ columns=flexible, inputencoding=utf8/latin1 } -\DeclareTotalTCBox{\gztverb}{ v }{verbatim,blank,fuzzy~ halo=0pt~ with~ __gzt_light_generic_dark_color!8}{#1} +\DeclareTotalTCBox{\gztverb}{ v }{verbatim,blank,fuzzy~ halo=0pt~ with~ __gzt_generic_dark_color!8}{#1} \NewTCBListing{gztcode}{ !O{} }{ listing~ style=__gzt_lst_style, listing~ only, @@ -3792,6 +3849,7 @@ enhanced, colback=__gzt_book_review_frame_bg_color, breakable, + use~ color~ stack, % height=50mm, boxrule=\c_zero_dim, sharp~ corners=all, @@ -3870,6 +3928,7 @@ __gzt_tcb_bibliography_style/.style={ colback=__gzt_bibliography_minibios_acknowledgements_bg_color, breakable, + use~ color~ stack, boxrule=\c_zero_dim, sharp~ corners=all, enhanced @@ -3879,6 +3938,7 @@ __gzt_tcb_minibiographies_acknowledgements_style/.style={ colback=__gzt_bibliography_minibios_acknowledgements_bg_color, breakable, + use~ color~ stack, boxrule=\c_zero_dim, extras~ unbroken~ and~ last={drop~ lifted~ shadow}, sharp~ corners=all, @@ -4096,7 +4156,7 @@ \NewDocumentCommand \C {} {\mathbb{C}} \NewDocumentCommand \K {} {\mathbb{K}} %% -%% Copyright (C) 2014-2021 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> +%% Copyright (C) 2014-2024 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/gzt/gzt.dbx b/Master/texmf-dist/tex/latex/gzt/gzt.dbx index e0ecebdbff2..4a34f46b989 100644 --- a/Master/texmf-dist/tex/latex/gzt/gzt.dbx +++ b/Master/texmf-dist/tex/latex/gzt/gzt.dbx @@ -219,7 +219,7 @@ \usebibmacro{finentry} } %% -%% Copyright (C) 2014-2021 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> +%% Copyright (C) 2014-2024 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/gzt/gzt.lbx b/Master/texmf-dist/tex/latex/gzt/gzt.lbx index 50c26a2847d..51e11f6eac3 100644 --- a/Master/texmf-dist/tex/latex/gzt/gzt.lbx +++ b/Master/texmf-dist/tex/latex/gzt/gzt.lbx @@ -20,7 +20,7 @@ volumes = {{volumes}{vol\adddot}}, } %% -%% Copyright (C) 2014-2021 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> +%% Copyright (C) 2014-2024 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either diff --git a/Master/texmf-dist/tex/latex/gzt/gztarticle.cls b/Master/texmf-dist/tex/latex/gzt/gztarticle.cls index b939718b0e4..26a2ca664e3 100644 --- a/Master/texmf-dist/tex/latex/gzt/gztarticle.cls +++ b/Master/texmf-dist/tex/latex/gzt/gztarticle.cls @@ -11,8 +11,8 @@ %% E-mail:| denis.bitouze@univ-littoral.fr %% License:| Released under the LaTeX Project Public License v1.3c or later %% See:| http://www.latex-project.org/lppl.txt -\def\gztfileversion{1.1.3} -\def\gztfiledate{2022-06-13} +\def\gztfileversion{1.1.4} +\def\gztfiledate{2024-03-09} \RequirePackage{xpatch} \patchcmd {\use@@tikzlibrary} @@ -62,10 +62,10 @@ {gztarticle} {\gztfiledate} {\gztfileversion} - { - SMF~ class~ for~ the~ French~ journal^^J - "La~ Gazette~ de~ la~ Soci'et'e~ Math'ematique~ de~ France". -~ (Author~ version.) + {% + SMF class for the French journal^^J + “La Gazette de la Société Mathématique de France”. + (Author version.) } \NeedsTeXFormat{LaTeX2e} \bool_new:N \g__gzt_moral_report_bool @@ -796,7 +796,9 @@ { short .tl_gset:N = \g__gzt_short_title_tl, minishort .tl_gset:N = \g__gzt_mini_short_title_tl, + notinarticle .bool_gset:N = \g__gzt_title_not_in_article_bool, notintoc .bool_gset:N = \g__gzt_title_not_in_toc_bool, + without~ rule .bool_gset:N = \g__gzt_title_without_rule_bool, short .value_required:n = true, minishort .value_required:n = true, } @@ -804,6 +806,7 @@ { short .tl_gset:N = \g__gzt_short_subtitle_tl, minishort .tl_gset:N = \g__gzt_mini_short_subtitle_tl, + notinarticle .bool_gset:N = \g__gzt_subtitle_not_in_article_bool, notintoc .bool_gset:N = \g__gzt_subtitle_not_in_toc_bool, short .value_required:n = true, minishort .value_required:n = true, @@ -811,6 +814,7 @@ \keys_define:nn { gzt/rubric } { abstract .tl_gset:N = \g__gzt_rubric_abstract_tl, + header .tl_gset:N = \g__gzt_rubric_header_tl, title .tl_gset:N = \g__gzt_rubric_title_tl, pictogram .tl_gset:N = \g__gzt_rubric_pictofile_tl, abstract .value_required:n = true, @@ -888,54 +892,53 @@ { theorem~ or~ definition~ or~ proof } { \exp_not:n {#1} } } -\definecolorset{cmyk}{__gzt_}{_color}{ - generic_dark,1,.60,.10,0; % kind of blue (!) - light_generic_dark,1,.35,0,0 % kind of blue (!), light -} -\colorlet{__gzt_generic_light_color}{black!50} -\colorlet{__gzt_dark_generic_light_color}{black!60} -\colorlet{__gzt_description_label_light_color}{__gzt_dark_generic_light_color} -\colorlet{__gzt_minitoc_color}{__gzt_generic_light_color} -\colorlet{__gzt_cover_itemize_label_color}{__gzt_light_generic_dark_color} -\colorlet{__gzt_default_text_color}{black} -\colorlet{__gzt_head_text_color}{black!65} -\colorlet{__gzt_rubric_head_text_color}{__gzt_head_text_color} -\colorlet{__gzt_bibliography_minibios_acknowledgements_bg_color}{black!10} -\colorlet{__gzt_headrule_color}{__gzt_generic_light_color!65} -\colorlet{__gzt_circlerule_color}{__gzt_generic_dark_color!65} -\colorlet{__gzt_frontmatter_text_color}{black!75} -\colorlet{__gzt_people_color}{__gzt_generic_dark_color} -\colorlet{__gzt_arrayrule_color}{__gzt_generic_dark_color} -\colorlet{__gzt_acknowledgements_color}{__gzt_generic_dark_color} -\colorlet{__gzt_question_color}{__gzt_generic_dark_color} -\colorlet{__gzt_boxed_issue_number_bg_color}{__gzt_generic_dark_color} -\colorlet{__gzt_rule_in_toc_color}{__gzt_generic_dark_color} -\colorlet{__gzt_rubric_in_toc_color}{__gzt_generic_dark_color} -\colorlet{__gzt_article_in_toc_color}{__gzt_frontmatter_text_color} -\colorlet{__gzt_rubric_title_color}{__gzt_generic_light_color} -\colorlet{__gzt_article_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_section_color}{__gzt_generic_dark_color} -\colorlet{__gzt_subsection_color}{__gzt_generic_dark_color!90} -\colorlet{__gzt_subsubsection_color}{__gzt_generic_dark_color!80} -\colorlet{__gzt_rubric_abstract_color}{__gzt_generic_dark_color} -\colorlet{__gzt_article_abstract_color}{__gzt_generic_light_color} -\colorlet{__gzt_dotfill_color}{__gzt_generic_dark_color} -\colorlet{__gzt_about_frontcover_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_reflected_text_color}{__gzt_generic_dark_color} -\colorlet{__gzt_inside_frontcover_frame_bg_color}{__gzt_generic_dark_color!8} -\colorlet{__gzt_inside_frontcover_frame_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_footer_bg_color}{black!10} -\colorlet{__gzt_float_title_color}{__gzt_generic_dark_color} -\colorlet{__gzt_float_title_bg_color}{__gzt_generic_dark_color!10} -\colorlet{__gzt_float_frame_color}{__gzt_generic_dark_color!20} -\colorlet{__gzt_chapter_color}{__gzt_generic_dark_color} -\colorlet{__gzt_smf_number_color}{__gzt_generic_dark_color} -\colorlet{__gzt_date_color}{__gzt_generic_light_color} -\colorlet{__gzt_table_head_color}{__gzt_generic_dark_color!25} -\colorlet{__gzt_book_review_frame_bg_color}{__gzt_generic_dark_color!8} -\colorlet{__gzt_book_advertisement_bg_color}{white} -\colorlet{__gzt_book_advertisement_frame_color}{__gzt_generic_dark_color} -\colorlet{__gzt_default_cover_color}{white} +\definecolor{__gzt_generic_dark_color}{cmyk}{1,.60,.10,0} +\AddToHook{begindocument}{ + \colorlet{__gzt_generic_light_color}{black!50} + \colorlet{__gzt_dark_generic_light_color}{black!60} + \colorlet{__gzt_description_label_light_color}{__gzt_dark_generic_light_color} + \colorlet{__gzt_minitoc_color}{__gzt_generic_light_color} + \colorlet{__gzt_cover_itemize_label_color}{__gzt_generic_dark_color} + \colorlet{__gzt_default_text_color}{black} + \colorlet{__gzt_head_text_color}{black!65} + \colorlet{__gzt_rubric_head_text_color}{__gzt_head_text_color} + \colorlet{__gzt_bibliography_minibios_acknowledgements_bg_color}{black!10} + \colorlet{__gzt_headrule_color}{__gzt_generic_light_color!65} + \colorlet{__gzt_circlerule_color}{__gzt_generic_dark_color!65} + \colorlet{__gzt_frontmatter_text_color}{black!75} + \colorlet{__gzt_people_color}{__gzt_generic_dark_color} + \colorlet{__gzt_arrayrule_color}{__gzt_generic_dark_color} + \colorlet{__gzt_acknowledgements_color}{__gzt_generic_dark_color} + \colorlet{__gzt_question_color}{__gzt_generic_dark_color} + \colorlet{__gzt_boxed_issue_number_bg_color}{__gzt_generic_dark_color} + \colorlet{__gzt_rule_in_toc_color}{__gzt_generic_dark_color} + \colorlet{__gzt_rubric_in_toc_color}{__gzt_generic_dark_color} + \colorlet{__gzt_article_in_toc_color}{__gzt_frontmatter_text_color} + \colorlet{__gzt_rubric_title_color}{__gzt_generic_light_color} + \colorlet{__gzt_article_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_section_color}{__gzt_generic_dark_color} + \colorlet{__gzt_subsection_color}{__gzt_generic_dark_color!90} + \colorlet{__gzt_subsubsection_color}{__gzt_generic_dark_color!80} + \colorlet{__gzt_rubric_abstract_color}{__gzt_generic_dark_color} + \colorlet{__gzt_article_abstract_color}{__gzt_generic_light_color} + \colorlet{__gzt_dotfill_color}{__gzt_generic_dark_color} + \colorlet{__gzt_about_frontcover_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_reflected_text_color}{__gzt_generic_dark_color} + \colorlet{__gzt_inside_frontcover_frame_bg_color}{__gzt_generic_dark_color!8} + \colorlet{__gzt_inside_frontcover_frame_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_footer_bg_color}{black!10} + \colorlet{__gzt_float_title_color}{__gzt_generic_dark_color} + \colorlet{__gzt_float_title_bg_color}{__gzt_generic_dark_color!10} + \colorlet{__gzt_float_frame_color}{__gzt_generic_dark_color!20} + \colorlet{__gzt_chapter_color}{__gzt_generic_dark_color} + \colorlet{__gzt_smf_number_color}{__gzt_generic_dark_color} + \colorlet{__gzt_date_color}{__gzt_generic_light_color} + \colorlet{__gzt_table_head_color}{__gzt_generic_dark_color!25} + \colorlet{__gzt_book_review_frame_bg_color}{__gzt_generic_dark_color!8} + \colorlet{__gzt_book_advertisement_bg_color}{white} + \colorlet{__gzt_book_advertisement_frame_color}{__gzt_generic_dark_color} + \colorlet{__gzt_default_cover_color}{white} +} \AddToHook{env/multicols/begin}{ \bool_gset_true:N \g__gzt_multicols_bool } @@ -1642,7 +1645,9 @@ \int_gincr:N \g__gzt_articles_int \tl_gclear:N \g__gzt_short_title_tl \tl_gclear:N \g__gzt_short_subtitle_tl + \bool_gset_false:N \g__gzt_title_not_in_article_bool \bool_gset_false:N \g__gzt_title_not_in_toc_bool + \bool_gset_false:N \g__gzt_title_without_rule_bool \IfNoValueF {#1} { \keys_set:nn { gzt/title } { #1 } @@ -1895,8 +1900,9 @@ } \tl_set:Nn \l__gzt_title_box_tl { - \noindent \bool_if:NF {\g__gzt_invisible_titles_bool} { + \noindent + % \bool_show:N \g__gzt_title_not_in_article_bool \hspace*{18mm} \begin{adjustbox}{minipage=\linewidth-18mm,valign=t} \raggedright @@ -1911,46 +1917,8 @@ \phantomsection \par } - \bool_if:NTF {\g__gzt_title_not_in_toc_bool} { - \bookmark[page=\thepage,level=chapter]{\g__gzt_short_title_tl} - }{ - \addcontentsline{toc}{chapter}{ - \tl_if_empty:NTF \g__gzt_short_title_tl { - \g__gzt_title_tl - }{ - \g__gzt_short_title_tl - } - \bool_if:NF {\g__gzt_subtitle_not_in_toc_bool} { - \bool_if:nF { - \tl_if_empty_p:N \g__gzt_short_subtitle_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - }{ - \c_space_tl\textendash{}\c_space_tl\g__gzt_short_subtitle_tl - } - } - \bool_if:nF { - \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - }{ - \textsl{ - \cs_if_exist:cTF {texorpdfstring} - { - \texorpdfstring{ - \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} - }{} - }{ - \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} - } - } - } - } - } - \bool_if:NF {\g__gzt_invisible_titles_bool} { - \end{adjustbox} - } - } + \end{adjustbox} +} \dim_gset:Nn \g__gzt_abstract_box_width_dim {0.75\linewidth} % \bool_if:nT { \tl_if_empty_p:N \l__gzt_people_first_last_names_tl } % { @@ -1981,20 +1949,18 @@ } { \color{__gzt_people_color} - \bool_if:NTF {\g__gzt_invisible_titles_bool} { - \nocite {\g__gzt_article_bib_key_tl} - }{ + \bool_if:NF {\g__gzt_invisible_titles_bool} { \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl} } } \bool_if:NF {\g__gzt_invisible_titles_bool} { - \end{adjustbox} - } - } - \bool_if:nTF { - \int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 } + \end{adjustbox} } - { + } + \bool_if:nTF { + \int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 } + } + { \mbox{} \par \bool_if:nTF { @@ -2032,52 +1998,91 @@ } \bool_gset_false:N \g__gzt_previous_article_with_bibliography_or_minibio_bool \hypersetup{pdftitle=\g__gzt_short_title_tl,pdfauthor=\l__gzt_people_first_last_names_tl} - \l__gzt_title_box_tl - \normalsize - \nopagebreak[3] - \bool_if:nF { - \tl_if_empty_p:N \g__gzt_abstract_body_tl - && - ( - \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || - \g__gzt_interview_rubric_bool || - \g__gzt_rearviewmirror_rubric_bool - ) - }{ - \par - \bigskip - \bigskip - \large - \mbox{} - \checkoddpage - \ifoddpage - \l__gzt_abstract_box_tl - \hspace*{11mm} - \l__gzt_authors_box_tl - \else - \hspace*{-.85\c__gzt_outermargin_dim} - \l__gzt_authors_box_tl - \hspace*{11mm} - \l__gzt_abstract_box_tl - \fi - } - \tl_gclear:N \g__gzt_title_tl - \tl_gclear:N \g__gzt_subtitle_tl - \tl_gclear:N \g__gzt_abstract_body_tl - \normalsize - \bigskip - \tl_if_empty:NF \g__gzt_abstract_body_tl - % { - % \tl_if_empty:NF \l__gzt_people_first_last_names_tl - % { - % \bigskip - % } - % } - { + \nocite {\g__gzt_article_bib_key_tl} + \bool_if:NTF {\g__gzt_title_not_in_toc_bool} { + \bookmark[page=\thepage,level=chapter]{\g__gzt_short_title_tl} + }{ + \addcontentsline{toc}{chapter}{ + \tl_if_empty:NTF \g__gzt_short_title_tl { + \g__gzt_title_tl + }{ + \g__gzt_short_title_tl + } + \bool_if:NF {\g__gzt_subtitle_not_in_toc_bool} { + \bool_if:nF { + \tl_if_empty_p:N \g__gzt_short_subtitle_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + }{ + \c_space_tl\textendash{}\c_space_tl\g__gzt_short_subtitle_tl + } + } + \bool_if:nF { + \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + }{ + \textsl{ + \cs_if_exist:cTF {texorpdfstring} + { + \texorpdfstring{ + \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} + }{} + }{ + \c_space_tl\textendash{}\c_space_tl\citeauthor{\g__gzt_article_bib_key_tl} + } + } + } + } + } + \bool_if:NF {\g__gzt_title_not_in_article_bool} { + \l__gzt_title_box_tl + \normalsize + \nopagebreak[3] + \bool_if:nF { + \tl_if_empty_p:N \g__gzt_abstract_body_tl + && + ( + \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || + \g__gzt_interview_rubric_bool || + \g__gzt_rearviewmirror_rubric_bool + ) + }{ + \par + \bigskip + \bigskip + \large + \mbox{} + \checkoddpage + \ifoddpage + \l__gzt_abstract_box_tl + \hspace*{11mm} + \l__gzt_authors_box_tl + \else + \hspace*{-.85\c__gzt_outermargin_dim} + \l__gzt_authors_box_tl + \hspace*{11mm} + \l__gzt_abstract_box_tl + \fi + } + } + \tl_gclear:N \g__gzt_title_tl + \tl_gclear:N \g__gzt_subtitle_tl + \tl_gclear:N \g__gzt_abstract_body_tl + \normalsize \bigskip - } - \bool_if:nT \g__gzt_interview_rubric_bool - { + \tl_if_empty:NF \g__gzt_abstract_body_tl + % { + % \tl_if_empty:NF \l__gzt_people_first_last_names_tl + % { + % \bigskip + % } + % } + { + \bigskip + } + \bool_if:nT \g__gzt_interview_rubric_bool + { \dim_zero:N \parindent % \tl_if_empty:NF \l__gzt_people_photo_tl % { @@ -2102,6 +2107,7 @@ \tl_gset:Nn \g__gzt_boxed_issue_number_tl { \tcbox{\Large\No\g__gzt_issue_number_int} } +\tl_new:N \l__gzt_boxed_issue_number_title_tl \cs_new_protected:Nn \__gzt_boxed_issue_number:nn { \noindent @@ -2115,14 +2121,14 @@ } } \bool_if:NTF {\g__gzt_special_edition_bool} { - \tl_set:Nn \l_tmpa_tl {\c__gzt_short_special_edition_string_tl} + \tl_set:Nn \l__gzt_boxed_issue_number_title_tl {\c__gzt_short_special_edition_string_tl} }{ - \tl_set:Nn \l_tmpa_tl {\No\int_use:N\g__gzt_issue_number_int} + \tl_set:Nn \l__gzt_boxed_issue_number_title_tl {\No\int_use:N\g__gzt_issue_number_int} } \begin{adjustbox}{valign=t} \begin{tcolorbox}[ enhanced, - title=\l_tmpa_tl,%\int_use:N \g__gzt_issue_number_int, + title=\l__gzt_boxed_issue_number_title_tl,%\int_use:N \g__gzt_issue_number_int, fonttitle=\Large, colback=white, sharp~ corners=all, @@ -2168,7 +2174,6 @@ \__gzt_boxed_issue_number:nn {#1}{#2} \color{__gzt_frontmatter_text_color} \fontsize{11}{13.6}\selectfont - \RaggedRight } \cs_new_protected:Nn \__gzt_after_editorial_presidentmessage: { @@ -2441,9 +2446,14 @@ ] [ \adjustbox{raise={\c__gzt_header_yshift_dim}{\height}}{ - \large\bfseries\scshape\color{__gzt_head_text_color}\g__gzt_rubric_title_tl + \large\bfseries\scshape\color{__gzt_head_text_color} + \tl_if_empty:NTF \g__gzt_rubric_header_tl { + \g__gzt_rubric_title_tl + }{ + \g__gzt_rubric_header_tl } - ] + } + ] [] {} { @@ -2492,11 +2502,15 @@ \end{multicols} } \FloatBarrier - \begin{__gzt_minibiographies_acknowledgements_tcbox} \nopagebreak[0] - \IfBooleanF {#1} + \IfBooleanTF {#1} { - \__gzt_display_people_by_role:n { author-art-\int_use:N \g__gzt_articles_int } + \tl_if_empty:NF \l__gzt_article_acknowledgements_tl { + \begin{__gzt_minibiographies_acknowledgements_tcbox} + } + }{ + \begin{__gzt_minibiographies_acknowledgements_tcbox} + \__gzt_display_people_by_role:n { author-art-\int_use:N \g__gzt_articles_int } } \DTLsavelastrowcount{\__gzt_authors_number} \tl_if_empty:NF \l__gzt_article_acknowledgements_tl @@ -2514,7 +2528,14 @@ \end{adjustbox} } \bool_gset_true:N \g__gzt_previous_article_with_bibliography_or_minibio_bool - \end{__gzt_minibiographies_acknowledgements_tcbox} + \IfBooleanTF {#1} + { + \tl_if_empty:NF \l__gzt_article_acknowledgements_tl { + \end{__gzt_minibiographies_acknowledgements_tcbox} + } + }{ + \end{__gzt_minibiographies_acknowledgements_tcbox} + } } \cs_set_eq:NN \__gzt_printbibliography \printbibliography \RenewDocumentCommand \printbibliography { s O{} } { @@ -2533,6 +2554,26 @@ \printminibios } } +\cs_set_eq:NN \__gzt_bibbycategory \bibbycategory +\RenewDocumentCommand \bibbycategory { s O{} } { + \bool_if:NT {\g__gzt_multicols_bool} { + \end{multicols} + } + \FloatBarrier + \begin{__gzt_bibliography_tcbox} + \defbibheading{bibliography}{% + \section*{Références}} + \printbibheading + \__gzt_bibbycategory[#2] + \end{__gzt_bibliography_tcbox} + \nopagebreak[0] + \IfBooleanTF {#1} + { + \printminibios* + }{ + \printminibios + } +} \deftranslation[to=French]{__gzt_century}{si\`ecle} \deftranslation[to=English]{__gzt_century}{century} \deftranslation[to=French]{__gzt_first}{\ier} @@ -2752,7 +2793,7 @@ columns=flexible, inputencoding=utf8/latin1 } -\DeclareTotalTCBox{\gztverb}{ v }{verbatim,blank,fuzzy~ halo=0pt~ with~ __gzt_light_generic_dark_color!8}{#1} +\DeclareTotalTCBox{\gztverb}{ v }{verbatim,blank,fuzzy~ halo=0pt~ with~ __gzt_generic_dark_color!8}{#1} \NewTCBListing{gztcode}{ !O{} }{ listing~ style=__gzt_lst_style, listing~ only, @@ -3016,6 +3057,7 @@ enhanced, colback=__gzt_book_review_frame_bg_color, breakable, + use~ color~ stack, % height=50mm, boxrule=\c_zero_dim, sharp~ corners=all, @@ -3094,6 +3136,7 @@ __gzt_tcb_bibliography_style/.style={ colback=__gzt_bibliography_minibios_acknowledgements_bg_color, breakable, + use~ color~ stack, boxrule=\c_zero_dim, sharp~ corners=all, enhanced @@ -3103,6 +3146,7 @@ __gzt_tcb_minibiographies_acknowledgements_style/.style={ colback=__gzt_bibliography_minibios_acknowledgements_bg_color, breakable, + use~ color~ stack, boxrule=\c_zero_dim, extras~ unbroken~ and~ last={drop~ lifted~ shadow}, sharp~ corners=all, @@ -3320,7 +3364,7 @@ \NewDocumentCommand \C {} {\mathbb{C}} \NewDocumentCommand \K {} {\mathbb{K}} %% -%% Copyright (C) 2014-2021 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> +%% Copyright (C) 2014-2024 by Denis Bitouzé <denis.bitouze@univ-littoral.fr> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either |