From: Gerben Wierda <Gerben.Wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Pretty print SQL broken? Or am I doing something wrong?
Date: Sun, 7 Jun 2009 08:38:12 +0200 [thread overview]
Message-ID: <C05DB5A0-A220-4256-9E1C-D443B5D3F469@rna.nl> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2009-06-07 6:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 6:38 Gerben Wierda [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C05DB5A0-A220-4256-9E1C-D443B5D3F469@rna.nl \
--to=gerben.wierda@rna.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).