ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* metapost background
@ 2006-04-09  7:57 Johan Sandblom
  2006-04-09  8:35 ` Taco Hoekwater
  2006-04-09 17:58 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Johan Sandblom @ 2006-04-09  7:57 UTC (permalink / raw)


If the following is run with newtexexec, the text background on the
first page is black. On live.contextgarden.net it works ok. Another
candidate for the test suite?

\setupcolors[state=start]
\definecolor[red][r=1]
\definecolor[trwhite][s=1, t=.5, a=1]
\setupbackgrounds[state=repeat]
\defineoverlay[pagebg][\useMPgraphic{pagebg}]
\setupbackgrounds[page][background=pagebg]
\startuseMPgraphic{pagebg}
StartPage ;
fill Page withcolor \MPcolor{red} ;
fill Field[Text][Text] withcolor \MPcolor{trwhite} ;
StopPage ;
\stopuseMPgraphic

\starttext

\dorecurse{10}{\input tufte}

\stoptext

--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

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

* Re: metapost background
  2006-04-09  7:57 metapost background Johan Sandblom
@ 2006-04-09  8:35 ` Taco Hoekwater
       [not found]   ` <97a06f070604090139r227b6741g8b866a97297638f3@mail.gmail.com>
  2006-04-09 17:58 ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-09  8:35 UTC (permalink / raw)


Johan Sandblom wrote:
> If the following is run with newtexexec, the text background on the
> first page is black.

I _do_ get a nice pinkish background on both pages when I don't use
runtime graphics. Diagnosis: It looks like the specials get lost
somehow in the runtime version.

This file is certainly a good test case.

Greetings, Taco

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

* Re: metapost background
       [not found]     ` <4438C98F.5050301@elvenkind.com>
@ 2006-04-09 17:50       ` Johan Sandblom
  0 siblings, 0 replies; 7+ messages in thread
From: Johan Sandblom @ 2006-04-09 17:50 UTC (permalink / raw)
  Cc: Taco Hoekwater

How does one use the old texexec in the standalone windows version? I tried with

texmfstart texexec.pl

and that looks like the old texexec output but the resulting pdf is
equally defective.

Regards, Johan

2006/4/9, Taco Hoekwater <taco@elvenkind.com>:
> Johan Sandblom wrote:
> > Is there a workaround I can use? I need it for a presentation this
> > week. I can't use live since I have my own fonts.
>
> Either start your document with  \runMPgraphicsfalse,
> or use old texexec. Both solutions work  OK here.
>
> Taco
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

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

* Re: metapost background
  2006-04-09  7:57 metapost background Johan Sandblom
  2006-04-09  8:35 ` Taco Hoekwater
@ 2006-04-09 17:58 ` Hans Hagen
  2006-04-10  6:47   ` Taco Hoekwater
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-04-09 17:58 UTC (permalink / raw)


Johan Sandblom wrote:
> If the following is run with newtexexec, the text background on the
> first page is black. On live.contextgarden.net it works ok. Another
> candidate for the test suite?
>   
sure
> \setupcolors[state=start]
> \definecolor[red][r=1]
> \definecolor[trwhite][s=1, t=.5, a=1]
> \setupbackgrounds[state=repeat]
> \defineoverlay[pagebg][\useMPgraphic{pagebg}]
> \setupbackgrounds[page][background=pagebg]
> \startuseMPgraphic{pagebg}
> StartPage ;
> fill Page withcolor \MPcolor{red} ;
> fill Field[Text][Text] withcolor \MPcolor{trwhite} ;
> StopPage ;
> \stopuseMPgraphic
>
> \starttext
>
> \dorecurse{10}{\input tufte}
>
> \stoptext
>   
works ok here both 

newtexexec test
newtexexec --automp test 

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

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

* Re: metapost background
  2006-04-09 17:58 ` Hans Hagen
@ 2006-04-10  6:47   ` Taco Hoekwater
  2006-04-10  7:00     ` metapost background (fix) Taco Hoekwater
  2006-04-10  7:06     ` metapost background Johan Sandblom
  0 siblings, 2 replies; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-10  6:47 UTC (permalink / raw)
  Cc: johan.sandblom

Hans Hagen wrote:
> 
> works ok here both 
> 

Hi Johan,

Have you changed any of the memory values in texmf.cnf recently?
(I suddenly remember I have)

Cheers,
Taco

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

* Re: metapost background (fix)
  2006-04-10  6:47   ` Taco Hoekwater
@ 2006-04-10  7:00     ` Taco Hoekwater
  2006-04-10  7:06     ` metapost background Johan Sandblom
  1 sibling, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-10  7:00 UTC (permalink / raw)
  Cc: johan.sandblom

Taco Hoekwater wrote:
> Hans Hagen wrote:
> 
>>works ok here both 
>>
> 
> Have you changed any of the memory values in texmf.cnf recently?
> (I suddenly remember I have)

I regenerated the formats with

   texmfstart newtexexec --make --all

and after that, the problem was gone. Probably because texexec and
newtexexec read different variables from texmf.cnf.

Cheers, Taco

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

* Re: metapost background
  2006-04-10  6:47   ` Taco Hoekwater
  2006-04-10  7:00     ` metapost background (fix) Taco Hoekwater
@ 2006-04-10  7:06     ` Johan Sandblom
  1 sibling, 0 replies; 7+ messages in thread
From: Johan Sandblom @ 2006-04-10  7:06 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Yes, I have increased the save size from 5000 to 15000 for a document
with random backgrounds.

Johan

2006/4/10, Taco Hoekwater <taco@elvenkind.com>:
> Hans Hagen wrote:
> >
> > works ok here both
> >
>
> Hi Johan,
>
> Have you changed any of the memory values in texmf.cnf recently?
> (I suddenly remember I have)
>
> Cheers,
> Taco
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

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

end of thread, other threads:[~2006-04-10  7:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-09  7:57 metapost background Johan Sandblom
2006-04-09  8:35 ` Taco Hoekwater
     [not found]   ` <97a06f070604090139r227b6741g8b866a97297638f3@mail.gmail.com>
     [not found]     ` <4438C98F.5050301@elvenkind.com>
2006-04-09 17:50       ` Johan Sandblom
2006-04-09 17:58 ` Hans Hagen
2006-04-10  6:47   ` Taco Hoekwater
2006-04-10  7:00     ` metapost background (fix) Taco Hoekwater
2006-04-10  7:06     ` metapost background Johan Sandblom

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