diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-17 00:23:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-17 00:23:43 +0000 |
commit | 9b7f02456f07c3bbf73fe1c3376b8d96e5723b3c (patch) | |
tree | 141e77a55004d97371d243b589239a2bff0838f6 /Master/texmf-dist/tex/latex/gzt/gzt.cls | |
parent | 03648c5a8727fdbfadf6ab3c51e0eae82c07571b (diff) |
gzt (16feb17)
git-svn-id: svn://tug.org/texlive/trunk@43254 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gzt/gzt.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/gzt/gzt.cls | 64 |
1 files changed, 42 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/gzt/gzt.cls b/Master/texmf-dist/tex/latex/gzt/gzt.cls index f0112b9fcdd..0416d98667e 100644 --- a/Master/texmf-dist/tex/latex/gzt/gzt.cls +++ b/Master/texmf-dist/tex/latex/gzt/gzt.cls @@ -7,9 +7,9 @@ %% gzt.dtx (with options: `class') %% ----------------------------------------------------------------------------- %% 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 %% ----------------------------------------------------------------------------- @@ -81,8 +81,8 @@ \ExplSyntaxOn \ProvidesExplClass {gzt} - {2017/01/01} - {0.96} + {2017/02/15} + {0.97} { SMF~class~for~the~French~journal^^J "La~Gazette~des~Math'ematiciens". @@ -151,6 +151,7 @@ \RequirePackage{draftwatermark}[2006/06/30]% } \RequirePackage{adjustbox}% +\RequirePackage{mwe} \RequirePackage{zref-totpages} \RequirePackage{lastpage} \RequirePackage{zref-xr}% @@ -185,7 +186,6 @@ \RequirePackage[babel=true]{microtype}% \RequirePackage[nodayofweek]{datetime}% \RequirePackage[inline]{enumitem}% -\RequirePackage{fixltx2e}% \RequirePackage{afterpage} \RequirePackage{xcolor}% \cs_set_eq:NN \__gzt_orig_preamblecmds \@preamblecmds @@ -206,7 +206,7 @@ \makeglossaries \setglossarystyle{indexhypergroup} \setacronymstyle{long-sc-short} -\pdftex_if_engine:T +\sys_if_engine_pdftex:T { \renewcommand\familydefault{\sfdefault} \renewcommand{\ttdefault}{lmtt} @@ -294,7 +294,7 @@ \tl_const:Nn \c__gzt_backcover_page_file_string_tl {\c__gzt_backmatter_directory_string_tl/\c__gzt_issue_backcover_text_file_string_tl} \tl_const:Nn \c__gzt_acronyms_file_string_tl {\c__gzt_class_name_tl acronyms} \tl_const:Nn \c__gzt_authors_instructions_file_extension_tl {ain} -\tl_const:Nn \c__gzt_authors_instructions_file_tl {\c_job_name_tl.\c__gzt_authors_instructions_file_extension_tl} +\tl_const:Nn \c__gzt_authors_instructions_file_tl {\c_sys_jobname_str.\c__gzt_authors_instructions_file_extension_tl} \tl_const:Nn \c__gzt_about_frontcover_string_tl {\`A~propos~de~la~couverture.} \tl_const:Nn \c__gzt_credit_frontcover_string_tl {cr\'edit} \tl_const:Nn \c__gzt_authors_instructions_string_tl {Instructions~aux~auteurs} @@ -307,6 +307,18 @@ } \tl_const:Nn \c__gzt_tellme_extra_title_string_tl {...\c_space_tl} \tl_const:Nn \c__gzt_minitoc_rubric_title_separator_string_tl {\c_space_tl\textendash} +\tl_const:Nn \c__gzt_mathematics_pictogram_file_name_tl {picto-mathematics} +\tl_const:Nn \c__gzt_dossier_pictogram_file_name_tl {picto-dossier} +\tl_const:Nn \c__gzt_community_pictogram_file_name_tl {picto-hands} +\tl_const:Nn \c__gzt_interview_pictogram_file_name_tl {picto-interview} +\tl_const:Nn \c__gzt_teaching_pictogram_file_name_tl {picto-teaching} +\tl_const:Nn \c__gzt_parity_pictogram_file_name_tl {picto-parity} +\tl_const:Nn \c__gzt_tellme_pictogram_file_name_tl {picto-tellme} +\tl_const:Nn \c__gzt_information_pictogram_file_name_tl {picto-information} +\tl_const:Nn \c__gzt_rearviewmirror_pictogram_file_name_tl {picto-rearviewmirror} +\tl_const:Nn \c__gzt_tribute_pictogram_file_name_tl {picto-tribute} +\tl_const:Nn \c__gzt_books_pictogram_file_name_tl {picto-books} +\tl_const:Nn \c__gzt_forum_pictogram_file_name_tl {picto-forum} \tl_const:Nn \c__gzt_mathematics_rubric_string_tl {Math\'ematiques} \tl_const:Nn \c__gzt_dossier_rubric_string_tl {Dossier} \tl_const:Nn \c__gzt_community_rubric_string_tl {Vie~de~la~communaut\'e} @@ -348,9 +360,13 @@ } } } -\tl_const:Nn \c__gzt_smf_logo_file_string_tl {logo_SMF} + \file_if_exist:nTF { logo_SMF.pdf }{% + \tl_const:Nn \c__gzt_smf_logo_file_string_tl {logo_SMF} + }{ + \tl_const:Nn \c__gzt_smf_logo_file_string_tl {example-image} + } \tl_const:Nn \c__gzt_issue_bib_file_suffix_string_tl {__gzt} -\tl_const:Nn \c__gzt_issue_bib_file_string_tl {\c_job_name_tl\c__gzt_issue_bib_file_suffix_string_tl.bib} +\tl_const:Nn \c__gzt_issue_bib_file_string_tl {\c_sys_jobname_str\c__gzt_issue_bib_file_suffix_string_tl.bib} \tl_const:Nn \c__gzt_issue_bib_path_string_tl {\c__gzt_issue_bib_file_string_tl} \tl_const:Nn \c__gzt_issue_bib_key_tl {\int_use:N \g__gzt_issue_number_int} \tl_const:Nn \c__gzt_interview_title_string_tl {En~apart\'e~avec~} @@ -1573,7 +1589,11 @@ \newpage% \tl_gclear:N \g__gzt_rubric_abstract_tl \tl_gset:Nn \g__gzt_rubric_title_tl {#2} - \tl_gset:Nn \g__gzt_rubric_pictofile_tl {#3} + \file_if_exist:nTF { #3.pdf }{% + \tl_gset:Nn \g__gzt_rubric_pictofile_tl {#3} + }{ + \tl_gset:Nn \g__gzt_rubric_pictofile_tl {example-image} + } \IfNoValueF {#1} { \keys_set:nn { gzt/rubric } { #1 } @@ -2862,50 +2882,50 @@ } \NewDocumentCommand \mathematics {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_mathematics_rubric_string_tl}{picto-mathematics} + \__gzt_rubric:nnn {#1}{\c__gzt_mathematics_rubric_string_tl}{\c__gzt_mathematics_pictogram_file_name_tl} } \NewDocumentCommand \dossier {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_dossier_rubric_string_tl}{picto-dossier} + \__gzt_rubric:nnn {#1}{\c__gzt_dossier_rubric_string_tl}{\c__gzt_dossier_pictogram_file_name_tl} } \NewDocumentCommand \community {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_community_rubric_string_tl}{picto-hands} + \__gzt_rubric:nnn {#1}{\c__gzt_community_rubric_string_tl}{\c__gzt_hands_pictogram_file_name_tl} } \NewDocumentCommand \interview {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_interview_rubric_string_tl}{picto-interview} + \__gzt_rubric:nnn {#1}{\c__gzt_interview_rubric_string_tl}{\c__gzt_interview_pictogram_file_name_tl} \bool_gset_true:N \g__gzt_interview_rubric_bool } \NewDocumentCommand \teaching {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_teaching_rubric_string_tl}{picto-teaching} + \__gzt_rubric:nnn {#1}{\c__gzt_teaching_rubric_string_tl}{\c__gzt_teaching_pictogram_file_name_tl} } \NewDocumentCommand \parity {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_parity_rubric_string_tl}{picto-parity} + \__gzt_rubric:nnn {#1}{\c__gzt_parity_rubric_string_tl}{\c__gzt_parity_pictogram_file_name_tl} } \NewDocumentCommand \tellme {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_tellme_rubric_string_tl}{picto-tellme} + \__gzt_rubric:nnn {#1}{\c__gzt_tellme_rubric_string_tl}{\c__gzt_tellme_pictogram_file_name_tl} \bool_gset_true:N \g__gzt_tellme_rubric_bool } \NewDocumentCommand \information {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_information_rubric_string_tl}{picto-information} + \__gzt_rubric:nnn {#1}{\c__gzt_information_rubric_string_tl}{\c__gzt_information_pictogram_file_name_tl} } \NewDocumentCommand \rearviewmirror {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_rearviewmirror_rubric_string_tl}{picto-rearviewmirror} + \__gzt_rubric:nnn {#1}{\c__gzt_rearviewmirror_rubric_string_tl}{\c__gzt_rearviewmirror_pictogram_file_name_tl} \bool_gset_true:N \g__gzt_rearviewmirror_rubric_bool } \NewDocumentCommand \tribute {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_tribute_rubric_string_tl}{picto-tribute} + \__gzt_rubric:nnn {#1}{\c__gzt_tribute_rubric_string_tl}{\c__gzt_tribute_pictogram_file_name_tl} } \NewDocumentCommand \books {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_books_rubric_string_tl}{picto-books} + \__gzt_rubric:nnn {#1}{\c__gzt_books_rubric_string_tl}{\c__gzt_books_pictogram_file_name_tl} \bool_gset_true:N \g__gzt_books_rubric_bool \vspace{1.5\c__gzt_book_review_frontcover_extend_dim} } @@ -2915,7 +2935,7 @@ } \NewDocumentCommand \forum {O{}} { - \__gzt_rubric:nnn {#1}{\c__gzt_forum_rubric_string_tl}{picto-forum} + \__gzt_rubric:nnn {#1}{\c__gzt_forum_rubric_string_tl}{\c__gzt_forum_pictogram_file_name_tl} } \NewDocumentCommand \moralreport {O{}} { |