← Back
Editing: _html_base.cpython-311.pyc
� ��bm � � � d Z ddlZddlZddlZddlZddlZddlmZ ddlZddl Z ddl m Z mZmZm Z mZ ddlmZ ddlmZ ddlmZ ddlmZmZmZmZmZ G d � d ej � � Z G d� dej � � Z G d � dej � � ZdS )z,common definitions for Docutils HTML writers� N)�url2pathname)�frontend� languages�nodes�utils�writers)� length_or_percentage_or_unitless)�PIL)� writer_aux)�unichar2tex�pick_math_environment� math2html�latex2mathml�tex2mathml_externc � � e Zd ZdZ ddddgddifdd gd dej d�fd dgddej d�fddgdej d�fddgddej d�fddgddd�fdd gd!� � � d"d#d$�fd%d&gd'd(gd(d)d*d+�fd,d-gg d.�d/d)d$�fd0d1gd2dej d�fd3d4gd5dd�fd6d7gd2dej d�fd8d9gd:dd�fd;d<gd=d>ifd?d@gd=dAifdBdCgdDdej d�fdEdFgdGdd�fdHdIgdej dJ�fffZdKdLiZ dMZ dNZdOZdP� Z dQ� ZdR� ZdS� ZdT� ZdS )U�Writer)�html�xhtmlzHTML Writer OptionsNzFSpecify the template file (UTF-8 encoded). (default: writer dependent)z --template�metavarz<file>zhComma separated list of stylesheet URLs. Overrides previous --stylesheet and --stylesheet-path settings.z--stylesheetz<URL[,URL,...]>�stylesheet_path)r � overrides� validatorz�Comma separated list of stylesheet paths. Relative paths are expanded if a matching file is found in the --stylesheet-dirs. With --link-stylesheet, the path is rewritten relative to the output HTML file. (default: writer dependent)z--stylesheet-pathz<file[,file,...]>� stylesheetz�Comma-separated list of directories where stylesheets are found. Used by --stylesheet-path when expanding relative path arguments. (default: writer dependent)z--stylesheet-dirsz<dir[,dir,...]>)r r zvEmbed the stylesheet(s) in the output HTML file. The stylesheet files must be accessible during processing. (default)z--embed-stylesheet� � store_true)�default�actionr z3Link to the stylesheet(s) in the output HTML file. z--link-stylesheet�embed_stylesheet�store_false)�destr z}Specify the initial header level. Does not affect document title & subtitle (see --no-doc-title).(default: writer dependent).z--initial-header-levelz1 2 3 4 5 6�2z<level>)�choicesr r zYFormat for footnote references: one of "superscript" or "brackets". (default: "brackets")z--footnote-references�superscript�bracketsz<format>�trim_footnote_reference_space)r"