ó ¦į­Qc@sĆdZdZddlZddlZddlZddlZddlmZmZmZm Z m Z ddl m Z de j fd„ƒYZ de jfd „ƒYZd e jfd „ƒYZdS( sž XeLaTeX document tree Writer. A variant of Docutils' standard 'latex2e' writer producing output suited for processing with XeLaTeX (http://tug.org/xetex/). treStructuredTexti’’’’N(tfrontendtnodestutilstwriterst languages(tlatex2etWriterc BsŸeZdZdZdZdjdddd gƒZd ZdZe j e j j d ddedgied6dd6fdddgied6fƒZ d„ZRS(s9A writer for Unicode-based LaTeX variants (XeTeX, LuaTeX)txetextxelatextluatexs xelatex.texs s;% Linux Libertine (free, wide coverage, not only for Linux)s\setmainfont{Linux Libertine O}s\setsansfont{Linux Biolinum O}sD\setmonofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono}s xetex writerRslatex2e writert font_encodingttemplatesTemplate file. Default: "%s".s --templatetdefaultstmetavartlatex_preambleslCustomization by LaTeX code in the preamble. Default: select PDF standard fonts (Times, Helvetica, Courier).s--latex-preamblecCs4tjj|ƒ|jjidd6ƒt|_dS(Ntt fontencoding(RRt__init__tsettings_defaultstupdatetXeLaTeXTranslatorttranslator_class(tself((sI/usr/local/lib/python2.7/site-packages/docutils/writers/xetex/__init__.pyR>s(RR R (swritersslatex2e writer(t__name__t __module__t__doc__t supportedtdefault_templatetjointdefault_preambletconfig_sectiontconfig_section_dependenciesRtfilter_settings_specRRt settings_specR(((sI/usr/local/lib/python2.7/site-packages/docutils/writers/xetex/__init__.pyR"s&  tBabelcBsżeZdZejjjƒZejidd6dd6dd6dd6d d 6d d 6d d6dd6dd6dd6dd6dd6dd6dd6dd6ƒegej ƒD]\Z Z e j ƒe f^q¤ƒZxd&D]Z ee j ƒ=qŅWd$„Zd%„ZRS('s`Language specifics for XeTeX. Use `polyglossia` instead of `babel` and adapt settings. tcoptictcoptgermantdetogermansde-1901tdivehitdvtlsorbiantdsbt polygreeks el-polytontfarsitfat ancientgreektgrctusorbianthsbtserbianssh-Cyrltcroatianssh-Latntalbaniantsqtsrtthaittht vietnamesetvitafsde-ATs de-AT-1901sfr-CAs grc-ibycusssr-LatncCsU||_||_|j|ƒ|_i|_d|_d|_d|_d|_dS(Ns3Language "%s" not supported by XeTeX (polyglossia).it"u"(R>R>( t language_codetreportert language_nametlanguagetotherlanguagestwarn_msgt quote_indextquotestliteral_double_quote(RR?R@((sI/usr/local/lib/python2.7/site-packages/docutils/writers/xetex/__init__.pyRks      cCsUdd|jg}|jrH|jddjt|jjƒƒƒƒndj|ƒS(Ns\usepackage{polyglossia}s\setdefaultlanguage{%s}s\setotherlanguages{%s}t,s (RBRCtappendRtsortedtkeys(Rtsetup((sI/usr/local/lib/python2.7/site-packages/docutils/writers/xetex/__init__.pyt__call__ws   #(R=sde-ATs de-AT-1901sfr-CAs grc-ibycusssr-Latn(RRRRR#tlanguage_codestcopyRtdicttitemstktvtlowertkeyRRM(((sI/usr/local/lib/python2.7/site-packages/docutils/writers/xetex/__init__.pyR#Ds8  7  RcBseZd„ZRS(cCs\t|_tjj||tƒ|jdkrD|jjddƒnd|j|jds    ("<