mò hã¸Ec@sädZdZdkZdkZdkZdkZdklZlZlZdk l Z dk l Z ei eiieiƒdƒeiieiieƒdƒƒZd„Zd e ifd „ƒYZd e ifd „ƒYZdS( s S5/HTML Slideshow Writer. treStructuredTextN(sfrontendsnodessutils(s html4css1(s directivestdummytthemescCsItiit|ƒ}tii|ƒptid||fƒ‚n|S(Ns(Theme directory not found: %r (path: %r)(tostpathtjointthemes_dir_pathtnametisdirtdocutilstApplicationError(RR((t@/data/zmath/zope/lib/python/docutils/writers/s5_html/__init__.pyt find_themestWritercBstZeiiddddghdd<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_urlsSpecify 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_truesfKeep existing theme files in the ``ui/`` directory; do not overwrite any. This is the default.s--keep-theme-filestdesttoverwrite_theme_filest store_falsesMEnable 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 html4css1R t__init__tselftS5HTMLTranslatorttranslator_class(R((R RNs(Rshtml4css1 writer( t__name__t __module__RR t settings_spectsettings_default_overridestconfig_sectiontconfig_section_dependenciesR(((R R &s Ö!RcBs®tZdZdZdZdZdZdZdZdZ e eZ d„Z d„Z d„Z eidƒZd„Zd„Zd„Zd„Zd„Zd„Zdd„ZRS(Nsz sˆ sA
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 hd|i<ƒ|i i i p|ii |iƒn|idƒg|_g|_d|_d|_dS(NRs) i(RtHTMLTranslatorRRtargstNonettheme_file_patht setup_themet stylesheettappendts5_stylesheet_templatetdocumenttsettingsRtdisable_current_slidetadd_metat s5_footert s5_headert section_countttheme_files_copied(RR(((R R’s  #    cCsW|iiio|iƒn6|iiio|iii|_ntidƒ‚dS(Ns&No theme specified for S5/HTML writer.( RR/R0Rt copy_themeRR*R R (R((R R+¡s c Cs¥|ii}t|iƒ} | g}h|_h} dd|if|_ |i oRt ii t ii |i ƒd|iƒ}t ii|ƒpt i|ƒq©ndSd}xa| oYxbt i| ƒD]Q}||ijoqÉn|i|| |ƒo||ijod| |s

theaderttitletfooters
tclassestslidetidstslide0tdivs
iiiÿÿÿÿ(RRR4RhR3Rjt html_titleRcRitlayout_templatetlayouttfragmenttextendtbodyt body_prefixR-tstarttagR5t body_suffixtinsertt html_headtheadt html_bodytbody_pre_docinfotdocinfo(RtnodeRrRiRjRh((R tdepart_document s(4 cCsT|iiƒ}|iidƒ|ii|i|ƒ|iidƒ|i|3dS(Ns

s

(RtcontexttpoptstartR3R-RtRu(RRRƒ((R t depart_footer s cCsW|iiƒ}dg}|i|i|ƒ|idƒ|i|3|ii|ƒdS(Ns ( RRR‚RƒRhRtRuR-R4(RRRƒRh((R t depart_header's    cCs˜|ip|iidƒn|id7_|id7_|idjo&|ii|i|dddƒƒn#|ii|i|dddƒƒdS(Ns iRotCLASStsectionRl(RR5RuR-t section_levelRwR(RR((R t visit_section/s &cCs™t|itiƒol|i|id}|djo d}nd|}|i i |i ||dƒƒ|i i d|ƒntii||ƒdS(Niish%sRgs (t isinstanceRtparenttnodesR‡RRˆtinitial_header_leveltlevelttagRuR-RwRRR'tvisit_subtitle(RRRŽR((R R:s   icCstii||d|ƒdS(Ntmove_ids(RR't visit_titleRRR‘(RRR‘((R R’Es(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!tdoctypeR.R1RqRKRAtdirect_theme_filestindirect_theme_filesRCRR+R7tretcompileRYRBR€R„R…R‰RR’(((R RSs2   @     (t__doc__t __docformat__tsysRR–R tfrontendRŒtutilstdocutils.writersRtdocutils.parsers.rstt directivest relative_pathRRtgetcwdR=t__file__RR R R'R(RR R›R RœRR™RšR–RŸRR RŒR((R t? s      $ -