summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed')
-rw-r--r--Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed105
1 files changed, 105 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed b/Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed
new file mode 100644
index 00000000000..a4f12463d9f
--- /dev/null
+++ b/Build/source/utils/xindy/make-rules/alphabets/utf8-to-tex.sed
@@ -0,0 +1,105 @@
+# $Id: utf8-to-tex.sed,v 1.8 2001/04/01 18:03:18 thenlich Exp $
+# translate UTF-8 to something that TeX understands
+# for russian transliteration:
+s/č/\\v c/g;
+s/Č/\\v C/g;
+s/ė/\\.e/g;
+s/Ė/\\.E/g;
+s/è/\\`e/g;
+s/È/\\`E/g;
+s/ë/\\"e/g;
+s/Ë/\\"E/g;
+s/ï/\\"i/g;
+s/Ï/\\"I/g;
+s/š/\\v s/g;
+s/Š/\\v S/g;
+s/ž/\\v z/g;
+s/Ž/\\v Z/g;
+s/″/$\\\'\\\'$/g;
+s/′/$\\\'$/g;
+s/ŝ/\\^s/g;
+s/Ŝ/\\^S/g;
+s/û/\\^u/g;
+s/Û/\\^U/g;
+s/â/\\^a/g;
+s/Â/\\^A/g;
+# greek:
+s/ē/\\=e/g;
+s/Ē/\\=E/g;
+s/ō/\\=o/g;
+s/Ō/\\=O/g;
+# turkish:
+s/ç/\\c c/g;
+s/Ç/\\c C/g;
+s/ğ/\\u g/g;
+s/Ğ/\\u G/g;
+s/ı/\\i/g;
+s/İ/\\.I/g;
+s/ö/\\"o/g;
+s/Ö/\\"O/g;
+s/ş/\\c s/g;
+s/Ş/\\c S/g;
+s/ü/\\"u/g;
+s/Ü/\\"U/g;
+# esperanto:
+s/ĉ/\\^c/g;
+s/Ĉ/\\^C/g;
+s/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