Take a look at pygments/token.py in the pygments source and it has a
list of token types which is probably what you want:

STANDARD_TYPES = {
    Token:                         '',

    Text:                          '',
    Whitespace:                    'w',
    Error:                         'err',
    Other:                         'x',


...



On Sep 2, 4:59 pm, ralsina <[EMAIL PROTECTED]> wrote:
> On Sep 2, 10:35 am, Ana Nelson <[EMAIL PROTECTED]> wrote:
>
> > You can generate the CSS with the -S switch to pygmentize.
>
> > For example, to generate a stylesheet for the "fruity" style:
> > pygmentize -S fruity -f html > fruity.css
>
> > You can see a list of available styles with:
> > pygmentize -L styles
>
> > Check out the --help switch for more info:
> > pygmentize --help
>
> > You might look at the option of writing your own formatter.
>
> I did that now, but I have another problem: the stylesheets don't have
> the same classes.
>
> For example, the ".p" class is only in fruity and native. So, I'd like
> a default
> for each class.
>
> Is there any authoritative list of classes so I can fill in the
> blanks? Or a stylesheet that
> is "complete"?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to