亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? __init__.py

?? Requirement =====================================================================================
?? PY
?? 第 1 頁 / 共 5 頁
字號:
# Author: Engelbert Gruber# Contact: grubert@users.sourceforge.net# Revision: $Revision: 4242 $# Date: $Date: 2006-01-06 00:28:53 +0100 (Fri, 06 Jan 2006) $# Copyright: This module has been placed in the public domain."""LaTeX2e document tree Writer."""__docformat__ = 'reStructuredText'# code contributions from several people included, thanks to all.# some named: David Abrahams, Julien Letessier, Lele Gaifax, and others.## convention deactivate code by two # e.g. ##.import sysimport timeimport reimport stringfrom types import ListTypefrom docutils import frontend, nodes, languages, writers, utilsclass Writer(writers.Writer):    supported = ('latex','latex2e')    """Formats this writer supports."""    settings_spec = (        'LaTeX-Specific Options',        'The LaTeX "--output-encoding" default is "latin-1:strict".',        (('Specify documentclass.  Default is "article".',          ['--documentclass'],          {'default': 'article', }),         ('Specify document options.  Multiple options can be given, '          'separated by commas.  Default is "10pt,a4paper".',          ['--documentoptions'],          {'default': '10pt,a4paper', }),         ('Use LaTeX footnotes. LaTeX supports only numbered footnotes (does it?). '          'Default: no, uses figures.',          ['--use-latex-footnotes'],          {'default': 0, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Format for footnote references: one of "superscript" or '          '"brackets".  Default is "superscript".',          ['--footnote-references'],          {'choices': ['superscript', 'brackets'], 'default': 'superscript',           'metavar': '<format>',           'overrides': 'trim_footnote_reference_space'}),         ('Use LaTeX citations. '          'Default: no, uses figures which might get mixed with images.',          ['--use-latex-citations'],          {'default': 0, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Format for block quote attributions: one of "dash" (em-dash '          'prefix), "parentheses"/"parens", or "none".  Default is "dash".',          ['--attribution'],          {'choices': ['dash', 'parentheses', 'parens', 'none'],           'default': 'dash', 'metavar': '<format>'}),         ('Specify a stylesheet file. The file will be "input" by latex in '          'the document header.  Default is no stylesheet ("").  '          'Overrides --stylesheet-path.',          ['--stylesheet'],          {'default': '', 'metavar': '<file>',           'overrides': 'stylesheet_path'}),         ('Specify a stylesheet file, relative to the current working '          'directory.  Overrides --stylesheet.',          ['--stylesheet-path'],          {'metavar': '<file>', 'overrides': 'stylesheet'}),         ('Table of contents by docutils (default) or latex. Latex (writer) '          'supports only one ToC per document, but docutils does not write '          'pagenumbers.',          ['--use-latex-toc'],          {'default': 0, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Let LaTeX print author and date, do not show it in docutils '          'document info.',          ['--use-latex-docinfo'],          {'default': 0, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Color of any hyperlinks embedded in text '          '(default: "blue", "0" to disable).',          ['--hyperlink-color'], {'default': 'blue'}),         ('Enable compound enumerators for nested enumerated lists '          '(e.g. "1.2.a.ii").  Default: disabled.',          ['--compound-enumerators'],          {'default': None, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Disable compound enumerators for nested enumerated lists.  This is '          'the default.',          ['--no-compound-enumerators'],          {'action': 'store_false', 'dest': 'compound_enumerators'}),         ('Enable section ("." subsection ...) prefixes for compound '          'enumerators.  This has no effect without --compound-enumerators.  '          'Default: disabled.',          ['--section-prefix-for-enumerators'],          {'default': None, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Disable section prefixes for compound enumerators.  '          'This is the default.',          ['--no-section-prefix-for-enumerators'],          {'action': 'store_false', 'dest': 'section_prefix_for_enumerators'}),         ('Set the separator between section number and enumerator '          'for compound enumerated lists.  Default is "-".',          ['--section-enumerator-separator'],          {'default': '-', 'metavar': '<char>'}),         ('When possibile, use verbatim for literal-blocks. '          'Default is to always use the mbox environment.',          ['--use-verbatim-when-possible'],          {'default': 0, 'action': 'store_true',           'validator': frontend.validate_boolean}),         ('Table style. "standard" with horizontal and vertical lines, '          '"booktabs" (LaTeX booktabs style) only horizontal lines '          'above and below the table and below the header or "nolines".  '          'Default: "standard"',          ['--table-style'],          {'choices': ['standard', 'booktabs','nolines'], 'default': 'standard',           'metavar': '<format>'}),         ('LaTeX graphicx package option. '          'Possible values are "dvips", "pdftex". "auto" includes LaTeX code '          'to use "pdftex" if processing with pdf(la)tex and dvips otherwise. '          'Default is no option.',          ['--graphicx-option'],          {'default': ''}),         ('LaTeX font encoding. '          'Possible values are "T1", "OT1", "" or some other fontenc option. '          'The font encoding influences available symbols, e.g. "<<" as one '          'character. Default is "" which leads to package "ae" (a T1 '          'emulation using CM fonts).',          ['--font-encoding'],          {'default': ''}),          ),)    settings_defaults = {'output_encoding': 'latin-1'}    relative_path_settings = ('stylesheet_path',)    config_section = 'latex2e writer'    config_section_dependencies = ('writers',)    output = None    """Final translated form of `document`."""    def __init__(self):        writers.Writer.__init__(self)        self.translator_class = LaTeXTranslator    def translate(self):        visitor = self.translator_class(self.document)        self.document.walkabout(visitor)        self.output = visitor.astext()        self.head_prefix = visitor.head_prefix        self.head = visitor.head        self.body_prefix = visitor.body_prefix        self.body = visitor.body        self.body_suffix = visitor.body_suffix"""Notes on LaTeX--------------* latex does not support multiple tocs in one document.  (might be no limitation except for docutils documentation)* width  * linewidth - width of a line in the local environment  * textwidth - the width of text on the page  Maybe always use linewidth ?  *Bug* inside a minipage a (e.g. Sidebar) the linewidth is        not changed, needs fix in docutils so that tables        are not too wide.        So we add locallinewidth set it initially and        on entering sidebar and reset on exit."""class Babel:    """Language specifics for LaTeX."""    # country code by a.schlock.    # partly manually converted from iso and babel stuff, dialects and some    _ISO639_TO_BABEL = {        'no': 'norsk',     #XXX added by hand ( forget about nynorsk?)        'gd': 'scottish',  #XXX added by hand        'hu': 'magyar',    #XXX added by hand        'pt': 'portuguese',#XXX added by hand        'sl': 'slovenian',        'af': 'afrikaans',        'bg': 'bulgarian',        'br': 'breton',        'ca': 'catalan',        'cs': 'czech',        'cy': 'welsh',        'da': 'danish',        'fr': 'french',        # french, francais, canadien, acadian        'de': 'ngerman',  #XXX rather than german        # ngerman, naustrian, german, germanb, austrian        'el': 'greek',        'en': 'english',        # english, USenglish, american, UKenglish, british, canadian        'eo': 'esperanto',        'es': 'spanish',        'et': 'estonian',        'eu': 'basque',        'fi': 'finnish',        'ga': 'irish',        'gl': 'galician',        'he': 'hebrew',        'hr': 'croatian',        'hu': 'hungarian',        'is': 'icelandic',        'it': 'italian',        'la': 'latin',        'nl': 'dutch',        'pl': 'polish',        'pt': 'portuguese',        'ro': 'romanian',        'ru': 'russian',        'sk': 'slovak',        'sr': 'serbian',        'sv': 'swedish',        'tr': 'turkish',        'uk': 'ukrainian'    }    def __init__(self,lang):        self.language = lang        # pdflatex does not produce double quotes for ngerman in tt.        self.double_quote_replacment = None        if re.search('^de',self.language):            #self.quotes = ("\"`", "\"'")            self.quotes = ('{\\glqq}', '{\\grqq}')            self.double_quote_replacment = "{\\dq}"        else:            self.quotes = ("``", "''")        self.quote_index = 0    def next_quote(self):        q = self.quotes[self.quote_index]        self.quote_index = (self.quote_index+1)%2        return q    def quote_quotes(self,text):        t = None        for part in text.split('"'):            if t == None:                t = part            else:                t += self.next_quote() + part        return t    def double_quotes_in_tt (self,text):        if not self.double_quote_replacment:            return text        return text.replace('"', self.double_quote_replacment)    def get_language(self):        if self._ISO639_TO_BABEL.has_key(self.language):            return self._ISO639_TO_BABEL[self.language]        else:            # support dialects.            l = self.language.split("_")[0]            if self._ISO639_TO_BABEL.has_key(l):                return self._ISO639_TO_BABEL[l]        return Nonelatex_headings = {        'optionlist_environment' : [              '\\newcommand{\\optionlistlabel}[1]{\\bf #1 \\hfill}\n'              '\\newenvironment{optionlist}[1]\n'              '{\\begin{list}{}\n'              '  {\\setlength{\\labelwidth}{#1}\n'              '   \\setlength{\\rightmargin}{1cm}\n'              '   \\setlength{\\leftmargin}{\\rightmargin}\n'              '   \\addtolength{\\leftmargin}{\\labelwidth}\n'              '   \\addtolength{\\leftmargin}{\\labelsep}\n'              '   \\renewcommand{\\makelabel}{\\optionlistlabel}}\n'              '}{\\end{list}}\n',              ],        'lineblock_environment' : [            '\\newlength{\\lineblockindentation}\n'            '\\setlength{\\lineblockindentation}{2.5em}\n'            '\\newenvironment{lineblock}[1]\n'            '{\\begin{list}{}\n'            '  {\\setlength{\\partopsep}{\\parskip}\n'            '   \\addtolength{\\partopsep}{\\baselineskip}\n'            '   \\topsep0pt\\itemsep0.15\\baselineskip\\parsep0pt\n'            '   \\leftmargin#1}\n'            ' \\raggedright}\n'            '{\\end{list}}\n'            ],        'footnote_floats' : [            '% begin: floats for footnotes tweaking.\n',            '\\setlength{\\floatsep}{0.5em}\n',            '\\setlength{\\textfloatsep}{\\fill}\n',            '\\addtolength{\\textfloatsep}{3em}\n',            '\\renewcommand{\\textfraction}{0.5}\n',            '\\renewcommand{\\topfraction}{0.5}\n',            '\\renewcommand{\\bottomfraction}{0.5}\n',            '\\setcounter{totalnumber}{50}\n',            '\\setcounter{topnumber}{50}\n',            '\\setcounter{bottomnumber}{50}\n',            '% end floats for footnotes\n',            ],        'some_commands' : [            '% some commands, that could be overwritten in the style file.\n'            '\\newcommand{\\rubric}[1]'            '{\\subsection*{~\\hfill {\\it #1} \\hfill ~}}\n'            '\\newcommand{\\titlereference}[1]{\\textsl{#1}}\n'            '% end of "some commands"\n',            ]        }class DocumentClass:    """Details of a LaTeX document class."""    # BUG: LaTeX has no deeper sections (actually paragrah is no    # section either).    # BUG: No support for unknown document classes.  Make 'article'    # default?    _class_sections = {        'book': ( 'chapter', 'section', 'subsection', 'subsubsection' ),        'scrbook': ( 'chapter', 'section', 'subsection', 'subsubsection' ),        'report': ( 'chapter', 'section', 'subsection', 'subsubsection' ),        'scrreprt': ( 'chapter', 'section', 'subsection', 'subsubsection' ),        'article': ( 'section', 'subsection', 'subsubsection' ),        'scrartcl': ( 'section', 'subsection', 'subsubsection' ),        }    _deepest_section = 'subsubsection'    def __init__(self, document_class):        self.document_class = document_class    def section(self, level):        """ Return the section name at the given level for the specific            document class.            Level is 1,2,3..., as level 0 is the title."""        sections = self._class_sections[self.document_class]        if level <= len(sections):            return sections[level-1]        else:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本久道久久综合中文字幕| 日韩一级视频免费观看在线| 欧美久久久久久久久久| 日韩小视频在线观看专区| 久久精品免费在线观看| 亚洲欧美日韩国产综合| 免费的成人av| 91麻豆国产福利在线观看| 日韩午夜在线观看视频| 亚洲欧美另类图片小说| 经典一区二区三区| 欧美日韩国产a| 亚洲欧美激情视频在线观看一区二区三区 | 一区二区三区在线高清| 看电影不卡的网站| 欧美在线观看一二区| 欧美国产一区二区| 日日夜夜免费精品视频| 91一区一区三区| 中文字幕制服丝袜一区二区三区| 久久精品国产999大香线蕉| 91亚洲国产成人精品一区二三| 久久蜜桃香蕉精品一区二区三区| 日韩黄色一级片| 欧美亚洲一区三区| 亚洲综合图片区| 日本道精品一区二区三区| 国产欧美日韩不卡| 国内精品写真在线观看| 欧美日韩的一区二区| 亚洲乱码国产乱码精品精可以看| www.欧美日韩国产在线| 精品国产凹凸成av人导航| 日本欧美肥老太交大片| 欧美日韩二区三区| 天堂在线亚洲视频| 在线91免费看| 久久99精品国产.久久久久久| 欧美一区午夜视频在线观看| 丝袜亚洲另类欧美| 欧美一区二区久久| 激情av综合网| 国产精品区一区二区三| 成人精品免费视频| 亚洲视频图片小说| 91国偷自产一区二区三区成为亚洲经典| 亚洲欧美视频在线观看| 91高清视频免费看| 丝袜亚洲另类欧美| 日韩欧美国产一区二区在线播放| 久久国产精品第一页| 精品电影一区二区三区 | 成人丝袜高跟foot| 国产精品亲子乱子伦xxxx裸| 91啦中文在线观看| 五月婷婷激情综合| 精品国产91九色蝌蚪| 国产成人综合网站| 亚洲日本乱码在线观看| 欧美日韩另类一区| 国产一区二区三区免费播放| 欧美国产禁国产网站cc| 97久久超碰精品国产| 亚洲福利一区二区| 久久综合色之久久综合| 成人久久视频在线观看| 综合在线观看色| 欧美电影免费提供在线观看| 国产福利精品一区二区| 亚洲精品免费在线观看| 6080午夜不卡| av一区二区三区黑人| 亚洲成人自拍一区| 国产亚洲欧美中文| 欧美欧美午夜aⅴ在线观看| 免费成人深夜小野草| 中文字幕av一区 二区| 欧美午夜精品免费| 国产电影一区二区三区| 亚洲一区二区三区影院| 日韩欧美国产一区二区在线播放| 色综合久久天天| 韩国理伦片一区二区三区在线播放 | 日韩亚洲欧美综合| 成人伦理片在线| 麻豆视频一区二区| 亚洲精品免费在线| 中文字幕欧美三区| 日韩精品一区二区三区中文不卡| 99re成人精品视频| 国产一区二区电影| 日韩avvvv在线播放| 国产精品超碰97尤物18| 精品久久人人做人人爰| 在线视频一区二区免费| 成人美女在线视频| 国产一本一道久久香蕉| 天堂一区二区在线| 亚洲综合久久久久| 国产精品美女一区二区| 精品三级在线观看| 制服丝袜中文字幕亚洲| 色婷婷国产精品| 91女厕偷拍女厕偷拍高清| 九九视频精品免费| 秋霞成人午夜伦在线观看| 一片黄亚洲嫩模| 亚洲精品福利视频网站| 国产情人综合久久777777| 欧美tickling挠脚心丨vk| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 色丁香久综合在线久综合在线观看| 国产1区2区3区精品美女| 日本不卡一区二区三区高清视频| 亚洲一线二线三线久久久| 亚洲欧洲国产日韩| 国产精品久久久久久久久搜平片| 国产欧美日韩视频一区二区 | 伊人婷婷欧美激情| 国产精品女上位| 中文字幕五月欧美| 国产免费观看久久| 中文字幕第一区| 日韩一区欧美小说| 国产精品乱码久久久久久| 欧美高清在线一区| 亚洲欧美在线观看| 亚洲美女精品一区| 亚洲综合一区二区三区| 夜夜嗨av一区二区三区四季av | 欧美剧在线免费观看网站| 欧美在线播放高清精品| 欧美色图在线观看| 日韩美女视频一区二区在线观看| 精品美女一区二区三区| 久久久不卡网国产精品二区| 国产精品久久看| 亚洲一区在线播放| 日本成人中文字幕| 国产精品一卡二| 91麻豆成人久久精品二区三区| 欧美午夜精品一区二区三区| 日韩欧美一卡二卡| 国产精品另类一区| 亚洲mv在线观看| 国产又黄又大久久| 91麻豆免费视频| 精品国产三级电影在线观看| 中文字幕av一区二区三区高 | 国产成人亚洲精品青草天美| www.日韩av| 日韩一区二区三区精品视频| 国产亚洲综合在线| 亚洲精品国产品国语在线app| 蜜桃av噜噜一区二区三区小说| 国产91在线看| 欧美亚洲动漫精品| 久久综合久色欧美综合狠狠| 国产女主播视频一区二区| 亚洲综合自拍偷拍| 国产美女精品在线| 欧美午夜精品久久久久久孕妇| 久久久久99精品一区| 亚洲伊人伊色伊影伊综合网| 国产一区二区在线观看免费| 欧美在线观看视频一区二区| 久久久久久久久蜜桃| 亚洲一区二区视频| 国产成人av一区| 制服丝袜中文字幕一区| 日韩美女啊v在线免费观看| 日本欧美在线看| 91国模大尺度私拍在线视频| 久久精品欧美日韩| 秋霞成人午夜伦在线观看| 91福利在线免费观看| 久久综合丝袜日本网| 亚洲成人av在线电影| 国产91富婆露脸刺激对白| 日韩欧美在线观看一区二区三区| 伊人一区二区三区| 国产成人精品aa毛片| 91精品久久久久久久91蜜桃| 一区二区三区 在线观看视频| av在线一区二区| 国产午夜精品久久久久久免费视| 日韩激情中文字幕| 欧美最新大片在线看| 国产精品久久久爽爽爽麻豆色哟哟| 国产一区二区三区免费| 欧美一区二区高清| 亚洲sss视频在线视频| 91视频免费播放| √…a在线天堂一区| 国产成人免费视| 久久尤物电影视频在线观看| 蜜臀久久99精品久久久画质超高清| 欧美日韩成人在线| 亚洲综合色自拍一区| 在线视频中文字幕一区二区|