-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, (I've repeated this post, because I didn't see any answers. Sample file included, you can easily check if I'm wrong or right). It seems user palets don't work (anymore?), just downloaded the new version but still has the same problem as the version I used before (aug 2006). Sample file: - -------------------------------------------------- % interface=en \setupbodyfont [postscript,16pt] \setupcolors [state=start] \setupalign [hyphenated] \definepalet [MYcolorpretty] [prettyone=colorprettyone, prettytwo=colorprettytwo, prettythree=colorprettythree, prettyfour=colorprettyfour] \setuptyping [TEX] [palet=MYcolorpretty] \starttext \startTEX \this \is \a \test \stopTEX \stoptext - -------------------------------------------------- As you will see, there are no colors anymore. My tex and context versions: This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 2007.1.4) 4 JAN 2007 20:14 entering extended mode ConTeXt ver: 2007.01.02 13:44 MK II fmt: 2007.1.4 int: english/english - -- Live long and prosper, Berend de Boer PS: This email has been digitally signed if you wonder what the strange characters are that your outdated email client displays. PGP public key: http://www.pobox.com/~berend/berend-public-key.txt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iD8DBQFFpUqYIyuuaiRyjTYRAlccAKCNjxWNXOJd3Z7I9XiYr3rRB5VQTQCfdgEJ AImWg4IZYM9fkXuFIM9TIjY= =gaQu -----END PGP SIGNATURE-----
On Thu, 11 Jan 2007, Berend de Boer wrote:
Hi All,
(I've repeated this post, because I didn't see any answers. Sample file included, you can easily check if I'm wrong or right).
I have not used palets before, so I do not know if something has broken or not. With your code, I do not get any colors. However, if I change
\setuptyping [TEX] [palet=MYcolorpretty]
with \definepalet[TEXcolorpretty][MYcolorpretty] it works. Aditya
Aditya Mahajan wrote:
On Thu, 11 Jan 2007, Berend de Boer wrote:
Hi All,
(I've repeated this post, because I didn't see any answers. Sample file included, you can easily check if I'm wrong or right).
I have not used palets before, so I do not know if something has broken or not. With your code, I do not get any colors. However, if I change
\setuptyping [TEX] [palet=MYcolorpretty]
with
\definepalet[TEXcolorpretty][MYcolorpretty]
it works.
I believe this is 'as expected'. A bit weird maybe, but still expected (the innards of the pretty typing code are a bit hairy sometimes). Taco
participants (3)
-
Aditya Mahajan
-
Berend de Boer
-
Taco Hoekwater