Document the section subtitle transform in the functional tests.
[docutils.git] / test / functional / expected / xetex-cyrillic.tex
blobdf14c632299e11229348f69e738bead12d903b74
1 \documentclass[a4paper,russian]{article}
2 % generated by Docutils <http://docutils.sourceforge.net/>
3 % rubber: set program xelatex
4 \usepackage[no-sscript]{xltxtra} % loads fixltx2e, metalogo, xunicode, fontspec
5 \defaultfontfeatures{Scale=MatchLowercase}
6 \usepackage{ifthen}
7 \usepackage{polyglossia}
8 \setdefaultlanguage{russian}
9 \setotherlanguages{english}
11 %%% Custom LaTeX preamble
12 % Linux Libertine (free, wide coverage, not only for Linux)
13 \setmainfont{Linux Libertine O}
14 \setsansfont{Linux Biolinum O}
15 \setmonofont[HyphenChar=None]{DejaVu Sans Mono}
17 %%% User specified packages and stylesheets
19 %%% Fallback definitions for Docutils-specific commands
21 % hyperlinks:
22 \ifthenelse{\isundefined{\hypersetup}}{
23 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,unicode=false]{hyperref}
24 \urlstyle{same} % normal text font (alternatives: tt, rm, sf)
25 }{}
28 %%% Body
29 \begin{document}
32 %___________________________________________________________________________
34 \section*{\phantomsection%
35 Заголовок%
36 \addcontentsline{toc}{section}{Заголовок}%
37 \label{id1}%
40 первый пример: "Здравствуй, мир!"
43 %___________________________________________________________________________
45 \section*{\phantomsection%
46 Title%
47 \addcontentsline{toc}{section}{Title}%
48 \label{title}%
51 \otherlanguage{english}{first example: "Hello world".}
53 \end{document}