ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new beta (again)
@ 2005-04-20  8:23 Eckhart Guthöhrlein
  2005-04-20  8:44 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-20  8:23 UTC (permalink / raw)


Hi all,

inline metapost generation was broken aftre upgrading context. I have
seen the recent thread with several patches to texexec, so I updated to
yesterday evening's beta in the hope that this would fix the problems.
Unfortunately not.
When trying to generate the mp graphic I get this error:
sh: metafun: not found
After that, mpost fails with:
! End of file on the terminal... why?

Already when generating the metafun format with texexec --make, I get
two errors:
Use of uninitialized value in substitution (s///) at
/homes/eguthoeh/bin/texexec line 2291, <DATA> line 184.
Use of uninitialized value in scalar assignment at
/homes/eguthoeh/bin/texexec line 2292, <DATA> line 184.

I'm currently using TeX (Web2C 7.4.3) 3.14159 from the bash shell under
solaris.

Does somebody know which patches still have to be applied to texexec to
get it working?

Thanks,
-- 
Eckhart

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

* Re: new beta (again)
  2005-04-20  8:23 new beta (again) Eckhart Guthöhrlein
@ 2005-04-20  8:44 ` Hans Hagen
  2005-04-20  9:17   ` Eckhart Guthöhrlein
  2005-04-22  8:23   ` Eckhart Guthöhrlein
  0 siblings, 2 replies; 9+ messages in thread
From: Hans Hagen @ 2005-04-20  8:44 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:

> Does somebody know which patches still have to be applied to texexec to
> get it working?

in texexec.ini/rme set the engine switch to false

the problem is that engine support is handled (kin dof) by the tex engines but 
it seems to be broken for mpost

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] 9+ messages in thread

* Re: new beta (again)
  2005-04-20  8:44 ` Hans Hagen
@ 2005-04-20  9:17   ` Eckhart Guthöhrlein
  2005-04-22  8:23   ` Eckhart Guthöhrlein
  1 sibling, 0 replies; 9+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-20  9:17 UTC (permalink / raw)


On Wed, 20 Apr 2005 at 10:44:08+0200, Hans Hagen wrote:
> Eckhart Guthöhrlein wrote:
> 
> >Does somebody know which patches still have to be applied to texexec to
> >get it working?
> 
> in texexec.ini/rme set the engine switch to false

I didn't have a texexec.ini before, so I copied texexec.rme to
texexec.ini. After that, but before editing the file, texexec didn't
find any formats anymore, it fails already for cont-en. After changing
set UseEnginePath to false
I now have the same situation as before. So, this obviously was not not
the problem. Or did you mean something else?

-- 
Eckhart

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

* Re: new beta (again)
  2005-04-20  8:44 ` Hans Hagen
  2005-04-20  9:17   ` Eckhart Guthöhrlein
@ 2005-04-22  8:23   ` Eckhart Guthöhrlein
  2005-04-22 18:51     ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-22  8:23 UTC (permalink / raw)


On Wed, 20 Apr 2005 at 10:44:08+0200, Hans Hagen wrote:
> Eckhart Guthöhrlein wrote:
> 
> >Does somebody know which patches still have to be applied to texexec to
> >get it working?
> 
> in texexec.ini/rme set the engine switch to false

As mentioned before, that didn't help.

> the problem is that engine support is handled (kin dof) by the tex engines 
> but it seems to be broken for mpost

Obviously, texexec insists to call a comman named "metafun". I have
created an executable file with that name in the path which just
contains one line:
mpost --progname mpost \&metafun $1 $2 $3 $4 $5 $6

Admittedly not nice, but it seems to work, since mp graphics are
generated, without any changes to texexec.rme/ini. However, I still get
a strange message

This is MetaPost, Version 0.641 (Web2C 7.4.3)
**
! End of file on the terminal... why?

during the texexec run. So something is not quite ok, but I really don't
know what.

-- 
Eckhart

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

* Re: new beta (again)
  2005-04-22  8:23   ` Eckhart Guthöhrlein
@ 2005-04-22 18:51     ` Hans Hagen
  2005-04-27 11:32       ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2005-04-22 18:51 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:
> On Wed, 20 Apr 2005 at 10:44:08+0200, Hans Hagen wrote:
> 
>>Eckhart Guthöhrlein wrote:
>>
>>
>>>Does somebody know which patches still have to be applied to texexec to
>>>get it working?
>>
>>in texexec.ini/rme set the engine switch to false
> 
> 
> As mentioned before, that didn't help.

can you try todays alpha release?

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] 9+ messages in thread

* Re: new beta (again)
  2005-04-22 18:51     ` Hans Hagen
@ 2005-04-27 11:32       ` Eckhart Guthöhrlein
  2005-04-27 12:32         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-27 11:32 UTC (permalink / raw)


On Fri, 22 Apr 2005 at 20:51:18+0200, Hans Hagen wrote:
> >>>Does somebody know which patches still have to be applied to texexec to
> >>>get it working?
> >>
> >>in texexec.ini/rme set the engine switch to false
> >
> >
> >As mentioned before, that didn't help.
> 
> can you try todays alpha release?

I did, it does not work. Each 'texexec --pdf' run fails with:

Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
I can't find the format file `context.efmt'!

No difference wether I set UseEnginePath to true or false in
texexec.ini.

At a loss,
-- 
Eckhart

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

* Re: new beta (again)
  2005-04-27 11:32       ` Eckhart Guthöhrlein
@ 2005-04-27 12:32         ` Hans Hagen
  2005-04-28  8:54           ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2005-04-27 12:32 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:
> On Fri, 22 Apr 2005 at 20:51:18+0200, Hans Hagen wrote:
> 
>>>>>Does somebody know which patches still have to be applied to texexec to
>>>>>get it working?
>>>>
>>>>in texexec.ini/rme set the engine switch to false
>>>
>>>
>>>As mentioned before, that didn't help.
>>
>>can you try todays alpha release?
> 
> 
> I did, it does not work. Each 'texexec --pdf' run fails with:
> 
> Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
> I can't find the format file `context.efmt'!
> 
> No difference wether I set UseEnginePath to true or false in
> texexec.ini.

locate texmf.cnf and check

TEXFORMATS    = .;$TEXMF/web2c/{$ENGINE,}
MFBASES       = .;$TEXFORMATS
MPMEMS        = .;$TEXFORMATS
TEXPOOL       = .;$TEXFORMATS
MFPOOL        = .;$TEXFORMATS
MPPOOL        = .;$TEXFORMATS

are you running old binaries?

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] 9+ messages in thread

* Re: new beta (again)
  2005-04-27 12:32         ` Hans Hagen
@ 2005-04-28  8:54           ` Eckhart Guthöhrlein
  2005-04-28  9:40             ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-28  8:54 UTC (permalink / raw)


On Wed, 27 Apr 2005 at 14:32:03+0200, Hans Hagen wrote:
> Eckhart Guthöhrlein wrote:
> >On Fri, 22 Apr 2005 at 20:51:18+0200, Hans Hagen wrote:
> >
> >>>>>Does somebody know which patches still have to be applied to texexec to
> >>>>>get it working?
> >>>>
> >>>>in texexec.ini/rme set the engine switch to false
> >>>
> >>>
> >>>As mentioned before, that didn't help.
> >>
> >>can you try todays alpha release?
> >
> >
> >I did, it does not work. Each 'texexec --pdf' run fails with:
> >
> >Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
> >I can't find the format file `context.efmt'!
> >
> >No difference wether I set UseEnginePath to true or false in
> >texexec.ini.
> 
> locate texmf.cnf and check
> 
> TEXFORMATS    = .;$TEXMF/web2c/{$ENGINE,}
> MFBASES       = .;$TEXFORMATS
> MPMEMS        = .;$TEXFORMATS
> TEXPOOL       = .;$TEXFORMATS
> MFPOOL        = .;$TEXFORMATS
> MPPOOL        = .;$TEXFORMATS

My line was
TEXFORMATS = .;$TEXMF/web2c
The problem is not that I can't make tex find the formats. I think it is
because texexec tries to launch a command named 'metafun' which does
not exists, as the following lines of ouput of a texexec run suggest:

              metapost : try-mpgraph
                format : metafun
sh: metafun: not found

> are you running old binaries?

I have:
This is pdfeTeX, Version 3.14159-1.10a-RC3-2.1 (Web2C 7.4.3)
This is MetaPost, Version 0.641 (Web2C 7.4.3)
 TeXExec 5.3.1 - ConTeXt / PRAGMA ADE 1997-2005
ConTeXt  ver: 2005.04.19  fmt: 2005.4.28  int: english  mes: english

As you mention it, now I see that texexec complains:
systems         : pdfTeX version 110 -> please update
systems         : eTeX version 201 -> too old (bugs)

Can this really be the reason? I don't have administrative access to the
tex system here, so that would mean difficulties.

-- 
Eckhart

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

* Re: new beta (again)
  2005-04-28  8:54           ` Eckhart Guthöhrlein
@ 2005-04-28  9:40             ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2005-04-28  9:40 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:
> On Wed, 27 Apr 2005 at 14:32:03+0200, Hans Hagen wrote:
> 
>>Eckhart Guthöhrlein wrote:
>>
>>>On Fri, 22 Apr 2005 at 20:51:18+0200, Hans Hagen wrote:
>>>
>>>
>>>>>>>Does somebody know which patches still have to be applied to texexec to
>>>>>>>get it working?
>>>>>>
>>>>>>in texexec.ini/rme set the engine switch to false
>>>>>
>>>>>
>>>>>As mentioned before, that didn't help.
>>>>
>>>>can you try todays alpha release?
>>>
>>>
>>>I did, it does not work. Each 'texexec --pdf' run fails with:
>>>
>>>Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
>>>I can't find the format file `context.efmt'!
>>>
>>>No difference wether I set UseEnginePath to true or false in
>>>texexec.ini.
>>
>>locate texmf.cnf and check
>>
>>TEXFORMATS    = .;$TEXMF/web2c/{$ENGINE,}
>>MFBASES       = .;$TEXFORMATS
>>MPMEMS        = .;$TEXFORMATS
>>TEXPOOL       = .;$TEXFORMATS
>>MFPOOL        = .;$TEXFORMATS
>>MPPOOL        = .;$TEXFORMATS
> 
> 
> My line was
> TEXFORMATS = .;$TEXMF/web2c
> The problem is not that I can't make tex find the formats. I think it is
> because texexec tries to launch a command named 'metafun' which does
> not exists, as the following lines of ouput of a texexec run suggest:
> 
>               metapost : try-mpgraph
>                 format : metafun
> sh: metafun: not found
> 
> 
>>are you running old binaries?
> 
> 
> I have:
> This is pdfeTeX, Version 3.14159-1.10a-RC3-2.1 (Web2C 7.4.3)
> This is MetaPost, Version 0.641 (Web2C 7.4.3)
>  TeXExec 5.3.1 - ConTeXt / PRAGMA ADE 1997-2005
> ConTeXt  ver: 2005.04.19  fmt: 2005.4.28  int: english  mes: english
> 
> As you mention it, now I see that texexec complains:
> systems         : pdfTeX version 110 -> please update
> systems         : eTeX version 201 -> too old (bugs)
> 
> Can this really be the reason? I don't have administrative access to the
> tex system here, so that would mean difficulties.

the problem is that some things have changed in the way tex looks up files

an option is to download the minimal linux context tree (from the website or a 
mirror) and install that in your home dir;

fetch zip
mkdir tex
cd tex
unzip here
. setuptex
cd ..

and you live in a context tex space


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] 9+ messages in thread

end of thread, other threads:[~2005-04-28  9:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20  8:23 new beta (again) Eckhart Guthöhrlein
2005-04-20  8:44 ` Hans Hagen
2005-04-20  9:17   ` Eckhart Guthöhrlein
2005-04-22  8:23   ` Eckhart Guthöhrlein
2005-04-22 18:51     ` Hans Hagen
2005-04-27 11:32       ` Eckhart Guthöhrlein
2005-04-27 12:32         ` Hans Hagen
2005-04-28  8:54           ` Eckhart Guthöhrlein
2005-04-28  9: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).