Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d9ebb5 commit e6b341dCopy full SHA for e6b341d
1 file changed
doc/conf.py
@@ -352,6 +352,12 @@ def _check_dependencies():
352
latex_elements['babel'] = r'\usepackage{babel}'
353
354
# Font configuration
355
+# Fix fontspec converting " into right curly quotes in PDF
356
+# cf https://github.com/sphinx-doc/sphinx/pull/6888/
357
+latex_elements['fontenc'] = r'''
358
+\usepackage{fontspec}
359
+\defaultfontfeatures[\rmfamily,\sffamily,\ttfamily]{}
360
+'''
361
# Sphinx 2.0 adopts GNU FreeFont by default, but it does not have all
362
# the Unicode codepoints needed for the section about Mathtext
363
# "Writing mathematical expressions"
0 commit comments