Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
builders
/
latex
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: theming.cpython-310.pyc
o �$�a$ � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl mZ ddlm Z dd lmZ e�e�ZG d d� d�ZG dd � d e�ZG dd� de�ZG dd� d�ZdS )z� sphinx.builders.latex.theming ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Theming support for LaTeX builder. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�path)�Dict)�Sphinx)�Config)� ThemeError)�__)�loggingc @ sD e Zd ZdZddgZddgZdeddfdd�Zd eddfd d�Z dS )�ThemezA set of LaTeX configurations.� papersize� pointsize�name�returnNc C s( || _ || _|| _d| _d| _d| _d S )N�letterpaper�10pt�chapter)r �docclass�wrapperclassr r �toplevel_sectioning)�selfr � r �?/usr/lib/python3/dist-packages/sphinx/builders/latex/theming.py�__init__ s zTheme.__init__�configc C s^ | j D ]}|j�|�r|j| }t| ||� q| jD ]}||jv r,|j| }t| ||� qdS )z0Override theme settings by user's configuration.N)�LATEX_ELEMENTS_KEYS�latex_elements�get�setattr�UPDATABLE_KEYS�latex_theme_options)r r �key�valuer r r �update&