summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib/french
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-07-04 03:02:41 +0000
committerNorbert Preining <norbert@preining.info>2020-07-04 03:02:41 +0000
commitce9d7362aa8813c6cea1e0fe6974561f28a103a5 (patch)
treeca629fc25eb82851ec99ec6119f47ed425c915c0 /macros/latex/contrib/babel-contrib/french
parent925eebea568c77dab877e87724fe7b001b3b5e7f (diff)
CTAN sync 202007040302
Diffstat (limited to 'macros/latex/contrib/babel-contrib/french')
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb-doc.pdfbin153907 -> 153909 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb-doc.tex6
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb.dtx32
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb.pdfbin325661 -> 326852 bytes
4 files changed, 27 insertions, 11 deletions
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf b/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf
index e17f576a21..a1c8ea6289 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf
+++ b/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex b/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex
index d8c59aeb65..8589fe3043 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex
+++ b/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex
@@ -125,11 +125,11 @@
%
\title{Documentation sur le module \ext{babel-french}}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\latestversion}{3.5h}
+\newcommand*{\latestversion}{3.5j}
\date{Version {\latestversion} -- \today}
\begin{document}
-\def\today{18 avril 2020}
+\def\today{2 juillet 2020}
\maketitle
\thispagestyle{empty}
@@ -1531,7 +1531,7 @@ La version 3.5g corrige une bogue ancienne affectant l’usage des polices
type~1 avec Lua\-(La)TeX : tout crénage était supprimé pour ces polices depuis
la version~3.1f (2015) ; les polices OpenType elles, n’ont jamais été affectées.
-La version 3.5i corrige aussi une bogue ancienne affectant les classes
+La version 3.5j corrige aussi une bogue ancienne affectant les classes
koma-script, \cls{memoir} et \cls{beamer} : les redéfinitions du séparateur
des légendes de figures et tables (commandes |\captionformat|, |\captiondelim|,
etc.) sont maintenant prises en compte correctement.
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb.dtx b/macros/latex/contrib/babel-contrib/french/frenchb.dtx
index d253c3b90b..45d56480d4 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb.dtx
+++ b/macros/latex/contrib/babel-contrib/french/frenchb.dtx
@@ -1,4 +1,4 @@
-%\CheckSum{3835}
+%\CheckSum{3841}
%
%\iffalse
% Tell the LaTeX system who we are and write an entry on the
@@ -13,7 +13,7 @@
%<frenchb>\ProvidesLanguage{frenchb}
%<lua>--[[
%<lua> File `frenchb.lua’ generated from frenchb.dtx
- [2020/06/30 v3.5i French support from the babel system]
+ [2020/07/02 v3.5j French support from the babel system]
%<*internal>
\iffalse
%</internal>
@@ -807,6 +807,11 @@
% Version 3.5g fixes a long standing bug affecting LuaTeX: legacy
% kerning was disabled for Type1 fonts since v3.1g (2015).
%
+% Version 3.5j also fixes a long standing bug affecting koma-script,
+% \cls{memoir} et \cls{beamer} classes: redefintions of the caption
+% separator (commands |\captionformat|, |\captiondelim|, etc.) are
+% now taken into account properly.
+%
% \subsubsection*{What’s new in version 3.4?}
%
% Version 3.4a adds a new command |\frenchdate| (see
@@ -2489,8 +2494,22 @@ return french_punctuation
% \subsubsection{Punctuation with standard (pdf)TeX}
% \label{sssec-punct-tex}
%
+% \changes{v3.5j}{2020/07/02}{For memoir, koma-script and beamer
+% captions, \cs{FB@std@sep} has to be defined before activating
+% the colon.}
+%
% In standard (pdf)TeX we need to make the four characters |;| |!| |?|
% and |:| `active’ and provide their definitions.
+% Before doing so, we have to save some definitions involving |:|.
+% \begin{macrocode}
+\newif\ifFB@koma
+\@ifclassloaded{scrartcl}{\FB@komatrue}{}
+\@ifclassloaded{scrbook}{\FB@komatrue}{}
+\@ifclassloaded{scrreprt}{\FB@komatrue}{}
+\ifFB@koma\def\FB@std@capsep{:\ }\fi
+\@ifclassloaded{beamer}{\def\FB@std@capsep{:\ }}{}
+\@ifclassloaded{memoir}{\def\FB@std@capsep{: }}{}
+% \end{macrocode}
% \begin{macrocode}
\ifFB@active@punct
\initiate@active@char{:}%
@@ -4980,8 +4999,7 @@ return french_punctuation
% set to \fbo{true}.
% \begin{macrocode}
\ifFB@koma
- \edef\FB@capsep{\captionformat}\edef\FB@std@capsep{:\ }%
- \ifx\FB@capsep\FB@std@capsep
+ \ifx\captionformat\FB@std@capsep
\ifFBCustomiseFigTabCaptions
\renewcommand*{\captionformat}{\CaptionSeparator}%
\else
@@ -4990,8 +5008,7 @@ return french_punctuation
\fi
\fi
\@ifclassloaded{memoir}%
- {\edef\FB@capsep{\@contdelim}\edef\FB@std@capsep{: }%
- \ifx\FB@capsep\FB@std@capsep
+ {\ifx\@contdelim\FB@std@capsep
\ifFBCustomiseFigTabCaptions
\captiondelim{\CaptionSeparator}%
\else
@@ -4999,8 +5016,7 @@ return french_punctuation
\fi
\fi}{}%
\@ifclassloaded{beamer}%
- {\edef\FB@std@capsep{:\ }%
- \edef\FB@capsep{%
+ {\protected@edef\FB@capsep{%
\csname beamer@@tmpl@caption label separator\endcsname}%
\ifx\FB@capsep\FB@std@capsep
\ifFBCustomiseFigTabCaptions
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb.pdf b/macros/latex/contrib/babel-contrib/french/frenchb.pdf
index e2fdf7b604..f7ac0ff1d4 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb.pdf
+++ b/macros/latex/contrib/babel-contrib/french/frenchb.pdf
Binary files differ