diff --git a/development/tools/unicodesymbols.py b/development/tools/unicodesymbols.py index ae99012de2..7338d2f0d5 100755 --- a/development/tools/unicodesymbols.py +++ b/development/tools/unicodesymbols.py @@ -57,7 +57,7 @@ def read(input): def write(output, lines): " Write output file." for line in lines: - output.write(line[1] + u'\n') + output.write(line[1] + '\n') def complete(lines, start, stop): diff --git a/lib/unicodesymbols b/lib/unicodesymbols index 0c248bb34b..11493d1b08 100644 --- a/lib/unicodesymbols +++ b/lib/unicodesymbols @@ -50,6 +50,9 @@ # - tipashortcut= Shortcut notation for TIPA # - deprecated Do not use this symbol for backwards conversion in LyX and tex2lyx. +# +# 2 Latin-1 Supplement +# 0x00a0 "~" "" "notermination=both" "~" "" # NO-BREAK SPACE 0x00a1 "\\textexclamdown" "" "" # INVERTED EXCLAMATION MARK 0x00a2 "\\textcent" "textcomp" "" #"\\mathcent" "txfonts|pxfonts" # CENT SIGN @@ -146,6 +149,9 @@ 0x00fd "\\'{y}" "" "mathalpha" "\\acute{y}" # LATIN SMALL LETTER Y WITH ACUTE 0x00fe "\\th" "" "" # LATIN SMALL LETTER THORN 0x00ff "\\\"{y}" "" "mathalpha" "\\ddot{y}" # LATIN SMALL LETTER Y WITH DIAERESIS +# +# 3 Latin Extended-A +# 0x0100 "\\={A}" "" "mathalpha" "\\bar{A}" # LATIN CAPITAL LETTER A WITH MACRON 0x0101 "\\={a}" "" "mathalpha" "\\bar{a}" # LATIN SMALL LETTER A WITH MACRON 0x0102 "\\u{A}" "" "mathalpha" "\\breve{A}" # LATIN CAPITAL LETTER A WITH BREVE @@ -275,7 +281,7 @@ 0x017e "\\v{z}" "" "mathalpha" "\\check{z}" # LATIN SMALL LETTER Z WITH CARON #0x017f "" "" "" "" "" # LATIN SMALL LETTER LONG S # -# Latin Extended-B +# 4 Latin Extended-B # 0x0180 "\\textcrb" "tipa" "force" # LATIN SMALL LETTER B WITH STROKE #0x0181 "" "" "" # LATIN CAPITAL LETTER B WITH HOOK @@ -485,7 +491,7 @@ #0x024e "" "" "" "" "" # LATIN CAPITAL LETTER Y WITH STROKE #0x024f "" "" "" "" "" # LATIN SMALL LETTER Y WITH STROKE # -# IPA extensions +# 5 IPA extensions # 0x0250 "\\textturna" "tipa" "force,tipashortcut=5" # LATIN SMALL LETTER TURNED A 0x0251 "\\textscripta" "tipa" "force,tipashortcut=A" # LATIN SMALL LETTER ALPHA @@ -584,7 +590,7 @@ 0x02ae "\\textlhtlongy" "tipa" "force" # LATIN SMALL LETTER TURNED H WITH FISHHOOK 0x02af "\\textvibyy" "tipa" "force" # LATIN SMALL LETTER TURNED H WITH FISHHOOK AND TAIL # -# Spacing Modifier Letters +# 6 Spacing Modifier Letters # 0x02b0 "\\textsuperscript{h}" "" "force=utf8" # MODIFIER LETTER SMALL H 0x02b1 "\\textsuperscript{\\texthth}" "tipa" "force" # MODIFIER LETTER SMALL H WITH HOOK @@ -667,7 +673,7 @@ #0x02fe "" "" "" "" "" # MODIFIER LETTER OPEN SHELF #0x02ff "" "" "" "" "" # MODIFIER LETTER LOW LEFT ARROW # -# Combining diacritical marks +# 7 Combining diacritical marks # 0x0300 "\\`" "" "combining,force" "" "" # COMBINING GRAVE ACCENT 0x0301 "\\'" "" "combining,force" "" "" # COMBINING ACUTE ACCENT @@ -766,7 +772,7 @@ #0x036e "" "" "combining,force" # COMBINING LATIN SMALL LETTER V #0x036f "" "" "combining,force" # COMBINING LATIN SMALL LETTER X # -# Greek +# 8 Greek and Coptic # #0x0370 "" "" "" "" "" # GREEK CAPITAL LETTER HETA #0x0371 "" "" "" "" "" # GREEK SMALL LETTER HETA @@ -877,7 +883,7 @@ 0x03f5 "" "" "mathalpha" "\epsilon" "" # GREEK LUNATE EPSILON SYMBOL 0x03f6 "" "" "mathalpha" "\backepsilon" "amssymb" # GREEK REVERSED LUNATE EPSILON SYMBOL # -# Cyrillic +# 9 Cyrillic # # "textcyr" selects LaTeX font encoding T2A 0x0400 "\\textcyr{\\`\\CYRE}" "textcyr" "" # CYRILLIC CAPITAL LETTER IE WITH GRAVE @@ -1083,11 +1089,11 @@ 0x04f8 "\\textcyr{\\\"\CYRERY}" "textcyr" "" # CYRILLIC CAPITAL LETTER YERU WITH DIAERESIS 0x04f9 "\\textcyr{\\\"\cyrery}" "textcyr" "" # CYRILLIC SMALL LETTER YERU WITH DIAERESIS # -# Thai +# 31 Thai # 0x0e3f "\\textbaht" "textcomp" "" # THAI CURRENCY SYMBOL BAHT # -# Phonetic Extensions +# 65 Phonetic Extensions # 0x1d00 "\\textsca" "tipa" "force" # LATIN LETTER SMALL CAPITAL A #0x1d01 "" "" "" # LATIN LETTER SMALL CAPITAL AE @@ -1218,13 +1224,13 @@ 0x1d7e "\\textbaru" "tipa" "force,tipashortcut=0" # LATIN SMALL CAPITAL LETTER U WITH STROKE #0x1d7f "" "" "" # LATIN SMALL LETTER UPSILON WITH STROKE # -# Combining Diacritical Marks Supplement +# 67 Combining Diacritical Marks Supplement # 0x1dc4 "\\texthighrise" "tipa" "combining,force" "" "" # COMBINING MACRON-ACUTE 0x1dc5 "\\textlowrise" "tipa" "combining,force" "" "" # COMBINING GRAVE-MACRON 0x1dc8 "\\textrisefall" "tipa" "combining,force" "" "" # COMBINING GRAVE-ACUTE-GRAVE # -# Latin Extended Additional +# 68 Latin Extended Additional # 0x1e00 "\\textsubring{A}" "tipa" "force,mathalpha" "\\subring{A}" "accents,subring" # LATIN CAPITAL LETTER A WITH RING BELOW 0x1e01 "\\textsubring{a}" "tipa" "force,mathalpha" "\\subring{a}" "accents,subring" # LATIN SMALL LETTER A WITH RING BELOW @@ -1474,7 +1480,7 @@ 0x1ef8 "\\~{Y}" "" "force=utf8,mathalpha" "\\tilde{Y}" # LATIN CAPITAL LETTER Y WITH TILDE 0x1ef9 "\\~{y}" "" "force=utf8,mathalpha" "\\tilde{y}" # LATIN SMALL LETTER Y WITH TILDE # -# Greek extended +# 69 Greek extended # 0x1f00 "\\textgreek{>a}" "textgreek" "" "" "" # GREEK SMALL LETTER ALPHA WITH PSILI 0x1f01 "\\textgreek{