mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2501: Unicode subscript numbers are normalized in LaTeX
This commit is contained in:
parent
06e2928ef0
commit
488ee5279a
1
CHANGES
1
CHANGES
@ -48,6 +48,7 @@ Bugs fixed
|
||||
* #2460: too much white space on top of captioned literal blocks in PDF output
|
||||
* Show error reason when multiple math extensions are loaded (ref: #2499)
|
||||
* #2483: any figure number was not assigned if figure title contains only non text objects
|
||||
* #2501: Unicode subscript numbers are normalized in LaTeX
|
||||
|
||||
|
||||
Release 1.4.1 (released Apr 12, 2016)
|
||||
|
@ -47,8 +47,26 @@ tex_replacements = [
|
||||
('│', r'\textbar{}'),
|
||||
('ℯ', r'e'),
|
||||
('ⅈ', r'i'),
|
||||
('₁', r'1'),
|
||||
('₂', r'2'),
|
||||
('⁰', r'$^0$'),
|
||||
('¹', r'$^1$'),
|
||||
('²', r'$^2$'),
|
||||
('³', r'$^3$'),
|
||||
('⁴', r'$^4$'),
|
||||
('⁵', r'$^5$'),
|
||||
('⁶', r'$^6$'),
|
||||
('⁷', r'$^7$'),
|
||||
('⁸', r'$^8$'),
|
||||
('⁹', r'$^9$'),
|
||||
('₀', r'$_0$'),
|
||||
('₁', r'$_1$'),
|
||||
('₂', r'$_2$'),
|
||||
('₃', r'$_3$'),
|
||||
('₄', r'$_4$'),
|
||||
('₅', r'$_5$'),
|
||||
('₆', r'$_6$'),
|
||||
('₇', r'$_7$'),
|
||||
('₈', r'$_8$'),
|
||||
('₉', r'$_9$'),
|
||||
# map Greek alphabet
|
||||
('α', r'\(\alpha\)'),
|
||||
('β', r'\(\beta\)'),
|
||||
|
Loading…
Reference in New Issue
Block a user