ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <Gerben.Wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: PL/SQL pretty print
Date: Sat, 6 Jun 2009 19:45:33 +0200	[thread overview]
Message-ID: <6999F7C8-F97D-4A44-8D9E-3393A5DB2650@rna.nl> (raw)
In-Reply-To: <3340AA4D-D292-4076-A475-479C0EBC880F@gmail.com>

On 6 Jun 2009, at 18:36, Wolfgang Schuster wrote:

>
> Am 06.06.2009 um 18:25 schrieb Gerben Wierda:
>
>> What do you mean? Does this somehow get me good coloration?
>
> Forget this, you can get different colors by redefining these  
> settings:
>
> \definecolor [colorprettyone]   [r=.9, g=.0, b=.0] % red
> \definecolor [colorprettytwo]   [r=.0, g=.8, b=.0] % green
> \definecolor [colorprettythree] [r=.0, g=.0, b=.9] % blue
> \definecolor [colorprettyfour]  [r=.8, g=.8, b=.6] % yellow
>

It doesn't work out anyway. The pretty print for SQL is doing weird  
things, e.g.:
- not coloring commentary in a seperate color
- coloring _ characters in variable names separately

Seems ConTeXt SQL pretty print of the PL/SQL I have does not work  
properly with respect to coloring.

G


> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>

___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2009-06-06 17:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 14:58 Printen van code met een PDF overlay, makkelijk met ConTeXt? Gerben Wierda
2009-05-29 16:21 ` Hans Hagen
2009-06-04 14:10   ` Gerben.Wierda
2009-06-04 14:17     ` Wolfgang Schuster
2009-06-06 13:52       ` Printing source code intelligently with ConTeXt (with overlay) Gerben Wierda
2009-06-06 13:58         ` Wolfgang Schuster
2009-06-06 14:16           ` Gerben Wierda
2009-06-06 14:59             ` Interaction between overlay and typing? Gerben Wierda
2009-06-06 16:13               ` Wolfgang Schuster
2009-06-06 16:25                 ` Gerben Wierda
2009-06-06 16:36                   ` Wolfgang Schuster
2009-06-06 17:45                     ` Gerben Wierda [this message]

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=6999F7C8-F97D-4A44-8D9E-3393A5DB2650@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).