* Re: --automprun does not work
@ 2001-07-16 14:08 ` Patrick Gundlach
2001-07-17 10:02 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 6+ messages in thread
From: Patrick Gundlach @ 2001-07-16 14:08 UTC (permalink / raw)
Hi,
i have not followed the discussion but do you have a
file named "cont-sys.tex" and in there
\protectbufferstrue
??
If not, try \protectbufferstrue at the beg. of your doc. Maybe
this helps.
Viele Gruesse,
Patrick Gundlach
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: --automprun does not work
2001-07-16 14:08 ` --automprun does not work Patrick Gundlach
@ 2001-07-17 10:02 ` Eckhart Guthöhrlein
0 siblings, 0 replies; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-17 10:02 UTC (permalink / raw)
At 16:08 16.07.2001 +0200, Patrick Gundlach wrote:
> \protectbufferstrue
That was the problem, "Schuppen von den Augen", thank you very much. My
version of cont-sys.tex somehow disappeared during the last update, I
simply didn't think of that.
Eckhart
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: --automprun does not work
2001-07-16 7:54 ` Hans Hagen
@ 2001-07-16 13:26 ` Eckhart Guthöhrlein
0 siblings, 0 replies; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-16 13:26 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 09:54 16.07.2001 +0200, Hans Hagen wrote:
>>\startreusableMPgraphic{metaobj}
>> input metaobj;
>> newBox.testbox(btex Where is it? etex);
>> testbox.c=origin;
>> drawObj(testbox);
>>\stopreusableMPgraphic
>>
>>\starttext
>> \reuseMPgraphic{...}
>>\stoptext
>>
>>witth {...}={nometaobj} as well as {...}={justinput}, everything works
>>fine. But with {...}={metaobj}, I get the nearly empty log above.
>>Compiling via mp mpgraph works. So, this might be some interference with
>>metaobj, or perhaps a general problem with complex MP code (but I can't
>>imagine this looking at the available examples...)
>>And as I wrote before, with runtime mp via \write18, all three test
>>graphics work.
>
>the problem, is probably with metaobj being loaded twice [within a fig];
>you may try:
No, it is not. The problem occurs also with the part above alone, with just
one figure.
>\startMPinclusions
> input metaobj ;
>\stopMPinclusions
>
>\appendtoks input metaobj ; \to \MPinitializations
I tried both, the same result: an empty mpgraph.log, no graphics produced,
but mpgraph.mp compilable from the command line with no problems. Here is
the full (rather long) output of the whole texexec run, perhaps you can see
something that helps.
TeXExec 2.5 - ConTeXt / PRAGMA ADE 1997-2001
executable : pdfetex
format : cont-en
inputfile : tttt
output : pdftex
interface : en
current mode : all
TeX run : 1
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
entering extended mode
(tttt.tex{pdftex.cfg}
ConTeXt ver: 2001.7.11 fmt: 2001.7.12 int: english mes: english
language : language de is active
system : cont-new loaded
(D:\mytexmf\tex\context\base\cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 202] \ifcsname
)
system : cont-old loaded
(D:\mytexmf\tex\context\base\cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(D:\mytexmf\tex\context\base\cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(D:\mytexmf\tex\context\user\cont-sys.tex)
bodyfont : 12pt rm is loaded
language : patterns 2-de-2 2-en-2 2-fr-2 2-es-2 2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : tttt.top loaded
(./tttt.top
specials : tex,postscript,rokicki is reset
specials : loading definition file tpd
(D:\mytexmf\tex\context\base\spec-tpd.tex <unprotect 2>
specials : loading definition file fdf
(D:\mytexmf\tex\context\base\spec-fdf.tex <unprotect 3> <unprotect 4>
<protect 4> <protect 3>)
specials : fdf loaded
<unprotect 3> <protect 3> <protect 2>)
specials : fdf,tpd loaded
)
systems : begin file tttt at line 10
Randomizer initialized to 1080564002.
figures : figure mpgraph can not be found
{psfonts.map} [1.1]
systems : end file tttt at line 12
[flush and process mpgraph.mp afterwards] )<cmr12.pfb><cmr10.pfb>
Output written on tttt.pdf (1 page, 10380 bytes).
Transcript written on tttt.log.
run time : 8 seconds
generating graphics : metaposting mpgraph.mp
TeXExec 2.5 - ConTeXt / PRAGMA ADE 1997-2001
metapost to tex : mpgraph
executable : pdfetex
format : cont-en
inputfile : tmpgraph
output : dvips
interface : en
options : once nomp
current mode : all
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
entering extended mode
(tmpgraph.tex{pdftex.cfg}
ConTeXt ver: 2001.7.11 fmt: 2001.7.12 int: english mes: english
language : language de is active
system : cont-new loaded
(D:\mytexmf\tex\context\base\cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 202] \ifcsname
)
system : cont-old loaded
(D:\mytexmf\tex\context\base\cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(D:\mytexmf\tex\context\base\cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(D:\mytexmf\tex\context\user\cont-sys.tex)
bodyfont : 12pt rm is loaded
language : patterns 2-de-2 2-en-2 2-fr-2 2-es-2 2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : tmpgraph.top loaded
(./tmpgraph.top
specials : tex,postscript,rokicki is reset
specials : loading definition file dvi
(D:\mytexmf\tex\context\base\spec-dvi.tex <unprotect 2> <unprotect 3>
<protect 3> <protect 2>)
specials : tex loaded
specials : loading definition file ps
(D:\mytexmf\tex\context\base\spec-ps.tex <unprotect 2> <protect 2>)
specials : tex,postscript loaded
specials : loading definition file tr
(D:\mytexmf\tex\context\base\spec-tr.tex <unprotect 2> <protect 2>)
specials : tex,postscript,rokicki loaded
) [1.1]
systems : end file tmpgraph at line 5
)
Output written on tmpgraph.dvi (1 page, 204 bytes).
Transcript written on tmpgraph.log.
run time : 4 seconds
dvi to metapost : mpgraph
metapost : mpgraph
(mpgraph.mp )
Transcript written on mpgraph.log.
sorting and checking : running texutil
TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : tttt.tui
output file : tttt.tuo
passed commands : 6
remapped keys : 0
register entries : 0 -> 0 entries 0 references
synonym entries : 0 -> 0 entries
embedded files : 1
utility file analysis : another run needed
TeX run : 2
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
entering extended mode
(tttt.tex{pdftex.cfg}
ConTeXt ver: 2001.7.11 fmt: 2001.7.12 int: english mes: english
language : language de is active
system : cont-new loaded
(D:\mytexmf\tex\context\base\cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 202] \ifcsname
)
system : cont-old loaded
(D:\mytexmf\tex\context\base\cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(D:\mytexmf\tex\context\base\cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(D:\mytexmf\tex\context\user\cont-sys.tex)
bodyfont : 12pt rm is loaded
language : patterns 2-de-2 2-en-2 2-fr-2 2-es-2 2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : tttt.top loaded
(./tttt.top
specials : tex,postscript,rokicki is reset
specials : loading definition file tpd
(D:\mytexmf\tex\context\base\spec-tpd.tex <unprotect 2>
specials : loading definition file fdf
(D:\mytexmf\tex\context\base\spec-fdf.tex <unprotect 3> <unprotect 4>
<protect 4> <protect 3>)
specials : fdf loaded
<unprotect 3> <protect 3> <protect 2>)
specials : fdf,tpd loaded
) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo)
(./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo) (./tttt.tuo)
(./tttt.tuo)
systems : begin file tttt at line 10
Randomizer initialized to 1080564002.
figures : figure mpgraph can not be found
{psfonts.map} (./tttt.tuo) [1.1]
systems : end file tttt at line 12
[flush and process mpgraph.mp afterwards] )<cmr12.pfb><cmr10.pfb>
Output written on tttt.pdf (1 page, 10380 bytes).
Transcript written on tttt.log.
run time : 5 seconds
generating graphics : metaposting mpgraph.mp
TeXExec 2.5 - ConTeXt / PRAGMA ADE 1997-2001
metapost to tex : mpgraph
executable : pdfetex
format : cont-en
inputfile : tmpgraph
output : dvips
interface : en
options : once nomp
current mode : all
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
entering extended mode
(tmpgraph.tex{pdftex.cfg}
ConTeXt ver: 2001.7.11 fmt: 2001.7.12 int: english mes: english
language : language de is active
system : cont-new loaded
(D:\mytexmf\tex\context\base\cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 202] \ifcsname
)
system : cont-old loaded
(D:\mytexmf\tex\context\base\cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(D:\mytexmf\tex\context\base\cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(D:\mytexmf\tex\context\user\cont-sys.tex)
bodyfont : 12pt rm is loaded
language : patterns 2-de-2 2-en-2 2-fr-2 2-es-2 2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : tmpgraph.top loaded
(./tmpgraph.top
specials : tex,postscript,rokicki is reset
specials : loading definition file dvi
(D:\mytexmf\tex\context\base\spec-dvi.tex <unprotect 2> <unprotect 3>
<protect 3> <protect 2>)
specials : tex loaded
specials : loading definition file ps
(D:\mytexmf\tex\context\base\spec-ps.tex <unprotect 2> <protect 2>)
specials : tex,postscript loaded
specials : loading definition file tr
(D:\mytexmf\tex\context\base\spec-tr.tex <unprotect 2> <protect 2>)
specials : tex,postscript,rokicki loaded
) [1.1]
systems : end file tmpgraph at line 5
)
Output written on tmpgraph.dvi (1 page, 204 bytes).
Transcript written on tmpgraph.log.
run time : 4 seconds
dvi to metapost : mpgraph
metapost : mpgraph
(mpgraph.mp )
Transcript written on mpgraph.log.
sorting and checking : running texutil
TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : tttt.tui
output file : tttt.tuo
passed commands : 6
remapped keys : 0
register entries : 0 -> 0 entries 0 references
synonym entries : 0 -> 0 entries
embedded files : 1
--
Eckhart
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: --automprun does not work
2001-07-14 9:55 ` Eckhart Guthöhrlein
@ 2001-07-16 7:54 ` Hans Hagen
2001-07-16 13:26 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2001-07-16 7:54 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 11:55 AM 7/14/2001 +0200, Eckhart Guthöhrlein wrote:
>I have to make some additions to this. In principle, everything works
>well, so no problem with texexec due to updates. But there are problems
>with more complex MP code, possibly with metaobj. My test file:
>
>\startreusableMPgraphic{nometaobj}
> draw unitsquare scaled 1cm;
>\stopreusableMPgraphic
>
>\startreusableMPgraphic{justinput}
> input metaobj;
> draw unitsquare scaled 1cm;
>\stopreusableMPgraphic
>
>\startreusableMPgraphic{metaobj}
> input metaobj;
> newBox.testbox(btex Where is it? etex);
> testbox.c=origin;
> drawObj(testbox);
>\stopreusableMPgraphic
>
>\starttext
> \reuseMPgraphic{...}
>\stoptext
>
>witth {...}={nometaobj} as well as {...}={justinput}, everything works
>fine. But with {...}={metaobj}, I get the nearly empty log above.
>Compiling via mp mpgraph works. So, this might be some interference with
>metaobj, or perhaps a general problem with complex MP code (but I can't
>imagine this looking at the available examples...)
>And as I wrote before, with runtime mp via \write18, all three test
>graphics work.
the problem, is probably with metaobj being loaded twice [within a fig];
you may try:
\startMPinclusions
input metaobj ;
\stopMPinclusions
\appendtoks input metaobj ; \to \MPinitializations
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: --automprun does not work
2001-07-12 14:49 Eckhart Guthöhrlein
@ 2001-07-14 9:55 ` Eckhart Guthöhrlein
2001-07-16 7:54 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-14 9:55 UTC (permalink / raw)
At 16:49 12.07.2001 +0200, I wrote:
>Forgot this one. With \write18 enabled, everything works fine now, but not
>without... \runMPgraphicsfalse (or at least not ..true) in cont-sys.tex is
>necessary, otherwise texexec assumes on-the-fly generation and does not
>call mp afterwards.
>The problem is: With
>texexec --automprun --pdf test
>mp is called after the tex runs, but no picture is produced (and possibly
>that's why no final tex run follows). This is the entire log file mpgraph.log:
>
>This is MetaPost, Version 0.641 (MiKTeX 2.1) (preloaded mem=metafun
>2001.7.12) 12 JUL 2001 16:42
>**mpgraph
>(mpgraph.mp )
>
>However, compiling mpgraph.mp from the command line via
>mp mpgraph
>works fine!
>
>I can't explain why mp is terminated prematurely when called by texexec.
>Even more strange, Hans might remember having told me about the --autmprun
>switch. Everything worked properly on my machine, perhaps one of the
>latest updates causes problems (but I can't tell which one, if so, for I
>didn't use mp since then)?
I have to make some additions to this. In principle, everything works well,
so no problem with texexec due to updates. But there are problems with more
complex MP code, possibly with metaobj. My test file:
\startreusableMPgraphic{nometaobj}
draw unitsquare scaled 1cm;
\stopreusableMPgraphic
\startreusableMPgraphic{justinput}
input metaobj;
draw unitsquare scaled 1cm;
\stopreusableMPgraphic
\startreusableMPgraphic{metaobj}
input metaobj;
newBox.testbox(btex Where is it? etex);
testbox.c=origin;
drawObj(testbox);
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{...}
\stoptext
witth {...}={nometaobj} as well as {...}={justinput}, everything works
fine. But with {...}={metaobj}, I get the nearly empty log above. Compiling
via mp mpgraph works. So, this might be some interference with metaobj, or
perhaps a general problem with complex MP code (but I can't imagine this
looking at the available examples...)
And as I wrote before, with runtime mp via \write18, all three test
graphics work.
Eckhart
^ permalink raw reply [flat|nested] 6+ messages in thread
* --automprun does not work
@ 2001-07-12 14:49 Eckhart Guthöhrlein
2001-07-14 9:55 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2001-07-12 14:49 UTC (permalink / raw)
Forgot this one. With \write18 enabled, everything works fine now, but not
without... \runMPgraphicsfalse (or at least not ..true) in cont-sys.tex is
necessary, otherwise texexec assumes on-the-fly generation and does not
call mp afterwards.
The problem is: With
texexec --automprun --pdf test
mp is called after the tex runs, but no picture is produced (and possibly
that's why no final tex run follows). This is the entire log file mpgraph.log:
This is MetaPost, Version 0.641 (MiKTeX 2.1) (preloaded mem=metafun
2001.7.12) 12 JUL 2001 16:42
**mpgraph
(mpgraph.mp )
However, compiling mpgraph.mp from the command line via
mp mpgraph
works fine!
I can't explain why mp is terminated prematurely when called by texexec.
Even more strange, Hans might remember having told me about the --autmprun
switch. Everything worked properly on my machine, perhaps one of the latest
updates causes problems (but I can't tell which one, if so, for I didn't
use mp since then)?
That's all... Greetings,
Eckhart
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-07-17 10:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Your message of "Mon, 16 Jul 2001 15:26:20 +0200." <5.1.0.14.0.20010716151808.00a8e1a8@public.uni-hamburg.de>
2001-07-16 14:08 ` --automprun does not work Patrick Gundlach
2001-07-17 10:02 ` Eckhart Guthöhrlein
2001-07-12 14:49 Eckhart Guthöhrlein
2001-07-14 9:55 ` Eckhart Guthöhrlein
2001-07-16 7:54 ` Hans Hagen
2001-07-16 13:26 ` Eckhart Guthöhrlein
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).