Conversions for combination of еЕ + \u308 to ёЁ and И + \u306 to Й
This commit is contained in:
parent
e0e6c5dbf2
commit
2a2cf8bb5c
3 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark20
|
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark21
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
@ -262,6 +262,9 @@ Private Sub fixFrequentMistakes
|
||||||
'Между угловой закрывающейся скобкой и буквой должен быть пробел
|
'Между угловой закрывающейся скобкой и буквой должен быть пробел
|
||||||
AskAndReplace("(?<=<…)>(?=[:alpha:])",">" & space)
|
AskAndReplace("(?<=<…)>(?=[:alpha:])",">" & space)
|
||||||
AskAndReplace("[ий][\u0306]+","й")
|
AskAndReplace("[ий][\u0306]+","й")
|
||||||
|
AskAndReplace("[ИЙ][\u0306]+","Й")
|
||||||
|
AskAndReplace("[её][\u0308]+","ё")
|
||||||
|
AskAndReplace("[ЕЁ][\u0308]+","Ё")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub loadArticleStyles
|
Private Sub loadArticleStyles
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<identifier value="pro.litvinovg.Redaction" />
|
<identifier value="pro.litvinovg.Redaction" />
|
||||||
<version value="0.4.7" />
|
<version value="0.4.8" />
|
||||||
<platform value="all" />
|
<platform value="all" />
|
||||||
<display-name>
|
<display-name>
|
||||||
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
0.4.7 Added conversion for и + \u0306 в й
|
0.4.8 Added conversion for И + \u0306 to Й and еЕ + \u308 to ёЁ
|
||||||
|
0.4.7 Added conversion for и + \u0306 to й
|
||||||
0.4.3 Fixed bad regexps
|
0.4.3 Fixed bad regexps
|
||||||
0.4.2 Fixed subscript/superscript conversion, added finish message
|
0.4.2 Fixed subscript/superscript conversion, added finish message
|
||||||
0.4.1 Improved conversion for diacritic marks
|
0.4.1 Improved conversion for diacritic marks
|
||||||
|
|
Loading…
Add table
Reference in a new issue