3.Qc @sdZddlmZddlmZddlmZddlmZddlmZddlm Z ddl m Z dd l m Z dd l mZdd lmZdd lmZdd lmZddlmZi dd`dadfe6ddbdcdfe6ddddedfe6ddfdgd fe6d!dhdid%fe6d&djdkd*fe 6d+dldmd/fe 6d0dndod4fe 6d5dpdqd9fe6d:drdsd=fe6d>dtdudAfe6dBdvdwdFfe6dGdxdydJfe6ZedKkrddLlZddLlZgZgZejjdMejjejj e!dNdNddOl"m#Z#xej$dPD]Z%e%j&dQrTe%j'dR rTdSe%dT Z(e(GHe)e(dLdLdUgZ+xte+j,D]fZ-ej.e(e-fe/e+e-Z0ej.dVe-e0j1e2e0j3e2e0j4e#e0ffqWqTqTWej5ej5e6e!Z7ze7j8Z9WdLe7j:Xe9e9j;dW Z<e9e9j;dXZ=e6e!dYZ7e7j>e<e7j>dZe7j>d[jgeD]Z?d\e?^qe7j>d]e7j>d^d_jee7j>e=e7j:ndLS(zs pygments.formatters._mapping ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter mapping defintions. This file is generated by itself. Everytime you change something on a builtin formatter defintion, run this script from the formatters folder to update it. Do not alter the FORMATTERS dictionary by hand. :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i(tBBCodeFormatter(t HtmlFormatter(tBmpImageFormatter(tGifImageFormatter(tImageFormatter(tJpgImageFormatter(tLatexFormatter(t NullFormatter(tRawTokenFormatter(t RtfFormatter(t SvgFormatter(tTerminalFormatter(tTerminal256FormattertBBCodetbbcodetbbsFormat tokens with BBcodes. These formatting codes are used by many bulletin boards, so you can highlight your sourcecode with pygments before posting it there.timg_bmptbmptbitmaps*.bmpswCreate a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.timg_giftgifs*.gifstCreate a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.tHTMLthtmls*.htmls*.htmsFormat tokens as HTML 4 ```` tags within a ``
`` tag, wrapped in a ``
`` tag. The ``
``'s CSS class can be set by the `cssclass` option.timgtIMGtpngs*.pngstCreate a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.timg_jpgtjpgtjpegs*.jpgsuCreate a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.tLaTeXtlatexttexs*.texsUFormat tokens as LaTeX code. This needs the `fancyvrb` and `color` standard packages.s Text onlyttexttnulls*.txts1Output the text unchanged without any formatting.s Raw tokenstrawttokenss*.raws@Format tokens as a raw representation for storing token streams.tRTFtrtfs*.rtfsFormat tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft® Word® documents.tSVGtsvgs*.svgsFormat tokens as an SVG graphics file. This formatter is still experimental. Each line of code is a ```` element with explicit ``x`` and ``y`` coordinates containing ```` elements with the individual token styles.t Terminal256t terminal256t console256t256sFormat tokens with ANSI color sequences, for output in a 256-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.tTerminaltterminaltconsolesFormat tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.t__main__Nis..(tdocstring_headlinet.s.pyt_spygments.formatters.%sits%s: %rs# startsif __name__ == '__main__':tws# start s sfrom %s import %ss sFORMATTERS = { %s } s, (RR((RR(s*.bmp(R(s*.gif(R(s*.htmls*.htm(RRR(s*.png(RR(s*.jpg(RR(s*.tex(stextR!(s*.txt(R"R#(s*.raw(R%(s*.rtf(R'(s*.svg(R)R*R+((R-R.((@t__doc__tpygments.formatters.bbcodeRtpygments.formatters.htmlRtpygments.formatters.imgRRRRtpygments.formatters.latexRtpygments.formatters.otherRRtpygments.formatters.rtfR tpygments.formatters.svgR tpygments.formatters.terminalR tpygments.formatters.terminal256R t FORMATTERSt__name__tsystostfound_formatterstimportstpathtinserttjointdirnamet__file__t pygments.utilR0tlistdirtfilenametendswitht startswitht module_namet __import__tNonetmodulet__all__tformatter_nametappendtgetattrt formattertnamettupletaliasest filenamestsorttopentftreadtcontenttclosetfindtheadertfootertwritetimp(((sF/usr/local/lib/python2.7/site-packages/pygments/formatters/_mapping.pyts   1        -