Say I have the following key-value file I want to highlight using the listings package:
some.key=Some value
I want the key to be red, the equal sign to be black and the value to be blue. How do I define a language in listings that does that? I am aware of the moredelim, morekeywords but I can't figure out how to use their options to do what I want.
\documentclass{...}and ending with\end{document}. – Mar 21 '14 at 14:50TeXorLaTeXitself? – Mar 21 '14 at 14:52listingsonly forcorc++code so far, I can't tell aboutTeXsupport or even keyval syntax. – Mar 21 '14 at 14:59