Tag Info

New answers tagged

4

I am possibly missing the point because I've set up my editor to automatically expand tabs, but after disabling this (I think) it seems to me that minted does do what it is supposed to here. The problem is that in your second example you have forgotten to include the obeytabs option. If you put this in then minted does what (I think) you want. For example, ...


5

Ok, after some thinking about how to do this with listings while avoiding manually specifying keywords, I suppose a syntax based solution may work. I.e. I defined a language for listings using moredelim and morestring to handle the most basic syntax of XML and get the following results: the corresponding code is: \documentclass{report} ...



Top 50 recent answers are included