File: xetex_cyrillic.py

package info (click to toggle)
python-docutils 0.14%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,976 kB
  • sloc: python: 44,718; lisp: 14,476; xml: 1,782; sh: 167; makefile: 150
file content (15 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Source and destination file names.
test_source = "cyrillic.txt"
test_destination = "xetex-cyrillic.tex"

# Keyword parameters passed to publish_file.
writer_name = "xetex"

# Settings
settings_overrides['language_code'] = 'ru'
# Override the automatic addition of "unicode" option for "russian"
# language to work around a problem with cyrillic in PDF-bookmarks in
# hyperref versions < v6.79g 2009/11/20 
settings_overrides['hyperref_options'] = 'unicode=false'
# use "smartquotes" transition:
settings_overrides['smart_quotes'] = True