From 9b7f02456f07c3bbf73fe1c3376b8d96e5723b3c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 Feb 2017 00:23:43 +0000 Subject: gzt (16feb17) git-svn-id: svn://tug.org/texlive/trunk@43254 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/gzt/README.md | 81 ++++++++++ Master/texmf-dist/source/latex/gzt/gzt.dtx | 217 ++++++++++++++++++++------- 2 files changed, 245 insertions(+), 53 deletions(-) create mode 100644 Master/texmf-dist/source/latex/gzt/README.md (limited to 'Master/texmf-dist/source/latex/gzt') diff --git a/Master/texmf-dist/source/latex/gzt/README.md b/Master/texmf-dist/source/latex/gzt/README.md new file mode 100644 index 00000000000..89a95cb27c6 --- /dev/null +++ b/Master/texmf-dist/source/latex/gzt/README.md @@ -0,0 +1,81 @@ +# Overview + +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 + +2017/02/15 v0.97 + +## Copyright + +Copyright 2014-2017 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 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. diff --git a/Master/texmf-dist/source/latex/gzt/gzt.dtx b/Master/texmf-dist/source/latex/gzt/gzt.dtx index b5f1fc3d07e..237977e4f98 100644 --- a/Master/texmf-dist/source/latex/gzt/gzt.dtx +++ b/Master/texmf-dist/source/latex/gzt/gzt.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % File: gzt.dtx Copyright (C) 2014, 2015, 2016, 2017 by -% Denis Bitouz'e +% Denis Bitouz'e % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -21,25 +21,87 @@ \iffalse % %<*readme> -gzt - Support for the French journal "La Gazette des Mathématiciens" -===================================================================== +# Overview -The `gzt` bundle provides LaTeX classes for the French journal "La Gazette des -mathématiciens". +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/): -Installation ------------- +- `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. -The classes are supplied in `.dtx` format. If you want to unpack the `.dtx` -yourself, running `tex gzt.dtx` will extract the package whereas -% -`pdflatex gzt` will typeset the documentation of the `gztarticle` class -(currently only in French). +# Copyright and Licence + +## Author + +Denis Bitouzé + +## Release + +2017/02/15 v0.97 + +## Copyright + +Copyright 2014-2017 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 -Typesetting the documentation also requires a number of packages in addition to -those needed to use the `gzt` classes. To compile the documentation without -error, you will need, among others, my personal (dirty) package `denisbdoc` for -documenting the classes I've written. +## 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 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. % %<*internal> \fi @@ -53,7 +115,7 @@ documenting the classes I've written. % \input docstrip.tex \Msg{********************************************************} \Msg{* Installation} -\Msg{* Class: gzt 2017/01/01 v0.96} +\Msg{* Class: gzt 2017/02/15 v0.97} \Msg{* for the French journal} \Msg{* "La Gazette des Math'ematiciens" (DB)} \Msg{********************************************************} @@ -62,15 +124,15 @@ documenting the classes I've written. \preamble ----------------------------------------------------------------------------- gzt --- SMF bundle of classes for the French journal "La Gazette des - Math'ematiciens", version 0.95 + Math'ematiciens", version 0.97 -E-mail: denis.bitouze@lmpa.univ-littoral.fr +E-mail: denis.bitouze@univ-littoral.fr Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt ----------------------------------------------------------------------------- \endpreamble \postamble -% Copyright (C) 2014-2016 by Denis Bitouz'e +% Copyright (C) 2014-2017 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 @@ -95,6 +157,11 @@ This work consists of the file gzt.dtx \def\GZT@classname{\jobname} \def\GZT@logo{\GZT@classname-logo} \def\GZT@addons{addons} +\usedir{.} +\generate{ + \nopreamble\nopostamble + \file{README.md}{\from{\jobname.dtx}{readme}} +}% \usedir{tex/latex/\GZT@classname} \generate{% \file{\GZT@classname.cls}{\from{\jobname.dtx}{class}} @@ -104,6 +171,11 @@ This work consists of the file gzt.dtx \nopreamble\nopostamble \file{\GZT@classname.cfg}{\from{\jobname.dtx}{configuration}} }% +\usedir{tex/latex/\GZT@classname/images} +\generate{% + \nopreamble\nopostamble + \file{README-PICTOGRAMS.md}{\from{\jobname.dtx}{readme-pictograms}} +}% % %\endbatchfile %<*internal> @@ -119,7 +191,7 @@ This work consists of the file gzt.dtx \nopreamble\nopostamble \file{README.md}{\from{\jobname.dtx}{readme}} }% -\usedir{doc/latex/\GZT@classname/french/} +\usedir{doc/latex/\GZT@classname/french} \generate{ \nopreamble\nopostamble \file{latexmkrc}{\from{\jobname.dtx}{latexmkrc}} @@ -141,6 +213,7 @@ This work consists of the file gzt.dtx % \changes{v0.95a}{2016/10/24}{Third CTAN version}% % \changes{v0.95b}{2016/10/24}{Fourth CTAN version}% % \changes{v0.96}{2017/01/01}{Fifth CTAN version}% +% \changes{v0.97}{2017/02/15}{Sixth CTAN version}% % % \CheckSum{4413} % @@ -667,8 +740,8 @@ This work consists of the file gzt.dtx \ProvidesExplClass % {gzt} % {gztarticle} - {2017/01/01} - {0.96} + {2017/02/15} + {0.97} { SMF~class~for~the~French~journal^^J "La~Gazette~des~Math'ematiciens". @@ -854,6 +927,11 @@ This work consists of the file gzt.dtx \RequirePackage{adjustbox}% % \end{macrocode} % +% \item Packages and image files for MWEs (used in case of missing pictograms): +% \begin{macrocode} +\RequirePackage{mwe} +% \end{macrocode} +% % \item A new reference scheme for \LaTeX{}, giving the total number of pages in % the document: % \begin{macrocode} @@ -1018,11 +1096,6 @@ This work consists of the file gzt.dtx \RequirePackage[inline]{enumitem}% % \end{macrocode} % -% \item Patches for \LaTeX{}: -% \begin{macrocode} -\RequirePackage{fixltx2e}% -% \end{macrocode} -% % \item Execute command after the next page break: % \begin{macrocode} \RequirePackage{afterpage} @@ -1121,7 +1194,7 @@ This work consists of the file gzt.dtx % and makes use of the \pkg{lmodern} for the \enquote{ttfamily} font. % % \begin{macrocode} -\pdftex_if_engine:T +\sys_if_engine_pdftex:T { \renewcommand\familydefault{\sfdefault} \renewcommand{\ttdefault}{lmtt} @@ -1423,7 +1496,7 @@ This work consists of the file gzt.dtx % For authors' instructions file. % \begin{macrocode} \tl_const:Nn \c_@@_authors_instructions_file_extension_tl {ain} -\tl_const:Nn \c_@@_authors_instructions_file_tl {\c_job_name_tl.\c_@@_authors_instructions_file_extension_tl} +\tl_const:Nn \c_@@_authors_instructions_file_tl {\c_sys_jobname_str.\c_@@_authors_instructions_file_extension_tl} % \end{macrocode} % For the few words about the front cover. % \begin{macrocode} @@ -1455,6 +1528,21 @@ This work consists of the file gzt.dtx % \begin{macrocode} \tl_const:Nn \c_@@_minitoc_rubric_title_separator_string_tl {\c_space_tl\textendash} % \end{macrocode} +% Names of the pictogram files. +% \begin{macrocode} +\tl_const:Nn \c_@@_mathematics_pictogram_file_name_tl {picto-mathematics} +\tl_const:Nn \c_@@_dossier_pictogram_file_name_tl {picto-dossier} +\tl_const:Nn \c_@@_community_pictogram_file_name_tl {picto-hands} +\tl_const:Nn \c_@@_interview_pictogram_file_name_tl {picto-interview} +\tl_const:Nn \c_@@_teaching_pictogram_file_name_tl {picto-teaching} +\tl_const:Nn \c_@@_parity_pictogram_file_name_tl {picto-parity} +\tl_const:Nn \c_@@_tellme_pictogram_file_name_tl {picto-tellme} +\tl_const:Nn \c_@@_information_pictogram_file_name_tl {picto-information} +\tl_const:Nn \c_@@_rearviewmirror_pictogram_file_name_tl {picto-rearviewmirror} +\tl_const:Nn \c_@@_tribute_pictogram_file_name_tl {picto-tribute} +\tl_const:Nn \c_@@_books_pictogram_file_name_tl {picto-books} +\tl_const:Nn \c_@@_forum_pictogram_file_name_tl {picto-forum} +% \end{macrocode} % For the miscellaneous rubrics. % \begin{macrocode} \tl_const:Nn \c_@@_mathematics_rubric_string_tl {Math\'ematiques} @@ -1536,13 +1624,17 @@ This work consists of the file gzt.dtx % \end{macrocode} % For the name of the file containing the \textsc{smf} logo. % \begin{macrocode} -\tl_const:Nn \c_@@_smf_logo_file_string_tl {logo_SMF} + \file_if_exist:nTF { logo_SMF.pdf }{% + \tl_const:Nn \c_@@_smf_logo_file_string_tl {logo_SMF} + }{ + \tl_const:Nn \c_@@_smf_logo_file_string_tl {example-image} + } % \end{macrocode} % For the name of the file containing the bibliography of the current issue. % \begin{macrocode} -% \tl_const:Nn \c_@@_issue_bib_file_string_tl {issue-\c_job_name_tl.bib} +% \tl_const:Nn \c_@@_issue_bib_file_string_tl {issue-\c_sys_jobname_str.bib} \tl_const:Nn \c_@@_issue_bib_file_suffix_string_tl {@@} -\tl_const:Nn \c_@@_issue_bib_file_string_tl {\c_job_name_tl\c_@@_issue_bib_file_suffix_string_tl.bib} +\tl_const:Nn \c_@@_issue_bib_file_string_tl {\c_sys_jobname_str\c_@@_issue_bib_file_suffix_string_tl.bib} \tl_const:Nn \c_@@_issue_bib_path_string_tl {\c_@@_issue_bib_file_string_tl} % \end{macrocode} % For the prefix of the bibliographic key of each article. @@ -3765,7 +3857,11 @@ This work consists of the file gzt.dtx \newpage% \tl_gclear:N \g_@@_rubric_abstract_tl \tl_gset:Nn \g_@@_rubric_title_tl {#2} - \tl_gset:Nn \g_@@_rubric_pictofile_tl {#3} + \file_if_exist:nTF { #3.pdf }{% + \tl_gset:Nn \g_@@_rubric_pictofile_tl {#3} + }{ + \tl_gset:Nn \g_@@_rubric_pictofile_tl {example-image} + } \IfNoValueF {#1} { \keys_set:nn { gzt/rubric } { #1 } @@ -5636,50 +5732,50 @@ This work consists of the file gzt.dtx % \begin{macrocode} \NewDocumentCommand \mathematics {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_mathematics_rubric_string_tl}{picto-mathematics} + \_@@_rubric:nnn {#1}{\c_@@_mathematics_rubric_string_tl}{\c_@@_mathematics_pictogram_file_name_tl} } \NewDocumentCommand \dossier {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_dossier_rubric_string_tl}{picto-dossier} + \_@@_rubric:nnn {#1}{\c_@@_dossier_rubric_string_tl}{\c_@@_dossier_pictogram_file_name_tl} } \NewDocumentCommand \community {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_community_rubric_string_tl}{picto-hands} + \_@@_rubric:nnn {#1}{\c_@@_community_rubric_string_tl}{\c_@@_hands_pictogram_file_name_tl} } \NewDocumentCommand \interview {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_interview_rubric_string_tl}{picto-interview} + \_@@_rubric:nnn {#1}{\c_@@_interview_rubric_string_tl}{\c_@@_interview_pictogram_file_name_tl} \bool_gset_true:N \g_@@_interview_rubric_bool } \NewDocumentCommand \teaching {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_teaching_rubric_string_tl}{picto-teaching} + \_@@_rubric:nnn {#1}{\c_@@_teaching_rubric_string_tl}{\c_@@_teaching_pictogram_file_name_tl} } \NewDocumentCommand \parity {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_parity_rubric_string_tl}{picto-parity} + \_@@_rubric:nnn {#1}{\c_@@_parity_rubric_string_tl}{\c_@@_parity_pictogram_file_name_tl} } \NewDocumentCommand \tellme {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_tellme_rubric_string_tl}{picto-tellme} + \_@@_rubric:nnn {#1}{\c_@@_tellme_rubric_string_tl}{\c_@@_tellme_pictogram_file_name_tl} \bool_gset_true:N \g_@@_tellme_rubric_bool } \NewDocumentCommand \information {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_information_rubric_string_tl}{picto-information} + \_@@_rubric:nnn {#1}{\c_@@_information_rubric_string_tl}{\c_@@_information_pictogram_file_name_tl} } \NewDocumentCommand \rearviewmirror {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_rearviewmirror_rubric_string_tl}{picto-rearviewmirror} + \_@@_rubric:nnn {#1}{\c_@@_rearviewmirror_rubric_string_tl}{\c_@@_rearviewmirror_pictogram_file_name_tl} \bool_gset_true:N \g_@@_rearviewmirror_rubric_bool } \NewDocumentCommand \tribute {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_tribute_rubric_string_tl}{picto-tribute} + \_@@_rubric:nnn {#1}{\c_@@_tribute_rubric_string_tl}{\c_@@_tribute_pictogram_file_name_tl} } \NewDocumentCommand \books {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_books_rubric_string_tl}{picto-books} + \_@@_rubric:nnn {#1}{\c_@@_books_rubric_string_tl}{\c_@@_books_pictogram_file_name_tl} \bool_gset_true:N \g_@@_books_rubric_bool \vspace{1.5\c_@@_book_review_frontcover_extend_dim} } @@ -5689,7 +5785,7 @@ This work consists of the file gzt.dtx } \NewDocumentCommand \forum {O{}} { - \_@@_rubric:nnn {#1}{\c_@@_forum_rubric_string_tl}{picto-forum} + \_@@_rubric:nnn {#1}{\c_@@_forum_rubric_string_tl}{\c_@@_forum_pictogram_file_name_tl} } \NewDocumentCommand \moralreport {O{}} { @@ -6862,8 +6958,6 @@ This work consists of the file gzt.dtx %<*configuration> % \end{macrocode} % -% First, we create the new entry type "interview" and the new field -% "interviewee". % \begin{macrocode} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Journal data @@ -6882,7 +6976,7 @@ This work consists of the file gzt.dtx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% SMF President %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\president{Peigné, Marc}{}{} +\president{Seuret, Stéphane}{}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Editor in chief %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -6910,7 +7004,7 @@ This work consists of the file gzt.dtx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% LaTeX class designer (and maintainer(s)) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\classdesigner{Bitouzé, Denis}{Université du Littoral Côte d'Opale}{denis.bitouze@lmpa.univ-littoral.fr} +\classdesigner{Bitouzé, Denis}{Université du Littoral Côte d'Opale}{denis.bitouze@univ-littoral.fr} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Font designer text %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -6972,9 +7066,9 @@ This work consists of the file gzt.dtx \TeX{} courantes (\TeX{} Live et Mac\TeX{} \aside{à partir de leur version 2015} ainsi que MiK\TeX{}), et sinon téléchargeable depuis la page \url{http://ctan.org/pkg/gzt}. Sa documentation détaillée se trouve à la - page \url{http://mirrors.ctan.org/macros/latex/contrib/gzt/doc/gzt.pdf}. On - prendra garde au fait que l'usage de cette classe nécessite une distribution - \TeX{} à jour. + page \url{http://mirrors.ctan.org/macros/latex/contrib/gzt/doc/gzt-fr.pdf}. + On prendra garde au fait que l'usage de cette classe nécessite une + distribution \TeX{} à jour. Pour plus de détails, consulter la page \url{http://smf.emath.fr/content/la-gazette-des-mathematiciens}. @@ -7066,6 +7160,23 @@ This work consists of the file gzt.dtx % \end{macrocode} % % \begin{macrocode} +%<*readme-pictograms> +% \end{macrocode} +% +% \begin{macrocode} +# Pictograms possibly missing + +The current directory is supposed to contain the (files of the) logos and +pictograms that illustrate the Gazette whole issues compiled by the SMF. As non +free materials, they are likely to miss here and, in such a case, the `gzt` +class will be replace them by a dummy image (borrowed from the `mwe` package). +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \begin{macrocode} %<*latexmkrc> % \end{macrocode} % -- cgit v1.2.3