mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5790 from jfbu/latex_turnoff_lualatex_ligatures
Latex turnoff lualatex ligatures
This commit is contained in:
commit
6395c7d242
2
CHANGES
2
CHANGES
@ -112,6 +112,8 @@ Bugs fixed
|
||||
* #5248: LaTeX: Greek letters in section titles disappear from PDF bookmarks
|
||||
* #5772: LaTeX: should the Bjarne style of fncychap be used for English also
|
||||
if passed as language option?
|
||||
* #5179: LaTex: (lualatex only) escaping of ``>`` by ``\textgreater{}`` is not
|
||||
enough, ``\textgreater{}\textgreater{}`` applies TeX-ligature
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -2199,7 +2199,11 @@ information.
|
||||
Defaults to ``'\\usepackage{fontspec}'`` when
|
||||
:confval:`latex_engine` is ``'xelatex'``.
|
||||
.. versionchanged:: 1.6
|
||||
``'lualatex'`` also uses ``fontspec`` per default.
|
||||
``'lualatex'`` uses ``fontspec`` per default like ``'xelatex'``.
|
||||
.. versionchanged:: 2.0
|
||||
``'lualatex'`` executes
|
||||
``\defaultfontfeatures[\rmfamily,\sffamily]{}`` to disable TeX
|
||||
ligatures.
|
||||
.. versionchanged:: 2.0
|
||||
Detection of ``LGR``, ``T2A``, ``X2`` to trigger support of
|
||||
occasional Greek or Cyrillic (``'pdflatex'`` only, as this support
|
||||
|
@ -206,7 +206,8 @@ ADDITIONAL_SETTINGS = {
|
||||
'latex_engine': 'lualatex',
|
||||
'polyglossia': '\\usepackage{polyglossia}',
|
||||
'babel': '',
|
||||
'fontenc': '\\usepackage{fontspec}',
|
||||
'fontenc': ('\\usepackage{fontspec}\n'
|
||||
'\\defaultfontfeatures[\\rmfamily,\\sffamily]{}'),
|
||||
'fontpkg': LUALATEX_DEFAULT_FONTPKG,
|
||||
'textgreek': '',
|
||||
'utf8extra': ('\\catcode`^^^^00a0\\active\\protected\\def^^^^00a0'
|
||||
|
Loading…
Reference in New Issue
Block a user