diff options
author | Tim Graham <timograham@gmail.com> | 2015-11-16 11:18:01 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-11-16 20:41:10 -0500 |
commit | 3bd43598f73832793401a586e87290e011723530 (patch) | |
tree | 42dfb786dc9e7cd05ad5f845d0566586789836f6 | |
parent | 904c47bc0643509311cfbde9de1138f3998d6dcb (diff) | |
download | django-3bd43598f73832793401a586e87290e011723530.tar.gz |
[1.7.x] Refs #23751 -- Added some unicode characters to the latex preamble.
Thanks Graham Wideman for the patch.
Backport of a80d70dd10f3c7d483579734e524c94c62832070 from master
-rw-r--r-- | docs/conf.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7707cf3229..6df8dd88b6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -233,8 +233,12 @@ rst_epilog = """ # -- Options for LaTeX output -------------------------------------------------- latex_elements = { - 'preamble': ('\\DeclareUnicodeCharacter{2264}{\\ensuremath{\\le}}' - '\\DeclareUnicodeCharacter{2265}{\\ensuremath{\\ge}}') + 'preamble': ( + '\\DeclareUnicodeCharacter{2264}{\\ensuremath{\\le}}' + '\\DeclareUnicodeCharacter{2265}{\\ensuremath{\\ge}}' + '\\DeclareUnicodeCharacter{2665}{[unicode-heart]}' + '\\DeclareUnicodeCharacter{2713}{[unicode-checkmark]}' + ), } # Grouping the document tree into LaTeX files. List of tuples |