summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-02 21:52:05 +0000
committerKarl Berry <karl@freefriends.org>2021-12-02 21:52:05 +0000
commit08046747b0257eca44a1c2423b4fd0380685104d (patch)
treec5c4250f6e3dd114ddd8a0397dc5a9053ca6465f /Master/texmf-dist
parentb0cfed9565dd7532b219c75bab78ee9e2296335b (diff)
denisbdoc (2dec21)
git-svn-id: svn://tug.org/texlive/trunk@61205 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx208
-rw-r--r--Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty185
2 files changed, 223 insertions, 170 deletions
diff --git a/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx b/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
index 9216617e6bb..36172e6df83 100644
--- a/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
+++ b/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
@@ -31,7 +31,7 @@ This package is currently not documented.
\preamble
-----------------------------------------------------------------------------
denisbdoc --- A personal dirty package for documenting personal classes,
- version 0.9.2
+ version 0.9.3
Maintained by Denis Bitouzé
E-mail: denis.bitouze@univ-littoral.fr
@@ -127,6 +127,7 @@ This work consists of the file denisbdoc.dtx
%\changes{v0.9}{2020/05/31}{Nineth CTAN version}
%\changes{v0.9.1}{2020/10/14}{Further CTAN version}
%\changes{v0.9.2}{2021-10-13}{Further CTAN version}
+%\changes{v0.9.3}{2021-12-01}{Further CTAN version}
%
%\begin{abstract}
% ...
@@ -197,7 +198,7 @@ This work consists of the file denisbdoc.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {denisbdoc} {2021-10-13} {0.9.2}
+\ProvidesExplPackage {denisbdoc} {2021-12-01} {0.9.3}
{A personal package for documenting packages}
% \end{macrocode}
%
@@ -244,9 +245,9 @@ This work consists of the file denisbdoc.dtx
% \begin{macrocode}
\sys_if_engine_pdftex:TF
{
- \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
- % to be copied and pasted as they are, and not replaced
- % by "h" and "i"
+ % \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
+ % % to be copied and pasted as they are, and not replaced
+ % % by "h" and "i"
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
% \end{macrocode}
@@ -285,7 +286,8 @@ This work consists of the file denisbdoc.dtx
\RequirePackage{parskip}%
\RequirePackage{marginnote}
\RequirePackage{mparhack}
- \RequirePackage[inline]{enumitem}
+ % \RequirePackage[inline]{enumitem}
+ \RequirePackage{enumitem}
\fi%
\RequirePackage{afterpage}%
\RequirePackage{calc}%
@@ -305,7 +307,6 @@ This work consists of the file denisbdoc.dtx
}{%
\RequirePackage{pdflscape}%
}
-\RequirePackage{xspace}%
\RequirePackage{accsupp}
\RequirePackage{newunicodechar}
\RequirePackage{hologo}%
@@ -1626,6 +1627,14 @@ This work consists of the file denisbdoc.dtx
{
#2{\sffamily#1}
}
+\tl_new:N \g_@@_list_word_tl
+\IfLanguageName{french}{
+ \tl_set:Nn \g_@@_list_word_tl {liste}
+}{
+ \IfLanguageName{english}{
+ \tl_set:Nn \g_@@_list_word_tl {list}
+ }{}%
+}%
% The main macro
% #1: boolean (true => no hyperlink)
% #2: boolean (false => indexation)
@@ -1658,9 +1667,9 @@ This work consists of the file denisbdoc.dtx
{
\tl_if_empty:nTF {#6}
{
- \index{#5!liste!\textsf{#4}}
+ \index{#5!\g_@@_list_word_tl!\textsf{#4}}
}{
- \index{#5!liste!\textsf{#4}!#6}
+ \index{#5!\g_@@_list_word_tl!\textsf{#4}!#6}
}
}
}
@@ -1693,7 +1702,18 @@ This work consists of the file denisbdoc.dtx
class
}{}%
}
+% \end{macrocode}
+% %
+% % We copy the ×\package×, ×\Package×, ×\class×, ×\Classs×, commands as we used
+% % to use ×\pkg×, ×\Pkg×, ×\cls× and ×\Cls× instead in our \file{.dtx}.
+% % \begin{macrocode}
+ % \NewCommandCopy\pkg\package
+ \NewCommandCopy\Pkg\Package
+ % \NewCommandCopy\cls\class
+ \NewCommandCopy\Cls\Class
+% % \end{macrocode}
%
+% \begin{macrocode}
\cs_new_protected:Nn \_@@_format:n
{
\textsc{#1}
@@ -1714,7 +1734,7 @@ This work consists of the file denisbdoc.dtx
\texttt{#1}
% \egroup
}
-\NewDocumentCommand{\file}{ m }
+\ProvideDocumentCommand{\file}{ m }
{%
\_@@_file:n {#1}
}
@@ -1755,7 +1775,7 @@ This work consists of the file denisbdoc.dtx
% \@ifnextchar.%
% {
% }{
-% .\xspace
+% .
% }%
% }
% }
@@ -1989,76 +2009,80 @@ This work consists of the file denisbdoc.dtx
% \begin{macrocode}
\bool_if:nT {\g_@@_yad_bool} {%
%
- \zexternaldocument{\c_@@_flatsample_string_tl/these}%
- \bool_new:N \g_@@_these_aux_exists%
- \msg_new:nnn{denisbdoc}{File~ `\c_@@_these_aux_string_tl'~ needed}{%
- File~ `\c_@@_these_aux_string_tl'~ needed~ (otherwise~ this~ document~ will~
- be~ incomplete)!~ Please~ go~ to~ `\c_@@_flatsample_string_tl'~
- directory~ and~ run~ first:\\\\
+ \str_if_in:NnT \c_sys_jobname_str { yathesis- } {
+ \zexternaldocument{\c_@@_flatsample_string_tl/these}%
+ \bool_new:N \g_@@_these_aux_exists%
+ \msg_new:nnn{denisbdoc}{File~ `\c_@@_these_aux_string_tl'~ needed}{%
+ File~ `\c_@@_these_aux_string_tl'~ needed~ (otherwise~ this~ document~ will~
+ be~ incomplete)!~ Please~ go~ to~ `\c_@@_flatsample_string_tl'~
+ directory~ and~ run~ first:\\\\
- \ \ latexmk~ -g~ -pdf~ -jobname=these~ -pdflatex="pdflatex~ \%O~ \string\ \\
- \ \ '\string\RequirePackage\{etoolbox\}~ \string\ \\
- \ \ \string\AtEndPreamble\{\string\RequirePackage\{yathesis-demo\}\}~ \string\ \\
- \ \ \string\input\{\%S\}'"~ these.tex
- \\\\
- Afterwards,~ recompile~ this~ document.%
- }%
- \file_if_exist:nTF {\c_@@_flatsample_string_tl/\c_@@_these_aux_string_tl} { \bool_gset_true:N
- \g_@@_these_aux_exists }{
- % \bool_gset_false:N \g_@@_these_aux_exists
- \msg_warning:nn{denisbdoc}{File~ `\c_@@_these_aux_string_tl'~ needed}
- \AfterEndPreamble{%
- \begin{dbwarning}{Documentation~incomplète~!}{documentation-incomplete}
- La~ présente~ documentation~ est~ incomplète~ car~ le~
- \File{\c_@@_these_aux_string_tl}~ est~ absent~ du~
- \Folder{\c_@@_flatsample_string_tl}.~ Pour~ régler~ le~ problème,~
- rendez-vous~ dans~ ce~ dossier~ et~ compilez~ le~ \File{these.tex}~ au~
- moyen~ de~ la~ commande~ suivante\footnote{Sur~ une~ seule~ ligne.}~ :
- \par\medskip
+ \ \ latexmk~ -g~ -pdf~ -jobname=these~ -pdflatex="pdflatex~ \%O~ \string\ \\
+ \ \ '\string\RequirePackage\{etoolbox\}~ \string\ \\
+ \ \ \string\AtEndPreamble\{\string\RequirePackage\{yathesis-demo\}\}~ \string\ \\
+ \ \ \string\input\{\%S\}'"~ these.tex
+ \\\\
+ Afterwards,~ recompile~ this~ document.%
+ }%
+ \file_if_exist:nTF {\c_@@_flatsample_string_tl/\c_@@_these_aux_string_tl} {%
+ \bool_gset_true:N%
+ \g_@@_these_aux_exists%
+ }{
+ % \bool_gset_false:N \g_@@_these_aux_exists
+ \msg_warning:nn{denisbdoc}{File~ `\c_@@_these_aux_string_tl'~ needed}
+ \AfterEndPreamble{%
+ \begin{dbwarning}{Documentation~incomplète~!}{documentation-incomplete}
+ La~ présente~ documentation~ est~ incomplète~ car~ le~
+ \File{\c_@@_these_aux_string_tl}~ est~ absent~ du~
+ \Folder{\c_@@_flatsample_string_tl}.~ Pour~ régler~ le~ problème,~
+ rendez-vous~ dans~ ce~ dossier~ et~ compilez~ le~ \File{these.tex}~ au~
+ moyen~ de~ la~ commande~ suivante\footnote{Sur~ une~ seule~ ligne.}~ :
+ \par\medskip
- \lstinline[language=bash,upquote=true,commentstyle=,stringstyle=,showstringspaces=false]+latexmk~-g~ -norc~ -r~ ./latexmkrc~-jobname=these-pdflatex="pdflatex~\%O~'\\RequirePackage\{etoolbox\}\\AtEndPreamble\{\\RequirePackage\{yathesis-demo\}\}\\input\{\%S\}'"~these+
- \end{dbwarning}
+ \lstinline[language=bash,upquote=true,commentstyle=,stringstyle=,showstringspaces=false]+latexmk~-g~ -norc~ -r~ ./latexmkrc~-jobname=these-pdflatex="pdflatex~\%O~'\\RequirePackage\{etoolbox\}\\AtEndPreamble\{\\RequirePackage\{yathesis-demo\}\}\\input\{\%S\}'"~these+
+ \end{dbwarning}
+ }
}
- }
- %
- \msg_new:nnn{denisbdoc}{File~ `\c_@@_template_sample_zip_string_tl'~ needed}{%
- File~ `canevas-specimen.zip'~ needed~ (otherwise~ this~ document~ will~ be~
- incomplete)!~ Please~ get~ this~ file~ from~ the~ orignal~ yathesis'~
- documentation~ and~ save~ it~ in~ `../exemples/'~ folder.~ Afterwards,~
- recompile~ this~ document.%
- }%
- \file_if_exist:nTF {../\c_@@_template_sample_zip_string_tl} {}{
- \msg_warning:nn{denisbdoc}{File~ `\c_@@_template_sample_zip_string_tl'~ needed}
- \AfterEndPreamble{%
- \begin{dbwarning}{Documentation~incomplète~!}{}
- La~ version~ électronique~ (\pdf{})~ de~ la~ présente~ documentation~
- est~ incomplète~ :~ normalement,~ les~ canevas~ et~ spécimens~ y~ sont~
- intégrés~ par~ le~ biais~ de~ l'archive~ \gls{zip}~
- \file{\c_@@_template_sample_zip_string_tl}~ (alors~ accessible~ par~
- simple~ clic)~ mais~ ce~ n'est~ pas~ le~ cas~ ici,~ ce~ fichier~ étant~
- absent~ du~ dossier~ parent.~ % \Folder{\c_@@_examples_path_tl}.~
- Pour~ régler~ le~ problème,~ accédez~ à~ ce~ fichier~ attaché~ à~ la~
- version~ électronique~ originale~ de~ la~ documentation~ de~
- \yatcl{}\footnote{Disponible~ à~ l'adresse~
- \url{http://ctan.org/pkg/yathesis},~ si~ besoin~ est.}~ et~ placez-le~
- dans~ le~ \Folder{\c_@@_examples_path_tl}.
- \end{dbwarning}
+ %
+ \msg_new:nnn{denisbdoc}{File~ `\c_@@_template_sample_zip_string_tl'~ needed}{%
+ File~ `canevas-specimen.zip'~ needed~ (otherwise~ this~ document~ will~ be~
+ incomplete)!~ Please~ get~ this~ file~ from~ the~ orignal~ yathesis'~
+ documentation~ and~ save~ it~ in~ `../exemples/'~ folder.~ Afterwards,~
+ recompile~ this~ document.%
+ }%
+ \file_if_exist:nTF {../\c_@@_template_sample_zip_string_tl} {}{
+ \msg_warning:nn{denisbdoc}{File~ `\c_@@_template_sample_zip_string_tl'~ needed}
+ \AfterEndPreamble{%
+ \begin{dbwarning}{Documentation~incomplète~!}{}
+ La~ version~ électronique~ (\pdf{})~ de~ la~ présente~ documentation~
+ est~ incomplète~ :~ normalement,~ les~ canevas~ et~ spécimens~ y~ sont~
+ intégrés~ par~ le~ biais~ de~ l'archive~ \gls{zip}~
+ \file{\c_@@_template_sample_zip_string_tl}~ (alors~ accessible~ par~
+ simple~ clic)~ mais~ ce~ n'est~ pas~ le~ cas~ ici,~ ce~ fichier~ étant~
+ absent~ du~ dossier~ parent.~ % \Folder{\c_@@_examples_path_tl}.~
+ Pour~ régler~ le~ problème,~ accédez~ à~ ce~ fichier~ attaché~ à~ la~
+ version~ électronique~ originale~ de~ la~ documentation~ de~
+ \yatcl{}\footnote{Disponible~ à~ l'adresse~
+ \url{http://ctan.org/pkg/yathesis},~ si~ besoin~ est.}~ et~ placez-le~
+ dans~ le~ \Folder{\c_@@_examples_path_tl}.
+ \end{dbwarning}
+ }
}
- }
- %
- \cs_new_protected:Nn \_@@_screenshot:nn
- {
- \bool_if:NTF {\g_@@_these_aux_exists} {
- \fbox{\includegraphics[bylabel=#2,width=#1\linewidth-2\fboxsep-2\fboxrule]{\c_@@_flatsample_string_tl/these}}%
- }{%
- \begin{dbwarning}{Copie~d'écran~manquante~!}{}
- Il~ devrait~ ici~ y~ avoir~ une~ copie\c_space_tl ~ d'écran.~ Cf.~
- \vref{wa-documentation-incomplete}~ pour~ plus~ de~ détails.
- \end{dbwarning}
+ %
+ \cs_new_protected:Nn \_@@_screenshot:nn
+ {
+ \bool_if:NTF {\g_@@_these_aux_exists} {
+ \fbox{\includegraphics[bylabel=#2,width=#1\linewidth-2\fboxsep-2\fboxrule]{\c_@@_flatsample_string_tl/these}}%
+ }{%
+ \begin{dbwarning}{Copie~d'écran~manquante~!}{}
+ Il~ devrait~ ici~ y~ avoir~ une~ copie\c_space_tl ~ d'écran.~ Cf.~
+ \vref{wa-documentation-incomplete}~ pour~ plus~ de~ détails.
+ \end{dbwarning}
+ }
+ }
+ \NewDocumentCommand \screenshot { O{.45} m } {%
+ \_@@_screenshot:nn {#1}{#2}
}
- }
- \NewDocumentCommand \screenshot { O{.45} m } {%
- \_@@_screenshot:nn {#1}{#2}
}
}
% \end{macrocode}
@@ -2263,15 +2287,15 @@ This work consists of the file denisbdoc.dtx
}
\NewDocumentCommand \yatpa { }
{%
- \Package+{\c_@@_yat_class_name_tl}[\itshape][]\xspace
+ \Package+{\c_@@_yat_class_name_tl}[\itshape][]
}
\NewDocumentCommand \yatcl { }
{%
- \texorpdfstring{\class+{\c_@@_yat_class_name_tl}[][][\itshape]\xspace}{yathesis}
+ \texorpdfstring{\class+{\c_@@_yat_class_name_tl}[][][\itshape]}{yathesis}
}
\NewDocumentCommand \yatCl { }
{%
- \texorpdfstring{\Class+{\c_@@_yat_class_name_tl}[][][\itshape]\xspace}{classe yathesis}
+ \texorpdfstring{\Class+{\c_@@_yat_class_name_tl}[][][\itshape]}{classe yathesis}
}
% \end{macrocode}
% \end{macro}
@@ -2335,19 +2359,19 @@ This work consists of the file denisbdoc.dtx
% \begin{macro}{\gzt}
% \begin{macro}{\gztcl}
% \begin{macrocode}
-% \NewDocumentCommand \gzt { s } {
-% \IfBooleanTF {#1}
-% {
-% \textit{\c_@@_journal_title_string_tl}
-% }
-% {
-% \textit{\c_@@_journal_short_title_string_tl}
-% }
-% }
-% \NewDocumentCommand \gztcl { }
-% {%
-% \Class{\textsl{\texttt{\c_@@_gzt_class_name_tl}}}
-% }
+\ProvideDocumentCommand \gzt { s } {
+ \IfBooleanTF {#1}
+ {
+ \textit{\c_@@_journal_title_string_tl}
+ }
+ {
+ \textit{\c_@@_journal_short_title_string_tl}
+ }
+}
+\ProvideDocumentCommand \gztcl { }
+{%
+ \Class{\textsl{\texttt{\c_@@_gzt_class_name_tl}}}
+}
\NewDocumentCommand \gztauthor { }
{%
\textsl{\texttt{\c_@@_gztauthor_class_name_tl}}
diff --git a/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty b/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
index 6391260009c..8694ec49b78 100644
--- a/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
+++ b/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
@@ -7,7 +7,7 @@
%% denisbdoc.dtx (with options: `package')
%% -----------------------------------------------------------------------------
%% denisbdoc --- A personal dirty package for documenting personal classes,
-%% version 0.9.2
+%% version 0.9.3
%%
%% Maintained by Denis Bitouzé
%% E-mail: denis.bitouze@univ-littoral.fr
@@ -16,7 +16,7 @@
%% -----------------------------------------------------------------------------
%%
\RequirePackage{expl3,l3keys2e,xparse}
-\ProvidesExplPackage {denisbdoc} {2021-10-13} {0.9.2}
+\ProvidesExplPackage {denisbdoc} {2021-12-01} {0.9.3}
{A personal package for documenting packages}
\@ifpackagelater { expl3 } { 2012/11/21 }
{ }
@@ -41,9 +41,9 @@
\PassOptionsToPackage{obeyspaces}{url}
\sys_if_engine_pdftex:TF
{
- \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
- % to be copied and pasted as they are, and not replaced
- % by "h" and "i"
+ % \RequirePackage{cmap} % Necessary for the angle brackets generated by ×\meta×
+ % % to be copied and pasted as they are, and not replaced
+ % % by "h" and "i"
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\pdfsuppresswarningpagegroup=1
@@ -62,7 +62,8 @@
\RequirePackage{parskip}%
\RequirePackage{marginnote}
\RequirePackage{mparhack}
- \RequirePackage[inline]{enumitem}
+ % \RequirePackage[inline]{enumitem}
+ \RequirePackage{enumitem}
\fi%
\RequirePackage{afterpage}%
\RequirePackage{calc}%
@@ -80,7 +81,6 @@
}{%
\RequirePackage{pdflscape}%
}
-\RequirePackage{xspace}%
\RequirePackage{accsupp}
\RequirePackage{newunicodechar}
\RequirePackage{hologo}%
@@ -952,6 +952,14 @@
{
#2{\sffamily#1}
}
+\tl_new:N \g__denisbdoc_list_word_tl
+\IfLanguageName{french}{
+ \tl_set:Nn \g__denisbdoc_list_word_tl {liste}
+}{
+ \IfLanguageName{english}{
+ \tl_set:Nn \g__denisbdoc_list_word_tl {list}
+ }{}%
+}%
\cs_new_protected:Npn \__denisbdoc_package:nnnnnnn #1#2#3#4#5#6#7
{
\texorpdfstring
@@ -976,9 +984,9 @@
{
\tl_if_empty:nTF {#6}
{
- \index{#5!liste!\textsf{#4}}
+ \index{#5!\g__denisbdoc_list_word_tl!\textsf{#4}}
}{
- \index{#5!liste!\textsf{#4}!#6}
+ \index{#5!\g__denisbdoc_list_word_tl!\textsf{#4}!#6}
}
}
}
@@ -1010,6 +1018,10 @@
class
}{}%
}
+ % \NewCommandCopy\pkg\package
+ \NewCommandCopy\Pkg\Package
+ % \NewCommandCopy\cls\class
+ \NewCommandCopy\Cls\Class
\cs_new_protected:Nn \__denisbdoc_format:n
{
\textsc{#1}
@@ -1030,7 +1042,7 @@
\texttt{#1}
% \egroup
}
-\NewDocumentCommand{\file}{ m }
+\ProvideDocumentCommand{\file}{ m }
{%
\__denisbdoc_file:n {#1}
}
@@ -1242,76 +1254,80 @@
}
\bool_if:nT {\g__denisbdoc_yad_bool} {%
%
- \zexternaldocument{\c__denisbdoc_flatsample_string_tl/these}%
- \bool_new:N \g__denisbdoc_these_aux_exists%
- \msg_new:nnn{denisbdoc}{File~ `\c__denisbdoc_these_aux_string_tl'~ needed}{%
- File~ `\c__denisbdoc_these_aux_string_tl'~ needed~ (otherwise~ this~ document~ will~
- be~ incomplete)!~ Please~ go~ to~ `\c__denisbdoc_flatsample_string_tl'~
- directory~ and~ run~ first:\\\\
+ \str_if_in:NnT \c_sys_jobname_str { yathesis- } {
+ \zexternaldocument{\c__denisbdoc_flatsample_string_tl/these}%
+ \bool_new:N \g__denisbdoc_these_aux_exists%
+ \msg_new:nnn{denisbdoc}{File~ `\c__denisbdoc_these_aux_string_tl'~ needed}{%
+ File~ `\c__denisbdoc_these_aux_string_tl'~ needed~ (otherwise~ this~ document~ will~
+ be~ incomplete)!~ Please~ go~ to~ `\c__denisbdoc_flatsample_string_tl'~
+ directory~ and~ run~ first:\\\\
- \ \ latexmk~ -g~ -pdf~ -jobname=these~ -pdflatex="pdflatex~ \%O~ \string\ \\
- \ \ '\string\RequirePackage\{etoolbox\}~ \string\ \\
- \ \ \string\AtEndPreamble\{\string\RequirePackage\{yathesis-demo\}\}~ \string\ \\
- \ \ \string\input\{\%S\}'"~ these.tex
- \\\\
- Afterwards,~ recompile~ this~ document.%
- }%
- \file_if_exist:nTF {\c__denisbdoc_flatsample_string_tl/\c__denisbdoc_these_aux_string_tl} { \bool_gset_true:N
- \g__denisbdoc_these_aux_exists }{
- % \bool_gset_false:N \g__denisbdoc_these_aux_exists
- \msg_warning:nn{denisbdoc}{File~ `\c__denisbdoc_these_aux_string_tl'~ needed}
- \AfterEndPreamble{%
- \begin{dbwarning}{Documentation~incomplète~!}{documentation-incomplete}
- La~ présente~ documentation~ est~ incomplète~ car~ le~
- \File{\c__denisbdoc_these_aux_string_tl}~ est~ absent~ du~
- \Folder{\c__denisbdoc_flatsample_string_tl}.~ Pour~ régler~ le~ problème,~
- rendez-vous~ dans~ ce~ dossier~ et~ compilez~ le~ \File{these.tex}~ au~
- moyen~ de~ la~ commande~ suivante\footnote{Sur~ une~ seule~ ligne.}~ :
- \par\medskip
+ \ \ latexmk~ -g~ -pdf~ -jobname=these~ -pdflatex="pdflatex~ \%O~ \string\ \\
+ \ \ '\string\RequirePackage\{etoolbox\}~ \string\ \\
+ \ \ \string\AtEndPreamble\{\string\RequirePackage\{yathesis-demo\}\}~ \string\ \\
+ \ \ \string\input\{\%S\}'"~ these.tex
+ \\\\
+ Afterwards,~ recompile~ this~ document.%
+ }%
+ \file_if_exist:nTF {\c__denisbdoc_flatsample_string_tl/\c__denisbdoc_these_aux_string_tl} {%
+ \bool_gset_true:N%
+ \g__denisbdoc_these_aux_exists%
+ }{
+ % \bool_gset_false:N \g__denisbdoc_these_aux_exists
+ \msg_warning:nn{denisbdoc}{File~ `\c__denisbdoc_these_aux_string_tl'~ needed}
+ \AfterEndPreamble{%
+ \begin{dbwarning}{Documentation~incomplète~!}{documentation-incomplete}
+ La~ présente~ documentation~ est~ incomplète~ car~ le~
+ \File{\c__denisbdoc_these_aux_string_tl}~ est~ absent~ du~
+ \Folder{\c__denisbdoc_flatsample_string_tl}.~ Pour~ régler~ le~ problème,~
+ rendez-vous~ dans~ ce~ dossier~ et~ compilez~ le~ \File{these.tex}~ au~
+ moyen~ de~ la~ commande~ suivante\footnote{Sur~ une~ seule~ ligne.}~ :
+ \par\medskip
- \lstinline[language=bash,upquote=true,commentstyle=,stringstyle=,showstringspaces=false]+latexmk~-g~ -norc~ -r~ ./latexmkrc~-jobname=these-pdflatex="pdflatex~\%O~'\\RequirePackage\{etoolbox\}\\AtEndPreamble\{\\RequirePackage\{yathesis-demo\}\}\\input\{\%S\}'"~these+
- \end{dbwarning}
+ \lstinline[language=bash,upquote=true,commentstyle=,stringstyle=,showstringspaces=false]+latexmk~-g~ -norc~ -r~ ./latexmkrc~-jobname=these-pdflatex="pdflatex~\%O~'\\RequirePackage\{etoolbox\}\\AtEndPreamble\{\\RequirePackage\{yathesis-demo\}\}\\input\{\%S\}'"~these+
+ \end{dbwarning}
+ }
}
- }
- %
- \msg_new:nnn{denisbdoc}{File~ `\c__denisbdoc_template_sample_zip_string_tl'~ needed}{%
- File~ `canevas-specimen.zip'~ needed~ (otherwise~ this~ document~ will~ be~
- incomplete)!~ Please~ get~ this~ file~ from~ the~ orignal~ yathesis'~
- documentation~ and~ save~ it~ in~ `../exemples/'~ folder.~ Afterwards,~
- recompile~ this~ document.%
- }%
- \file_if_exist:nTF {../\c__denisbdoc_template_sample_zip_string_tl} {}{
- \msg_warning:nn{denisbdoc}{File~ `\c__denisbdoc_template_sample_zip_string_tl'~ needed}
- \AfterEndPreamble{%
- \begin{dbwarning}{Documentation~incomplète~!}{}
- La~ version~ électronique~ (\pdf{})~ de~ la~ présente~ documentation~
- est~ incomplète~ :~ normalement,~ les~ canevas~ et~ spécimens~ y~ sont~
- intégrés~ par~ le~ biais~ de~ l'archive~ \gls{zip}~
- \file{\c__denisbdoc_template_sample_zip_string_tl}~ (alors~ accessible~ par~
- simple~ clic)~ mais~ ce~ n'est~ pas~ le~ cas~ ici,~ ce~ fichier~ étant~
- absent~ du~ dossier~ parent.~ % \Folder{\c__denisbdoc_examples_path_tl}.~
- Pour~ régler~ le~ problème,~ accédez~ à~ ce~ fichier~ attaché~ à~ la~
- version~ électronique~ originale~ de~ la~ documentation~ de~
- \yatcl{}\footnote{Disponible~ à~ l'adresse~
- \url{http://ctan.org/pkg/yathesis},~ si~ besoin~ est.}~ et~ placez-le~
- dans~ le~ \Folder{\c__denisbdoc_examples_path_tl}.
- \end{dbwarning}
+ %
+ \msg_new:nnn{denisbdoc}{File~ `\c__denisbdoc_template_sample_zip_string_tl'~ needed}{%
+ File~ `canevas-specimen.zip'~ needed~ (otherwise~ this~ document~ will~ be~
+ incomplete)!~ Please~ get~ this~ file~ from~ the~ orignal~ yathesis'~
+ documentation~ and~ save~ it~ in~ `../exemples/'~ folder.~ Afterwards,~
+ recompile~ this~ document.%
+ }%
+ \file_if_exist:nTF {../\c__denisbdoc_template_sample_zip_string_tl} {}{
+ \msg_warning:nn{denisbdoc}{File~ `\c__denisbdoc_template_sample_zip_string_tl'~ needed}
+ \AfterEndPreamble{%
+ \begin{dbwarning}{Documentation~incomplète~!}{}
+ La~ version~ électronique~ (\pdf{})~ de~ la~ présente~ documentation~
+ est~ incomplète~ :~ normalement,~ les~ canevas~ et~ spécimens~ y~ sont~
+ intégrés~ par~ le~ biais~ de~ l'archive~ \gls{zip}~
+ \file{\c__denisbdoc_template_sample_zip_string_tl}~ (alors~ accessible~ par~
+ simple~ clic)~ mais~ ce~ n'est~ pas~ le~ cas~ ici,~ ce~ fichier~ étant~
+ absent~ du~ dossier~ parent.~ % \Folder{\c__denisbdoc_examples_path_tl}.~
+ Pour~ régler~ le~ problème,~ accédez~ à~ ce~ fichier~ attaché~ à~ la~
+ version~ électronique~ originale~ de~ la~ documentation~ de~
+ \yatcl{}\footnote{Disponible~ à~ l'adresse~
+ \url{http://ctan.org/pkg/yathesis},~ si~ besoin~ est.}~ et~ placez-le~
+ dans~ le~ \Folder{\c__denisbdoc_examples_path_tl}.
+ \end{dbwarning}
+ }
}
- }
- %
- \cs_new_protected:Nn \__denisbdoc_screenshot:nn
- {
- \bool_if:NTF {\g__denisbdoc_these_aux_exists} {
- \fbox{\includegraphics[bylabel=#2,width=#1\linewidth-2\fboxsep-2\fboxrule]{\c__denisbdoc_flatsample_string_tl/these}}%
- }{%
- \begin{dbwarning}{Copie~d'écran~manquante~!}{}
- Il~ devrait~ ici~ y~ avoir~ une~ copie\c_space_tl ~ d'écran.~ Cf.~
- \vref{wa-documentation-incomplete}~ pour~ plus~ de~ détails.
- \end{dbwarning}
+ %
+ \cs_new_protected:Nn \__denisbdoc_screenshot:nn
+ {
+ \bool_if:NTF {\g__denisbdoc_these_aux_exists} {
+ \fbox{\includegraphics[bylabel=#2,width=#1\linewidth-2\fboxsep-2\fboxrule]{\c__denisbdoc_flatsample_string_tl/these}}%
+ }{%
+ \begin{dbwarning}{Copie~d'écran~manquante~!}{}
+ Il~ devrait~ ici~ y~ avoir~ une~ copie\c_space_tl ~ d'écran.~ Cf.~
+ \vref{wa-documentation-incomplete}~ pour~ plus~ de~ détails.
+ \end{dbwarning}
+ }
+ }
+ \NewDocumentCommand \screenshot { O{.45} m } {%
+ \__denisbdoc_screenshot:nn {#1}{#2}
}
- }
- \NewDocumentCommand \screenshot { O{.45} m } {%
- \__denisbdoc_screenshot:nn {#1}{#2}
}
}
\newunicodechar{⟨}{$\langle$}
@@ -1461,15 +1477,15 @@
}
\NewDocumentCommand \yatpa { }
{%
- \Package+{\c__denisbdoc_yat_class_name_tl}[\itshape][]\xspace
+ \Package+{\c__denisbdoc_yat_class_name_tl}[\itshape][]
}
\NewDocumentCommand \yatcl { }
{%
- \texorpdfstring{\class+{\c__denisbdoc_yat_class_name_tl}[][][\itshape]\xspace}{yathesis}
+ \texorpdfstring{\class+{\c__denisbdoc_yat_class_name_tl}[][][\itshape]}{yathesis}
}
\NewDocumentCommand \yatCl { }
{%
- \texorpdfstring{\Class+{\c__denisbdoc_yat_class_name_tl}[][][\itshape]\xspace}{classe yathesis}
+ \texorpdfstring{\Class+{\c__denisbdoc_yat_class_name_tl}[][][\itshape]}{classe yathesis}
}
\NewDocumentCommand \configurationdirectory { }
{%
@@ -1517,6 +1533,19 @@
\tl_const:Nn \c__denisbdoc_journal_title_string_tl {
\c__denisbdoc_journal_short_title_string_tl{}~des~Math\'ematiciens%
}
+\ProvideDocumentCommand \gzt { s } {
+ \IfBooleanTF {#1}
+ {
+ \textit{\c__denisbdoc_journal_title_string_tl}
+ }
+ {
+ \textit{\c__denisbdoc_journal_short_title_string_tl}
+ }
+}
+\ProvideDocumentCommand \gztcl { }
+{%
+ \Class{\textsl{\texttt{\c__denisbdoc_gzt_class_name_tl}}}
+}
\NewDocumentCommand \gztauthor { }
{%
\textsl{\texttt{\c__denisbdoc_gztauthor_class_name_tl}}