Your IP : 216.73.216.213


Current Path : /opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyc

�
I��Xc@s�dZdZddlZddlZddlmZmZmZmZddl	m
Z
ddlmZdejj
fd��YZ
d	ejjfd
��YZdS(s�
Plain HyperText Markup Language document tree Writer.

The output conforms to the `HTML5` specification.

The cascading style sheet "minimal.css" is required for proper viewing,
the style sheet "plain.css" improves reading experience.
treStructuredTexti����N(tfrontendtnodestwriterstio(t
writer_aux(t
_html_basetWritercBs$eZdRZddgZdejjejje��gZ	dZ
ejjejjejje��e
�Zd	dSd
edgied6d
d6fddgidd6dd6ejd6fddje�dgidd6dd6ejd6ed6fddgidd6dd6ejd6fdd gid!d"6d#d6fd$e	d%gid&d6ejd6e	d6fd'd(gid)j�d*6d+d6d,d6fd-d.gid/d0gd*6d0d6d1d6d2d6fd3d4gid5d6d7d8gd*6d5d6d1d6fd9d:gied6dd6ejd6fd;d<gid=d"6d#d6fd>d?gied6dd6ejd6fd@dAgidBd"6d#d6fdCdDgidEd6fdFdGgidHd6fdIdJgied6dd6ejd6fdKdLgidMd"6d#d6fdNdOgidd6ejd6fffZdPZdQ�ZRS(Tthtmlthtml5thtml4txhtmltxhtml10sminimal.csss	plain.csst.stemplate.txtsHTML-Specific Optionss<Specify the template file (UTF-8 encoded).  Default is "%s".s
--templatetdefaults<file>tmetavarshComma separated list of stylesheet URLs. Overrides previous --stylesheet and --stylesheet-path settings.s--stylesheets<URL[,URL,...]>tstylesheet_patht	overridest	validators�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"t,s--stylesheet-paths<file[,file,...]>t
stylesheets�Embed the stylesheet(s) in the output HTML file.  The stylesheet files must be accessible during processing. This is the default.s--embed-stylesheetit
store_truetactionsNLink to the stylesheet(s) in the output HTML file. Default: embed stylesheets.s--link-stylesheettembed_stylesheettdesttstore_falses�Comma-separated list of directories where stylesheets are found. Used by --stylesheet-path when expanding relative path arguments. Default: "%s"s--stylesheet-dirss<dir[,dir,...]>s|Specify the initial header level.  Default is 1 for "<h1>".  Does not affect document title & subtitle (see --no-doc-title).s--initial-header-levels1 2 3 4 5 6tchoicest1s<level>s[Format for footnote references: one of "superscript" or "brackets".  Default is "brackets".s--footnote-referencestsuperscripttbracketss<format>ttrim_footnote_reference_spaces{Format for block quote attributions: one of "dash" (em-dash prefix), "parentheses"/"parens", or "none".  Default is "dash".s
--attributiontdashtparenthesestparenstnonespRemove extra vertical whitespace between items of "simple" bullet lists and enumerated lists.  Default: enabled.s--compact-listss3Disable compact simple bullet and enumerated lists.s--no-compact-listst
compact_listssXRemove extra vertical whitespace between items of simple field lists.  Default: enabled.s--compact-field-listss#Disable compact simple field lists.s--no-compact-field-liststcompact_field_listss�Added to standard table classes. Defined styles: borderless, booktabs, align-left, align-center, align-right, colwidths-auto. Default: ""s
--table-styletskMath output format (one of "MathML", "HTML", "MathJax", or "LaTeX") and option(s). Default: "HTML math.css"s
--math-outputs
HTML math.csssGPrepend an XML declaration. (Thwarts HTML5 conformance.) Default: Falses--xml-declarationsOmit the XML declaration.s--no-xml-declarationtxml_declarationsyObfuscate email addresses to confuse harvesters while still keeping email links usable with standards-compliant browsers.s--cloak-email-addressesshtml5 writercCsi|_t|_dS(N(tpartstHTMLTranslatorttranslator_class(tself((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt__init__�s	(RR	R
RRN(t__name__t
__module__t	supportedtdefault_stylesheetstostpathtabspathtdirnamet__file__tdefault_stylesheet_dirstdefault_templatetjointdefault_template_pathtNoneRtvalidate_comma_separated_listtvalidate_booleantsplittTruetFalset
settings_spectconfig_sectionR+(((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyR$s�$	$














 R(cBszeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
s>
    This writer generates `polyglot markup`: HTML5 that is also valid XML.

    Safe subclassing: when overriding, treat ``visit_*`` and ``depart_*``
    methods as a unit to prevent breaks due to internal changes. See the
    docstring of docutils.writers._html_base.HTMLTranslator for details
    and examples.
    cCs#|jj|j|dd��dS(NtabbrR%(tbodytappendtstarttag(R*tnode((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt
visit_acronym�scCs|jjd�dS(Ns</abbr>(RBRC(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_acronym�scCs|j|ddt�dS(Ntauthorstmeta(tvisit_docinfo_itemR>(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt
visit_authors�scCs|j�dS(N(tdepart_docinfo_item(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_authors�scCs|j|ddt�dS(Nt	copyrightRI(RJR>(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytvisit_copyright�scCs|j�dS(N(RL(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_copyright�scCs|j|ddt�dS(NtdateRI(RJR>(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt
visit_date�scCs|j�dS(N(RL(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_date�scCsL|jd�r |d|d<n|j|d|j��}|j|�dS(Ntlangsxml:langRI(thasattrtemptytagtnon_default_attributestadd_meta(R*RERI((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt
visit_meta�scCsdS(N((R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_meta�scCs|j|ddt�dS(NtorganizationRI(RJR>(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytvisit_organization�scCs|j�dS(N(RL(R*RE((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pytdepart_organization�s(R,R-t__doc__RFRGRKRMRORPRRRSRYRZR\R](((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyR(�s								
			(R^t
__docformat__tos.pathR0tdocutilsRRRRtdocutils.transformsRtdocutils.writersRRR((((sY/opt/alt/python27/lib/python2.7/site-packages/docutils/writers/html5_polyglot/__init__.pyt<module>s"p