edit this page - page history - about editing

Eclipse Pygments Style

Latex / Python
  1. Eclipse Pygments Style
  2. Lexers
    1. Drools Pygments Lexer
    2. Crocopat Pygments Lexer
    3. OCL Pygments Lexer
    4. LTL Pygments Lexer
    5. Jess Pygments Lexer
    6. Jena Pygments Lexer
    7. Checks Pygments Style
    8. Xtend Pygments Style
    9. Alloy Pygments Style
    10. IDL Pygments Style
    11. OWL Functional Pygments Style

Pygments is a Python-based colour syntax highlighter, which can also be connected via Minted to perform colour syntax highlighting for Latex. I wanted a style similar to the Eclipse style:

This was done in Latex with the following:




... [java code here] ...

I achieved this by creating a new eclipse.py style.

Yes, it is very messy Razz. Someone should take the above and clean it up, and install it into Pygments correctly. You can also see what it looks like in a PDF with both Java and XML: partial-code-sample.pdf.
Categories: Latex | Python | Code Snippets
edit this page - what links to here? - page history - top
Last edited by jevon jevon 107 months ago