403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/docutils/writers/xetex/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/docutils/writers/xetex/__pycache__/__init__.cpython-39.pyc
a

OԼa��@s�dZdZddlZddlZddlZddlZddlmZmZmZm	Z	m
Z
ddlmZGdd�dej
�Z
Gdd	�d	ej�ZGd
d�dej�ZdS)z�
XeLaTeX document tree Writer.

A variant of Docutils' standard 'latex2e' writer producing LaTeX output
suited for processing with the Unicode-aware TeX engines
LuaTeX and XeTeX.
ZreStructuredText�N)�frontend�nodes�utils�writers�	languages)�latex2ec@sjeZdZdZdZdZd�gd��ZdZdZ	e
jej
jdd	ed
gedd�fd
dgdeifd�Zdd�ZdS)�Writerz9A writer for Unicode-aware LaTeX variants (XeTeX, LuaTeX))ZlxtexZxetexZxelatexZluatexZlualatexzxelatex.tex�
)z;% Linux Libertine (free, wide coverage, not only for Linux)z\setmainfont{Linux Libertine O}z\setsansfont{Linux Biolinum O}zD\setmonofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono}zxetex writer)rz
latex writerszlatex2e writerZ
font_encodingzTemplate file. Default: "%s".z
--templatez<file>)�default�metavarzUCustomization by LaTeX code in the preamble. Default: select "Linux Libertine" fonts.z--latex-preambler
)�templateZlatex_preamblecCs&tj�|�|j�ddi�t|_dS)NZfontencoding�)rr�__init__Zsettings_defaults�update�XeLaTeXTranslatorZtranslator_class)�self�r�C/usr/lib/python3.9/site-packages/docutils/writers/xetex/__init__.pyrBszWriter.__init__N)�__name__�
__module__�__qualname__�__doc__Z	supportedZdefault_template�joinZdefault_preambleZconfig_sectionZconfig_section_dependenciesrZfilter_settings_specrrZ
settings_specrrrrrr#s&���
rc@s�eZdZdZejj��Ze�dddddddd	d
ddd
dddd��e	dd�e�
�D��ZdD]Zee��=q\dd�Z
dd�ZdS)�Babelz`Language specifics for XeTeX.

    Use `polyglossia` instead of `babel` and adapt settings.
    Zcoptic�germanZogermanZdivehiZlsorbianZ	polygreekZfarsiZancientgreekZusorbianZserbian�croatianZalbanian�thaiZ
vietnamese)Zcop�dezde-1901ZdvZdsbz
el-polyton�faZgrcZhsbzsh-Cyrlzsh-Latn�sq�sr�th�vicCsg|]\}}|��|f�qSr)�lower)�.0�k�vrrr�
<listcomp>c�zBabel.<listcomp>)
�afzde-ATz
de-AT-1901zen-CAzen-GBzen-NZzen-USzfr-CAz
grc-ibycuszsr-LatncCs:||_||_|�|�|_i|_d|_d|_d|_d|_dS)Nz+Language "%s" not supported by Polyglossia.r)�"r*r*)	�
language_code�reporterZ
language_name�language�otherlanguagesZwarn_msgZquote_indexZquotesZliteral_double_quote)rr+r,rrrrtszBabel.__init__cCs<dd|jg}|jr2|�dd�t|j�����d�|�S)Nz\usepackage{polyglossia}z\setdefaultlanguage{%s}z\setotherlanguages{%s}�,r	)r-r.�appendr�sorted�keys)rZsetuprrr�__call__�s��zBabel.__call__N)rrrrrrZlanguage_codes�copyr�dict�items�keyr#rr3rrrrrHs0�rc@seZdZdZdd�ZdS)rz�
    Generate code for LaTeX using Unicode fonts (XeLaTex or LuaLaTeX).

    See the docstring of docutils.writers._html_base.HTMLTranslator for
    notes on and examples of safe subclassing.
    cCsDd|_tj�||t�|jdkr0|j�dd�nd|j|jd<dS)NT�utf8Z	_inputencz\XeTeXinputencoding %s )Zis_xetexr�LaTeXTranslatorrrZlatex_encodingZrequirements�pop)rZdocumentrrrr�s
�zXeLaTeXTranslator.__init__N)rrrrrrrrrr�sr)rZ
__docformat__�osZos.path�reZdocutilsrrrrrZdocutils.writersrrrr9rrrrr�<module>s%A

Youez - 2016 - github.com/yon3zu
LinuXploit