File tree 3 files changed +13
-12
lines changed
3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ Bugs fixed
103
103
* #12380: LaTeX: Footnote mark sometimes indicates ``Page N `` where ``N `` is
104
104
the current page number and the footnote does appear on that same page.
105
105
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.
106
109
* #12416: Ensure that configuration setting aliases are always synchronised
107
110
when one value or the other is modified.
108
111
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:
148
148
build repertory before next PDF build, else left-over auxiliary
149
149
files are likely to break the build.
150
150
151
- Default: ``'\\usepackage{babel}' `` (`` '' `` for Japanese documents)
151
+ Default: ``'\\usepackage{babel}' `` (for Japanese documents)
152
152
153
153
.. versionchanged :: 1.5
154
154
For :confval: `latex_engine ` set to ``'xelatex' ``, the default
@@ -158,18 +158,11 @@ Keys that you may want to override include:
158
158
``'lualatex' `` uses same default setting as ``'xelatex' ``
159
159
160
160
.. 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 ``.
164
163
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 ``.
173
166
174
167
``'fontpkg' ``
175
168
Font package inclusion. The default is::
Original file line number Diff line number Diff line change 183
183
},
184
184
185
185
# 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
+ },
186
191
('xelatex' , 'fr' ): {
187
192
# use babel instead of polyglossia by default
188
193
'polyglossia' : '' ,
You can’t perform that action at this time.
0 commit comments