ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Compiling questions
@ 2004-11-06 19:55 David Arnold
  2004-11-06 20:59 ` Willi Egger
  2004-11-08 10:40 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: David Arnold @ 2004-11-06 19:55 UTC (permalink / raw)


All,

This test file:

\starttext
\setupcolors[state=start]
\startMPpage
colorcircle(10cm,red,green,blue) ;
\stopMPpage
\stoptext

If I follow this procedure:

f:/context/texutil --purgeall
f:/context/texexec --pdf test

Then I get a nice document when opened in Acrobat Reader.

However, with the document below, this same procedure doesn't produce the
"Concept" background. Indeed, I need to do this to get the "Concept"
background:

f:/context/texutil --purgeall
f:/context/texexec --pdf junk2
f:/context/mpost mpgraph
f:/context/texexec --pdf junk2

Then, I get a nice document with the "Concept" background. Suggestions?

The file junk2.tex:

\setupoutput[pdf]

\setupwhitespace[medium]

\startuniqueMPgraphic{concept}
draw btex \bf CONCEPT etex rotated 60 withcolor .8white;
currentpicture:=currentpicture ysized (\overlayheight-0.5cm);
\stopuniqueMPgraphic

\defineoverlay[concept][\uniqueMPgraphic{concept}]

\setupbackgrounds[page][background=concept]


\starttext

Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.

Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.

Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.

\stoptext

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

* Re: Compiling questions
  2004-11-06 19:55 Compiling questions David Arnold
@ 2004-11-06 20:59 ` Willi Egger
  2004-11-06 21:15   ` David Arnold
  2004-11-08 10:40 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Willi Egger @ 2004-11-06 20:59 UTC (permalink / raw)


Hi David,

here your code from the second example runs without problem as well 
started from Scite as also from the cmd.box.

I thought that may be you should check your cont-sys.tex file, there
should exist two lines as follows:

\runMPgraphicstrue
\runMPTEXgraphicstrue


Willi

David Arnold wrote:
> All,
> 
> This test file:
> 
> \starttext
> \setupcolors[state=start]
> \startMPpage
> colorcircle(10cm,red,green,blue) ;
> \stopMPpage
> \stoptext
> 
> If I follow this procedure:
> 
> f:/context/texutil --purgeall
> f:/context/texexec --pdf test
> 
> Then I get a nice document when opened in Acrobat Reader.
> 
> However, with the document below, this same procedure doesn't produce the
> "Concept" background. Indeed, I need to do this to get the "Concept"
> background:
> 
> f:/context/texutil --purgeall
> f:/context/texexec --pdf junk2
> f:/context/mpost mpgraph
> f:/context/texexec --pdf junk2
> 
> Then, I get a nice document with the "Concept" background. Suggestions?
> 
> The file junk2.tex:
> 
> \setupoutput[pdf]
> 
> \setupwhitespace[medium]
> 
> \startuniqueMPgraphic{concept}
> draw btex \bf CONCEPT etex rotated 60 withcolor .8white;
> currentpicture:=currentpicture ysized (\overlayheight-0.5cm);
> \stopuniqueMPgraphic
> 
> \defineoverlay[concept][\uniqueMPgraphic{concept}]
> 
> \setupbackgrounds[page][background=concept]
> 
> 
> \starttext
> 
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> 
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> 
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> Now is the time for all good men to come to the aid of their country.
> 
> \stoptext
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Compiling questions
  2004-11-06 20:59 ` Willi Egger
@ 2004-11-06 21:15   ` David Arnold
  0 siblings, 0 replies; 4+ messages in thread
From: David Arnold @ 2004-11-06 21:15 UTC (permalink / raw)


Willi,

This worked but it opened another problem:

This is TeX, Version 3.141592 (MiKTeX 2.3)
(c:/windows/TEMP/mpxF766.TMP/mpx314.tex
! Undefined control sequence.
l.1 \global \loadfontfileoncetrue
                                 %
! You can't use a prefix with `\shipout'.
<to be read again>
                   \shipout
l.2 \shipout
            \hbox{\smash{\hbox{\hbox{% line 122 F:\ConTeXt\junk2-mpgraph.mp
[1] )
(see the transcript file for additional information)


At 09:59 PM 11/6/04 +0100, you wrote:
>Hi David,
>
>here your code from the second example runs without problem as well 
>started from Scite as also from the cmd.box.
>
>I thought that may be you should check your cont-sys.tex file, there
>should exist two lines as follows:
>
>\runMPgraphicstrue
>\runMPTEXgraphicstrue
>
>
>Willi
>
>David Arnold wrote:
>> All,
>> 
>> This test file:
>> 
>> \starttext
>> \setupcolors[state=start]
>> \startMPpage
>> colorcircle(10cm,red,green,blue) ;
>> \stopMPpage
>> \stoptext
>> 
>> If I follow this procedure:
>> 
>> f:/context/texutil --purgeall
>> f:/context/texexec --pdf test
>> 
>> Then I get a nice document when opened in Acrobat Reader.
>> 
>> However, with the document below, this same procedure doesn't produce the
>> "Concept" background. Indeed, I need to do this to get the "Concept"
>> background:
>> 
>> f:/context/texutil --purgeall
>> f:/context/texexec --pdf junk2
>> f:/context/mpost mpgraph
>> f:/context/texexec --pdf junk2
>> 
>> Then, I get a nice document with the "Concept" background. Suggestions?
>> 
>> The file junk2.tex:
>> 
>> \setupoutput[pdf]
>> 
>> \setupwhitespace[medium]
>> 
>> \startuniqueMPgraphic{concept}
>> draw btex \bf CONCEPT etex rotated 60 withcolor .8white;
>> currentpicture:=currentpicture ysized (\overlayheight-0.5cm);
>> \stopuniqueMPgraphic
>> 
>> \defineoverlay[concept][\uniqueMPgraphic{concept}]
>> 
>> \setupbackgrounds[page][background=concept]
>> 
>> 
>> \starttext
>> 
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> 
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> 
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> Now is the time for all good men to come to the aid of their country.
>> 
>> \stoptext
>> 
>> 
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re: Compiling questions
  2004-11-06 19:55 Compiling questions David Arnold
  2004-11-06 20:59 ` Willi Egger
@ 2004-11-08 10:40 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2004-11-08 10:40 UTC (permalink / raw)


David Arnold wrote:

> f:/context/texutil --purgeall
> f:/context/texexec --pdf junk2
> f:/context/mpost mpgraph
> f:/context/texexec --pdf junk2

it looks like context thinks that you run mp automatically, i.e. using write 18; 
search your log file for '18' or 'system' and maybe the message helps.

You can also try:

texexec --automp --pdf test

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.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

end of thread, other threads:[~2004-11-08 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 19:55 Compiling questions David Arnold
2004-11-06 20:59 ` Willi Egger
2004-11-06 21:15   ` David Arnold
2004-11-08 10:40 ` 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).