diff options
| author | khanxmetu <khanxbahria@gmail.com> | 2024-09-12 14:45:59 +0300 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-09-13 16:52:07 +0200 |
| commit | 1f3f0cd8cabd201063ac024cb72eea27ea8c4aa8 (patch) | |
| tree | 7001d0ccf1746ae0367a77047b74bef302a36562 | |
| parent | ccd6e13cc9248b5f54275020119e76211002e2ff (diff) | |
Fixed #35754 -- Mapped full-width characters in latex to half-width.
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | docs/conf.py | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -110,6 +110,7 @@ answer newbie questions, and generally made Django that much better: Anubhav Joshi <anubhav9042@gmail.com> Anvesh Mishra <anveshgreat11@gmail.com> Anže Pečar <anze@pecar.me> + A. Rafey Khan <khanxbahria@gmail.com> Aram Dulyan arien <regexbot@gmail.com> Arjun Omray <arjunomray@gmail.com> diff --git a/docs/conf.py b/docs/conf.py index 2c578d5a8d..b72b1afcf5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -292,8 +292,12 @@ latex_elements = { \setmainfont{Symbola} """, "preamble": r""" - \usepackage{newunicodechar} \usepackage[UTF8]{ctex} + \xeCJKDeclareCharClass{HalfLeft}{"2018, "201C} + \xeCJKDeclareCharClass{HalfRight}{ + "00B7, "2019, "201D, "2013, "2014, "2025, "2026, "2E3A + } + \usepackage{newunicodechar} \newunicodechar{π}{\ensuremath{\pi}} \newunicodechar{≤}{\ensuremath{\le}} \newunicodechar{≥}{\ensuremath{\ge}} |
