texlive[63591] Master/texmf-dist: gzt (14jun22)
commits+karl at tug.org
commits+karl at tug.org
Tue Jun 14 22:21:03 CEST 2022
Revision: 63591
http://tug.org/svn/texlive?view=revision&revision=63591
Author: karl
Date: 2022-06-14 22:21:03 +0200 (Tue, 14 Jun 2022)
Log Message:
-----------
gzt (14jun22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/gzt/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.pdf
trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.tex
trunk/Master/texmf-dist/source/latex/gzt/gzt.dtx
trunk/Master/texmf-dist/tex/latex/gzt/gzt.cls
trunk/Master/texmf-dist/tex/latex/gzt/gztarticle.cls
Modified: trunk/Master/texmf-dist/doc/latex/gzt/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gzt/CHANGELOG.md 2022-06-14 20:20:47 UTC (rev 63590)
+++ trunk/Master/texmf-dist/doc/latex/gzt/CHANGELOG.md 2022-06-14 20:21:03 UTC (rev 63591)
@@ -1,5 +1,10 @@
# [Unreleased]
+# [1.1.3] - 2022-06-13
+
+## Added
+New options for special special (!) editions
+
# [1.1.2] - 2022-03-18
## Changed
Modified: trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.tex 2022-06-14 20:20:47 UTC (rev 63590)
+++ trunk/Master/texmf-dist/doc/latex/gzt/french/gzt-fr.tex 2022-06-14 20:21:03 UTC (rev 63591)
@@ -4,7 +4,7 @@
\usepackage[firstpage]{draftwatermark}
%
\lstset{%
- alsolanguage=[varioref]TeX,%
+ moretexcs=vref,%
}
%
\indexsetup{level=\section*,toclevel=section,noclearpage,firstpagestyle=__gzt_mainmatter_ps}
Modified: trunk/Master/texmf-dist/source/latex/gzt/gzt.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/gzt/gzt.dtx 2022-06-14 20:20:47 UTC (rev 63590)
+++ trunk/Master/texmf-dist/source/latex/gzt/gzt.dtx 2022-06-14 20:21:03 UTC (rev 63591)
@@ -94,7 +94,7 @@
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
-\version{1.1.2 2022-03-18}
+\version{1.1.3 2022-06-13}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -214,6 +214,11 @@
% \end{macrocode}
# [Unreleased]
+# [1.1.3] - 2022-06-13
+
+## Added
+New options for special special (!) editions
+
# [1.1.2] - 2022-03-18
## Changed
@@ -330,8 +335,8 @@
\fi
%</internal>
%<*class|class-article|install>
-\def\gztfileversion{1.1.2}
-\def\gztfiledate{2022-03-18}
+\def\gztfileversion{1.1.3}
+\def\gztfiledate{2022-06-13}
%</class|class-article|install>
%<*install>
\input l3docstrip.tex
@@ -1009,6 +1014,8 @@
\bool_new:N \g_@@_cover_bool
\bool_new:N \g_@@_coverpage_bool
\bool_new:N \g_@@_inside_pages_bool
+\bool_new:N \g_@@_invisible_titles_bool
+\bool_new:N \g_@@_rubrics_in_toc_bool
%
\bool_new:N \g_@@_no_inside_backcover_bool
%<class-article>\bool_gset_true:N \g_@@_for_authors_bool
@@ -1097,6 +1104,8 @@
specialedition / color .code:n = {
\tl_gset:Nn \g_@@_special_edition_color_tl {#1}
},
+ specialedition / invisible~ titles .bool_gset:N = \g_@@_invisible_titles_bool,
+ specialedition / rubrics~ in~ toc .bool_gset:N = \g_@@_rubrics_in_toc_bool,
specialedition / minitoc .code:n = {
\bool_gset_false:N \g_@@_frontcover_without_minitoc_bool
},
@@ -4157,7 +4166,7 @@
\int_zero:N \g_@@_item_in_rubric_int
\phantomsection
\par
- \bool_if:NF {\g_@@_special_edition_bool} {
+ \bool_if:nF {\g_@@_special_edition_bool && !\g_@@_rubrics_in_toc_bool} {
\addcontentsline{toc}{part}{\g_@@_rubric_title_tl}
}
\thispagestyle{@@_rubric_ps}
@@ -4522,57 +4531,61 @@
\tl_set:Nn \l_@@_title_box_tl
{
\noindent
- \hspace*{18mm}
- \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
- \raggedright
- \color{@@_article_title_color}
- \fontsize{20}{25}\selectfont
- \bfseries
- \g_@@_title_tl
- \tl_if_empty:NF \g_@@_subtitle_tl {
+ \bool_if:NF {\g_@@_invisible_titles_bool} {
+ \hspace*{18mm}
+ \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
+ \raggedright
+ \color{@@_article_title_color}
+ \fontsize{20}{25}\selectfont
+ \bfseries
+ \g_@@_title_tl
+ \tl_if_empty:NF \g_@@_subtitle_tl {
+ \par
+ \g_@@_subtitle_tl
+ }
+ \phantomsection
\par
- \g_@@_subtitle_tl
}
- \phantomsection
- \par
- \bool_if:NTF {\g_@@_title_not_in_toc_bool} {
- \bookmark[page=\thepage,level=chapter]{\g_@@_short_title_tl}
- }{
- \addcontentsline{toc}{chapter}{
- \tl_if_empty:NTF \g_@@_short_title_tl {
- \g_@@_title_tl
- }{
- \g_@@_short_title_tl
- }
- \bool_if:NF {\g_@@_subtitle_not_in_toc_bool} {
+ \bool_if:NTF {\g_@@_title_not_in_toc_bool} {
+ \bookmark[page=\thepage,level=chapter]{\g_@@_short_title_tl}
+ }{
+ \addcontentsline{toc}{chapter}{
+ \tl_if_empty:NTF \g_@@_short_title_tl {
+ \g_@@_title_tl
+ }{
+ \g_@@_short_title_tl
+ }
+ \bool_if:NF {\g_@@_subtitle_not_in_toc_bool} {
+ \bool_if:nF {
+ \tl_if_empty_p:N \g_@@_short_subtitle_tl ||
+ \g_@@_interview_rubric_bool ||
+ \g_@@_rearviewmirror_rubric_bool
+ }{
+ \c_space_tl\textendash{}\c_space_tl\g_@@_short_subtitle_tl
+ }
+ }
\bool_if:nF {
- \tl_if_empty_p:N \g_@@_short_subtitle_tl ||
+ \tl_if_empty_p:N \l_@@_people_first_last_names_tl ||
\g_@@_interview_rubric_bool ||
\g_@@_rearviewmirror_rubric_bool
}{
- \c_space_tl\textendash{}\c_space_tl\g_@@_short_subtitle_tl
- }
- }
- \bool_if:nF {
- \tl_if_empty_p:N \l_@@_people_first_last_names_tl ||
- \g_@@_interview_rubric_bool ||
- \g_@@_rearviewmirror_rubric_bool
- }{
- \textsl{
- \cs_if_exist:cTF {texorpdfstring}
- {
- \texorpdfstring{
+ \textsl{
+ \cs_if_exist:cTF {texorpdfstring}
+ {
+ \texorpdfstring{
+ \c_space_tl\textendash{}\c_space_tl\citeauthor{\g_@@_article_bib_key_tl}
+ }{}
+ }{
\c_space_tl\textendash{}\c_space_tl\citeauthor{\g_@@_article_bib_key_tl}
- }{}
- }{
- \c_space_tl\textendash{}\c_space_tl\citeauthor{\g_@@_article_bib_key_tl}
+ }
}
}
}
}
+ \bool_if:NF {\g_@@_invisible_titles_bool} {
+ \end{adjustbox}
+ }
}
- \end{adjustbox}
-}
\dim_gset:Nn \g_@@_abstract_box_width_dim {0.75\linewidth}
% \bool_if:nT { \tl_if_empty_p:N \l_@@_people_first_last_names_tl }
% {
@@ -4593,7 +4606,10 @@
}
\tl_set:Nn \l_@@_authors_box_tl
{
- \begin{adjustbox}{minipage=0.3\linewidth,min~ width=0.3\linewidth,valign=t}
+ \bool_if:NF {\g_@@_invisible_titles_bool} {
+ \begin{adjustbox}{minipage=0.3\linewidth,min~
+ width=0.3\linewidth,valign=t}
+ }
\bool_if:nTF { \tl_if_empty_p:N \l_@@_people_first_last_names_tl || \g_@@_interview_rubric_bool }
{
\mbox{}
@@ -4600,10 +4616,16 @@
}
{
\color{@@_people_color}
- \_@@_itemized_citeauthor:n {\g_@@_article_bib_key_tl}
+ \bool_if:NTF {\g_@@_invisible_titles_bool} {
+ \nocite {\g__gzt_article_bib_key_tl}
+ }{
+ \_@@_itemized_citeauthor:n {\g_@@_article_bib_key_tl}
+ }
}
- \end{adjustbox}
- }
+ \bool_if:NF {\g_@@_invisible_titles_bool} {
+ \end{adjustbox}
+ }
+ }
\bool_if:nTF {
\int_compare_p:nNn { \g_@@_item_in_rubric_int } = { 1 }
}
Modified: trunk/Master/texmf-dist/tex/latex/gzt/gzt.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/gzt/gzt.cls 2022-06-14 20:20:47 UTC (rev 63590)
+++ trunk/Master/texmf-dist/tex/latex/gzt/gzt.cls 2022-06-14 20:21:03 UTC (rev 63591)
@@ -11,8 +11,8 @@
%% E-mail:| denis.bitouze at 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.2}
-\def\gztfiledate{2022-03-18}
+\def\gztfileversion{1.1.3}
+\def\gztfiledate{2022-06-13}
\def\sectioncommandslist{}
\let\saved at ifdefinable\@ifdefinable
\let\saved@@ifdefinable\@@ifdefinable
@@ -94,6 +94,8 @@
\bool_new:N \g__gzt_cover_bool
\bool_new:N \g__gzt_coverpage_bool
\bool_new:N \g__gzt_inside_pages_bool
+\bool_new:N \g__gzt_invisible_titles_bool
+\bool_new:N \g__gzt_rubrics_in_toc_bool
\bool_new:N \g__gzt_no_inside_backcover_bool
\tl_gset:Nn \g__gzt_moral_report_common_option_tl {
\AddToHook{begindocument/before} {
@@ -149,6 +151,8 @@
specialedition / color .code:n = {
\tl_gset:Nn \g__gzt_special_edition_color_tl {#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 = {
\bool_gset_false:N \g__gzt_frontcover_without_minitoc_bool
},
@@ -1830,7 +1834,7 @@
\int_zero:N \g__gzt_item_in_rubric_int
\phantomsection
\par
- \bool_if:NF {\g__gzt_special_edition_bool} {
+ \bool_if:nF {\g__gzt_special_edition_bool && !\g__gzt_rubrics_in_toc_bool} {
\addcontentsline{toc}{part}{\g__gzt_rubric_title_tl}
}
\thispagestyle{__gzt_rubric_ps}
@@ -2071,57 +2075,61 @@
\tl_set:Nn \l__gzt_title_box_tl
{
\noindent
- \hspace*{18mm}
- \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
- \raggedright
- \color{__gzt_article_title_color}
- \fontsize{20}{25}\selectfont
- \bfseries
- \g__gzt_title_tl
- \tl_if_empty:NF \g__gzt_subtitle_tl {
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \hspace*{18mm}
+ \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
+ \raggedright
+ \color{__gzt_article_title_color}
+ \fontsize{20}{25}\selectfont
+ \bfseries
+ \g__gzt_title_tl
+ \tl_if_empty:NF \g__gzt_subtitle_tl {
+ \par
+ \g__gzt_subtitle_tl
+ }
+ \phantomsection
\par
- \g__gzt_subtitle_tl
}
- \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: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 \g__gzt_short_subtitle_tl ||
+ \tl_if_empty_p:N \l__gzt_people_first_last_names_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{
+ \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}
- }{}
- }{
- \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 }
% {
@@ -2142,7 +2150,10 @@
}
\tl_set:Nn \l__gzt_authors_box_tl
{
- \begin{adjustbox}{minipage=0.3\linewidth,min~ width=0.3\linewidth,valign=t}
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \begin{adjustbox}{minipage=0.3\linewidth,min~
+ width=0.3\linewidth,valign=t}
+ }
\bool_if:nTF { \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || \g__gzt_interview_rubric_bool }
{
\mbox{}
@@ -2149,10 +2160,16 @@
}
{
\color{__gzt_people_color}
- \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl}
+ \bool_if:NTF {\g__gzt_invisible_titles_bool} {
+ \nocite {\g__gzt_article_bib_key_tl}
+ }{
+ \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl}
+ }
}
- \end{adjustbox}
- }
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \end{adjustbox}
+ }
+ }
\bool_if:nTF {
\int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 }
}
Modified: trunk/Master/texmf-dist/tex/latex/gzt/gztarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/gzt/gztarticle.cls 2022-06-14 20:20:47 UTC (rev 63590)
+++ trunk/Master/texmf-dist/tex/latex/gzt/gztarticle.cls 2022-06-14 20:21:03 UTC (rev 63591)
@@ -11,8 +11,8 @@
%% E-mail:| denis.bitouze at 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.2}
-\def\gztfiledate{2022-03-18}
+\def\gztfileversion{1.1.3}
+\def\gztfiledate{2022-06-13}
\RequirePackage{xpatch}
\patchcmd
{\use@@tikzlibrary}
@@ -75,6 +75,8 @@
\bool_new:N \g__gzt_cover_bool
\bool_new:N \g__gzt_coverpage_bool
\bool_new:N \g__gzt_inside_pages_bool
+\bool_new:N \g__gzt_invisible_titles_bool
+\bool_new:N \g__gzt_rubrics_in_toc_bool
\bool_new:N \g__gzt_no_inside_backcover_bool
\bool_gset_true:N \g__gzt_for_authors_bool
\bool_gset_true:N \g__gzt_inside_pages_bool
@@ -1894,57 +1896,61 @@
\tl_set:Nn \l__gzt_title_box_tl
{
\noindent
- \hspace*{18mm}
- \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
- \raggedright
- \color{__gzt_article_title_color}
- \fontsize{20}{25}\selectfont
- \bfseries
- \g__gzt_title_tl
- \tl_if_empty:NF \g__gzt_subtitle_tl {
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \hspace*{18mm}
+ \begin{adjustbox}{minipage=\linewidth-18mm,valign=t}
+ \raggedright
+ \color{__gzt_article_title_color}
+ \fontsize{20}{25}\selectfont
+ \bfseries
+ \g__gzt_title_tl
+ \tl_if_empty:NF \g__gzt_subtitle_tl {
+ \par
+ \g__gzt_subtitle_tl
+ }
+ \phantomsection
\par
- \g__gzt_subtitle_tl
}
- \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: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 \g__gzt_short_subtitle_tl ||
+ \tl_if_empty_p:N \l__gzt_people_first_last_names_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{
+ \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}
- }{}
- }{
- \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 }
% {
@@ -1965,7 +1971,10 @@
}
\tl_set:Nn \l__gzt_authors_box_tl
{
- \begin{adjustbox}{minipage=0.3\linewidth,min~ width=0.3\linewidth,valign=t}
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \begin{adjustbox}{minipage=0.3\linewidth,min~
+ width=0.3\linewidth,valign=t}
+ }
\bool_if:nTF { \tl_if_empty_p:N \l__gzt_people_first_last_names_tl || \g__gzt_interview_rubric_bool }
{
\mbox{}
@@ -1972,10 +1981,16 @@
}
{
\color{__gzt_people_color}
- \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl}
+ \bool_if:NTF {\g__gzt_invisible_titles_bool} {
+ \nocite {\g__gzt_article_bib_key_tl}
+ }{
+ \__gzt_itemized_citeauthor:n {\g__gzt_article_bib_key_tl}
+ }
}
- \end{adjustbox}
- }
+ \bool_if:NF {\g__gzt_invisible_titles_bool} {
+ \end{adjustbox}
+ }
+ }
\bool_if:nTF {
\int_compare_p:nNn { \g__gzt_item_in_rubric_int } = { 1 }
}
More information about the tex-live-commits
mailing list.