Fix :width: option for the table directives.
[docutils.git] / docutils / test / functional / expected / cyrillic.tex
blob28a48dcc151fe0c6f37e1ea69b67d0cebccaa5a0
1 \documentclass[a4paper,russian]{article}
2 % generated by Docutils <http://docutils.sourceforge.net/>
3 \usepackage{cmap} % fix search and cut-and-paste in Acrobat
4 \usepackage{ifthen}
5 \usepackage[T1,T2A]{fontenc}
6 \usepackage[utf8]{inputenc}
7 \usepackage[english,russian]{babel}
8 \setcounter{secnumdepth}{0}
10 %%% Custom LaTeX preamble
11 % PDF Standard Fonts
12 \usepackage{mathptmx} % Times
13 \usepackage[scaled=.90]{helvet}
14 \usepackage{courier}
16 %%% User specified packages and stylesheets
17 \usepackage{cmlgc}
19 %%% Fallback definitions for Docutils-specific commands
21 % titlereference role
22 \providecommand*{\DUroletitlereference}[1]{\textsl{#1}}
24 % hyperlinks:
25 \ifthenelse{\isundefined{\hypersetup}}{
26 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,unicode=true]{hyperref}
27 \usepackage{bookmark}
28 \urlstyle{same} % normal text font (alternatives: tt, rm, sf)
29 }{}
31 %%% Body
32 \begin{document}
35 \section{Заголовок%
36 \label{id1}%
39 первый пример: «Здравствуй, мир!»
42 \section{Title%
43 \label{title}%
46 \foreignlanguage{english}{first example: “Hello world”.}
49 \section{Notes%
50 \label{notes}%
53 \foreignlanguage{english}{This example tests rendering of Latin and Cyrillic characters by the LaTeX
54 and XeTeX writers. Check the compiled PDF for garbage characters in text and
55 bookmarks.}
57 \foreignlanguage{english}{To work around a problem with Cyrillic in PDF-bookmarks in \DUroletitlereference{hyperref}
58 versions older than v6.79g 2009/11/20, the test caller \texttt{latex\_cyrillic.py}
59 sets \texttt{hyperref\_options} to \texttt{'unicode=true'} while \texttt{xetex\_cyrillic.py}
60 sets it to \texttt{'unicode=false'}. The recommended option for current
61 (2011-08-24) hyperref versions is \texttt{'pdfencoding=auto'}.}
63 \end{document}