mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix an error in PR #5134 regarding handling of Cyrillic
This commit is contained in:
parent
ab88175c8c
commit
9b31ee8d5e
@ -4,8 +4,6 @@
|
|||||||
;; description: style file for xindy which maps back LaTeX Internal
|
;; description: style file for xindy which maps back LaTeX Internal
|
||||||
;; Character Representation of Cyrillic to utf-8
|
;; Character Representation of Cyrillic to utf-8
|
||||||
;; usage: for use with pdflatex produced .idx files.
|
;; usage: for use with pdflatex produced .idx files.
|
||||||
;; This module must be loaded after the rule for suppressing space
|
|
||||||
;; characters has been executed, hence after module sphinx.xdy.
|
|
||||||
;; Contributed by the Sphinx team, July 2018.
|
;; Contributed by the Sphinx team, July 2018.
|
||||||
(merge-rule "\IeC {\'\CYRG }" "Ѓ" :string)
|
(merge-rule "\IeC {\'\CYRG }" "Ѓ" :string)
|
||||||
(merge-rule "\IeC {\'\CYRK }" "Ќ" :string)
|
(merge-rule "\IeC {\'\CYRK }" "Ќ" :string)
|
||||||
|
@ -86,9 +86,10 @@
|
|||||||
|
|
||||||
;; Sphinx additions, cf sphinx.util.texescape for rationale
|
;; Sphinx additions, cf sphinx.util.texescape for rationale
|
||||||
;;
|
;;
|
||||||
;; blanks are already ignored from above merge-rules, so no space
|
;; The LaTeX \index command turns \ into normal character so the TeX macros
|
||||||
;; character after TeX control words, despite the fact that they will
|
;; written to .idx files are not followed by a blank. This is different
|
||||||
;; be present in .idx file.
|
;; from non-ascii letters which end up (with pdflatex) as \IeC macros in .idx
|
||||||
|
;; file, with a blank.
|
||||||
|
|
||||||
(merge-rule "\\sphinxleftcurlybrace\{\}" "{")
|
(merge-rule "\\sphinxleftcurlybrace\{\}" "{")
|
||||||
(merge-rule "\\sphinxrightcurlybrace\{\}" "}")
|
(merge-rule "\\sphinxrightcurlybrace\{\}" "}")
|
||||||
|
Loading…
Reference in New Issue
Block a user