summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/lualatex/letgut
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-15 20:54:13 +0000
committerKarl Berry <karl@freefriends.org>2023-01-15 20:54:13 +0000
commitd514993bbf89481a115b14b40cc967ecabf8f478 (patch)
tree1141f979066dd2a94306d705c6a6b5038c12c381 /Master/texmf-dist/source/lualatex/letgut
parent5485dde715d33d248d61bac13e751a472157ef89 (diff)
letgut (15jan23)
git-svn-id: svn://tug.org/texlive/trunk@65548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex/letgut')
-rw-r--r--Master/texmf-dist/source/lualatex/letgut/letgut.org89
1 files changed, 45 insertions, 44 deletions
diff --git a/Master/texmf-dist/source/lualatex/letgut/letgut.org b/Master/texmf-dist/source/lualatex/letgut/letgut.org
index 5ad47ec6762..fb91c08587a 100644
--- a/Master/texmf-dist/source/lualatex/letgut/letgut.org
+++ b/Master/texmf-dist/source/lualatex/letgut/letgut.org
@@ -54,7 +54,7 @@ new versions of the class on CTAN.
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
- \version{0.9.5 2023-01-13}
+ \version{0.9.6 2023-01-14}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -131,25 +131,8 @@ new versions of the class on CTAN.
% The value is optional.
% The value is restricted to 8192 characters.
\begin{announcement}
- ### Added
- - Files (`.tex` source, images files, bibliographic files, etc.) used to typeset
- an article possibly attached to the Lettre's PDF.
- - Starred version of `\inputarticle` that prevents the previous feature.
- - Boolean option that (un)forces the previous feature.
- - Plural forms `\lettres` and `\lettresgut` of `\lettre` and `\lettregut`.
- - Starred versions of `\person` and `\author` that sort the lists of
- persons/authors in alphabetic order.
- - Environment for announcements.
- - Environments and commands for rebus and their solutions.
-
- ### Changed
- - `⅛` replaced by `™` as a short equivalent of ~\lstinline~ (the former is
- considered as math if ~unicode-math~ is loaded).
- - Documentation updated.
-
### Fixed
- Several bugs and sub-optimalities.
-
+ Hot fix for the attachment of the Lettre's source files to its PDF.
\end{announcement}
% -------------------------------------------------------------------------
% This field contains the one-liner for the package.
@@ -196,6 +179,7 @@ new versions of the class on CTAN.
% The value is optional.
% The value is restricted to 2048 characters.
\begin{note}
+ I am sorry for new this (corrective) update, so close to the previous one!
\end{note}
% -------------------------------------------------------------------------
% This field contains the archive file.
@@ -219,6 +203,11 @@ new versions of the class on CTAN.
## [Unreleased]
+ ## [0.9.6] - 2023-01-14
+
+ ### Fixed
+ Hot fix for the attachment to the Lettre's PDF of its source files.
+
## [0.9.5] - 2023-01-13
### Added
@@ -227,6 +216,7 @@ new versions of the class on CTAN.
- Starred version of `\inputarticle` that prevents the previous feature.
- Boolean option that (un)forces the previous feature.
- Plural forms `\lettres` and `\lettresgut` of `\lettre` and `\lettregut`.
+ - Shortcuts for “(a|A)ssociation GUTenberg”.
- Starred versions of `\person` and `\author` that sort the lists of
persons/authors in alphabetic order.
- Environment for announcements.
@@ -314,7 +304,7 @@ to the newsletter “La Lettre GUTenberg” of GUTenberg, the French TeX User Gr
Release
-------
-2023-01-13 v0.9.5
+2023-01-14 v0.9.6
Development
-----------
@@ -460,8 +450,8 @@ Now, we can announce the class name and its version:
#+begin_src latex
\ProvidesExplClass{letgut}
- {2023-01-13}
- {0.9.5}
+ {2023-01-14}
+ {0.9.6}
{
Class for the newsletter “The GUTenberg Letter”
}
@@ -1506,12 +1496,8 @@ We now define the options of the class:
#+begin_src latex
\keys_define:nn { letgut }
{
- , for-readers .code:n = {
- \bool_gset_true:N \g__letgut_for_readers_bool
- \bool_gset_false:N \g__letgut_included_files_attached_bool
- }
+ , for-readers .bool_gset:N = \g__letgut_for_readers_bool
, for-readers .initial:n = { true }
- , for-readers .default:n = { true }
, for-authors .bool_gset_inverse:N = \g__letgut_for_readers_bool
, draft .bool_gset:N = \g__letgut_draft_bool
, draft .initial:n = { true }
@@ -1522,9 +1508,10 @@ We now define the options of the class:
\pagecolor[rgb]{\c__letgut_default_pagecolor_paper_clist}
\clist_set_eq:NN \g__letgut_pagecolor_clist
\c__letgut_default_pagecolor_paper_clist
- \bool_gset_false:N \g__letgut_included_files_attached_bool
}
- , screen .bool_gset_inverse:N = \g__letgut_paper_bool
+ , screen .code:n = {
+ \bool_gset_false:N \g__letgut_paper_bool
+ }
, number .int_gset:N = \g__letgut_number_int
, date .code:n = { \__letgut_date_parse:n { #1 } }
, date .initial:x = {\the\year-\the\month}
@@ -1557,9 +1544,26 @@ We now define the options of the class:
, informations .initial:n = { true }
, detailedtoc .bool_gset:N = \g__letgut_detailedtoc_bool
, detailedtoc .initial:n = { false }
- , source-files-attached .bool_gset:N = \g__letgut_force_included_files_attached_bool
+ , reverse-files-attachement .code:n = {
+ \AddToHook{begindocument/before}{
+ \bool_lazy_and:nnTF {\g__letgut_for_readers_bool} {!\g__letgut_paper_bool}
+ {
+ \bool_gset_false:N \g__letgut_included_files_attached_bool
+ }{
+ \bool_gset_true:N \g__letgut_included_files_attached_bool
+ }
+ }
+ }
}
\ProcessKeysOptions { letgut }
+ \AddToHook{begindocument/before}{
+ \bool_lazy_and:nnTF {\g__letgut_for_readers_bool} {!\g__letgut_paper_bool}
+ {
+ \bool_gset_true:N \g__letgut_included_files_attached_bool
+ }{
+ \bool_gset_false:N \g__letgut_included_files_attached_bool
+ }
+ }
#+end_src
#+begin_src latex
@@ -3512,7 +3516,6 @@ following characteristics:
\lstset{ style=__letgut_reset_listings_styles }
\acresetall%
\input{#2}%
- % \bool_show:N \g__letgut_included_files_attached_bool
\bool_if:NT \g__letgut_included_files_attached_bool {
\IfBooleanF {#1}{
\seq_gput_left:Nn \g__letgut_included_files_seq {
@@ -3700,16 +3703,6 @@ file to the \pdf{}.
}
#+end_src
-#+begin_src latex
- \AddToHook{begindocument/before}{
- \bool_if:NTF \g__letgut_force_included_files_attached_bool {
- \bool_gset_true:N \g__letgut_included_files_attached_bool
- }{
- \bool_gset_false:N \g__letgut_included_files_attached_bool
- }
- }
-#+end_src
-
** Listings
:PROPERTIES:
:CUSTOM_ID: ImplementationListings-514h55h0jlj0
@@ -4512,7 +4505,7 @@ several purposes:
- the books advertisements.
#+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.lbx :exports both
-\ProvidesFile{letgut.lbx}[2023-01-13 v0.9.5 letgut localization]
+\ProvidesFile{letgut.lbx}[2023-01-14 v0.9.6 letgut localization]
\InheritBibliographyExtras{french}
\DeclareBibliographyStrings{
inherit = {french},
@@ -4526,7 +4519,7 @@ several purposes:
create the corresponding new entry).
#+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.dbx :exports both
- \ProvidesFile{letgut.dbx}[2023-01-13 v0.9.5 letgut data model macros]
+ \ProvidesFile{letgut.dbx}[2023-01-14 v0.9.6 letgut data model macros]
\DeclareBibliographyDriver{bookreview}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -4581,7 +4574,7 @@ several purposes:
We provide a specific ~biblatex~ citation style .
#+begin_src latex :tangle ../../../tex/lualatex/letgut/letgut.cbx :exports both
- \ProvidesFile{letgut.cbx}[2023-01-13 v0.9.5 letgut base citation style]
+ \ProvidesFile{letgut.cbx}[2023-01-14 v0.9.6 letgut base citation style]
\RequireCitationStyle{numeric}
#+end_src
@@ -4691,6 +4684,14 @@ well...
% % permet l'option `detailedtoc`.
%
% , detailedtoc
+ %
+ % % Les fichiers sources sont attachés au PDF si et seulement si la Lettre est
+ % % à la fois en version pour les lecteurs (option `for-readers' activée par
+ % % défaut) et en sortie écran (option `screen' activée par défaut). L'option
+ % % `reverse-files-attachement' inverse ce comportement par défaut.
+ %
+ % , reverse-files-attachement
+ %
}
\setmainfont{TeX Gyre Schola} % Par exemple