summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-21 03:00:43 +0000
committerNorbert Preining <norbert@preining.info>2021-07-21 03:00:43 +0000
commitd06b4118c72d0c81fc0760e24add55e808471dbc (patch)
treeb66ab79ad229352b74d6e1f7ed8dc2884e671737 /macros/latex/contrib/babel-contrib
parent933416e3a978851a263168f5daad76eea18de483 (diff)
CTAN sync 202107210300
Diffstat (limited to 'macros/latex/contrib/babel-contrib')
-rw-r--r--macros/latex/contrib/babel-contrib/french/README.md2
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb-doc.pdfbin154799 -> 159363 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb-doc.tex20
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb.dtx70
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb.ins4
-rw-r--r--macros/latex/contrib/babel-contrib/french/frenchb.pdfbin328108 -> 331863 bytes
6 files changed, 40 insertions, 56 deletions
diff --git a/macros/latex/contrib/babel-contrib/french/README.md b/macros/latex/contrib/babel-contrib/french/README.md
index 50845e3684..0e046586e0 100644
--- a/macros/latex/contrib/babel-contrib/french/README.md
+++ b/macros/latex/contrib/babel-contrib/french/README.md
@@ -50,5 +50,5 @@ Changes
See the included manual frenchb.pdf, section "Change History".
---
-Copyright 1996--2020 Daniel Flipo
+Copyright 1996--2021 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf b/macros/latex/contrib/babel-contrib/french/frenchb-doc.pdf
index d55eccfeee..bf4c8438e4 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 2ff7f14307..467181d9dc 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex
+++ b/macros/latex/contrib/babel-contrib/french/frenchb-doc.tex
@@ -1,3 +1,5 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b, lang=fr-FR}
\documentclass[a4paper,12pt,german,english,french]{article}
% LuaTeX ONLY!
@@ -107,11 +109,8 @@
\makeatother
\usepackage{hyperref}
-\hypersetup{pdftitle={Documentation de babel-french},
- pdfcreator={LuaTeX},
+\hypersetup{pdftitle={Mode d’emploi de babel-french},
pdfauthor={Daniel FLIPO},
- unicode,
- bookmarksopen,
colorlinks,
urlcolor=PineGreen,
linkcolor=Blue,
@@ -121,11 +120,9 @@
\newcommand*{\samefntmk}{%
\addtocounter{Hfootnote}{-1}\addtocounter{footnote}{-1}\footnotemark}
-\usepackage[open]{bookmark}
-%
-\title{Documentation sur le module \ext{babel-french}}
+\title{Mode d’emploi du module \ext{babel-french}}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\latestversion}{3.5l}
+\newcommand*{\latestversion}{3.5m}
\date{Version {\latestversion} -- \today}
\begin{document}
@@ -400,9 +397,8 @@ document (ou maquette) est modifiée de la façon suivante%
«Figure~1~--~Légende» au lieu de «Figure~1\string:~Légende».
Il est possible de choisir un autre séparateur :
pour remplacer le tiret double «--» par un tiret triple «---»,
- ajouter dans le préambule
- |\renewcommand*{\CaptionSeparator}{\space\textemdash\space}|.%
- \hlabel{captionseparator}
+ ajouter dans le préambule\hlabel{captionseparator}\\
+ |\renewcommand*{\CaptionSeparator}{\space\textemdash\space}|.
Lorsque la langue principale n’est pas le français, le séparateur «\string:»
est utilisé pour toutes les langues mais une espace insécable est en principe
@@ -1082,7 +1078,7 @@ La liste étant longue, les options sont regroupées par thèmes.
légendes de figures et tables est supprimé, on obtient « Figure » et
« Table » au lieu de « \textsc{Figure} » et « \textsc{Table} ».
Noter que le même résultat peut être obtenu en définissant |\FBfigtabshape|
- comme |\relax| avant le chargement de \ext{babel}.%\hlabel{scfigtab}
+ comme |\relax| avant le chargement de \ext{babel}.\hlabel{scfigtab}
\item [CustomiseFigTabcaptions=false (true*)] ; si cette option est mise
à \fbo{false}, le séparateur défini par |\CaptionSeparator| est remplacé par
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb.dtx b/macros/latex/contrib/babel-contrib/french/frenchb.dtx
index 161833dd13..4630c18ef4 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb.dtx
+++ b/macros/latex/contrib/babel-contrib/french/frenchb.dtx
@@ -1,4 +1,4 @@
-%\CheckSum{3759}
+%\CheckSum{3732}
%
%\iffalse
% Tell the LaTeX system who we are and write an entry on the
@@ -13,12 +13,12 @@
%<frenchb>\ProvidesLanguage{frenchb}
%<lua>--[[
%<lua> File `frenchb.lua’ generated from frenchb.dtx
- [2020/10/10 v3.5l French support from the babel system]
+ [2021/07/20 v3.5m French support from the babel system]
%<*internal>
\iffalse
%</internal>
%<*lua>
- Copyright © 2014-2020 Daniel Flipo
+ Copyright © 2014-2021 Daniel Flipo
<daniel (dot) flipo (at) free (dot) fr>
License LPPL: see french.ldf.
--]]
@@ -32,7 +32,7 @@
%<*dtx|french>
%%
%% Babel package for LaTeX version 2e
-%% Copyright © 1996-2020
+%% Copyright © 1996-2021
%% by Daniel Flipo <daniel (dot) flipo (at) free (dot) fr>
%%
%</dtx|french>
@@ -42,6 +42,8 @@
%%
%</dtx>
%<*filedriver>
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-US}
\documentclass[a4paper]{ltxdoc}
\usepackage[left=38mm,right=38mm,top=30mm,bottom=50mm]{geometry}
\usepackage[dvipsnames]{xcolor}
@@ -63,10 +65,10 @@
\def\PrintMacroName#1{%
\strut\MacroFont\color{Sepia}\normalsize\string#1}
\def\ColorArg{\color{Sepia}}
-\usepackage[expansion=true,protrusion=true]{microtype}
+\usepackage[verbose=silent]{microtype}
\usepackage{array,url}
\usepackage[numbered]{hypdoc}
-\hypersetup{colorlinks,urlcolor=Blue,linkcolor=Blue,unicode}
+\hypersetup{colorlinks,urlcolor=Blue,linkcolor=Blue}
\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
\newcommand*\babel{\texttt{Babel}}
\newcommand*\frenchb{\texttt{babel-french}}
@@ -1973,8 +1975,8 @@ local function french_punctuation (head)
% spaces in http://mysite, C:\textbackslash{} or 10:35);
% b) the previous character is part of type |FB_punct_null|
% (avoids spurious spaces in strings like |(!)| or |??|);
-% c) a null glue (actually glues <= 1 sp for tabulars) preceeds
-% the punctuation character (for tabulars and listings);
+% c) a null glue (actually <= 1 sp for tabulars, possibly < 0)
+% preceeds the punctuation character (for tabulars and listings);
% d) the punctuation character starts a paragraph or an |\hbox{}|.
%
% When option \fbo{UnicodeNoBreakSpaces} is set to \fbo{true},
@@ -4107,17 +4109,16 @@ return french_punctuation
% \label{ssec-dots}
%
% \begin{macro}{\FBtextellipsis}
-% LaTeX’s standard definition of |\dots| in text-mode is
-% |\textellipsis| which includes a |\kern| at the end;
-% this space is not wanted in some cases (before a closing brace
-% for instance) and |\kern| breaks hyphenation of the next word.
-% We define |\FBtextellipsis| for French (in LaTeX only).
-%
-% The |\if| construction in the LaTeX definition of |\dots|
-% doesn’t allow the use of |xspace| (|xspace| is always followed
-% by a |\fi|), so we use the AMS-LaTeX construction of |\dots|;
-% this has to be done `AtBeginDocument’ not to be overwritten
-% when \file{amsmath.sty} is loaded after \babel.
+% Unless a ready-made character is available in the current font,
+% LaTeX’s default definition of |\textellipsis| includes a |\kern| at
+% the end; this space is not wanted in some cases (before a closing
+% brace for instance) and |\kern| breaks hyphenation of the next
+% word. We define |\FBtextellipsis| for French (in LaTeX only) the
+% same way but without the last |\kern|.
+%
+% LY1 has a ready made character for |\textellipsis|, it should be
+% used in French. The same is true for Unicode fonts in use
+% with XeTeX and LuaTeX.
%
% \changes{v2.0}{2006/11/06}{Added special case for LY1 encoding,
% see bug report from Bruno Voisin (2004/05/18).}
@@ -4126,36 +4127,22 @@ return french_punctuation
% character for \cs{textellipsis}, let’s just use it!
% (reported by Maxime Chupin, 2011/06/04).}
%
-% LY1 has a ready made character for |\textellipsis|, it should be
-% used in French too. The same is true for Unicode fonts in use
-% with XeTeX and LuaTeX.
+% \changes{v3.5m}{2021/07/19}{No longer redefine \cs{dots}, only
+% \cs{textellipsis}’s default definition is changed in French.}
%
% \begin{macrocode}
\ifFBunicode
- \let\FBtextellipsis\textellipsis
\else
\DeclareTextSymbol{\FBtextellipsis}{LY1}{133}
+ \DeclareTextCommand{\FBtextellipsis}{PU}{\9040\046}
+ \DeclareTextCommand{\FBtextellipsis}{PD1}{\203}
\DeclareTextCommandDefault{\FBtextellipsis}{%
- .\kern\fontdimen3\font.\kern\fontdimen3\font.\xspace}
+ .\kern\fontdimen3\font.\kern\fontdimen3\font.\xspace}%
+ \def\bbl@frenchdots{\babel@save\textellipsis
+ \let\textellipsis\FBtextellipsis}
+ \addto\extrasfrench{\bbl@frenchdots}
\fi
% \end{macrocode}
-% |\Mdots@| and |\Tdots@| hold the definitions of |\dots| in
-% Math and Text mode. They default to those of amsmath-2.0, and
-% will revert to standard LaTeX definitions `AtBeginDocument’,
-% if amsmath has not been loaded. |\Mdots@| doesn’t change when
-% switching from/to French, while |\Tdots@| is redefined as
-% |\FBtextellipsis| in French.
-% \begin{macrocode}
-\newcommand*{\Tdots@}{\@xp\textellipsis}
-\newcommand*{\Mdots@}{\@xp\mdots@}
-\AtBeginDocument{\DeclareRobustCommand*{\dots}{\relax
- \csname\ifmmode M\else T\fi dots@\endcsname}%
- \ifdefined\@xp\else\let\@xp\relax\fi
- \ifdefined\mdots@\else\let\Mdots@\mathellipsis\fi
- }
-\def\bbl@frenchdots{\babel@save\Tdots@ \let\Tdots@\FBtextellipsis}
-\addto\extrasfrench{\bbl@frenchdots}
-% \end{macrocode}
% \end{macro}
%
% \subsection{More checks about packages’ loading order}
@@ -6068,5 +6055,6 @@ return french_punctuation
%%% Local Variables:
%%% fill-column: 72
%%% coding: utf-8
+%%% mode: doctex
%%% TeX-engine: luatex
%%% End:
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb.ins b/macros/latex/contrib/babel-contrib/french/frenchb.ins
index 4313f3501a..a8bfed7524 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb.ins
+++ b/macros/latex/contrib/babel-contrib/french/frenchb.ins
@@ -2,7 +2,7 @@
%% This file will generate fast loadable files and documentation driver
%% files from the doc files in this package when run through LuaTeX.
%%
-%% Copyright 2001-2020 Daniel Flipo. All rights reserved.
+%% Copyright 2001-2021 Daniel Flipo. All rights reserved.
%%
%% This is a generated file part of the the babel-french bundle
%% to be used with the Babel system.
@@ -14,7 +14,7 @@
%%
%% --------------- start of docstrip commands ------------------
%%
-\def\filedate{2020/01/30}
+\def\filedate{2021/01/30}
\def\batchfile{frenchb.ins}
\input docstrip.tex
diff --git a/macros/latex/contrib/babel-contrib/french/frenchb.pdf b/macros/latex/contrib/babel-contrib/french/frenchb.pdf
index 56a5c87b0d..2f202d918f 100644
--- a/macros/latex/contrib/babel-contrib/french/frenchb.pdf
+++ b/macros/latex/contrib/babel-contrib/french/frenchb.pdf
Binary files differ