texlive[63589] Master/texmf-dist: denisbdoc (14jun22)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 14 22:20:34 CEST 2022


Revision: 63589
          http://tug.org/svn/texlive?view=revision&revision=63589
Author:   karl
Date:     2022-06-14 22:20:34 +0200 (Tue, 14 Jun 2022)
Log Message:
-----------
denisbdoc (14jun22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/denisbdoc/README.md
    trunk/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
    trunk/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf
    trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pkg

Modified: trunk/Master/texmf-dist/doc/latex/denisbdoc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/denisbdoc/README.md	2022-06-14 20:20:04 UTC (rev 63588)
+++ trunk/Master/texmf-dist/doc/latex/denisbdoc/README.md	2022-06-14 20:20:34 UTC (rev 63589)
@@ -1,10 +1,10 @@
-denisbdoc - A personal package for documenting classes and packages, v. 0.9.2
+denisbdoc - A personal package for documenting classes and packages, v. 0.9.4
 =============================================================================
 
 **The sole purpose of this (quick 'n dirty) `denisbdoc` package is for
 documenting the classes written by their author (Denis Bitouzé).**
 
-The class is supplied in `.dtx` format. If you want to unpack the `.dtx`
+The package is supplied in `.dtx` format. If you want to unpack the `.dtx`
 yourself, running:
 
      tex denisbdoc.dtx

Added: trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf	2022-06-14 20:20:04 UTC (rev 63588)
+++ trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf	2022-06-14 20:20:34 UTC (rev 63589)

Property changes on: trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pkg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pkg	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/denisbdoc/denisbdoc.pkg	2022-06-14 20:20:34 UTC (rev 63589)
@@ -0,0 +1,23 @@
+\pkg{denisbdoc}
+\version{0.9.4 2022-06-13}
+\author{Denis Bitouzé}
+\email{denis.bitouze at univ-littoral.fr}
+\uploader{Denis Bitouzé}
+\ctanPath{/macros/latex/contrib/denisbdoc}
+\license{lppl1.3c}
+\home{}
+\bugtracker{}
+\support{}
+\repository{}
+\development{}
+\update{true}
+\topic{}
+\begin{announcement}
+\end{announcement}
+\summary{A personal dirty package for documenting packages}
+\begin{description}
+A personal dirty package for documenting packages.
+\end{description}
+\begin{note}
+\end{note}
+\file{../dtx-forge/denisbdoc.zip}

Modified: trunk/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx	2022-06-14 20:20:04 UTC (rev 63588)
+++ trunk/Master/texmf-dist/source/latex/denisbdoc/denisbdoc.dtx	2022-06-14 20:20:34 UTC (rev 63589)
@@ -3,13 +3,13 @@
 \iffalse
 %</internal>
 %<*readme>
-denisbdoc - A personal package for documenting classes and packages, v. 0.9.2
+denisbdoc - A personal package for documenting classes and packages, v. 0.9.4
 =============================================================================
 
 **The sole purpose of this (quick 'n dirty) `denisbdoc` package is for
 documenting the classes written by their author (Denis Bitouzé).**
 
-The class is supplied in `.dtx` format. If you want to unpack the `.dtx`
+The package is supplied in `.dtx` format. If you want to unpack the `.dtx`
 yourself, running:
 
      tex denisbdoc.dtx
@@ -18,6 +18,131 @@
 
 This package is currently not documented.
 %</readme>
+%<*ctanomat>
+% This is a description file for ctan-o-mat.
+% It manages uploads of a package to
+% CTAN -- the Comprehensive TeX Archive Network.
+%
+% The syntax is roughly oriented towards (La)TeX.
+% Two form of the macros are used. The simple macros take one argument
+% in braces. Here the argument may not contain embedded macros.
+%
+% The second form uses an environment enclosed in \begin{}/\end{}.
+% In the long text fields logo macros can be used.
+%
+% You should enter your values between the begin and the end of the
+% named type.
+% -------------------------------------------------------------------------
+% This field contains the CTAN id of the package.
+% The value is optional.
+% The value is restricted to 32 characters.
+\pkg{denisbdoc}
+% -------------------------------------------------------------------------
+% This field contains the version of the package.
+% The value is optional.
+% The value is restricted to 32 characters.
+\version{0.9.4 2022-06-13}
+% -------------------------------------------------------------------------
+% This field contains the name of the author(s).
+% The value is optional.
+% The value is restricted to 128 characters.
+\author{Denis Bitouzé}
+% -------------------------------------------------------------------------
+% This field contains the email address of the uploader.
+% The value is an email address.
+% The value is restricted to 255 characters.
+\email{denis.bitouze at univ-littoral.fr}
+% -------------------------------------------------------------------------
+% This field contains the name of the uploader.
+% The value is restricted to 255 characters.
+\uploader{Denis Bitouzé}
+% -------------------------------------------------------------------------
+% This field contains the directory on CTAN.
+% The value is optional.
+% The value is restricted to 255 characters.
+\ctanPath{/macros/latex/contrib/denisbdoc}
+% -------------------------------------------------------------------------
+% This field contains the license.
+% The value is optional.
+% The value is restricted to 2048 characters.
+% Multiple values are allowed.
+\license{lppl1.3c}
+% -------------------------------------------------------------------------
+% This field contains the URL of the home page.
+% The value is optional.
+% The value is a URL.
+% The value is restricted to 255 characters.
+% Multiple values are allowed.
+\home{}
+% -------------------------------------------------------------------------
+% This field contains the URL of the bug tracker.
+% The value is optional.
+% The value is a URL.
+% The value is restricted to 255 characters.
+% Multiple values are allowed.
+\bugtracker{}
+% -------------------------------------------------------------------------
+% This field contains the support channel.
+% The value is optional.
+% The value is a URL.
+% The value is restricted to 255 characters.
+% Multiple values are allowed.
+\support{}
+% -------------------------------------------------------------------------
+% This field contains the version management.
+% The value is optional.
+% The value is a URL.
+% The value is restricted to 255 characters.
+% Multiple values are allowed.
+\repository{}
+% -------------------------------------------------------------------------
+% This field contains the developer's channel.
+% The value is optional.
+% The value is a URL.
+% The value is restricted to 255 characters.
+% Multiple values are allowed.
+\development{}
+% -------------------------------------------------------------------------
+% This field contains the update indicator; true for update.
+% The value is optional.
+% The value is restricted to 8 characters.
+\update{true}
+% -------------------------------------------------------------------------
+% This field contains the topics id.
+% The value is optional.
+% The value is restricted to 1024 characters.
+% Multiple values are allowed.
+\topic{}
+% -------------------------------------------------------------------------
+% This field contains the text for the mail announcement.
+% The value is optional.
+% The value is restricted to 8192 characters.
+\begin{announcement}
+\end{announcement}
+% -------------------------------------------------------------------------
+% This field contains the one-liner for the package.
+% The value is optional.
+% The value is restricted to 128 characters.
+\summary{A personal dirty package for documenting packages}
+% -------------------------------------------------------------------------
+% This field contains the descriptive abstract for the package.
+% The value is optional.
+% The value is restricted to 4096 characters.
+\begin{description}
+A personal dirty package for documenting packages.
+\end{description}
+% -------------------------------------------------------------------------
+% This field contains the note to the CTAN upload managers.
+% The value is optional.
+% The value is restricted to 2048 characters.
+\begin{note}
+\end{note}
+% -------------------------------------------------------------------------
+% This field contains the archive file.
+% The value is the file name of the archive to be uploaded.
+% It may have a relative or absolute directory.
+\file{../dtx-forge/denisbdoc.zip}
+%</ctanomat>
 %<*internal>
 \fi
 \def\nameofplainTeX{plain}
@@ -31,7 +156,7 @@
 \preamble
 -----------------------------------------------------------------------------
 denisbdoc --- A personal dirty package for documenting personal classes,
-              version 0.9.3
+              version 0.9.4
 
 Maintained by Denis Bitouzé
 E-mail: denis.bitouze at univ-littoral.fr
@@ -69,6 +194,11 @@
 %</install>
 %<install>\endbatchfile
 %<*internal>
+\usedir{.}
+\generate{
+  \nopreamble\nopostamble
+  \file{\jobname.pkg}{\from{\jobname.dtx}{ctanomat}}
+}%
 \usedir{source/latex/denisbdoc}
 \generate{
   \file{\jobname.ins}{\from{\jobname.dtx}{install}}
@@ -128,6 +258,7 @@
 %\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}
+%\changes{v0.9.4}{2022-06-13}{Further CTAN version}
 %
 %\begin{abstract}
 % ...
@@ -198,7 +329,7 @@
 %
 % The usual preliminaries.
 %    \begin{macrocode}
-\ProvidesExplPackage {denisbdoc} {2021-12-01} {0.9.3}
+\ProvidesExplPackage {denisbdoc} {2022-06-13} {0.9.4}
   {A personal package for documenting packages}
 %    \end{macrocode}
 %
@@ -249,7 +380,6 @@
   %                       % to be copied and pasted as they are, and not replaced
   %                       % by "h" and "i"
   \RequirePackage[T1]{fontenc}
-  \RequirePackage[utf8]{inputenc}
 %    \end{macrocode}
 %
 % In order to get rid of the warning "PDF inclusion: multiple pdfs with page
@@ -1403,14 +1533,14 @@
 % \renewcommand{\generalname}{Général}%
 %
 \if at DBD@beamer at not@loaded@
-\ifcsdef{@chapter}{
-  \xapptocmd{\@chapter}{%
+\ifcsdef{@chapter}{%
+  \AddToHook{cmd/@chapter/before}{%
     \addtocontents{dbwarninglist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbremarklist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbexamplelist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbfaqlist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbtablist}{\protect\addvspace{10\p@}}%
-  }{}{}
+  }%
 }{}
 \fi%
 %
@@ -1734,9 +1864,15 @@
   \texttt{#1}
   % \egroup
 }
-\ProvideDocumentCommand{\file}{ m }
+\ProvideDocumentCommand{\file}{ s m }
 {%
-  \_@@_file:n {#1}
+  \IfBooleanT {#1} {
+    \IfLanguageName{french}{fichier~}{}%
+  }
+  \_@@_file:n {#2}
+  \IfBooleanT {#1} {
+    \IfLanguageName{english}{~file}{}%
+  }
 }
 \NewDocumentCommand{\File}{ m }
 {%
@@ -1784,6 +1920,10 @@
 {
   \_@@_file:n {#1}%
 }
+\NewDocumentCommand{\software}{ m }
+{
+  \_@@_file:n {#1}%
+}
 \NewDocumentCommand{\texstudio}{  }
 {
   \program{TeXstudio}
@@ -2095,14 +2235,30 @@
 \newunicodechar{⟩}{$\rangle$}
 %    \end{macrocode}
 %
+% Borrowed from the \package{tcolorbox} package:
 %    \begin{macrocode}
 \cs_new_protected:Nn \_@@_meta:nn
 {
+    % \bgroup%
+    % \normalfont
+    % \ttfamily%
+    % \itshape%
+    % \textcolor{#1}{$\langle$#2$\rangle$}%
+    % \egroup%
     \bgroup%
-    \normalfont
-    \ttfamily%
-    \itshape%
-    \textcolor{#1}{$\langle$#2$\rangle$}%
+    \color{#1}%
+    \ensuremath\langle
+    \ifmmode \expandafter \nfss at text \fi
+    {%
+      \meta at font@select
+      \edef\meta at hyphen@restore
+      {\hyphenchar\the\font\the\hyphenchar\font}%
+      \hyphenchar\font\m at ne
+      \language\l at nohyphenation
+      \ttfamily%
+      #2%
+      \meta at hyphen@restore
+    }\ensuremath\rangle
     \egroup%
 }
 \AtBeginDocument{%
@@ -2186,17 +2342,26 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\newtcbtheorem[list~inside=dbwarninglist,number~within=\g_@@_number_within_tl,crefname={avertissement}{avertissements}]{dbwarning}{Avertissement}{%
+\IfLanguageName{french}{\tl_const:Nn \c_@@_warning_title_tl {avertissement}}{
+  \IfLanguageName{english}{\tl_const:Nn \c_@@_warning_title_tl {warning}}{}%
+}%
+\newtcbtheorem[list~inside=dbwarninglist,number~within=\g_@@_number_within_tl,crefname={\c_@@_warning_title_tl}{\c_@@_warning_title_tl s}]{dbwarning}{\text_titlecase:n\c_@@_warning_title_tl}{%
   colback=red!5!white,
   colframe=red!75!black,
   dbtcb
 }{wa}
-\newtcbtheorem[list~inside=dbexamplelist,number~within=\g_@@_number_within_tl,crefname={exemple}{exemples}]{dbexample}{Exemple}{%
+\IfLanguageName{french}{\tl_const:Nn \c_@@_example_title_tl {exemple}}{
+  \IfLanguageName{english}{\tl_const:Nn \c_@@_example_title_tl {example}}{}%
+}%
+\newtcbtheorem[list~inside=dbexamplelist,number~within=\g_@@_number_within_tl,crefname={\c_@@_example_title_tl}{\c_@@_example_title_tl s}]{dbexample}{\text_titlecase:n\c_@@_example_title_tl}{%
   colback=lime!5!white,
   colframe=lime!75!black,
   dbtcb,
 }{ex}
-\newtcbtheorem[list~inside=dbremarklist,number~within=\g_@@_number_within_tl,crefname={remarque}{remarques}]{dbremark}{Remarque}{%
+\IfLanguageName{french}{\tl_const:Nn \c_@@_remark_title_tl {remarque}}{
+  \IfLanguageName{english}{\tl_const:Nn \c_@@_remark_title_tl {remark}}{}%
+}%
+\newtcbtheorem[list~inside=dbremarklist,number~within=\g_@@_number_within_tl,crefname={\c_@@_remark_title_tl}{\c_@@_remark_title_tl s}]{dbremark}{\text_titlecase:n\c_@@_remark_title_tl}{%
   colback=cyan!5!white,
   colframe=cyan!75!black,
   dbtcb
@@ -2207,7 +2372,13 @@
   % fontupper=\itshape,
   dbtcb
 }{faq}
-\newtcbtheorem[list~inside=dbtabularlist,number~within=\g_@@_number_within_tl,crefname={tableau}{tableaux}]{dbtab}{Tableau}{%
+\IfLanguageName{french}{\tl_const:Nn \c_@@_table_title_tl {tableau}}{
+  \IfLanguageName{english}{\tl_const:Nn \c_@@_table_title_tl {table}}{}%
+}%
+\IfLanguageName{french}{\tl_const:Nn \c_@@_tables_title_tl {tableaux}}{
+  \IfLanguageName{english}{\tl_const:Nn \c_@@_tables_title_tl {tables}}{}%
+}%
+\newtcbtheorem[list~inside=dbtabularlist,number~within=\g_@@_number_within_tl,crefname={\c_@@_table_title_tl}{\c_@@_tables_title_tl}]{dbtab}{\text_titlecase:n\c_@@_table_title_tl}{%
   colback=purple!5!white,
   colframe=purple!75!black,
   fontupper=\itshape,
@@ -2590,10 +2761,22 @@
     % listing~options={rangebeginprefix=\\,rangeendsuffix=\}}
   }%
 }%
-\renewcommand*{\tcbdocnew}[1]{\scriptsize\sffamily\textcolor{green!50!black}{\bfseries
-Nouv.~:}~#1}
-\renewcommand*{\tcbdocupdated}[1]{\scriptsize\sffamily\textcolor{blue!75!black}{\bfseries
-\textsc{m.-à-j.}~:}~#1}
+\tl_const:Nn \c_@@_updated_style_tl {\scriptsize\sffamily\color{green!50!black}\bfseries}
+\tl_const:Nn \c_@@_new_style_tl {\scriptsize\sffamily\color{blue!75!black}\bfseries}
+\IfLanguageName{french}{
+  \tcbset{doclang/updated={\c_@@_updated_style_tl M.~ à~ j.}\normalcolor\normalfont}
+}{
+  \tcbset{doclang/updated=\c_@@_updated_style_tl Updated\normalcolor\normalfont}
+}%
+\IfLanguageName{french}{
+  \tcbset{doclang/new=\c_@@_new_style_tl Nouv.\normalcolor\normalfont}
+}{
+  \tcbset{doclang/new=\c_@@_new_style_tl New\normalcolor\normalfont}
+}%
+% \IfLanguageName{french}{}{
+%   \renewcommand*{\tcbdocupdated}[1]{\scriptsize\sffamily\textcolor{blue!75!black}{\bfseries%
+%       \textsc{m.-à-j.}~:}~#1}
+% }%
 %
 \lstset{style=dbtex}
 \sys_if_engine_pdftex:TF

Modified: trunk/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty	2022-06-14 20:20:04 UTC (rev 63588)
+++ trunk/Master/texmf-dist/tex/latex/denisbdoc/denisbdoc.sty	2022-06-14 20:20:34 UTC (rev 63589)
@@ -7,7 +7,7 @@
 %% denisbdoc.dtx  (with options: `package')
 %% -----------------------------------------------------------------------------
 %% denisbdoc --- A personal dirty package for documenting personal classes,
-%%               version 0.9.3
+%%               version 0.9.4
 %% 
 %% Maintained by Denis Bitouzé
 %% E-mail: denis.bitouze at univ-littoral.fr
@@ -16,7 +16,7 @@
 %% -----------------------------------------------------------------------------
 %% 
 \RequirePackage{expl3,l3keys2e,xparse}
-\ProvidesExplPackage {denisbdoc} {2021-12-01} {0.9.3}
+\ProvidesExplPackage {denisbdoc} {2022-06-13} {0.9.4}
   {A personal package for documenting packages}
 \@ifpackagelater { expl3 } { 2012/11/21 }
   { }
@@ -45,7 +45,6 @@
   %                       % to be copied and pasted as they are, and not replaced
   %                       % by "h" and "i"
   \RequirePackage[T1]{fontenc}
-  \RequirePackage[utf8]{inputenc}
   \pdfsuppresswarningpagegroup=1
 }{
   \RequirePackage{fontspec}
@@ -837,14 +836,14 @@
   \DeclareFontShape{T1}{lmtt}{bx}{it}{<-> ssub * lmtt/b/sl}{}%
 }
 \if at DBD@beamer at not@loaded@
-\ifcsdef{@chapter}{
-  \xapptocmd{\@chapter}{%
+\ifcsdef{@chapter}{%
+  \AddToHook{cmd/@chapter/before}{%
     \addtocontents{dbwarninglist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbremarklist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbexamplelist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbfaqlist}{\protect\addvspace{10\p@}}%
     \addtocontents{dbtablist}{\protect\addvspace{10\p@}}%
-  }{}{}
+  }%
 }{}
 \fi%
 \sisetup{locale=FR,detect-all}
@@ -1042,9 +1041,15 @@
   \texttt{#1}
   % \egroup
 }
-\ProvideDocumentCommand{\file}{ m }
+\ProvideDocumentCommand{\file}{ s m }
 {%
-  \__denisbdoc_file:n {#1}
+  \IfBooleanT {#1} {
+    \IfLanguageName{french}{fichier~}{}%
+  }
+  \__denisbdoc_file:n {#2}
+  \IfBooleanT {#1} {
+    \IfLanguageName{english}{~file}{}%
+  }
 }
 \NewDocumentCommand{\File}{ m }
 {%
@@ -1066,6 +1071,10 @@
 {
   \__denisbdoc_file:n {#1}%
 }
+\NewDocumentCommand{\software}{ m }
+{
+  \__denisbdoc_file:n {#1}%
+}
 \NewDocumentCommand{\texstudio}{  }
 {
   \program{TeXstudio}
@@ -1334,11 +1343,26 @@
 \newunicodechar{⟩}{$\rangle$}
 \cs_new_protected:Nn \__denisbdoc_meta:nn
 {
+    % \bgroup%
+    % \normalfont
+    % \ttfamily%
+    % \itshape%
+    % \textcolor{#1}{$\langle$#2$\rangle$}%
+    % \egroup%
     \bgroup%
-    \normalfont
-    \ttfamily%
-    \itshape%
-    \textcolor{#1}{$\langle$#2$\rangle$}%
+    \color{#1}%
+    \ensuremath\langle
+    \ifmmode \expandafter \nfss at text \fi
+    {%
+      \meta at font@select
+      \edef\meta at hyphen@restore
+      {\hyphenchar\the\font\the\hyphenchar\font}%
+      \hyphenchar\font\m at ne
+      \language\l at nohyphenation
+      \ttfamily%
+      #2%
+      \meta at hyphen@restore
+    }\ensuremath\rangle
     \egroup%
 }
 \AtBeginDocument{%
@@ -1396,17 +1420,26 @@
 \@ifclassloaded{gztarticle}{\tl_set:Nn \g__denisbdoc_number_within_tl {section}}{}%
 \@ifclassloaded{nwejmart}{\tl_set:Nn \g__denisbdoc_number_within_tl {section}}{}%
 \@ifclassloaded{beamer}{\tl_set:Nn \g__denisbdoc_number_within_tl {section}}{}%
-\newtcbtheorem[list~inside=dbwarninglist,number~within=\g__denisbdoc_number_within_tl,crefname={avertissement}{avertissements}]{dbwarning}{Avertissement}{%
+\IfLanguageName{french}{\tl_const:Nn \c__denisbdoc_warning_title_tl {avertissement}}{
+  \IfLanguageName{english}{\tl_const:Nn \c__denisbdoc_warning_title_tl {warning}}{}%
+}%
+\newtcbtheorem[list~inside=dbwarninglist,number~within=\g__denisbdoc_number_within_tl,crefname={\c__denisbdoc_warning_title_tl}{\c__denisbdoc_warning_title_tl s}]{dbwarning}{\text_titlecase:n\c__denisbdoc_warning_title_tl}{%
   colback=red!5!white,
   colframe=red!75!black,
   dbtcb
 }{wa}
-\newtcbtheorem[list~inside=dbexamplelist,number~within=\g__denisbdoc_number_within_tl,crefname={exemple}{exemples}]{dbexample}{Exemple}{%
+\IfLanguageName{french}{\tl_const:Nn \c__denisbdoc_example_title_tl {exemple}}{
+  \IfLanguageName{english}{\tl_const:Nn \c__denisbdoc_example_title_tl {example}}{}%
+}%
+\newtcbtheorem[list~inside=dbexamplelist,number~within=\g__denisbdoc_number_within_tl,crefname={\c__denisbdoc_example_title_tl}{\c__denisbdoc_example_title_tl s}]{dbexample}{\text_titlecase:n\c__denisbdoc_example_title_tl}{%
   colback=lime!5!white,
   colframe=lime!75!black,
   dbtcb,
 }{ex}
-\newtcbtheorem[list~inside=dbremarklist,number~within=\g__denisbdoc_number_within_tl,crefname={remarque}{remarques}]{dbremark}{Remarque}{%
+\IfLanguageName{french}{\tl_const:Nn \c__denisbdoc_remark_title_tl {remarque}}{
+  \IfLanguageName{english}{\tl_const:Nn \c__denisbdoc_remark_title_tl {remark}}{}%
+}%
+\newtcbtheorem[list~inside=dbremarklist,number~within=\g__denisbdoc_number_within_tl,crefname={\c__denisbdoc_remark_title_tl}{\c__denisbdoc_remark_title_tl s}]{dbremark}{\text_titlecase:n\c__denisbdoc_remark_title_tl}{%
   colback=cyan!5!white,
   colframe=cyan!75!black,
   dbtcb
@@ -1417,7 +1450,13 @@
   % fontupper=\itshape,
   dbtcb
 }{faq}
-\newtcbtheorem[list~inside=dbtabularlist,number~within=\g__denisbdoc_number_within_tl,crefname={tableau}{tableaux}]{dbtab}{Tableau}{%
+\IfLanguageName{french}{\tl_const:Nn \c__denisbdoc_table_title_tl {tableau}}{
+  \IfLanguageName{english}{\tl_const:Nn \c__denisbdoc_table_title_tl {table}}{}%
+}%
+\IfLanguageName{french}{\tl_const:Nn \c__denisbdoc_tables_title_tl {tableaux}}{
+  \IfLanguageName{english}{\tl_const:Nn \c__denisbdoc_tables_title_tl {tables}}{}%
+}%
+\newtcbtheorem[list~inside=dbtabularlist,number~within=\g__denisbdoc_number_within_tl,crefname={\c__denisbdoc_table_title_tl}{\c__denisbdoc_tables_title_tl}]{dbtab}{\text_titlecase:n\c__denisbdoc_table_title_tl}{%
   colback=purple!5!white,
   colframe=purple!75!black,
   fontupper=\itshape,
@@ -1727,10 +1766,18 @@
     % listing~options={rangebeginprefix=\\,rangeendsuffix=\}}
   }%
 }%
-\renewcommand*{\tcbdocnew}[1]{\scriptsize\sffamily\textcolor{green!50!black}{\bfseries
-Nouv.~:}~#1}
-\renewcommand*{\tcbdocupdated}[1]{\scriptsize\sffamily\textcolor{blue!75!black}{\bfseries
-\textsc{m.-à-j.}~:}~#1}
+\tl_const:Nn \c__denisbdoc_updated_style_tl {\scriptsize\sffamily\color{green!50!black}\bfseries}
+\tl_const:Nn \c__denisbdoc_new_style_tl {\scriptsize\sffamily\color{blue!75!black}\bfseries}
+\IfLanguageName{french}{
+  \tcbset{doclang/updated={\c__denisbdoc_updated_style_tl M.~ à~ j.}\normalcolor\normalfont}
+}{
+  \tcbset{doclang/updated=\c__denisbdoc_updated_style_tl Updated\normalcolor\normalfont}
+}%
+\IfLanguageName{french}{
+  \tcbset{doclang/new=\c__denisbdoc_new_style_tl Nouv.\normalcolor\normalfont}
+}{
+  \tcbset{doclang/new=\c__denisbdoc_new_style_tl New\normalcolor\normalfont}
+}%
 \lstset{style=dbtex}
 \sys_if_engine_pdftex:TF
 {



More information about the tex-live-commits mailing list.