Greetings,

unfortunately I cannot assign personal color palettes to my 
program listings. The following document, after processing, shows a
colorful palet, then, unexpectedly, a B+W listing, then another
colorful palet, and a colorful listing. What is wrong in the
assignment of an own palet here?

Best


Johannes

-----8-<-----
\setupoutput[pdftex]

\setupcolors[state=start]

\definecolor [espresso]  [r=.4, b=.1, g=.2]
\definecolor [cacao]     [r=.6, b=.2, g=.4]
\definecolor [aulait]    [r=.8, b=.4, g=.6]
\definecolor [muckefuck] [r=.95, b=.65, g=.8]

\definepalet
  [mokka]
  [  prettyone=espresso,
     prettytwo=cacao,
   prettythree=aulait,
    prettyfour=muckefuck]

\starttext

\showpalet[mokka]

\setuptyping[PL][palet=mokka]

\startPL
#!/usr/bin/perl -w

print "Hello, World!\n";
\stopPL

\showpalet[colorpretty]

\setuptyping[PL][palet=colorpretty]

\startPL
#!/usr/bin/perl -w

print "Hello, Hasselt!\n";
\stopPL
\stoptext
----->-8-----

-- 
Johannes H�sing   There is something fascinating about science. One gets
[EMAIL PROTECTED]  such wholesale returns of conjecture from such a 
                  trifling investment of fact.                Mark Twain
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to