mò 1Oc@sñdZdZdkZdkZdkZdkZdklZlZlZdk l Z dk l Z dk lZeieiieiƒdƒeiieiieƒdƒƒZd „Zd e ifd „ƒYZd e ifd „ƒYZdS(s S5/HTML Slideshow Writer. treStructuredTextN(sfrontendsnodessutils(s html4css1(s directives(tbtdummytthemescCsItiit|ƒ}tii|ƒptid||fƒ‚n|S(Ns(Theme directory not found: %r (path: %r)(tostpathtjointthemes_dir_pathtnametisdirtdocutilstApplicationError(RR((t{/home/project-web/docutils/web-update/infrastructure/update-dir/aux/snapshots/docutils/docutils/writers/s5_html/__init__.pyt find_themestWritercBsžtZeiiddddghdd<dd<dd " directory, in the same directory as the destination file (output HTML). Note that existing theme files will not be overwritten (unless --overwrite-theme-files is used).s--themetdefaulttmetavarst overridest theme_urls�Specify an S5 theme URL. The destination file (output HTML) will link to this theme; nothing will be copied. Overrides --theme.s --theme-urlstthemes{Allow existing theme files in the ``ui/`` directory to be overwritten. The default is not to overwrite theme files.s--overwrite-theme-filestactiont store_truet validatorsfKeep existing theme files in the ``ui/`` directory; do not overwrite any. This is the default.s--keep-theme-filestdesttoverwrite_theme_filest store_falses@Set the initial view mode to "slideshow" [default] or "outline".s --view-modetchoicest slideshowtoutlinessONormally hide the presentation controls in slideshow mode. This is the default.s--hidden-controlss^Always show the presentation controls in slideshow mode. The default is to hide the controls.s--visible-controlsthidden_controlssMEnable the current slide indicator ("1 / 15"). The default is to disable it.s--current-slides:Disable the current slide indicator. This is the default.s--no-current-slidet current_slidet toc_backlinksiss5_html writertwritersshtml4css1 writercCstii|ƒt|_dS(N(t html4css1Rt__init__tselftS5HTMLTranslatorttranslator_class(R#((R R"Ys( t__name__t __module__R!Rt settings_spectfrontendtvalidate_booleantTruetsettings_default_overridestconfig_sectiontconfig_section_dependenciesR"(((R R$s ÿm. R$cBs¥tZdZdZdZdZdZdZdZeeZ d„Z d„Z d„Z e idƒZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(Nsœ sA s¥
Rt__base__s slides.csss outline.csss print.csss opera.csss slides.jss s5-core.csss framing.csss pretty.csss blank.gifs iepngfix.htccGsÙtii||Œd|_|iƒ|ii i }d|ii i }|i i|ihd|i<d|<d|<ƒ|ii ip|i i|iƒn|idƒg|_g|_d|_d|_dS( NtvisiblethiddenRt view_modetcontrol_visibilitys) i(R0R1(R!tHTMLTranslatorR"R#targstNonettheme_file_patht setup_themetdocumenttsettingsR2RR3t stylesheettappendts5_stylesheet_templateRtdisable_current_slidetadd_metat s5_footert s5_headert section_countttheme_files_copied(R#R5R2R3((R R"™s  5    cCsW|iiio|iƒn6|iiio|iii|_ntidƒ‚dS(Ns&No theme specified for S5/HTML writer.( R#R9R:Rt copy_themeRR7R R (R#((R R8­s c Cs¥|ii}t|iƒ}|g}h|_h}dd|if|_ |i oRt ii t ii |i ƒd|iƒ}t ii|ƒpt i|ƒq©ndSt}xa|oYxbt i|ƒD]Q}||ijoqÉn|i|||ƒo||ijod||s

theaderttitletfooters
tclassestslidetidstslide0tdivs
iiÿÿÿÿ("R#t head_prefixtextendtdoctypethead_prefix_templateR:t language_codet html_prologR<tmetatinsertt content_typetoutput_encodingtheadRRARyR@R{t html_titleRpRztlayout_templatetlayouttfragmenttbodyt body_prefixtstarttagRBt body_suffixt html_headt html_bodytbody_pre_docinfotdocinfo(R#tnodeRŽRzR{Ry((R tdepart_documents"/  (4 cCsT|iiƒ}|iidƒ|ii|i|ƒ|iidƒ|i|3dS(Ns

s

(R#tcontexttpoptstartR@R<R‚R�(R#R˜Rœ((R t depart_footer5s cCsW|iiƒ}dg}|i|i|ƒ|idƒ|i|3|ii|ƒdS(Ns ( R#RšR›RœRyR‚R�R<RA(R#R˜RœRy((R t depart_header<s    cCs˜|ip|iidƒn|id7_|id7_|idjo&|ii|i|dddƒƒn#|ii|i|dddƒƒdS(Ns iR€tCLASStsectionR}(R#RBR�R<t section_levelR’R˜(R#R˜((R t visit_sectionDs &cCs™t|itiƒol|i|id}|djo d}nd|}|i i |i ||dƒƒ|i i d|ƒntii||ƒdS(Niish%sRxs (t isinstanceR˜tparenttnodesR R#R¡tinitial_header_leveltlevelttagR�R<R’RšR!R4tvisit_subtitle(R#R˜R§R¨((R R©Os   cCstii||ƒdS(N(R!R4t visit_titleR#R˜(R#R˜((R RªZs(s slides.csss outline.csss print.csss opera.csss slides.js(s s5-core.csss framing.csss pretty.csss blank.gifs iepngfix.htc(R&R'R=R>R�RYROtdirect_theme_filestindirect_theme_filesRQR"R8RDtretcompileRfRPR™R�RžR¢R©Rª(((R R$^s0   @ !    (t__doc__t __docformat__RuRR­R R)R¥tutilstdocutils.writersR!tdocutils.parsers.rstt directivestdocutils._compatRt relative_pathRRtgetcwdRJt__file__RR RR4R$(R$RR)R R±RRR°RuR­R´R!R R¥R((R t?s       $ :