V!\c@sdZdZddlZddlZddlmZmZmZmZddl m Z ddl m Z dej j fdYZ d ej jfd YZd ej jfd YZdS( s/ 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. treStructuredTextiN(tfrontendtnodestwriterstio(t writer_aux(t _html_basetWritercBseZdUZdgZdejjejjeejjejj ejjejjedgZ dZ ejj ejjejjee Z d dVd e d gie d 6d d6fddgidd6dd6ejd6fddj edgidd6dd6ejd6ed 6fddgidd 6dd6ejd6fdd gid!d"6d#d6fd$e d%gid&d6ejd6e d 6fd'd(gid)jd*6d+d 6d,d6fd-d.gid/d 6d,d6ejd6fd0d1gid/d 6d,d6ejd6fd2d3gid4d5gd*6d5d 6d6d6d7d6fd8d9gid:d;d<d=gd*6d:d 6d6d6fd>d?gidd 6dd6ejd6fd@dAgidBd"6d#d6fdCdDgidd 6dd6ejd6fdEdFgidGd"6d#d6fdHdIgidJd 6fdKdLgidMd 6fdNdOgidPd"6dd 6d#d6ejd6fdQdRgidd6ejd6fffZdSZdTZRS(Wthtmlthtml4t html4css1txhtmltxhtml10s html4css1.csst.thtml5_polyglots template.txtsHTML-Specific Optionss<Specify the template file (UTF-8 encoded). Default is "%s".s --templatetdefaultstmetavarshComma separated list of stylesheet URLs. Overrides previous --stylesheet and --stylesheet-path settings.s --stylesheetststylesheet_patht overridest validatorsComma 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-pathst stylesheetsEmbed 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_stylesheettdestt store_falsesComma-separated list of directories where stylesheets are found. Used by --stylesheet-path when expanding relative path arguments. Default: "%s"s--stylesheet-dirsss|Specify the initial header level. Default is 1 for "

". Does not affect document title & subtitle (see --no-doc-title).s--initial-header-levels 1 2 3 4 5 6tchoicest1ssSpecify 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".s--field-name-limitisSpecify 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".s--option-limits[Format for footnote references: one of "superscript" or "brackets". Default is "brackets".s--footnote-referencest superscripttbracketssttrim_footnote_reference_spaces{Format for block quote attributions: one of "dash" (em-dash prefix), "parentheses"/"parens", or "none". Default is "dash".s --attributiontdasht parenthesestparenstnonespRemove 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_listssJAdded to standard table classes. Defined styles: "borderless". Default: ""s --table-stylets[Math output format, one of "MathML", "HTML", "MathJax" or "LaTeX". Default: "HTML math.css"s --math-outputs HTML math.csss,Omit the XML declaration. Use with caution.s--no-xml-declarationtxml_declarationsyObfuscate email addresses to confuse harvesters while still keeping email links usable with standards-compliant browsers.s--cloak-email-addressesshtml4css1 writercCsi|_t|_dS(N(tpartstHTMLTranslatorttranslator_class(tself((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt__init__s (shtmlR R R R N(t__name__t __module__t supportedtdefault_stylesheetstostpathtabspathtdirnamet__file__tjointdefault_stylesheet_dirstdefault_templatetdefault_template_pathtNoneRtvalidate_comma_separated_listtvalidate_booleantsplittvalidate_nonnegative_intt settings_spectconfig_sectionR,(((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyRs * $                  R)cBseZdZdZdZdZeejj Z de dZ9d?Z:d@Z;dAZ<dBZ=dCZ>dDZ?dEZ@dFZAdGZBdHZCdIZDdJZEdKZFdLZGdMZHdNZIdOZJdPZKdQZLdRZMdSZNdTZOdUZPRS(ZsH The html4css1 writer has been optimized to produce visually compact lists (less vertical whitespace). HTML's mixed content models allow list items to contain "
  • body elements

  • " or "
  • just text
  • " or even "
  • text

    and body elements

    combined
  • ", each with different effects. It would be best to stick with strict body elements in list items, but they affect vertical spacing in older browsers (although they really shouldn't). The html5_polyglot writer solves this using CSS2. Here is an outline of the optimization: - Check for and omit

    tags in "simple" lists: list items contain either a single paragraph, a nested simple list, or a paragraph followed by a nested simple list. This means that this list can be compact: - Item 1. - Item 2. But this list cannot be compact: - Item 1. This second paragraph forces space between list items. - Item 2. - In non-list contexts, omit

    tags on a paragraph if that paragraph is the only child of its parent (footnotes & citations are allowed a label first). - Regardless of the above, in definitions, table cells, field bodies, option descriptions, and list items, mark the first child with 'class="first"' and the last child with 'class="last"'. The stylesheet sets the margins (top & bottom respectively) to 0 for these elements. The ``no_compact_lists`` setting (``--no-compact-lists`` command-line option) disables list whitespace optimization. sz sC sO u is—R&R t(t)R!R"R#cCs*|j|dd|j|dddS(Ntfirstitlasti(tset_class_on_child(R+tnode((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytset_first_lastscCs<|j|ddt|jj|j|ddddS(NtaddresstmetatpretCLASS(tvisit_docinfo_itemtFalsetbodytappendtstarttag(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_addressscCsA|djdd|jj|j|d|j|dS(Ntclassesit admonitiontdiv(tinsertRNRORPRG(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_admonitionscCsHt|jtjr4|jrD|jjdqDn|j|ddS(Ns
    tauthor(t isinstancetparentRtauthorstauthor_in_authorsRNRORL(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_authors cCs/t|jtjr!t|_n |jdS(N(RXRYRRZtTrueR[tdepart_docinfo_item(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_authors cCs|j|dt|_dS(NRZ(RLRMR[(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_authorsscCs|jdS(N(R^(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_authorsscCs3|jj||jjj|jjddS(Ntstub(tcolspecsRORYtstubst attributestget(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_colspecscCs t|jdtdttjr(dSd|jjdksfd|jjkrjd|jjdkrjdSt d|j D}|j j |j |dxS|j D]H}t|dd |d }|j j |j|d d d |qW|j j ddS(Ntdescendtsiblingsscolwidths-autoRRscolwidths-givencss|]}|dVqdS(tcolwidthN((t.0RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pys stcolgroupRjgY@g?tcoltwidths%i%%s (RXt next_nodeRMR]RtcolspecRYtsettingst table_styletsumRcRNRORPtinttemptytag(R+RFt total_widthRj((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_colspecs cCsTd|dkpS|jjoSd|dkoS|jpS|jdgkpS|j|S(NtcompactRRtopentcontents(RqR$tcompact_simplet topic_classestcheck_simple_list(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytis_compactables   c CsO|jj|j|ddddddd|jjd|j|dS( NttableRKsdocutils citationtframetvoidtrulesR#sK (RNRORPtfootnote_backrefs(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_citations cCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_citation'scCs9|jjd|jj|j|dddddS(Ns- : tspanR&RKt classifier(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_classifier,scCs@|jjd|jj|j|dd|j|dS(Ns tddR&(RNRORPRG(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_definition1scCs&|jj|j|ddddS(NtdlRKtdocutils(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_definition_list7scCs0|jj|j|dd|j|dS(NttdR&(RNRORPRG(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_description;scCs|jjddS(Ns(RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_description?sc Csd|jjt|j|jj|j|ddddddd|jjdt|_dS( NRRKtdocinfoRRRR#sR (tcontextROtlenRNRPR]t in_docinfo(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_docinfoCs cCsE|jjdt|_|jj}|j||_g|_dS(Ns (RNRORMRRtpopR(R+RFtstart((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_docinfoMs  cCs|r5d||j|jf}|j|n|jj|j|dd|jjd|jj|t|rt |dt j r|ddjdnt |dt j r|ddjd qndS( Ns ttrR&s&%s: iRRRCiRD( tattvaltastexttadd_metaRNRORPtlanguagetlabelsRRXRtElement(R+RFtnameRItmeta_tag((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyRLTs  cCs|jjddS(Ns (RNRO(R+((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR^bscCs&|jj|j|ddddS(NRJRKs doctest-block(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_doctest_blockfscCsLtjjj||t|dkr;|jjdn|j|dS(Nis (RRR)t visit_entryRRNRORG(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyRjscCsi}d|kr#|d|d (RRR{RRNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_enumerated_listscCs)|jj|j|dddddS(NRR&RKtfield(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_fieldscCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_fieldscCs|jj|j|dddd|j|dd|j}|jst|jtjs|jj |t |jdkr|j|dd ndS( NRR&RKs field-bodyRCiiRDi( RNRORPRERYtcompact_field_listRXRRtindexR(R+RFR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_field_bodys%  %cCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_field_bodysc Cse|jj|j|jfd|_d|dkrAt|_n(|jjrid|dkrit|_n|jr#x|D]}|d}t|t j st g|D]}t|t j s|^q}t |dkp t |dko t|dt jt jfsyt|_PqyqyWn|jj|j|ddd d d d d |jjddS(NRxRRRyiiiRRRRR#RKsdocutils field-listsK (RRORRR:R]RqR%RXRt field_bodytAssertionErrort InvisibleRt paragrapht line_blockRMRNRP(R+RFRRtntchildren((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_field_lists.            cCs/|jjd|jj\|_|_dS(Ns (RNRORRRR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_field_listscCsi}|jrd|d RR&RKRs tth( RRqtfield_name_limitRRRRORPRYRN(R+RFR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_field_names      *cCs-|jjd|jj|jjdS(Ns:(RNRORR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_field_namesc CsO|jj|j|ddddddd|jjd|j|dS( NRRKsdocutils footnoteRRRR#sK (RNRORPR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_footnotes cCsMg}|d}|jjr|rt|dkro|jjd|jjd|jjd|dqx5t|D]'\}}|jd||dfq|W|jjdd j||jddg7_n%|jjd|jddg7_t|dkrI|s1|dd jd n|d d jd ndS(NtbackrefsiR&ss!is'%ss(%s) s, RRRCiRD(Rqtfootnote_backlinksRRROt enumerateR6(R+RFt backlinksRtitbackref((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyRs&   cCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_footnotesc Csd|d}|jj}|dkr?d}|jjdn(|dksQtd}|jjd|jj|j|d |d d d |dS( Nt#trefidRt[t]RsstaRKsfootnote-referencethref(Rqtfootnote_referencesRRORRNRP(R+RFRtformattsuffix((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_footnote_references  cCs!|jj|jjddS(Ns(RNRORR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_footnote_reference scCsdS(N((R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_generatedss image/svg+xmls.svgsapplication/x-shockwave-flashs.swfcCs6|jj|j|dd|jjdddS(NRs%s[RKtlabel(RNRORPRR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_labels(cCs0|jjd|jj|jjfdS(Ns]%s%s(RNRORR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_labelscCsG|jj|j|ddt|rC|ddjdndS(NtliR&iRRRC(RNRORPR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_list_item"s cCsp|jdg}d|krjg|D]}|dkr%|^q%|d<|jj|j|dddS|jj|j|dddd|j}x|jj|D]}|jr|jj |r|jjd|j |qO|jj|j |q|d kr-|jj|q|jjd t |d d qW|jjd t j dS(NRRtcodeR&tttRKsdocutils literals%ss t s is(s R(RfRNRORPRtwords_and_spacestfindallRtin_word_wrap_pointtsearchtencodeRRtSkipNode(R+RFRRtclsttextttoken((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_literal)s& )     &cCs&|jj|j|ddddS(NRJRKs literal-block(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_literal_blockHscCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_literal_blockLscCsi}|jjrMt|j|jjkrMd|d<|jjdn|jjd|jj|j|ddd||jjd|jjd dS( NiRs  R&RRKs option-groupsi(Rqt option_limitRRRRORNRP(R+RFR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_option_groupPs   cCs:|jj|jjd|jj|jjdS(Ns (RRRNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_option_group]s c CsB|jj|j|ddddddd|jjddS( NRRKsdocutils option-listRRRR#sH (RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_option_listbs cCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_option_listjscCs#|jj|j|dddS(NRR&(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_option_list_itemmscCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_option_list_itempscCsXt|jtjs*t|jtjr.tSx^|jD]P\}}|j|r;|dko|gdgdgddgfk r;tSq;Wt|jdtj}xA|jj |D]/}t|tj rqn||krPntSWt g|jD]'}t|tj tjfs|^q}|j sP|j sP|jrT|dkrTtStS(sU Determine if the

    tags around paragraph ``node`` can be omitted. RRRCRDii(RXRYRtdocumenttcompoundRMtattlisttis_not_defaultRRRRR{RRR](R+RFtkeytvalueRCtchildRt parent_length((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytshould_be_compact_paragraphus," '  cCsU|j|r"|jjdn/|jj|j|dd|jjddS(NR&tps

    (RRRORNRP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_paragraphscCs|jj|jjdS(N(RNRORR(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_paragraphscCs<|jj|j|ddd|j|t|_dS(NRTRKtsidebar(RNRORPRGR]t in_sidebar(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_sidebars  cCs`t|jtjr=|jj|j|ddddn|jj|j|dddS(NRR&RKt subscripttsub(RXRYRt literal_blockRNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_subscripts cCs<t|jtjr(|jjdn|jjddS(Nss(RXRYRRRNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_subscriptscCs2t|jtjrM|jj|j|dddd|jjdnt|jtjr|jj|j|dddd|jjdt |j|_ nt|jtj r.d |j |j d }|jj|j||ddd |jid ddd |jjd |ndS(NRR&RKssidebar-subtitles

    th2tsubtitles

    sh%sissection-subtitleRs (RXRYRRRNRORPRRRtin_document_titletsectiont section_leveltinitial_header_level(R+RFttag((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_subtitles % cCsu|jj|jj|jrq|j|jd!|_d|_|jj|j|jj|j|j2ndS(Nii( RNRORRRRtbody_pre_docinfotextendt html_subtitle(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_subtitles  cCs`t|jtjr=|jj|j|ddddn|jj|j|dddS(NRR&RKRtsup(RXRYRRRNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_superscripts cCs<t|jtjr(|jjdn|jjddS(Nss(RXRYRRRNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytdepart_superscriptscCs+|jj|j|ddd|jjdd}t|dr|d}t|dkrud|d }qd}g}x/|D]'}|jd ||f|d7}qWd d j|}n|jd rd|d }nd}|jjd|d|d|j|d||fdS(NRTRKssystem-messages

    R&Ris%; backlinkis%ss; backlinks: %ss, tlines , line %ss=System Message: %s/%s (%s%s)%s

    ttypetleveltsource(RNRORPRR6thasattrR(R+RFt backref_textRRRRR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pytvisit_system_messages*"   cCs|jj|jt|_d|jjg}d|krR|jd|dn|jj|j|dddj|dddS( NRtalignsalign-%sRRKRtborderR( RRORR]RqRrRNRPR6(R+RFRR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_tables   cCs&|jj|_|jjddS(Ns (RRRRNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_tablescCs&|jj|j|ddddS(Nttbodytvalignttop(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_tbodyscCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_tbodyscCs&|jj|j|ddddS(NttheadR tbottom(RNRORP(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt visit_thead scCs|jjddS(Ns (RNRO(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt depart_theads(s—R&(RARB(RARB(R&R&(QR-R.t__doc__tdoctypet content_typetcontent_type_mathmltdictRR)tspecial_characterstattribution_formatsRGRQRVR\R_R`RaRgRwR~RRRRRRRRRR]RLR^RRRRRRRRRRRRRRRRRRtobject_image_typesRRRRRRRRRRRRRRRRRRR RRRRRRR"R#R&R'(((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR)s)                                                               tSimpleListCheckercBs2eZdZdZdZdZdZRS(s Raise `nodes.NodeFound` if non-simple list item is encountered. Here "simple" means a list item containing nothing other than a single paragraph, a simple list, or a paragraph followed by a simple list. cCsg}x3|jD](}t|tjs|j|qqW|rt|dtjrt|dtjst|dtjr|jnt |dkrdStj dS(Niii( RRXRRRORt bullet_listtenumerated_listRRt NodeFound(R+RFRR((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyRs cCs tjdS(N(RR3(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR2scCs tjdS(N(RR3(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR5scCs tjdS(N(RR3(R+RF((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR8s(R-R.R(RRR(((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyR0s    (R(t __docformat__tos.pathR1RRRRRtdocutils.transformsRtdocutils.writersRRR)R0(((sG/tmp/pip-install-usGedi/docutils/docutils/writers/html4css1/__init__.pyt s  "|