| 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/sphinx/writers/__pycache__/ |
Upload File : |
a
�ab�B � @ sB d Z ddlZddlZddlmZ ddlmZ ddlmZm Z m
Z
mZmZm
Z
mZmZ ddlmZmZ ddlmZmZmZ ddlmZmZ dd lmZ dd
lmZ ddlmZ ddl m!Z! dd
l"m#Z#m$Z$m%Z% ddl&m'Z'm(Z(m)Z) ddl*m+Z+ ddl,m-Z-m.Z. ddl/m0Z0 ddl1m2Z2 zddl3m4Z4 W n e5�yD ddl6m4Z4 Y n0 e�rdddl7m8Z8 ddl9m:Z: e'�;e<�Z=dZ>g d�Z?edd� dddddd��Z@d ZAd!ZBe�Cd"�ZDG d#d$� d$ejE�ZFG d%d&� d&e!�ZGG d'd(� d(ejH�ZIG d)d*� d*�ZJG d+d,� d,�ZKeLeLd-�d.d/�ZMd7eLeNeLd1�d2d3�ZOG d4d5� d5e+�ZPdd6lQmRZRmSZSmTZT dS )8a0
sphinx.writers.latex
~~~~~~~~~~~~~~~~~~~~
Custom docutils writer for LaTeX.
Much of this code is adapted from Dave Kuhlman's "docpy" writer from his
docutils sandbox.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�defaultdict)�path)�
TYPE_CHECKING�Any�Dict�Iterable�List�Set�Tuple�cast)�nodes�writers)�Element�Node�Text)�addnodes�highlighting)�RemovedInSphinx50Warning)�
IndexEntry)�StandardDomain)�SphinxError)�_�__�admonitionlabels)�logging�
split_into� texescape)�SphinxTranslator)�clean_astext�
get_prev_node)�
LaTeXRenderer)�tex_replace_map)�toRoman)�LaTeXBuilder)�Theme� )�part�chapter�sectionZ
subsectionZ
subsubsection� paragraphZsubparagraphc C s dS )N�\arabic� r+ r+ r+ �8/usr/lib/python3.9/site-packages/sphinx/writers/latex.py�<lambda>3 � r- r* z\alphz\Alphz\romanz\Roman)�arabicZ
loweralphaZ
upperalphaZ
lowerromanZ
upperroman�
z
z^(.*\S)\s+\(([^()]*)\)\s*$c @ s e Zd ZdZdS )�collected_footnotez5Footnotes that are collected are assigned this class.N)�__name__�
__module__�__qualname__�__doc__r+ r+ r+ r, r1 A s r1 c @ s e Zd ZdZdS )�UnsupportedErrorzMarkup is unsupported in LaTeXN)r2 r3 r4 �categoryr+ r+ r+ r, r6 E s r6 c s| e Zd ZU dZddddgddifddgdd ifd
dgddifffZi Zeed<