Search found 3 matches

by kabi
Sun Jun 13, 2010 9:41 pm
Forum: General
Topic: Pygments: displays errors in pdf
Replies: 2
Views: 1663

Re: Pygments: displays errors in pdf

Just in case someone else gets this problem I'm posting a workaround.

I copied the default.py in the styles directory to another file. For me it was codevision.py
Now I had a custom style where I could add:

Error: "#000000"

to make the error turn up white, which means invisible on white paper ...
by kabi
Sun Jun 13, 2010 8:49 pm
Forum: General
Topic: Pygments: displays errors in pdf
Replies: 2
Views: 1663

Re: Pygments: displays errors in pdf

What I want is for it be legal to have a # in a c file. It works with #include but not #asm
by kabi
Sun Jun 13, 2010 6:57 pm
Forum: General
Topic: Pygments: displays errors in pdf
Replies: 2
Views: 1663

Pygments: displays errors in pdf

Hi
I am using pygments for syntax highlighting c in latex. It works quite well.
One problem though which I hope someone here has a solution for:

The code is for avr atmega16, and in the c file I have put:
#asm=("sei")
which is assembly.

Pygments puts a red box around the #, and I have no idea how ...