texlive[72713] Master/texmf-dist: letgut (30oct24)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 30 21:03:10 CET 2024


Revision: 72713
          https://tug.org/svn/texlive?view=revision&revision=72713
Author:   karl
Date:     2024-10-30 21:03:09 +0100 (Wed, 30 Oct 2024)
Log Message:
-----------
letgut (30oct24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md
    trunk/Master/texmf-dist/doc/lualatex/letgut/README.md
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf
    trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.tex
    trunk/Master/texmf-dist/source/lualatex/letgut/letgut.org
    trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cbx
    trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cls
    trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.dbx
    trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.lbx

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md	2024-10-30 20:03:09 UTC (rev 72713)
@@ -7,8 +7,17 @@
 
 ## [Unreleased]
 
-## [0.9.10] - 2024-10-07
+## [0.9.12] - 2024-10-30
+
 ### Fixed
+Fatal error in case of to be attached files not found
+
+### Added
+License in the README file
+
+## [0.9.11] - 2024-10-23
+
+### Fixed
 - Bibliographic files not attached to the PDF
 
 ## [0.9.10] - 2024-10-07

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/letgut/README.md	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/doc/lualatex/letgut/README.md	2024-10-30 20:03:09 UTC (rev 72713)
@@ -2,15 +2,20 @@
 =========================================================
 
 About
--------
+-----
 This bundle includes a LaTeX class, a `.sty` file and an acronym file dedicated
 to the newsletter “La Lettre GUTenberg” of GUTenberg, the French TeX User Group.
 
 Release
 -------
-2024-10-23 v0.9.11
+2024-10-30 v0.9.12
 
 Development
 -----------
 Follow development, submit issues and suggest improvements at
 https://framagit.org/gutenberg/letgut.
+
+License
+-------
+Released under the LaTeX Project Public License v1.3c or later. See
+https://www.latex-project.org/lppl.txt#+end_src.

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex	2024-10-30 20:03:09 UTC (rev 72713)
@@ -1,4 +1,4 @@
-% Created 2024-10-23 Wed 10:12
+% Created 2024-10-30 Wed 17:28
 % Intended LaTeX compiler: lualatex
 \documentclass{letgut}
                                 \setmainfont{KpRoman}

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex	2024-10-30 20:03:09 UTC (rev 72713)
@@ -1,4 +1,4 @@
-% Created 2024-10-23 Wed 10:12
+% Created 2024-10-30 Wed 17:28
 % Intended LaTeX compiler: lualatex
 \documentclass{letgut}
                                 \setmainfont{KpRoman}
@@ -97,8 +97,8 @@
 
 \begin{lstlisting}
 \ProvidesExplClass{letgut}
-{2024-10-23}
-{0.9.11}
+{2024-10-30}
+{0.9.12}
 {
   Class for the newsletter “The GUTenberg Letter”
 }
@@ -970,16 +970,18 @@
   \__letgut_old_printbibliography[#1]
   \bool_if:NT \g__letgut_included_files_attached_bool {
     \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-      \seq_gput_right:Nn \g__letgut_included_files_seq {
-       \attachfile[
-         description={
-           Fichier~ bibliographique~ utilisé~ dans~ le~
-           présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-         },
-         mimetype=application/x-bib
-       ]
-       {\tl_to_str:n{##1}}
-     }
+      \file_if_exist:nTF {##1}{
+        \seq_gput_right:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={
+              Fichier~ bibliographique~ utilisé~ dans~ le~
+              présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+            },
+            mimetype=application/x-bib
+          ]
+          {\tl_to_str:n{##1}}
+        }
+      }
     }
   }
 }
@@ -2991,15 +2993,17 @@
   \exp_args:NV \author{\g__letgut_bookreview_reviewer_tl}
   \bool_if:NT \g__letgut_included_files_attached_bool {
     \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-      \seq_gput_right:Nn \g__letgut_included_files_seq {
-        \attachfile[
-          description={
-            Fichier~ bibliographique~ utilisé~ dans~ le~
-            présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-          },
-          mimetype=application/x-bib
-        ]
-        {\tl_to_str:n{##1}}
+      \file_if_exist:nTF {##1}{
+        \seq_gput_right:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={
+              Fichier~ bibliographique~ utilisé~ dans~ le~
+              présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+            },
+            mimetype=application/x-bib
+          ]
+          {\tl_to_str:n{##1}}
+        }
       }
     }
   }
@@ -3143,11 +3147,13 @@
   \file_get_size:nN {./#1.tex} \l__letgut_tmpa_tl
   \quark_if_no_value:NF \l__letgut_tmpa_tl {
     \tl_if_eq:NnF \l__letgut_tmpa_tl {0} {
-      \seq_gput_left:Nn \g__letgut_included_files_seq {
-        \attachfile[
-        description={Source~ nécessaire~ (fichier~ `#1.tex`)},
-        mimetype=application/x-tex]
-        {#1.tex}
+      \file_if_exist:nTF {##1}{
+        \seq_gput_left:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={Source~ nécessaire~ (fichier~ `#1.tex`)},
+            mimetype=application/x-tex]
+          {#1.tex}
+        }
       }
     }
   }
@@ -3260,7 +3266,7 @@
 \subsubsection{Added bibliographic ressources attached to the PDF}
 \label{ImplementationMiscellanousAddedbibliographicressourcesattachedtothePDF-l4e34ja00pj0}
 We hack the \lstinline+\addbibresource+ command in order to attach the bibliographic
-ressources to the \pdf{} (if desired, otherwise, use the starred version).
+ressources to the \pdf{}.
 
 \begin{lstlisting}
 \cs_new:Nn \__letgut_extract_file_for:nn
@@ -3285,7 +3291,6 @@
     \seq_gpop:NN \g__letgut_added_bib_resources_seq \l_tmpa_tl
   }
 }
-
 \NewCommandCopy {\__letgut_orig_addbibresource} {\addbibresource}
 \cs_new_protected:Npn \__letgut_addbibresource:nnn #1 #2 #3
 {
@@ -3307,14 +3312,16 @@
 \begin{lstlisting}
 \bool_if:NT \g__letgut_included_files_attached_bool {
   \tl_const:Nn \c__letgut_acronyms_file_attached_tl {
-    \attachfile[
-    description={
-      Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
-      le~ présent~ article~
-      (fichier~ `\c__letgut_acronyms_file_tl.tex`)
-    },
-    mimetype=application/x-tex]%
-    {\g__letgut_effective_acronyms_file_tl}%
+    \file_if_exist:nTF {\g__letgut_effective_acronyms_file_t}{
+      \attachfile[
+        description={
+          Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
+          le~ présent~ article~
+          (fichier~ `\c__letgut_acronyms_file_tl.tex`)
+        },
+        mimetype=application/x-tex]%
+      {\g__letgut_effective_acronyms_file_tl}%
+    }
   }
   \AddToHook{cmd/ac/before}{
     \bool_gset_true:N \g__letgut_acronyms_file_attached_bool
@@ -3332,15 +3339,19 @@
 
 \begin{lstlisting}
 \bool_if:NT \g__letgut_included_files_attached_bool {
-  \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
-    \attachfile[
-    description={
-      Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
-      dans~ le~ présent~ article~
-      (fichier~ `\c__letgut_lstlanguage_file_tl`)
-    },
-    mimetype=application/x-tex]%
-    {../\c__letgut_lstlanguage_file_tl}%
+  \file_if_exist:nTF {../\c__letgut_lstlanguage_file_tl}{
+    \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
+      \attachfile[
+        description={
+          Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
+          dans~ le~ présent~ article~
+          (fichier~ `\c__letgut_lstlanguage_file_tl`)
+        },
+        mimetype=application/x-tex]%
+      {../\c__letgut_lstlanguage_file_tl}%
+    }
+  }{
+    \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {}
   }
   \AddToHook{env/ltx-code/before}{
     \bool_gset_true:N \g__letgut_lstlanguage_file_attached_bool
@@ -4128,7 +4139,7 @@
 \end{itemize}
 
 \begin{lstlisting}
-\ProvidesFile{letgut.lbx}[2024-10-23 v0.9.11 letgut localization]
+\ProvidesFile{letgut.lbx}[2024-10-30 v0.9.12 letgut localization]
 \InheritBibliographyExtras{french}
 \DeclareBibliographyStrings{
   inherit          = {french},
@@ -4142,7 +4153,7 @@
 create the corresponding new entry).
 
 \begin{lstlisting}
-\ProvidesFile{letgut.dbx}[2024-10-23 v0.9.11 letgut data model macros]
+\ProvidesFile{letgut.dbx}[2024-10-30 v0.9.12 letgut data model macros]
 \DeclareBibliographyDriver{bookreview}{%
   \usebibmacro{bibindex}%
   \usebibmacro{begentry}%
@@ -4197,7 +4208,7 @@
 We provide a specific \lstinline+biblatex+ citation style .
 
 \begin{lstlisting}
-\ProvidesFile{letgut.cbx}[2024-10-23 v0.9.11 letgut base citation style]
+\ProvidesFile{letgut.cbx}[2024-10-30 v0.9.12 letgut base citation style]
 \RequireCitationStyle{numeric}
 \end{lstlisting}
 

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.tex	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/doc/lualatex/letgut/letgut.tex	2024-10-30 20:03:09 UTC (rev 72713)
@@ -68,7 +68,7 @@
 }
 \author{Association GUTenberg}
 \date{%
-  Version 0.9.11 en date du \today%
+  Version 0.9.12 en date du \today%
   \texorpdfstring{%
     \\
     \url{https://framagit.org/gutenberg/letgut}%
@@ -1196,8 +1196,7 @@
 \begin{itemize}
 \item sous \linux{} : \LKeyShiftAltGrX{8}\footnote{Touche \LKey{8} du clavier
     principal.} ;
-\item sous \macos{} : à l'aide du visualiseur de caractères\footnote{Et
-    possiblement de raccourcis claviers personnels.} ;
+\item sous \macos{} : \LKeyShift+\LKeyOptionKey+\LKey{T} ;
 \item sous \windows{} : \LKeyAltX{0}+\LKey{1}+\LKey{5}+\LKey{3}.
 \end{itemize}
 \end{dbremark}

Modified: trunk/Master/texmf-dist/source/lualatex/letgut/letgut.org
===================================================================
--- trunk/Master/texmf-dist/source/lualatex/letgut/letgut.org	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/source/lualatex/letgut/letgut.org	2024-10-30 20:03:09 UTC (rev 72713)
@@ -54,7 +54,7 @@
   % This field contains the version of the package.
   % The value is optional.
   % The value is restricted to 32 characters.
-  \version{0.9.11 2024-10-23}
+  \version{0.9.12 2024-10-30}
   % -------------------------------------------------------------------------
   % This field contains the name of the author(s).
   % The value is optional.
@@ -131,18 +131,8 @@
   % The value is optional.
   % The value is restricted to 8192 characters.
   \begin{announcement}
-  ### Changed
-  - Multiple rebuses handled
-  - Paper clips (links to source files of the articles) not in the magin anymore and separated by spaces
-  - Watermark letter and scale can now be specified
-
   ### Fixed
-  - Wrong output with \terminal
-  - Title of publication in small capitals
-  - Options of `letgut-banner` never taken in account
-  - Not all included graphics attached to the PDF
-  - Variables wrongly local or not reset
-  - `\citeauthor` displayed family name in small caps
+  Fatal error in case of to be attached files not found
   \end{announcement}
   % -------------------------------------------------------------------------
   % This field contains the one-liner for the package.
@@ -212,8 +202,17 @@
 
   ## [Unreleased]
 
-  ## [0.9.10] - 2024-10-07
+  ## [0.9.12] - 2024-10-30
+
   ### Fixed
+  Fatal error in case of to be attached files not found
+
+  ### Added
+  License in the README file
+
+  ## [0.9.11] - 2024-10-23
+
+  ### Fixed
   - Bibliographic files not attached to the PDF
 
   ## [0.9.10] - 2024-10-07
@@ -348,18 +347,23 @@
 =========================================================
 
 About
--------
+-----
 This bundle includes a LaTeX class, a `.sty` file and an acronym file dedicated
 to the newsletter “La Lettre GUTenberg” of GUTenberg, the French TeX User Group.
 
 Release
 -------
-2024-10-23 v0.9.11
+2024-10-30 v0.9.12
 
 Development
 -----------
 Follow development, submit issues and suggest improvements at
 https://framagit.org/gutenberg/letgut.
+
+License
+-------
+Released under the LaTeX Project Public License v1.3c or later. See
+https://www.latex-project.org/lppl.txt#+end_src.
 #+end_src
 
 * How to                                                              :noexport:
@@ -507,8 +511,8 @@
 
 #+begin_src latex
   \ProvidesExplClass{letgut}
-  {2024-10-23}
-  {0.9.11}
+  {2024-10-30}
+  {0.9.12}
   {
     Class for the newsletter “The GUTenberg Letter”
   }
@@ -1416,16 +1420,18 @@
        \__letgut_old_printbibliography[#1]
        \bool_if:NT \g__letgut_included_files_attached_bool {
          \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-           \seq_gput_right:Nn \g__letgut_included_files_seq {
-            \attachfile[
-              description={
-                Fichier~ bibliographique~ utilisé~ dans~ le~
-                présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-              },
-              mimetype=application/x-bib
-            ]
-            {\tl_to_str:n{##1}}
-          }
+           \file_if_exist:nTF {##1}{
+             \seq_gput_right:Nn \g__letgut_included_files_seq {
+               \attachfile[
+                 description={
+                   Fichier~ bibliographique~ utilisé~ dans~ le~
+                   présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+                 },
+                 mimetype=application/x-bib
+               ]
+               {\tl_to_str:n{##1}}
+             }
+           }
          }
        }
      }
@@ -3540,15 +3546,17 @@
     \exp_args:NV \author{\g__letgut_bookreview_reviewer_tl}
     \bool_if:NT \g__letgut_included_files_attached_bool {
       \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-        \seq_gput_right:Nn \g__letgut_included_files_seq {
-          \attachfile[
-            description={
-              Fichier~ bibliographique~ utilisé~ dans~ le~
-              présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-            },
-            mimetype=application/x-bib
-          ]
-          {\tl_to_str:n{##1}}
+        \file_if_exist:nTF {##1}{
+          \seq_gput_right:Nn \g__letgut_included_files_seq {
+            \attachfile[
+              description={
+                Fichier~ bibliographique~ utilisé~ dans~ le~
+                présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+              },
+              mimetype=application/x-bib
+            ]
+            {\tl_to_str:n{##1}}
+          }
         }
       }
     }
@@ -3706,11 +3714,13 @@
     \file_get_size:nN {./#1.tex} \l__letgut_tmpa_tl
     \quark_if_no_value:NF \l__letgut_tmpa_tl {
       \tl_if_eq:NnF \l__letgut_tmpa_tl {0} {
-        \seq_gput_left:Nn \g__letgut_included_files_seq {
-          \attachfile[
-          description={Source~ nécessaire~ (fichier~ `#1.tex`)},
-          mimetype=application/x-tex]
-          {#1.tex}
+        \file_if_exist:nTF {##1}{
+          \seq_gput_left:Nn \g__letgut_included_files_seq {
+            \attachfile[
+              description={Source~ nécessaire~ (fichier~ `#1.tex`)},
+              mimetype=application/x-tex]
+            {#1.tex}
+          }
         }
       }
     }
@@ -3829,7 +3839,7 @@
 :END:
 
 We hack the ~\addbibresource~ command in order to attach the bibliographic
-ressources to the \pdf{} (if desired, otherwise, use the starred version).
+ressources to the \pdf{}.
 
 #+begin_src latex
   \cs_new:Nn \__letgut_extract_file_for:nn
@@ -3854,7 +3864,6 @@
       \seq_gpop:NN \g__letgut_added_bib_resources_seq \l_tmpa_tl
     }
   }
-
   \NewCommandCopy {\__letgut_orig_addbibresource} {\addbibresource}
   \cs_new_protected:Npn \__letgut_addbibresource:nnn #1 #2 #3
   {
@@ -3879,14 +3888,16 @@
 #+begin_src latex
   \bool_if:NT \g__letgut_included_files_attached_bool {
     \tl_const:Nn \c__letgut_acronyms_file_attached_tl {
-      \attachfile[
-      description={
-        Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
-        le~ présent~ article~
-        (fichier~ `\c__letgut_acronyms_file_tl.tex`)
-      },
-      mimetype=application/x-tex]%
-      {\g__letgut_effective_acronyms_file_tl}%
+      \file_if_exist:nTF {\g__letgut_effective_acronyms_file_t}{
+        \attachfile[
+          description={
+            Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
+            le~ présent~ article~
+            (fichier~ `\c__letgut_acronyms_file_tl.tex`)
+          },
+          mimetype=application/x-tex]%
+        {\g__letgut_effective_acronyms_file_tl}%
+      }
     }
     \AddToHook{cmd/ac/before}{
       \bool_gset_true:N \g__letgut_acronyms_file_attached_bool
@@ -3907,15 +3918,19 @@
 
 #+begin_src latex
   \bool_if:NT \g__letgut_included_files_attached_bool {
-    \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
-      \attachfile[
-      description={
-        Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
-        dans~ le~ présent~ article~
-        (fichier~ `\c__letgut_lstlanguage_file_tl`)
-      },
-      mimetype=application/x-tex]%
-      {../\c__letgut_lstlanguage_file_tl}%
+    \file_if_exist:nTF {../\c__letgut_lstlanguage_file_tl}{
+      \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
+        \attachfile[
+          description={
+            Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
+            dans~ le~ présent~ article~
+            (fichier~ `\c__letgut_lstlanguage_file_tl`)
+          },
+          mimetype=application/x-tex]%
+        {../\c__letgut_lstlanguage_file_tl}%
+      }
+    }{
+      \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {}
     }
     \AddToHook{env/ltx-code/before}{
       \bool_gset_true:N \g__letgut_lstlanguage_file_attached_bool
@@ -4715,7 +4730,7 @@
 - the books advertisements.
 
 #+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.lbx :exports both
-\ProvidesFile{letgut.lbx}[2024-10-23 v0.9.11 letgut localization]
+\ProvidesFile{letgut.lbx}[2024-10-30 v0.9.12 letgut localization]
 \InheritBibliographyExtras{french}
 \DeclareBibliographyStrings{
   inherit          = {french},
@@ -4729,7 +4744,7 @@
   create the corresponding new entry).
 
   #+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.dbx :exports both
-  \ProvidesFile{letgut.dbx}[2024-10-23 v0.9.11 letgut data model macros]
+  \ProvidesFile{letgut.dbx}[2024-10-30 v0.9.12 letgut data model macros]
   \DeclareBibliographyDriver{bookreview}{%
     \usebibmacro{bibindex}%
     \usebibmacro{begentry}%
@@ -4784,7 +4799,7 @@
 We provide a specific ~biblatex~ citation style .
 
 #+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.cbx :exports both
-  \ProvidesFile{letgut.cbx}[2024-10-23 v0.9.11 letgut base citation style]
+  \ProvidesFile{letgut.cbx}[2024-10-30 v0.9.12 letgut base citation style]
   \RequireCitationStyle{numeric}
 #+end_src
 

Modified: trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cbx	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cbx	2024-10-30 20:03:09 UTC (rev 72713)
@@ -1,4 +1,4 @@
-\ProvidesFile{letgut.cbx}[2024-10-23 v0.9.11 letgut base citation style]
+\ProvidesFile{letgut.cbx}[2024-10-30 v0.9.12 letgut base citation style]
 \RequireCitationStyle{numeric}
 \DeclareFieldFormat[bookreview]{title}{\textbf{\emph{#1}}}
 \renewbibmacro*{title}{%

Modified: trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cls
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cls	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.cls	2024-10-30 20:03:09 UTC (rev 72713)
@@ -55,8 +55,8 @@
 }
 \ExplSyntaxOff
 \ProvidesExplClass{letgut}
-{2024-10-23}
-{0.9.11}
+{2024-10-30}
+{0.9.12}
 {
   Class for the newsletter “The GUTenberg Letter”
 }
@@ -567,16 +567,18 @@
   \__letgut_old_printbibliography[#1]
   \bool_if:NT \g__letgut_included_files_attached_bool {
     \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-      \seq_gput_right:Nn \g__letgut_included_files_seq {
-       \attachfile[
-         description={
-           Fichier~ bibliographique~ utilisé~ dans~ le~
-           présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-         },
-         mimetype=application/x-bib
-       ]
-       {\tl_to_str:n{##1}}
-     }
+      \file_if_exist:nTF {##1}{
+        \seq_gput_right:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={
+              Fichier~ bibliographique~ utilisé~ dans~ le~
+              présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+            },
+            mimetype=application/x-bib
+          ]
+          {\tl_to_str:n{##1}}
+        }
+      }
     }
   }
 }
@@ -1946,15 +1948,17 @@
   \exp_args:NV \author{\g__letgut_bookreview_reviewer_tl}
   \bool_if:NT \g__letgut_included_files_attached_bool {
     \seq_map_inline:Nn \g__letgut_added_bib_resources_seq {
-      \seq_gput_right:Nn \g__letgut_included_files_seq {
-        \attachfile[
-          description={
-            Fichier~ bibliographique~ utilisé~ dans~ le~
-            présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
-          },
-          mimetype=application/x-bib
-        ]
-        {\tl_to_str:n{##1}}
+      \file_if_exist:nTF {##1}{
+        \seq_gput_right:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={
+              Fichier~ bibliographique~ utilisé~ dans~ le~
+              présent~ article~ (fichier~ `\tl_to_str:n{##1}`)
+            },
+            mimetype=application/x-bib
+          ]
+          {\tl_to_str:n{##1}}
+        }
       }
     }
   }
@@ -2037,11 +2041,13 @@
   \file_get_size:nN {./#1.tex} \l__letgut_tmpa_tl
   \quark_if_no_value:NF \l__letgut_tmpa_tl {
     \tl_if_eq:NnF \l__letgut_tmpa_tl {0} {
-      \seq_gput_left:Nn \g__letgut_included_files_seq {
-        \attachfile[
-        description={Source~ nécessaire~ (fichier~ `#1.tex`)},
-        mimetype=application/x-tex]
-        {#1.tex}
+      \file_if_exist:nTF {##1}{
+        \seq_gput_left:Nn \g__letgut_included_files_seq {
+          \attachfile[
+            description={Source~ nécessaire~ (fichier~ `#1.tex`)},
+            mimetype=application/x-tex]
+          {#1.tex}
+        }
       }
     }
   }
@@ -2160,7 +2166,6 @@
     \seq_gpop:NN \g__letgut_added_bib_resources_seq \l_tmpa_tl
   }
 }
-
 \NewCommandCopy {\__letgut_orig_addbibresource} {\addbibresource}
 \cs_new_protected:Npn \__letgut_addbibresource:nnn #1 #2 #3
 {
@@ -2174,14 +2179,16 @@
 }
 \bool_if:NT \g__letgut_included_files_attached_bool {
   \tl_const:Nn \c__letgut_acronyms_file_attached_tl {
-    \attachfile[
-    description={
-      Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
-      le~ présent~ article~
-      (fichier~ `\c__letgut_acronyms_file_tl.tex`)
-    },
-    mimetype=application/x-tex]%
-    {\g__letgut_effective_acronyms_file_tl}%
+    \file_if_exist:nTF {\g__letgut_effective_acronyms_file_t}{
+      \attachfile[
+        description={
+          Source~ du~ fichier~ d'acronymes~ utilisé~ dans~
+          le~ présent~ article~
+          (fichier~ `\c__letgut_acronyms_file_tl.tex`)
+        },
+        mimetype=application/x-tex]%
+      {\g__letgut_effective_acronyms_file_tl}%
+    }
   }
   \AddToHook{cmd/ac/before}{
     \bool_gset_true:N \g__letgut_acronyms_file_attached_bool
@@ -2191,15 +2198,19 @@
   }
 }
 \bool_if:NT \g__letgut_included_files_attached_bool {
-  \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
-    \attachfile[
-    description={
-      Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
-      dans~ le~ présent~ article~
-      (fichier~ `\c__letgut_lstlanguage_file_tl`)
-    },
-    mimetype=application/x-tex]%
-    {../\c__letgut_lstlanguage_file_tl}%
+  \file_if_exist:nTF {../\c__letgut_lstlanguage_file_tl}{
+    \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {
+      \attachfile[
+        description={
+          Source~ du~ fichier~ de~ langages~ informatiques~ utilisé~
+          dans~ le~ présent~ article~
+          (fichier~ `\c__letgut_lstlanguage_file_tl`)
+        },
+        mimetype=application/x-tex]%
+      {../\c__letgut_lstlanguage_file_tl}%
+    }
+  }{
+    \tl_const:Nn \c__letgut_lstlanguage_file_attached_tl {}
   }
   \AddToHook{env/ltx-code/before}{
     \bool_gset_true:N \g__letgut_lstlanguage_file_attached_bool

Modified: trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.dbx	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.dbx	2024-10-30 20:03:09 UTC (rev 72713)
@@ -1,4 +1,4 @@
-\ProvidesFile{letgut.dbx}[2024-10-23 v0.9.11 letgut data model macros]
+\ProvidesFile{letgut.dbx}[2024-10-30 v0.9.12 letgut data model macros]
 \DeclareBibliographyDriver{bookreview}{%
   \usebibmacro{bibindex}%
   \usebibmacro{begentry}%

Modified: trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.lbx	2024-10-30 20:03:00 UTC (rev 72712)
+++ trunk/Master/texmf-dist/tex/lualatex/letgut/letgut.lbx	2024-10-30 20:03:09 UTC (rev 72713)
@@ -1,4 +1,4 @@
-\ProvidesFile{letgut.lbx}[2024-10-23 v0.9.11 letgut localization]
+\ProvidesFile{letgut.lbx}[2024-10-30 v0.9.12 letgut localization]
 \InheritBibliographyExtras{french}
 \DeclareBibliographyStrings{
   inherit          = {french},



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