'!Mc @sdZddlmZddlmZddlmZddlmZddlm Z ddlm Z ddlm Z dd l m Z dd lmZdd lmZdd lmZdd lmZddlmZddlmZi dd`dadfe6ddbdcdfe6ddddedfe 6ddfdgd!fe6d"dhdid&fe 6d'djdkd+fe 6d,dldmd0fe 6d1dndod5fe6d6dpdqd:fe6d;drdsd>fe6d?dtdudBfe6dCdvdwdGfe6dHdxdydKfe6ZedLkrddMlZddMlZgZgZejj dNejj!ejj"e#dOdOxej$dPD]Z%e%j&dQrTe%j'dR rTdSe%dT Z(e(GHe)e(dMdMdUgZ+xte+j,D]fZ-ej.e(e-fe/e+e-Z0ej.dVe-e0j1e2e0j3e2e0j4ee0ffqWqTqTWej5ej5e6e#Z7ze7j8Z9WdMe7j:Xe9e9j;dW Z<e9e9j;dXZ=e6e#dYZ7e7j>e<e7j>dZe7j>d[j!geD]Z?d\e?^qe7j>d]e7j>d^d_j!ee7j>e=e7j:ndMS(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-2010 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i(tdocstring_headline(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..t.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__t pygments.utilRtpygments.formatters.bbcodeRtpygments.formatters.htmlRtpygments.formatters.imgRRRRtpygments.formatters.latexRtpygments.formatters.otherRR tpygments.formatters.rtfR tpygments.formatters.svgR tpygments.formatters.terminalR tpygments.formatters.terminal256R t FORMATTERSt__name__tsystostfound_formatterstimportstpathtinserttjointdirnamet__file__tlistdirtfilenametendswitht startswitht module_namet __import__tNonetmodulet__all__tformatter_nametappendtgetattrt formattertnamettupletaliasest filenamestsorttopentftreadtcontenttclosetfindtheadertfootertwritetimp(((s@/usr/lib/python2.7/site-packages/pygments/formatters/_mapping.pyts   1        -