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
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
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
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 -----------------------------------------------------------------
participants (3)
-
David Arnold
-
Hans Hagen
-
Willi Egger