![](https://secure.gravatar.com/avatar/2a812c9d06e0a83559f2a4f49dd99568.jpg?s=120&d=mm&r=g)
24 Jun
2009
24 Jun
'09
11:18 a.m.
"Gerben" == Gerben Wierda
writes:
"Gerben" == Gerben Wierda
writes: >> Gerben> For 'SQL' I assume I should use 'sql'. When I do that, Gerben> exactly the same happens. >> >> I mean "select" instead of "SELECT".
Hi Gerben, Just following up publicly on the files you sent me, this works for me: \setuptyping[SQL][palet=colorpretty] \def\typeSQLfile{\typefile[SQL]} \starttext \typeSQLfile{test2.txt} \stoptext So changes: 1. Don't define the typing, it's already. 2. use SQL, not sql. 3. Your SQL keywords must be lowercase not UPPERcase, else they won't get highlighted. 4. comments inside your SQL file trip up the parser, don't know why, but just leave them out. -- Groetjes, Berend.