summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex b/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex
new file mode 100644
index 00000000000..422e6e1f893
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex
@@ -0,0 +1,33 @@
+\documentclass{article}
+\usepackage[russian]{babel}
+\usepackage{xecyr}
+
+\setmainfont[Mapping=tex-text]{CMU Serif}
+\setmonofont{CMU Typewriter Text}
+
+\title{Распространенные русские кодировки}
+\author{Из русской <<Википедии>>}
+\date{}
+
+\begin{document}
+\maketitle
+
+\tableofcontents
+
+% Обратите внимание на названия кодировок! Они берутся отсюда: http://www.iana.org/assignments/character-sets
+
+\XeTeXdefaultencoding "IBM866"
+\input 866
+
+\XeTeXdefaultencoding "KOI8-R"
+\input koi8-r
+
+\XeTeXdefaultencoding "windows-1251"
+\input 1251
+
+\XeTeXdefaultencoding "ISO-8859-5"
+\input iso
+
+\XeTeXdefaultencoding "UTF-8"
+
+\end{document}