§
    ŽŸjÀ
  ã                   óB   — d Z ddlmZmZ ddlmZ  G d„ de¦  «        ZdS )zWModule that allows latex output notebooks to be conditioned before
they are converted.
é    )ÚListÚUnicodeé   )ÚPreprocessorc                   ó8  — e Zd ZdZ eddd¬¦  «                             d¬¦  «        Z eddd¬¦  «                             d¬¦  «        Z e e¦   «         ddd¬	¦  «                             d¬¦  «        Z	 ed
d¬¦  «                             d¬¦  «        Z
d„ ZdS )ÚLatexPreprocessora  Preprocessor for latex destined documents.

    Populates the ``latex`` key in the resources dict,
    adding definitions for pygments highlight styles.

    Sets the authors, date and title of the latex document,
    overriding the values given in the metadata.
    NzDate of the LaTeX documentT)ÚhelpÚ
allow_none)ÚconfigzTitle of the LaTeX documentz*Author names to list in the LaTeX document)Údefault_valuer	   r
   Údefaultz!Name of the pygments style to use)r	   c                 ó–  — ddl m} |                     di ¦  «         |d                              d || j        ¬¦  «                             ¦   «         ¦  «         |d                              d| j        ¦  «         | j        �d„ | j        D ¦   «         |j        d	<   | j        �| j        |j        d
<   | j        �| j        |j        d<   ||fS )aB  Preprocessing to apply on each notebook.

        Parameters
        ----------
        nb : NotebookNode
            Notebook being converted
        resources : dictionary
            Additional resources used in the conversion process.  Allows
            preprocessors to pass variables into the Jinja engine.
        r   )ÚLatexFormatterÚlatexÚpygments_definitions)ÚstyleÚpygments_style_nameNc                 ó   — g | ]}d |i‘ŒS )Úname© )Ú.0Úauthors     új/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/nbconvert/preprocessors/latex.pyú
<listcomp>z0LatexPreprocessor.preprocess.<locals>.<listcomp>I   s   € Ð%WÐ%WÐ%W¸6 v¨vÐ&6Ð%WÐ%WÐ%Wó    ÚauthorsÚdateÚtitle)	Úpygments.formattersr   Ú
setdefaultr   Úget_style_defsÚauthor_namesÚmetadatar   r   )ÚselfÚnbÚ	resourcesr   s       r   Ú
preprocesszLatexPreprocessor.preprocess4   så   € ð 	7Ð6Ð6Ð6Ð6Ð6à×Ò˜W bÑ)Ô)Ð)Ø�'Ô×%Ò%Ø" N N¸¼Ð$DÑ$DÔ$D×$SÒ$SÑ$UÔ$Uñ	
ô 	
ð 	
ð 	�'Ô×%Ò%Ð&;¸T¼ZÑHÔHÐHàÔÐ(Ø%WÐ%WÀTÔEVÐ%WÑ%WÔ%WˆBŒK˜	Ñ"àŒ9Ð Ø"&¤)ˆBŒK˜ÑàŒ:Ð!Ø#'¤:ˆBŒK˜Ñ à�9ˆ}Ðr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Útagr   r   r   r"   r   r'   r   r   r   r   r      sò   € € € € € ðð ð ˆ7ØØ*Øðñ ô ÷ 
‚c�€cÑÔð	 	ð ˆG�DÐ =È4ÐPÑPÔP×TÒTÐ\`ÐTÑaÔa€Eà�4Øˆ‰	Œ	ØØ:Øð	ñ ô ÷
 
‚c�€cÑÔð ð ˆG�IÐ$GÐHÑHÔH×LÒLÐTXÐLÑYÔY€Eðð ð ð ð r   r   N)r+   Ú	traitletsr   r   Úbaser   r   r   r   r   ú<module>r/      so   ððð ð $Ð #Ð #Ð #Ð #Ð #Ð #Ð #à Ð Ð Ð Ð Ð ð8ð 8ð 8ð 8ð 8˜ñ 8ô 8ð 8ð 8ð 8r   