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.tex19
1 files changed, 11 insertions, 8 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
index c21331cfba7..9b8b0aba834 100644
--- a/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex
+++ b/Master/texmf-dist/doc/xelatex/xecyr/xecyr-ex7-ru-x.tex
@@ -1,11 +1,9 @@
-\documentclass{article}
+\documentclass{article}
\usepackage{polyglossia}
-\usepackage{xecyr}
\setmainlanguage{russian}
-\setmainfont[Mapping=tex-text]{CMU Serif}
-\setmonofont{CMU Typewriter Text}
+\setmainfont{CMU Serif}
\title{Распространенные русские кодировки}
\author{Из русской <<Википедии>>}
@@ -16,20 +14,25 @@
\tableofcontents
+% Does not work with LuaLaTeX!
% Обратите внимание на названия кодировок! Они берутся отсюда: http://www.iana.org/assignments/character-sets
\XeTeXdefaultencoding "IBM866"
-\input 866
+\input inputs/866
\XeTeXdefaultencoding "KOI8-R"
-\input koi8-r
+\input inputs/koi8-r
\XeTeXdefaultencoding "windows-1251"
-\input 1251
+\input inputs/1251
\XeTeXdefaultencoding "ISO-8859-5"
-\input iso
+\input inputs/iso
\XeTeXdefaultencoding "UTF-8"
+\vspace{\stretch{1}}
+
+Конец документа :)
+
\end{document}