File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ Bugs fixed
103103* #12380: LaTeX: Footnote mark sometimes indicates ``Page N `` where ``N `` is
104104 the current page number and the footnote does appear on that same page.
105105 Patch by Jean-François B.
106+ * #12410: LaTeX: for French and ``'lualatex' `` as :confval: `latex_engine `
107+ ``polyglossia `` and not ``babel `` is used (contrarily to ``'xelatex' ``).
108+ Patch by Jean-François B.
106109* #12416: Ensure that configuration setting aliases are always synchronised
107110 when one value or the other is modified.
108111 Patch by Bénédikt Tran.
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ Keys that you may want to override include:
148148 build repertory before next PDF build, else left-over auxiliary
149149 files are likely to break the build.
150150
151- Default: ``'\\usepackage{babel}' `` (`` '' `` for Japanese documents)
151+ Default: ``'\\usepackage{babel}' `` (for Japanese documents)
152152
153153 .. versionchanged :: 1.5
154154 For :confval: `latex_engine ` set to ``'xelatex' ``, the default
@@ -158,18 +158,11 @@ Keys that you may want to override include:
158158 ``'lualatex' `` uses same default setting as ``'xelatex' ``
159159
160160 .. versionchanged :: 1.7.6
161- For French with ``xelatex `` (not ``lualatex ``) the default is to use
162- ``babel ``, not ``polyglossia ``. To let ``lualatex `` use ``babel ``,
163- use this:
161+ For French with ``'xelatex' `` (not ``'lualatex' ``) the default is to
162+ use ``babel ``, not ``polyglossia ``.
164163
165- .. code-block :: python
166-
167- latex_elements = {
168- ' polyglossia' : ' ' ,
169- ' babel' : r ' \u sepackage{babel}' ,
170- }
171-
172- in file :file: `conf.py `.
164+ .. versionchanged :: 7.4.0
165+ For French with ``'lualatex' `` the default is to use ``babel ``.
173166
174167``'fontpkg' ``
175168 Font package inclusion. The default is::
Original file line number Diff line number Diff line change 183183 },
184184
185185 # special settings for latex_engine + language_code
186+ ('lualatex' , 'fr' ): {
187+ # use babel instead of polyglossia by default
188+ 'polyglossia' : '' ,
189+ 'babel' : '\\ usepackage{babel}' ,
190+ },
186191 ('xelatex' , 'fr' ): {
187192 # use babel instead of polyglossia by default
188193 'polyglossia' : '' ,
You can’t perform that action at this time.
0 commit comments