From 5a4a14d69dd71bcfbdb513984e35464f000a8c53 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 18 Mar 2020 21:18:01 +0000 Subject: gzt (18mar20) git-svn-id: svn://tug.org/texlive/trunk@54390 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/gzt/gzt.dtx | 288 +++++++++++------------------ 1 file changed, 111 insertions(+), 177 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/gzt/gzt.dtx b/Master/texmf-dist/source/latex/gzt/gzt.dtx index 45df0e4da48..d2513ec9fe3 100644 --- a/Master/texmf-dist/source/latex/gzt/gzt.dtx +++ b/Master/texmf-dist/source/latex/gzt/gzt.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: gzt.dtx Copyright (C) 2014-2018 by +% File: gzt.dtx Copyright (C) 2014-2020 by % Denis Bitouz'e % % It may be distributed and/or modified under the conditions of the @@ -21,87 +21,16 @@ \iffalse % %<*readme> -# Overview +This bundle provides two classes and BibLaTeX styles for the French journal [“La +Gazette des Mathématiciens”](https://smf.emath.fr/les-publications/la-gazette): -The purpose of the current LaTeX bundle, `gzt`, is to provide two classes and -`biblatex styles` for -the French journal -["La Gazette des Mathématiciens"](http://smf4.emath.fr/Publications/Gazette/): - -- `gzt` for the complete issues of the journal, aimed for the Gazette's team, -- `gztarticle`, intended for the authors who wish to publish an article in the - Gazette. This class goal is to: - - faithfully reproduce the layout of the Gazette, 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. - -# Copyright and Licence - -## Author - -Denis Bitouzé - -## Release - -2018/04/07 v0.98 - -## Copyright - -Copyright 2014-2018 Denis Bitouzé - -## Licence - -This work may be distributed and/or modified under the conditions of the LaTeX -Project Public License, either version 1.3 of this license or (at your option) -any later version. - -The latest version of the license is in http://www.latex-project.org/lppl.txt -and version 1.3 or later is part of all distributions of LaTeX version -2003/06/01 or later. - -This work has the LPPL maintenance status "maintained". - -#Installation - -- `gzt` is bundled with the main TeX distributions TeX Live (and its - variants) and MiKTeX. -- `gzt` starts life on [Github](https://github.com/dbitouze/gzt) where - you can always find development releases. -- The latest official release is put onto [CTAN](http://ctan.org/pkg/gzt) - but users can get the latest stable version by updating their TeX - distributions (upgrading if necessary for TeX Live). - -#Help - -## Documentation - -`gzt` is provided with an extensive documentation (in French) in the -`doc/latex/gzt/french/` directory in the distribution, also -available -[on CTAN](http://mirrors.ctan.org/macros/latex/contrib/gzt/doc/gzt-fr.pdf). - -## Templates and samples - -`gzt` comes with a template attached to the documentation above. - -## Questions and answers - -Users can ask questions about `gzt` e.g. on Q & A sites: - -- [in French](http://texnique.fr/osqa/tags/gzt/) -- [in English](http://tex.stackexchange.com/questions/tagged/gzt) - -# Debug and feature requests - -Suggestions and bug reports are welcome. - -- Go to the Github [issues page](https://github.com/dbitouze/gzt/issues/). -- If not already reported, [open an issue](https://github.com/dbitouze/gzt/issues/new/). -- Add - a [minimal working example](http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl) if - possible. This helps a great deal facilitate a swift response. +- `gzt` for the complete issues of the journal, aimed at the Gazette’s team, +- `gztarticle`, intended for authors who wish to publish an article in the + Gazette. This class’s goals are to + - faithfully reproduce the layout of the Gazette, thus enabling the authors to + be able to work their document in actual conditions, and + - provide a number of tools (commands and environments) to facilitate the + drafting of documents, in particular those containing mathematical formulas. % %<*internal> \fi @@ -115,7 +44,7 @@ Suggestions and bug reports are welcome. % \input docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: gzt 2018/04/07 v0.98} +\Msg{* Class: gzt 2020-03-17 v1.0.0} \Msg{* for the French journal} \Msg{* "La Gazette des Math'ematiciens" (DB)} \Msg{********************************************************} @@ -124,7 +53,7 @@ Suggestions and bug reports are welcome. \preamble ----------------------------------------------------------------------------- gzt --- SMF bundle of classes for the French journal "La Gazette des - Math'ematiciens", version 0.98 + Math'ematiciens", version 1.0.0 E-mail: denis.bitouze@univ-littoral.fr Released under the LaTeX Project Public License v1.3c or later @@ -132,14 +61,14 @@ See http://www.latex-project.org/lppl.txt ----------------------------------------------------------------------------- \endpreamble \postamble -% Copyright (C) 2014-2017 by Denis Bitouz'e +% Copyright (C) 2014-2020 by Denis Bitouz'e ---------------------------------------------------------------------------- This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 +conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. The latest version of this license is in http://www.latex-project.org/lppl.txt -and version 1.3 or later is part of all distributions of LaTeX +and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. This work has the LPPL maintenance status `maintained'. @@ -211,6 +140,7 @@ This work consists of the file gzt.dtx % \changes{v0.97}{2017/02/15}{Sixth CTAN version}% % \changes{v0.98}{2018/04/07}{Seventh CTAN version. Implementation of special % editions.}% +% \changes{v1.0.0}{2020-03-17}{Eighth CTAN version.}% % % \CheckSum{4413} % @@ -306,14 +236,14 @@ This work consists of the file gzt.dtx % \end{macrocode} % % \begin{macrocode} - \ProvidesFile{gzt.lbx} - \InheritBibliographyExtras{french}% extras are inherited from French... - \DeclareBibliographyStrings{% - inherit = {french},% .... as well as all the keys - number = {{\no}{\no}}, - volume = {{volume}{vol\adddot}}, - volumes = {{volumes}{vol\adddot}}, - } +\ProvidesFile{gzt.lbx} +\InheritBibliographyExtras{french}% extras are inherited from French... +\DeclareBibliographyStrings{% + inherit = {french},% .... as well as all the keys + number = {{\no}{\no}}, + volume = {{volume}{vol\adddot}}, + volumes = {{volumes}{vol\adddot}}, +} % \end{macrocode} % % \begin{macrocode} @@ -737,8 +667,8 @@ This work consists of the file gzt.dtx \ProvidesExplClass % {gzt} % {gztarticle} - {2018/04/07} - {0.98} + {2020-03-17} + {1.0.0} { SMF~class~for~the~French~journal^^J "La~Gazette~des~Math'ematiciens". @@ -1483,7 +1413,7 @@ This work consists of the file gzt.dtx \AtEndPreamble{ \tl_const:Nn \c_@@_frontcover_header_string_tl { \bool_if:NT {\g_@@_special_edition_bool} { - \tl_upper_case:n {\c_@@_long_special_edition_string_tl} + \text_uppercase:n {\c_@@_long_special_edition_string_tl} \medskip \par \normalsize @@ -1686,21 +1616,21 @@ This work consists of the file gzt.dtx % \begin{macrocode} \tl_const:Nn \c_@@_footer_string_tl { \c_@@_footer_size_font_tl - \textcolor{@@_smf_number_color}{\MakeTextUppercase{\c_@@_smf_short_string_tl}} + \textcolor{@@_smf_number_color}{\text_uppercase:n {\c_@@_smf_short_string_tl}} \c_space_tl \textcolor{@@_date_color}{ \textendash{}\c_space_tl - \MakeTextUppercase{\c_@@_journal_short_title_string_tl} -% \bool_if:nF { \g_@@_inside_frontcover_bool || \g_@@_backmatter_bool || \g_@@_for_authors_bool } -% { -% \c_space_tl\textendash{}\c_space_tl -% \l_@@_uppercased_date_format\displaydate{@@_date} -% \bool_if:NF {\g_@@_special_edition_bool} { -% \c_space_tl -% \textendash{}\c_space_tl -% \textcolor{@@_smf_number_color}{\No\int_use:N\g_@@_issue_number_int} -% } -% } + \text_uppercase:n {\c_@@_journal_short_title_string_tl} + \bool_if:nF { \g_@@_inside_frontcover_bool || \g_@@_backmatter_bool || {\int_compare_p:nNn {\g_@@_issue_number_int}={0}} } + { + \c_space_tl\textendash{}\c_space_tl + \l_@@_uppercased_date_format\displaydate{@@_date} + \bool_if:NF {\g_@@_special_edition_bool} { + \c_space_tl + \textendash{}\c_space_tl + \textcolor{@@_smf_number_color}{\No\int_use:N\g_@@_issue_number_int} + } + } } } % \end{macrocode} @@ -1742,10 +1672,14 @@ This work consists of the file gzt.dtx % For the text accompagnying the date displayed in the footer of the authors' versions. % \begin{macrocode} \tl_const:Nn \c_@@_compiled_string_tl { - \IfLanguageName{french}{ - Compil\'e~le~ - }{ - Compiled~on~ + \int_compare:nNnT {\g_@@_issue_number_int}={0} { + \c_@@_footer_size_font_tl + \IfLanguageName{french}{ + Compil\'e~le~ + }{ + Compiled~on~ + } + \today } } % \end{macrocode} @@ -2175,7 +2109,7 @@ This work consists of the file gzt.dtx % \begin{macro}{\c_@@_original_parindent_dim} % \begin{macrocode} \dim_new:N \c_@@_original_parindent_dim -\dim_set_eq:NN \c_@@_original_parindent_dim \parindent +\dim_gset_eq:NN \c_@@_original_parindent_dim \parindent % \end{macrocode} % \end{macro} % @@ -2196,10 +2130,10 @@ This work consists of the file gzt.dtx \dim_new:N \g_@@_minitoc_textwidth_dim \dim_new:N \g_@@_minitoc_xshift_dim \dim_new:N \g_@@_minitoc_yshift_dim -\dim_set:Nn \g_@@_minitoc_circle_diameter_dim {142mm} -\dim_set:Nn \g_@@_minitoc_textwidth_dim {65mm} -\dim_set:Nn \g_@@_minitoc_xshift_dim {-22mm} -\dim_set:Nn \g_@@_minitoc_yshift_dim {30mm} +\dim_gset:Nn \g_@@_minitoc_circle_diameter_dim {142mm} +\dim_gset:Nn \g_@@_minitoc_textwidth_dim {65mm} +\dim_gset:Nn \g_@@_minitoc_xshift_dim {-22mm} +\dim_gset:Nn \g_@@_minitoc_yshift_dim {30mm} \dim_const:Nn \c_@@_minitoc_from_circle_xshift_dim {-15mm} \dim_const:Nn \c_@@_minitoc_from_circle_yshift_dim {-\c_@@_minitoc_from_circle_xshift_dim} % \end{macrocode} @@ -3148,9 +3082,12 @@ This work consists of the file gzt.dtx } \tl_if_in:NnF \l_@@_people_speciality { NoValue } { ~(\l_@@_people_speciality) } ] - \l_@@_people_affiliation_tl% - \newline% - \href{mailto:\l_@@_people_email_tl}{\nolinkurl{\l_@@_people_email_tl}}% + \leavevmode + \vbox_top:n {% + \l_@@_people_affiliation_tl% + \newline% + \href{mailto:\l_@@_people_email_tl}{\nolinkurl{\l_@@_people_email_tl}}% + } \DTLiflastrow{% }{% \medskip% @@ -3297,7 +3234,7 @@ This work consists of the file gzt.dtx \g_@@_special_edition_title_tl } }{ - \MakeUppercase {\c_@@_journal_title_string_tl} + \text_uppercase:n {\c_@@_journal_title_string_tl} } }; \node[name=@@_binding_nw,inner~sep=\c_zero_dim,fill=\g_@@_special_edition_color_tl,rotate=90,anchor=east] at @@ -3339,19 +3276,19 @@ This work consists of the file gzt.dtx \begin{multicols}{2} \setlength{\columnsep}{1mm} \bool_if:NTF {\g_@@_special_edition_bool} { - \begin{description}[leftmargin=1em,style=nextline] + \begin{description}[leftmargin=1em,style=nextline,labelindent=\c_zero_dim] \@@_display_people_by_role:n {editor} \end{description} }{% \begin{description}[leftmargin=1em] \item[\c_@@_editors_in_chief_string_tl] \ - \begin{description}[leftmargin=1em,style=nextline] + \begin{description}[leftmargin=1em,style=nextline,labelindent=\c_zero_dim] \@@_display_people_by_role:n {editorinchief} \end{description} \bigskip \par \item[\c_@@_editors_string_tl] \ - \begin{description}[leftmargin=1em,style=nextline] + \begin{description}[leftmargin=1em,style=nextline,labelindent=\c_zero_dim] \@@_display_people_by_role:n {editor} \end{description} \end{description} @@ -3745,14 +3682,6 @@ This work consists of the file gzt.dtx % \end{macrocode} % \end{macro} % -% \begin{macrocode} -% -% \end{macrocode} -% -% \begin{macrocode} -%<*class> -% \end{macrocode} -% % \section{Definition of the footer of the pages} % % \begin{macro}{@@_date} @@ -3795,14 +3724,6 @@ This work consists of the file gzt.dtx % \end{macro} % \end{macro} % -% \begin{macrocode} -% -% \end{macrocode} -% -% \begin{macrocode} -%<*class|class-article> -% \end{macrocode} -% % \section{(Re)Definition of document commands that identify the article} % % The names of the authors of the different articles will appear at several @@ -4144,7 +4065,7 @@ This work consists of the file gzt.dtx % \tl_new:N \g_@@_blx_given_first_inits_tl% \@ifpackagelater{biblatex}{2016/01/01}{% - \tl_set:Nn \g_@@_blx_given_first_inits_false_tl + \tl_gset:Nn \g_@@_blx_given_first_inits_false_tl {% \togglefalse{abx@bool@giveninits}% } @@ -4719,6 +4640,14 @@ This work consists of the file gzt.dtx }{} % \end{macrocode} % +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} +%<*class|class-article> +% \end{macrocode} +% % \section{Special tools common to the editorial, the table of contents and the % president message} % @@ -4862,6 +4791,14 @@ This work consists of the file gzt.dtx } % \end{macrocode} % +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} +%<*class> +% \end{macrocode} +% % \section{Displaying the table of contents} % % We create an internal function that displays the table of contents. @@ -4927,6 +4864,14 @@ This work consists of the file gzt.dtx } % \end{macrocode} % +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} +%<*class|class-article> +% \end{macrocode} +% % \section{Displaying the president's message} % % We create an internal function that displays the president's message. @@ -4968,14 +4913,6 @@ This work consists of the file gzt.dtx } % \end{macrocode} % -% \begin{macrocode} -% -% \end{macrocode} -% -% \begin{macrocode} -%<*class|class-article> -% \end{macrocode} -% % \section{Chapter, sections, etc. customization} % % Thanks to \Pkg{titlesec}, the chapter, section, subsection and subsubsection @@ -5408,12 +5345,12 @@ This work consists of the file gzt.dtx \setfoot% []% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {}% }% @@ -5453,16 +5390,16 @@ This work consists of the file gzt.dtx \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% [ -% \c_@@_footer_size_font_tl \c_@@_compiled_string_tl\today +%\c_@@_compiled_string_tl ]% { -% \c_@@_footer_size_font_tl \c_@@_compiled_string_tl\today +%\c_@@_compiled_string_tl }% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% }% @@ -5509,12 +5446,12 @@ This work consists of the file gzt.dtx \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% }% @@ -5548,12 +5485,12 @@ This work consists of the file gzt.dtx \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% } @@ -5572,12 +5509,12 @@ This work consists of the file gzt.dtx \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% }% @@ -5608,12 +5545,12 @@ This work consists of the file gzt.dtx \setfoot% []% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {}% }% @@ -5708,24 +5645,24 @@ This work consists of the file gzt.dtx \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% - [\c_@@_footer_size_font_tl \c_@@_compiled_string_tl\today]% - {\c_@@_footer_size_font_tl \c_@@_compiled_string_tl\today}% + [\c_@@_compiled_string_tl]% + {\c_@@_compiled_string_tl}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% }{ \setfoot% [\c_@@_footer_size_font_tl\thepage]% [% - \uppercase{\c_@@_footer_string_tl} + \c_@@_footer_string_tl ]% []% {}% {% - \uppercase{\c_@@_footer_string_tl}% + \c_@@_footer_string_tl% }% {\c_@@_footer_size_font_tl\thepage}% } @@ -6554,7 +6491,7 @@ This work consists of the file gzt.dtx { editorial .code:n = {% \AtBeginDocument{% - \_@@_before_display_editorial: {}% + \_@@_before_display_editorial:n {}% } \AtEndDocument{% \_@@_after_display_editorial: {}% @@ -6707,7 +6644,7 @@ This work consists of the file gzt.dtx \@ifpackageloaded{draftwatermark}{% \SetWatermarkColor{gray!10}% \SetWatermarkFontSize{30mm}% - \SetWatermarkText{\MakeUppercase{\c_@@_draftwatermark_string_tl}}% + \SetWatermarkText{\text_uppercase:n{\c_@@_draftwatermark_string_tl}}% }{% } % \end{macrocode} @@ -7044,7 +6981,7 @@ This work consists of the file gzt.dtx \tl_clear:N \l_@@_newtheorem_frenchtitle_tl \tl_clear:N \l_@@_newtheorem_englishtitle_tl \tl_set:Nn \l_@@_newtheorem_englishtitle_tl { - \MakeUppercase #2 + \text_uppercase:n {#2} } \tl_set:Nf \l_@@_newtheorem_frenchtitle_tl { \l_@@_newtheorem_englishtitle_tl @@ -7447,10 +7384,7 @@ sub makeglossaries{ system( "makeglossaries \"$_[0]\"" ); } -add_cus_dep('idx', 'ind', 0, 'texindy'); -sub texindy{ - system("texindy -L french \"$_[0].idx\""); -} +$makeindex = 'texindy -L french; push @generated_exts, 'acn', 'acr', 'alg', 'bcf', 'fls', 'gl*', 'sbl*', 'sl*', 'sym*' ; -- cgit v1.2.3