ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Miktex blues
@ 2004-10-16 19:17 David Arnold
  2004-10-17 20:16 ` h h extern
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2004-10-16 19:17 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2546 bytes --]

All,

I still need a copy of runperl.exe if anyone has one. Meanwhile, I've got a
repeatable weirdness I hope someone can explain.

If I set these lines in my texexec.ini:

% set TeXFormatPath   to f:/localtexmf/miktex/fmt
% ConTeXtPath     texmf/tex/context/base  sources
% SetupPath       texmf/tex/base/user     cont-sys/usr file
% TeXScriptsPath  texmf/context/perltk    scripts
% TeXFontsPath    texmf                   font files
%
% set MpFormatPath    to f:/localtexmf/miktex/mem
%
% == the main shell setting ==
%
% As shown below, one can define his/her own sections. We default to
% the teTeX/fpTeX web2c based settings.

%set  TeXShell  to  tetex
%set TeXShell  to  fptex
set TeXShell  to  miktex
%set TeXShell  to  private

Then:

f:
cd \miktex\scripts\context\perl
perl texexec.pl --make en nl

The formats get created and can be found on f:\. If I cut them and paste
them into f:\localtexmf\miktex\fmt, then the test file junk.tex will compile.

%testfile: junk.tex
\starttext
\framed {Let’s see if it works.}
\stoptext

Now, if I make these changes to texexec.ini:

set TeXFormatPath   to f:/localtexmf/miktex/fmt
% ConTeXtPath     texmf/tex/context/base  sources
% SetupPath       texmf/tex/base/user     cont-sys/usr file
% TeXScriptsPath  texmf/context/perltk    scripts
% TeXFontsPath    texmf                   font files
%
set MpFormatPath    to f:/localtexmf/miktex/mem
%
% == the main shell setting ==
%
% As shown below, one can define his/her own sections. We default to
% the teTeX/fpTeX web2c based settings.

%set  TeXShell  to  tetex
%set TeXShell  to  fptex
set TeXShell  to  miktex
%set TeXShell  to  private

Then:

f:
cd \miktex\scripts\context\perl
perl texexec.pl --make en nl

In this case, the format files get deposited where they should go, namely
in f:\localtexmf\miktex\fmt.

However, when I now compile my test file junk.tex:

F:\miktex\scripts\context\perl>perl texexec.pl junk

 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

            executable : pdfetex
                format : f:/localtexmf/miktex/fmt/cont-en
             inputfile : junk
                output : standard
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.141592-1.10b-2.1 (MiKTeX 2.3)
initexmf: don't know how to dump miktex
cannot make f:/localtexmf/miktex.efmt
I can't find the default format file!

           return code : 256
              run time : 1 seconds

        total run time : 1 seconds


How's that for weird?

Can anyone tell me what's going on?

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

* Re: Miktex blues
  2004-10-16 19:17 Miktex blues David Arnold
@ 2004-10-17 20:16 ` h h extern
  0 siblings, 0 replies; 2+ messages in thread
From: h h extern @ 2004-10-17 20:16 UTC (permalink / raw)


David Arnold wrote:

> F:\miktex\scripts\context\perl>perl texexec.pl junk
> 
>  TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
> 
>             executable : pdfetex
>                 format : f:/localtexmf/miktex/fmt/cont-en
>              inputfile : junk
>                 output : standard
>              interface : en
>           current mode : none
>                TeX run : 1
> 
> This is pdfeTeX, Version 3.141592-1.10b-2.1 (MiKTeX 2.3)
> initexmf: don't know how to dump miktex
> cannot make f:/localtexmf/miktex.efmt
> I can't find the default format file!
> 
>            return code : 256
>               run time : 1 seconds
> 
>         total run time : 1 seconds
> 
> 
> How's that for weird?

What happens when you run

   texexec --make --alone

do you get *.fmt and *.mem files?

these need to be present on or moved to the right location

(watch out, pdfetex no longer has efmt as suffix)

One way to figure out what files are present is to use

textools --find cont-en.fmt

this is a ruby script, so you need to have ruby installed

i'm a bit puzzled why you can't get it working since you had it working 
some time ago; there have been no changes in texexec cum suis that 
influence that, so the main problem is probably in the tds change as 
well as the change in suffix (efmt -> fmt)

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

end of thread, other threads:[~2004-10-17 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-16 19:17 Miktex blues David Arnold
2004-10-17 20:16 ` h h extern

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