pygmentize(1)


NAME

   pygmentize - highlights the input file

SYNOPSIS

   pygmentize      [-l <lexer>] [-F <filter>[:<options>]] [-f <formatter>]
   [-O <options>] [-P <option=value>] [-o <outfile>] [<infile>]
   pygmentize
   -S <style> -f <formatter> [-a <arg>] [-O <options>] [-P <option=value>]
   pygmentize -L [<which> ...]
   pygmentize -H <type> <name>
   pygmentize -h | -V

DESCRIPTION

   Pygments  is  a generic syntax highlighter for general use in all kinds
   of software such as forum systems, wikis  or  other  applications  that
   need to prettify source code.

   Its highlights are:
     * a wide range of common languages and markup formats is supported
     *  special attention is paid to details, increasing quality by a fair
   amount
     * support for new languages and formats are added easily
     * a  number  of  output  formats,  presently  HTML,  LaTeX  and  ANSI
   sequences
     * it is usable as a command-line tool and as a library
     * ... and it highlights even Brainfuck!

   pygmentize  is a command that uses Pygments to highlight the input file
   and write the result to <outfile>. If no <infile> is  given,  stdin  is
   used.

OPTIONS

   A summary of options is included below.

   -l <lexer>
          Set  the lexer name. If not given, the lexer is guessed from the
          extension of the input file name (this obviously doesn't work if
          the input is stdin).

   -F <filter>[:<options>]
          Add  a  filter  to the token stream. You can give options in the
          same way as for -O after a colon (note: there must not be spaces
          around the colon).  This option can be given multiple times.

   -f <formatter>
          Set  the  formatter  name. If not given, it will be guessed from
          the extension of the output file name.  If  no  output  file  is
          given, the terminal formatter will be used by default.

   -o <outfile>
          Set output file. If not given, stdout is used.

   -O <options>
          With  this option, you can give the lexer and formatter a comma-
          separated list of options, e.g. "-O bg=light,python=cool". Which
          options  are  valid for which lexers and formatters can be found
          in the documentation.  This option can be given multiple times.

   -P <option=value>
          This option adds lexer and formatter options like the -O option,
          but  you  can  only give one option per -P. That way, the option
          value may contain commas and equals signs, which it  can't  with
          -O.

   -S <style>
          Print  out style definitions for style <style> and for formatter
          <formatter>.  The meaning of the argument given by -a  <arg>  is
          formatter dependent and can be found in the documentation.

   -L [<which> ...]
          List  lexers,  formatters, styles or filters. Set <which> to the
          thing you want to list (e.g.  "styles"),  or  omit  it  to  list
          everything.

   -H <type> <name>
          Print  detailed help for the object <name> of type <type>, where
          <type> is one of "lexer", "formatter" or "filter".

   -h     Show help screen.

   -V     Show version of the Pygments package.

SEE ALSO

   /usr/share/doc/python-pygments/index.html

AUTHOR

   pygmentize was written by Georg Brandl <g.brandl@gmx.net>.

   This manual page was written by Piotr Ozarowski <ozarow@gmail.com>, for
   the Debian project (but may be used by others).

                           February 15, 2007                 PYGMENTIZE(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.