texlive[66501] branches/branch2022.final/Master/texmf-dist:

commits+karl at tug.org commits+karl at tug.org
Thu Mar 9 22:14:27 CET 2023


Revision: 66501
          http://tug.org/svn/texlive?view=revision&revision=66501
Author:   karl
Date:     2023-03-09 22:14:27 +0100 (Thu, 09 Mar 2023)
Log Message:
-----------
babel-french (9mar23) (branch)

Modified Paths:
--------------
    branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.pdf
    branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.tex
    branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb.pdf
    branches/branch2022.final/Master/texmf-dist/source/generic/babel-french/frenchb.dtx
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/acadian.ldf
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/canadien.ldf
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/francais.ldf
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/french.ldf
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.ldf
    branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.lua

Modified: branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.tex
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.tex	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb-doc.tex	2023-03-09 21:14:27 UTC (rev 66501)
@@ -121,7 +121,7 @@
 
 \title{Mode d’emploi du module \ext{babel-french}}
 \author{\href{mailto:daniel.flipo at free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\latestversion}{3.5p}
+\newcommand*{\latestversion}{3.5q}
 \date{Version {\latestversion} -- \today}
 
 \begin{document}
@@ -158,8 +158,6 @@
   \vspace{-\baselineskip}\noindent
   \descindentFB=0pt
   \begin{description}
-  \item[15 janvier 2017] La version~3.2f est compatible avec l’extension
-    \ext{icomma}.
   \item[30 janvier 2017] Le comportement par défaut de la commande
     |\frquote{}| sous LuaTeX est modifié, voir p.~\pageref{frquote}.
   \item[30 avril 2017] Utiliser |\frenchsetup{}| de préférence à
@@ -182,8 +180,10 @@
   \item[11 nov. 2022] Avec Lua(La)TeX le codage |«~abc~»| ne produit plus
     d’espace parasite.  La redéfinition de |\shorthandoff{}|,
     |\shorthandon{}| sous LuaTeX/XeTeX est supprimée.
-  \item[3 janvier 2022] Modification de la commande |\DecimalMathComma|,
+  \item[3 janvier 2023] Modification de la commande |\DecimalMathComma|,
     voir p.~\pageref{decimalmathcomma}.
+  \item[8 mars 2023] Correction de bug dans les listes,
+    voir p.~\pageref{par-in-lists}.
   \end{description}
 \end{abstract}
 \egroup
@@ -1579,6 +1579,14 @@
 Voir section~\ref{decimalmathcomma} p.~\pageref{decimalmathcomma} pour plus de
 détails.
 
+\vspace{\parskip}
+La version 3.5q corrige un bug concernant les listes signalé par Denis Bitouzé :
+les alinéas inclus dans une liste n’étaient pas distinguables.  Dorénavant
+|\listparindent| est défini comme |\parindent| et si|\parskip > 0|, |\parsep|
+est défini comme |\parskip|.  Il est possible de revenir à l’ancienne
+présentation en ajoutant \emph{dans l’environnement de liste} les commandes
+|\parskip=0pt| et |\parindent=0pt|.\hlabel{par-in-lists}
+
 \subsection{Changements entre les versions  3.4d et 3.3d}
 \label{ssec:changes-3.4}
 

Modified: branches/branch2022.final/Master/texmf-dist/doc/generic/babel-french/frenchb.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2022.final/Master/texmf-dist/source/generic/babel-french/frenchb.dtx
===================================================================
--- branches/branch2022.final/Master/texmf-dist/source/generic/babel-french/frenchb.dtx	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/source/generic/babel-french/frenchb.dtx	2023-03-09 21:14:27 UTC (rev 66501)
@@ -11,7 +11,7 @@
 %<frenchb>\ProvidesLanguage{frenchb}
 %<lua>--[[
 %<lua>   File `frenchb.lua’ generated from frenchb.dtx
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 %<*internal>
 \iffalse
 %</internal>
@@ -40,8 +40,7 @@
 %%
 %</dtx>
 %<*filedriver>
-\RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-US}
+\DocumentMetadata{pdfstandard=A-2b, lang=en-US}
 \documentclass[a4paper]{ltxdoc}
 \usepackage[left=38mm,right=38mm,top=30mm,bottom=50mm]{geometry}
 \usepackage[dvipsnames]{xcolor}
@@ -828,6 +827,13 @@
 %    Version 3.5n introduces a new command |\bname{}| (an alternative to
 %    |\bsc{}|).
 %
+%    Version 3.5q corrects a bug in lists layout: |\listparindent|
+%    (formely 0pt) is  defined as |\parindent| and if |\parskip > 0pt|,
+%    |\parsep| is now defined as |\parskip|.  This ensures that
+%    paragraphs included in lists are now visible. The former behaviour
+%    can be recovered by adding |\parskip=0pt|, |\parindent=0pt|
+%    \emph{inside} the list environment.
+%
 %    \subsubsection*{What’s new in version 3.4?}
 %
 %    Version 3.4a adds a new command |\frenchdate| (see
@@ -5250,6 +5256,8 @@
 %    An option for backward compatibility is provided.}
 %
 %  \begin{macro}{\listFB}
+% \changes{v3.5q}{2023/02/15}{Bug correction: \cs{parsep} should be
+%    related to \cs{parskip} and \cs{listparindent} to \cs{parindent}.}
 %  \begin{macro}{\listORI}
 %  \begin{macro}{\FB at listVsettings}
 %    Vertical spacing in lists should be shorter in French texts than
@@ -5274,9 +5282,8 @@
 %    \begin{macrocode}
 \let\listORI\list
 \let\endlistORI\endlist
+\newdimen\FB at parskip
 \def\FB at listVsettings{%
-      \setlength{\itemsep}{0.4ex plus 0.2ex minus 0.2ex}%
-      \setlength{\parsep}{0.4ex plus 0.2ex minus 0.2ex}%
       \setlength{\topsep}{0.8ex plus 0.4ex minus 0.4ex}%
       \setlength{\partopsep}{0.4ex plus 0.2ex minus 0.2ex}%
 %    \end{macrocode}
@@ -5283,11 +5290,23 @@
 %    |\parskip| is of type `skip’, its mean value only (\emph{not
 %    the glue}) should be subtracted from |\topsep| and added to
 %    |\partopsep|, so convert |\parskip| to a `dimen’ using
-%    |\@tempdima|.
+%    |\FB at parskip|.
 %    \begin{macrocode}
-      \@tempdima=\parskip
-      \addtolength{\topsep}{-\@tempdima}%
-      \addtolength{\partopsep}{\@tempdima}%
+      \FB at parskip=\parskip
+      \addtolength{\topsep}{-\FB at parskip}%
+      \addtolength{\partopsep}{\FB at parskip}%
+      \setlength{\itemsep}{0.4ex plus 0.2ex minus 0.2ex}%
+      \setlength{\parsep}{0.4ex plus 0.2ex minus 0.2ex}%
+%    \end{macrocode}
+%    (v3.5q) If |\parskip| is not null, |\parsep| is set to |\parskip|,
+%    so paragraphs inside items will be preceeded by the same vertical
+%    space as paragraphs located outside lists; the vertical skip before
+%    items (|\itemsep| + |\parsep|) doesn’t need to be enlarged.
+%    \begin{macrocode}
+      \ifdim\FB at parskip>0pt
+        \setlength{\parsep}{\FB at parskip}%
+        \addtolength{\itemsep}{-\FB at parskip}%
+      \fi
 }
 \def\listFB#1#2{\listORI{#1}{\FB at listVsettings #2}}
 \let\endlistFB\endlistORI
@@ -5387,7 +5406,7 @@
          \labelindentFB}%
   \else
 %    \end{macrocode}
-%    Default layout: labels hanging into the left margin.
+%    Default layout: labels hanging into the list left margin.
 %    \begin{macrocode}
     \leftmarginFB=\labelwidthFB
     \advance\leftmarginFB by \labelsep
@@ -5395,6 +5414,11 @@
       {\csname leftmargin\romannumeral\FB at dp\endcsname =
          \leftmarginFB}%
     \advance\leftmargini by \listindentFB
+%    \end{macrocode}
+%    (v3.5q) Same `parindent’ for paragraphs in lists’ items (was null
+%    as in standard lists).
+%    \begin{macrocode}
+    \listparindent=\parindent
   \fi
   \leftmargin=\csname leftmargin%
      \ifnum\@listdepth=\@ne i\else ii\fi\endcsname
@@ -5419,18 +5443,22 @@
 %    unless option \fbo{StandardListSpacing} is set, then set horizontal
 %    indentations according to |\FB at listHsettings| unless option
 %    \fbo{ListOldLayout} is \fbo{true} (compatibility with lists
-%    up to v.~2.5k).
+%    up to v2.5k).
 %    \begin{macrocode}
 \def\FB at itemizesettings{%
     \ifFBStandardListSpacing
     \else
+      \setlength{\topsep}{\z@}%
+      \setlength{\partopsep}{\z@}%
+      \FB at parskip=\parskip
+      \addtolength{\topsep}{-\FB at parskip}%
+      \addtolength{\partopsep}{\FB at parskip}%
       \setlength{\itemsep}{\z@}%
       \setlength{\parsep}{\z@}%
-      \setlength{\topsep}{\z@}%
-      \setlength{\partopsep}{\z@}%
-      \@tempdima=\parskip
-      \addtolength{\topsep}{-\@tempdima}%
-      \addtolength{\partopsep}{\@tempdima}%
+      \ifdim\FB at parskip>0pt
+        \setlength{\parsep}{\FB at parskip}%
+        \addtolength{\itemsep}{-\FB at parskip}%
+      \fi
     \fi
     \settowidth{\labelwidth}{\csname\@itemitem\endcsname}%
     \ifFBListOldLayout

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/acadian.ldf
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/acadian.ldf	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/acadian.ldf	2023-03-09 21:14:27 UTC (rev 66501)
@@ -24,7 +24,7 @@
 %% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
 %% 
 \ProvidesLanguage{acadian}
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 \PackageInfo{acadian.ldf}%
   {`acadian' dialect is currently\MessageBreak
    *absolutely identical* to the\MessageBreak

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/canadien.ldf
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/canadien.ldf	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/canadien.ldf	2023-03-09 21:14:27 UTC (rev 66501)
@@ -24,7 +24,7 @@
 %% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
 %% 
 \ProvidesLanguage{canadien}
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 \PackageWarning{canadien.ldf}%
   {Option `canadien' for Babel is *deprecated*,\MessageBreak
    it might be removed sooner or later.  Please\MessageBreak

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/francais.ldf
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/francais.ldf	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/francais.ldf	2023-03-09 21:14:27 UTC (rev 66501)
@@ -24,7 +24,7 @@
 %% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
 %% 
 \ProvidesLanguage{francais}
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 \PackageWarning{francais.ldf}%
   {Option `francais' for Babel is *deprecated*,\MessageBreak
    it might be removed sooner or later.  Please\MessageBreak

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/french.ldf
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/french.ldf	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/french.ldf	2023-03-09 21:14:27 UTC (rev 66501)
@@ -24,7 +24,7 @@
 %% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
 %% 
 \ProvidesLanguage{french}
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 %%
 %%  Babel package for LaTeX version 2e
 %%  Copyright © 1996-2022
@@ -1646,14 +1646,19 @@
 }
 \let\listORI\list
 \let\endlistORI\endlist
+\newdimen\FB at parskip
 \def\FB at listVsettings{%
+      \setlength{\topsep}{0.8ex plus 0.4ex minus 0.4ex}%
+      \setlength{\partopsep}{0.4ex plus 0.2ex minus 0.2ex}%
+      \FB at parskip=\parskip
+      \addtolength{\topsep}{-\FB at parskip}%
+      \addtolength{\partopsep}{\FB at parskip}%
       \setlength{\itemsep}{0.4ex plus 0.2ex minus 0.2ex}%
       \setlength{\parsep}{0.4ex plus 0.2ex minus 0.2ex}%
-      \setlength{\topsep}{0.8ex plus 0.4ex minus 0.4ex}%
-      \setlength{\partopsep}{0.4ex plus 0.2ex minus 0.2ex}%
-      \@tempdima=\parskip
-      \addtolength{\topsep}{-\@tempdima}%
-      \addtolength{\partopsep}{\@tempdima}%
+      \ifdim\FB at parskip>0pt
+        \setlength{\parsep}{\FB at parskip}%
+        \addtolength{\itemsep}{-\FB at parskip}%
+      \fi
 }
 \def\listFB#1#2{\listORI{#1}{\FB at listVsettings #2}}
 \let\endlistFB\endlistORI
@@ -1687,6 +1692,7 @@
       {\csname leftmargin\romannumeral\FB at dp\endcsname =
          \leftmarginFB}%
     \advance\leftmargini by \listindentFB
+    \listparindent=\parindent
   \fi
   \leftmargin=\csname leftmargin%
      \ifnum\@listdepth=\@ne i\else ii\fi\endcsname
@@ -1694,13 +1700,17 @@
 \def\FB at itemizesettings{%
     \ifFBStandardListSpacing
     \else
+      \setlength{\topsep}{\z@}%
+      \setlength{\partopsep}{\z@}%
+      \FB at parskip=\parskip
+      \addtolength{\topsep}{-\FB at parskip}%
+      \addtolength{\partopsep}{\FB at parskip}%
       \setlength{\itemsep}{\z@}%
       \setlength{\parsep}{\z@}%
-      \setlength{\topsep}{\z@}%
-      \setlength{\partopsep}{\z@}%
-      \@tempdima=\parskip
-      \addtolength{\topsep}{-\@tempdima}%
-      \addtolength{\partopsep}{\@tempdima}%
+      \ifdim\FB at parskip>0pt
+        \setlength{\parsep}{\FB at parskip}%
+        \addtolength{\itemsep}{-\FB at parskip}%
+      \fi
     \fi
     \settowidth{\labelwidth}{\csname\@itemitem\endcsname}%
     \ifFBListOldLayout

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.ldf
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.ldf	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.ldf	2023-03-09 21:14:27 UTC (rev 66501)
@@ -24,7 +24,7 @@
 %% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
 %% 
 \ProvidesLanguage{frenchb}
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
 \def\bbl at tempa{frenchb}
 \ifx\CurrentOption\bbl at tempa
   \chardef\l at frenchb\l at french

Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.lua
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.lua	2023-03-09 21:14:06 UTC (rev 66500)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/babel-french/frenchb.lua	2023-03-09 21:14:27 UTC (rev 66501)
@@ -1,6 +1,6 @@
 --[[
    File `frenchb.lua’ generated from frenchb.dtx
-         [2023/01/02 v3.5p French support from the babel system]
+         [2023/03/08 v3.5q French support from the babel system]
    Copyright © 2014-2022 Daniel Flipo
    <daniel (dot) flipo (at) free (dot) fr>
    License LPPL: see french.ldf.



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