+
    VBi)                        R t ^ RIHt Rt^ RIHt ^ RIHt ^ RIH	t	  ! R R]P                  4      t
 ! R R	]P                  4      t ! R
 R]P                  4      tR# )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.
)annotationsreStructuredText)frontend)latex2e)PreambleCmdsc                      ] tR t^ tRtRt RtRtRtRt	]
P                  ! ]P                  P                  RR],          R.R]R	R
/3RR.R	RR]/3R7      tR R ltRtR# )Writerz9A writer for Unicode-aware LaTeX variants (XeTeX, LuaTeX)zxelatex.texz% Linux Libertine (free, wide coverage, not only for Linux)
\setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O}
\setmonofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono}zxetex writerfont_encodingzTemplate file. Default: "%s".z
--templatedefaultmetavarz<file>zUCustomization by LaTeX code in the preamble. Default: select "Linux Libertine" fonts.z--latex-preamblez
<preamble>)templatelatex_preamblec                   V ^8  d   QhRR/#    returnNone )formats   "D/usr/lib/python3.14/site-packages/docutils/writers/xetex/__init__.py__annotate__Writer.__annotate__@   s     2 2$ 2    c                	    \         P                  P                  V 4       V P                  P	                  R R/4       \
        V n        R# )fontencoding N)r   r   __init__settings_defaultsupdateXeLaTeXTranslatortranslator_class)selfs   &r   r   Writer.__init__@   s5    %%%~r&:; 1r   )r    N)latextexxetexxelatexluatexlualatex)writerszlatex writers)__name__
__module____qualname____firstlineno____doc__	supporteddefault_templatedefault_preambleconfig_sectionconfig_section_dependenciesr   filter_settings_specr   r   settings_specr   __static_attributes__r   r   r   r   r       s    CJI'$I $N"> 11$$14DD..	8DFC+,"L"$467
M2 2r   r   c                     ] tR t^FtRt]P                  P                  P                  4       t]P                  / RRbRRbRRbRR	bR
RbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRR b4       ]P                  4        U Uu/ uF  w  rV P                  4       VbK  	  upp tR' F  t]]P                  4        K  	  R!tR" R# ltR$ tR%tR&# u upp i )(BabelzXLanguage specifics for XeTeX.

Use `polyglossia` instead of `babel` and adapt settings.
copcopticdegermanzde-1901ogermandvdivehidsblsorbianz
el-polyton	polygreekfafarsigrcancientgreekkokoreanhsbusorbianzsh-Cyrlserbianzsh-Latncroatiansqalbaniansrththaivi
vietnamesez2Language "%s" not supported by LaTeX (polyglossia)c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   Babel.__annotate__u   s     
( 
(4 
(r   c                	    Wn         W n        V P                  V4      V n        / V n        R V n        ^ V n        RV n        RV n        R# )z+Language "%s" not supported by Polyglossia."N)rW   rW   )	language_codereporterlanguage_namelanguageotherlanguageswarn_msgquote_indexquotesliteral_double_quote)r!   rX   rY   s   &&&r   r   Babel.__init__u   sG    * **=9 E  %(!r   c           	     	   R RV P                   ,          .pV P                  '       dI   VP                  RRP                  \	        V P                  P                  4       4      4      ,          4       RP                  V4      # )z\usepackage{polyglossia}z\setdefaultlanguage{%s}z\setotherlanguages{%s},
)r[   r\   appendjoinsortedkeys)r!   setups   & r   __call__Babel.__call__   si    ,+dmm;=LL2&)<)<)A)A)C"DEF Gyyr   )r[   rX   r`   r\   r^   r_   rY   r]   N)
afzde-ATz
de-AT-1901zen-CAzen-GBzen-NZzen-USzfr-CAz
grc-ibycuszsr-Latn)r*   r+   r,   r-   r.   r   r8   language_codescopyr   itemslowerkeyr]   r   rj   r6   )kvs   00r   r8   r8   F   sS    ]]11668N 
h
 	h
 	i	

 	h
 	j
 	k
 	g
 	n
 	h
 	j
 	i
 	j
 	j
 	i
  	f!
" 	l#
 * 0>/C/C/EF/Etqaggil/EFN 399;' DH
( ? Gs   C
r8   c                  B   a  ] tR t^tRtR R ltRR V 3R llltRtV ;t# )r   z
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.
c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   XeLaTeXTranslator.__annotate__   s     E ED Er   c                	    R V n         \        P                  P                  W\        4       V P
                  R8X  d   V P                  P                  RR4       R# RV P
                  ,          V P                  R&   R# )Tutf8	_inputencNz\XeTeXinputencoding %s )is_xetexr   LaTeXTranslatorr   r8   latex_encodingrequirementspop)r!   documents   &&r   r   XeLaTeXTranslator.__init__   sb    ((?&(!!+t4.H040C0C/DDk*r   c                    V ^8  d   QhRRRR/# )r   
length_strstrr   r   )r   s   "r   r   rv      s      # S r   c                   < \         SV `  W4      pVP                  R4      '       dQ   V P                  '       g   \        P
                  V P                  R&   RV P                  R&   VP                  RR4      # V# )zConvert "measure" `length_str` to LaTeX length specification.

XeTeX does not know the length unit px.
Use ``\pdfpxdimen``, the macro holding the value of 1 px in pdfTeX.
This way, configuring works the same for pdftex and xetex.
px_providelengthz#
\DUprovidelength{\pdfpxdimen}{1bp}z\pdfpxdimen)superto_latex_lengthendswithfallback_stylesheetr   providelength	fallbacksreplace)r!   r   node	__class__s   &&&r   r   !XeLaTeXTranslator.to_latex_length   sm     W,Z>
t$$+++3?3M3M/0#KDNN4 %%dN;;r   )rz   )N)	r*   r+   r,   r-   r.   r   r   r6   __classcell__)r   s   @r   r   r      s    E  r   r   N)r.   
__future__r   __docformat__docutilsr   docutils.writersr   docutils.writers.latex2er   r   r8   r{   r   r   r   r   <module>r      sS    #"  $ 1#2W^^ #2LA GMM A H// r   