diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-30 20:03:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-30 20:03:09 +0000 |
commit | 9f90263e6e8852601df324f73331bd14433ef911 (patch) | |
tree | 01bdddec86be2d2720321a134db386e5225cc26f /Master/texmf-dist/doc/lualatex | |
parent | 04f417589d13c65b7f5fd037b9d97953e84e4cd1 (diff) |
letgut (30oct24)
git-svn-id: svn://tug.org/texlive/trunk@72713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/README.md | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf | bin | 145372 -> 145375 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf | bin | 794497 -> 795088 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex | 109 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut.pdf | bin | 387377 -> 387418 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/letgut/letgut.tex | 5 |
8 files changed, 80 insertions, 56 deletions
diff --git a/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md b/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md index 450c383b5ae..ef86e9dff10 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md +++ b/Master/texmf-dist/doc/lualatex/letgut/CHANGELOG.md @@ -7,7 +7,16 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [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 diff --git a/Master/texmf-dist/doc/lualatex/letgut/README.md b/Master/texmf-dist/doc/lualatex/letgut/README.md index 93911b48db0..7f3c2560822 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/README.md +++ b/Master/texmf-dist/doc/lualatex/letgut/README.md @@ -2,15 +2,20 @@ letgut - Support for the newsletter “La Lettre GUTenberg” ========================================================= 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. diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf b/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf Binary files differindex 63f8d4aebf8..993691a4ab3 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.pdf diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex b/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex index bae73713a35..82767e6fccc 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut-banner-code.tex @@ -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} diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf b/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf Binary files differindex d24032117c7..45630275e54 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut-code.pdf diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex b/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex index aa02072e134..cf4cd2358e6 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut-code.tex @@ -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 @@ Now, we can announce the class name and its version: \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 @@ default set to \lstinline+subbibliography+. \__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 @@ extensions of the \lstinline+graphicx+ package. \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 @@ the current directory and is non empty. This will be applied to both the \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 @@ to the \pdf{} (if desired, otherwise, use the starred version). \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 @@ ressources to the \pdf{} (if desired, otherwise, use the starred version). \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 @@ file to the \pdf{}. \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 @@ file to the \pdf{}. \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 @@ several purposes: \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 @@ We create the new bibliography driver \lstinline+bookreview+ (that seems to 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 @@ create the corresponding new entry). 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} diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf b/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf Binary files differindex add3fdb8ec5..87fdfba9fe7 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut.pdf diff --git a/Master/texmf-dist/doc/lualatex/letgut/letgut.tex b/Master/texmf-dist/doc/lualatex/letgut/letgut.tex index cffaf59fd10..f6bad71fced 100644 --- a/Master/texmf-dist/doc/lualatex/letgut/letgut.tex +++ b/Master/texmf-dist/doc/lualatex/letgut/letgut.tex @@ -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 @@ s'obtient : \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} |