File: //lib/python3.6/site-packages/docutils/writers/html4css1/__pycache__/__init__.cpython-36.pyc
3
�2�eM� � @ s� d Z dZddlZddlZddlmZmZmZmZ ddl m
Z
ddlmZ G dd� dejj
�Z
G d d
� d
ejj�ZG dd� dejj�ZdS )
a/
Simple HyperText Markup Language document tree Writer.
The output conforms to the XHTML version 1.0 Transitional DTD
(*almost* strict). The output contains a minimum of formatting
information. The cascading style sheet "html4css1.css" is required
for proper viewing with a modern graphical browser.
ZreStructuredText� N)�frontend�nodes�writers�io)�
writer_aux)�
_html_basec @ s
e Zd Zd]ZdgZdejjejje ��ejjejj
ejjejje ��d��gZd Zejj
ejjejje ��e�Z
d
dde
d
ge
dd�fddgddejd�fddj
e� dgddejed�fddgddejd�fd d!gd"d#d$�fd%e d&gd'ejed(�fd)d*gd+j� d,d-d.�fd/d0gd1d-ejd2�fd3d4gd1d-ejd2�fd5d6gd7d8gd8d9d:d;�fd<d=gd>d?d@dAgd>d9d.�fdBdCgddejd�fdDdEgdFd#d$�fdGdHgddejd�fdIdJgdKd#d$�fdLdMgdNdOifdPdQgdNdRifdSdTgdUdd#ejdV�fdWdXgdejdY�fffZdZZd[d\� ZdS )^�Writer�html�html4� html4css1�xhtml�xhtml10z
html4css1.css�.Zhtml5_polyglotztemplate.txtzHTML-Specific OptionsNz<Specify the template file (UTF-8 encoded). Default is "%s".z
--templatez<file>)�default�metavarzhComma separated list of stylesheet URLs. Overrides previous --stylesheet and --stylesheet-path settings.z--stylesheetz<URL[,URL,...]>Zstylesheet_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: "%s"�,z--stylesheet-pathz<file[,file,...]>Z
stylesheet)r r r r z�Embed the stylesheet(s) in the output HTML file. The stylesheet files must be accessible during processing. This is the default.z--embed-stylesheet� �
store_true)r �actionr zNLink to the stylesheet(s) in the output HTML file. Default: embed stylesheets.z--link-stylesheetZembed_stylesheetZstore_false)�destr z�Comma-separated list of directories where stylesheets are found. Used by --stylesheet-path when expanding relative path arguments. Default: "%s"z--stylesheet-dirsz<dir[,dir,...]>)r r r z|Specify the initial header level. Default is 1 for "<h1>". Does not affect document title & subtitle (see --no-doc-title).z--initial-header-levelz1 2 3 4 5 6�1z<level>)�choicesr r z�Specify the maximum width (in characters) for one-column field names. Longer field names will span an entire row of the table used to render the field list. Default is 14 characters. Use 0 for "no limit".z--field-name-limit� )r r r z�Specify the maximum width (in characters) for options in option lists. Longer options will span an entire row of the table used to render the option list. Default is 14 characters. Use 0 for "no limit".z--option-limitz[Format for footnote references: one of "superscript" or "brackets". Default is "brackets".z--footnote-references�superscript�bracketsz<format>Ztrim_footnote_reference_space)r r r r z{Format for block quote attributions: one of "dash" (em-dash prefix), "parentheses"/"parens", or "none". Default is "dash".z
--attribution�dash�parentheses�parens�nonezpRemove extra vertical whitespace between items of "simple" bullet lists and enumerated lists. Default: enabled.z--compact-listsz3Disable compact simple bullet and enumerated lists.z--no-compact-lists�
compact_listszXRemove extra vertical whitespace between items of simple field lists. Default: enabled.z--compact-field-listsz#Disable compact simple field lists.z--no-compact-field-lists�compact_field_listszJAdded to standard table classes. Defined styles: "borderless". Default: ""z
--table-styler � z[Math output format, one of "MathML", "HTML", "MathJax" or "LaTeX". Default: "HTML math.css"z
--math-outputz
HTML math.cssz,Omit the XML declaration. Use with caution.z--no-xml-declarationZxml_declaration)r r r r zyObfuscate email addresses to confuse harvesters while still keeping email links usable with standards-compliant browsers.z--cloak-email-addresses)r r zhtml4css1 writerc C s i | _ t| _d S )N)�parts�HTMLTranslatorZtranslator_class)�self� r'