Latex lstlisting, overlapping keywords

761 Views Asked by At

I'm using LaTeX for my exam work and I want to use code listings via lstpackage. I've defined two more keywords in "otherkeywords" options: "id" and "identifier". Both words began with "id" and thats the problem. The keywords "identifier" will not be marked as a keywords completely.

dtd_with_own_keywords

Does anyone has a solution for this problem?

0

There are 0 best solutions below