ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Palet option in setuptyping not working
@ 2007-01-10 20:20 Berend de Boer
  2007-01-11 22:48 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Berend de Boer @ 2007-01-10 20:20 UTC (permalink / raw)
  Cc: Hans Hagen

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

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

* Re: Palet option in setuptyping not working
  2007-01-10 20:20 Palet option in setuptyping not working Berend de Boer
@ 2007-01-11 22:48 ` Aditya Mahajan
  2007-01-11 23:32   ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2007-01-11 22:48 UTC (permalink / raw)
  Cc: ConTeXt mailinglist

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

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

* Re: Palet option in setuptyping not working
  2007-01-11 22:48 ` Aditya Mahajan
@ 2007-01-11 23:32   ` Taco Hoekwater
  0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2007-01-11 23:32 UTC (permalink / raw)
  Cc: Berend de Boer

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

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

end of thread, other threads:[~2007-01-11 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 20:20 Palet option in setuptyping not working Berend de Boer
2007-01-11 22:48 ` Aditya Mahajan
2007-01-11 23:32   ` Taco Hoekwater

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).