ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* BUG in beta manual and enco-win.tex
@ 2000-06-12 15:53 Uwe Koloska
  2000-06-12 23:27 ` Color Questions and other one Gilles Maire
  2000-06-13 19:37 ` BUG in beta manual and enco-win.tex Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Uwe Koloska @ 2000-06-12 15:53 UTC (permalink / raw)


Hello

there is a bug in the beta manual: for \setupdescription the parameter
"headcolor" is missing.  I just found out that it works by trying.

and in enco-win.tex 'ß' (germandbls) is translated to "{\SS{}}"
(Germandbls) but has to be "{\sz{}}"  This bug doesn't shine up because in
enco-ed.tex both "\sz" and "\SS" point to germandbls -- yes I know it was
my fault.

I am just searching for an encoding vector for windows that shows the
difference to iso8859-1.

What encoding will be used without any command "\usencoding[...]"?

Best wishes
Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


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

* Color Questions and other one
  2000-06-12 15:53 BUG in beta manual and enco-win.tex Uwe Koloska
@ 2000-06-12 23:27 ` Gilles Maire
  2000-06-13 19:31   ` Hans Hagen
  2000-06-13 19:37 ` BUG in beta manual and enco-win.tex Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Gilles Maire @ 2000-06-12 23:27 UTC (permalink / raw)
  Cc: ntg-context

I am newbie on Context world and I produce perfect documents but I have
two questions (I use RedHat6.2 context)

- I can't select color by /setupcolor I applied the orders like in the
documentation

- How can I draw circles arround title like in the starting guide ?

Thanks

-- 
Gilles Maire
||||/ UNGI \||||
http://www.ungi.net
01 40 34 83 74


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

* Re: Color Questions and other one
  2000-06-12 23:27 ` Color Questions and other one Gilles Maire
@ 2000-06-13 19:31   ` Hans Hagen
       [not found]     ` <3947B675.9CC91D6F@ungi.net>
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2000-06-13 19:31 UTC (permalink / raw)
  Cc: ntg-context

At 01:27 AM 6/13/2000 +0200, Gilles Maire wrote:
>I am newbie on Context world and I produce perfect documents but I have
>two questions (I use RedHat6.2 context)
>
>
>- I can't select color by /setupcolor I applied the orders like in 

\setupcolor  -> load color file
\setupcolors -> tune color mechanism 

>- How can I draw circles arround title like in the starting guide ?

% We want color ...

\setupcolors[state=start]

% ... next we define graphic that adapts itself ...

\startuniqueMPgraphic{myhead}
draw fullcircle xscaled \overlaywidth yscaled \overlayheight
withpen pencircle scaled 3 withcolor red ;
\stopuniqueMPgraphic

% ... and puts it in an overlay ...

\defineoverlay[myhead][\uniqueMPgraphic{myhead}]

% ... which is hooked into a command ...

\def\MyHead#1#2%
  {\framed
     [backgroundoffset=2ex,
      background=myhead,
      frame=off]
     {#1\quad#2}}

% ... that is used to enhance a title ...

\setuphead[chapter][command=\MyHead,color=blue]

% ... so ....

\chapter{We get this}

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

* Re: BUG in beta manual and enco-win.tex
  2000-06-12 15:53 BUG in beta manual and enco-win.tex Uwe Koloska
  2000-06-12 23:27 ` Color Questions and other one Gilles Maire
@ 2000-06-13 19:37 ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2000-06-13 19:37 UTC (permalink / raw)
  Cc: ntg-context

At 05:53 PM 6/12/2000 +0200, Uwe Koloska wrote:

>there is a bug in the beta manual: for \setupdescription the parameter
>"headcolor" is missing.  I just found out that it works by trying.

Each setup that has a 'style', also has a 'color' key. When I extended that
feature I was too lazy to adapt all setups; will do so some day. 

>and in enco-win.tex 'ß' (germandbls) is translated to "{\SS{}}"
>(Germandbls) but has to be "{\sz{}}"  This bug doesn't shine up because in
>enco-ed.tex both "\sz" and "\SS" point to germandbls -- yes I know it was
>my fault.

Well, I'll send you the file so that you can test it. 

>I am just searching for an encoding vector for windows that shows the
>difference to iso8859-1.
>
>What encoding will be used without any command "\usencoding[...]"?

Just plain old tex. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

* Re: Color Questions and other one
       [not found]     ` <3947B675.9CC91D6F@ungi.net>
@ 2000-06-14 16:42       ` Hans Hagen
  2000-06-16  8:39         ` Gilles Maire
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2000-06-14 16:42 UTC (permalink / raw)
  Cc: ntg-context

At 06:44 PM 6/14/2000 +0200, Gilles Maire wrote:

>Many thanks but I got the result : 
>
> Undefined control sequence.
>l.9 \startuniqueMPgraphic

It's in core-mps.tex, but when you run an old context, you can add this to
cont-new.tex (after \unprotect) 

\long\def\startuniqueMPgraphic#1#2\stopuniqueMPgraphic%
  {\setvalue{MP:#1}%
     {\startreusableMPgraphic{\overlaystamp:#1}#2\stopreusableMPgraphic
      \reuseMPgraphic{\overlaystamp:#1}}}

\def\uniqueMPgraphic#1%
  {\getvalue{MP:#1}}

\def\overlaystamp%
  {\overlaywidth:\overlayheight:\overlaydepth:\overlaycolor}

As you can see, a rather trivial macro (although the latest version will be
a bit more sophisticated due to some recent extensions). 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

* Re: Color Questions and other one
  2000-06-14 16:42       ` Hans Hagen
@ 2000-06-16  8:39         ` Gilles Maire
  2000-06-18 21:14           ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Maire @ 2000-06-16  8:39 UTC (permalink / raw)
  Cc: ntg-context

Hans Hagen a écrit :
> 
> At 06:44 PM 6/14/2000 +0200, Gilles Maire wrote:
> 
> >Many thanks but I got the result :
> >
> > Undefined control sequence.
> >l.9 \startuniqueMPgraphic
> 
> It's in core-mps.tex, but when you run an old context, you can add this to
> cont-new.tex (after \unprotect)
> 
> \long\def\startuniqueMPgraphic#1#2\stopuniqueMPgraphic%
>   {\setvalue{MP:#1}%
>      {\startreusableMPgraphic{\overlaystamp:#1}#2\stopreusableMPgraphic
>       \reuseMPgraphic{\overlaystamp:#1}}}
> 
> \def\uniqueMPgraphic#1%
>   {\getvalue{MP:#1}}
> 
> \def\overlaystamp%
>   {\overlaywidth:\overlayheight:\overlaydepth:\overlaycolor}
> 
> As you can see, a rather trivial macro (although the latest version will be
> a bit more sophisticated due to some recent extensions).
>

Thanks I have installed the last release of context and I checked that
theses informations are located in core-mps.tex. 

When I execute texexec I have the follonwing result : 

TeXExec 1.2 - ConTeXt / PRAGMA ADE 1997-1999

            executable : pdfetex
                format : cont-en
             inputfile : 1
                output : standard
             interface : en
          current mode : all
               TeX run : 1

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1)
entering extended mode
(1.tex[/usr/share/texmf/pdftex/config/pdftex.cfg]

ConTeXt ver: 1999.5.11 fmt: 2000.1.1 int: english mes: english

system         : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
line 636: inserting E-TEX code \unless 
)
system         : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
specials       : tex,postscript,rokicki loaded
system         : building simple util
system         : cont-opt loaded
(cont-opt.tex)
color          : rgb color space is supported
color          : cmyk color space is supported
color          : system rgb is global activated
! Undefined control sequence.
l.9 \startuniqueMPgraphic
                         {myhead}
? 

-- 
Gilles Maire
||||/ UNGI \||||
http://www.ungi.net
01 40 34 83 74


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

* Re: Color Questions and other one
  2000-06-16  8:39         ` Gilles Maire
@ 2000-06-18 21:14           ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2000-06-18 21:14 UTC (permalink / raw)
  Cc: ntg-context

At 10:39 AM 6/16/2000 +0200, Gilles Maire wrote:

>Thanks I have installed the last release of context and I checked that
>theses informations are located in core-mps.tex. 

>ConTeXt ver: 1999.5.11 fmt: 2000.1.1 int: english mes: english

This is definitely not the latest. Where did you fetch it? Did you
regenerate a format after unzipping cont-tmf in the texmf path? (texexec
--make). 

>l.9 \startuniqueMPgraphic

alternatively, add the definitions to cont-new.tex

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.nl
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-06-18 21:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-12 15:53 BUG in beta manual and enco-win.tex Uwe Koloska
2000-06-12 23:27 ` Color Questions and other one Gilles Maire
2000-06-13 19:31   ` Hans Hagen
     [not found]     ` <3947B675.9CC91D6F@ungi.net>
2000-06-14 16:42       ` Hans Hagen
2000-06-16  8:39         ` Gilles Maire
2000-06-18 21:14           ` Hans Hagen
2000-06-13 19:37 ` BUG in beta manual and enco-win.tex Hans Hagen

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