Browse Source

Fixed #18698 -- Configure latex to support '≥' in the docs.

Thanks to simonb for the report and the initial patch.
Florian Apolloner 12 years ago
parent
commit
4d9e4c64f1
1 changed files with 3 additions and 8 deletions
  1. 3 8
      docs/conf.py

+ 3 - 8
docs/conf.py

@@ -190,11 +190,9 @@ modindex_common_prefix = ["django."]
 
 # -- Options for LaTeX output --------------------------------------------------
 
-# The paper size ('letter' or 'a4').
-#latex_paper_size = 'letter'
-
-# The font size ('10pt', '11pt' or '12pt').
-#latex_font_size = '10pt'
+latex_elements = {
+    'preamble': '\\DeclareUnicodeCharacter{2265}{\\ensuremath{\\ge}}'
+}
 
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, document class [howto/manual]).
@@ -218,9 +216,6 @@ latex_documents = [
 # If true, show URL addresses after external links.
 #latex_show_urls = False
 
-# Additional stuff for the LaTeX preamble.
-#latex_preamble = ''
-
 # Documents to append as an appendix to all manuals.
 #latex_appendices = []