ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Pretty print SQL broken? Or am I doing something wrong?
@ 2009-06-07  6:38 Gerben Wierda
  2009-06-08  7:59 ` Berend de Boer
  0 siblings, 1 reply; 10+ messages in thread
From: Gerben Wierda @ 2009-06-07  6:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

verb-sql.tex seems not to work correctly. Is it broken or am I doing  
something wrong?

I call it as this:

\definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setupcolors[state=start]
\setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
\starttext
\typefile[SQL][]{test2.txt}
\stoptext

I get rather strange coloration. I would expect comments to be colored  
differently, but only start and end character are. When I run PL/SQL  
through the formatter, variable names as bar_foo get only the _  
colored, etc.


[-- Attachment #2: testsql2.pdf --]
[-- Type: application/pdf, Size: 56173 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-24  9:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-07  6:38 Pretty print SQL broken? Or am I doing something wrong? Gerben Wierda
2009-06-08  7:59 ` Berend de Boer
2009-06-08 22:12   ` Gerben Wierda
2009-06-11 12:06     ` Gerben Wierda
2009-06-11 13:05       ` Hans Hagen
2009-06-15 22:25         ` Gerben Wierda
2009-06-11 12:22     ` Berend de Boer
2009-06-15 22:27       ` Gerben Wierda
2009-06-15 22:38       ` Gerben Wierda
2009-06-24  9:18         ` Berend de Boer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).