ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Broken pdfs and many tools don't work
@ 2007-09-12 22:30 Vyatcheslav Yatskovsky
  2007-09-13  1:25 ` Arthur Reutenauer
  0 siblings, 1 reply; 4+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-09-12 22:30 UTC (permalink / raw)
  To: ntg-context-request@ntg.nl; +Cc: Hans Hagen

Hello,

Curiouser and curiouser :)

I've deleted @echo off from mtxrun.cmd, and what it shows:

I:\context\tex\texmf-mswin\bin>mtxrun.cmd --script cache

I:\context\tex\texmf-mswin\bin>setlocal

I:\context\tex\texmf-mswin\bin>set ownpath=I:\context\tex\texmf-mswin\bin\

I:\context\tex\texmf-mswin\bin>texlua "I:\context\tex\texmf-mswin\bin\mtxrun.lua
" --script cache
Error in lua file loading: cannot open : No such file or directory

I:\context\tex\texmf-mswin\bin>endlocal


The texlua complains has completely no sense, since mtxrun.lua file DOES exist at that location. Or what is it looking for?
-- 
Best
 Vyatcheslav                          mailto:yatskovsky@gmail.com

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Broken pdfs and many tools don't work
  2007-09-12 22:30 Broken pdfs and many tools don't work Vyatcheslav Yatskovsky
@ 2007-09-13  1:25 ` Arthur Reutenauer
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Reutenauer @ 2007-09-13  1:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> The texlua complains has completely no sense, since mtxrun.lua file
> DOES exist at that location. Or what is it looking for?

  My guess would be that texlua is interpreting the first line of
mtxrun.lua (#!/usr/bin/env texlua) and protests because it can't find
/usr/bin/env (quite understandably).  What if you remove that line
altogether?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Broken pdfs and many tools don't work
  2007-09-12 22:15 ` Vyatcheslav Yatskovsky
@ 2007-09-13  6:19   ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2007-09-13  6:19 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

Vyatcheslav Yatskovsky wrote:
> Hello,
> 

> c:\>mtxrun --script cache             Error in lua file loading: cannot open : No such file or directory

This is possibly caused by lack of a LUAINPUTS environment (or
texmf.ncf) variable. I have this:

LUAINPUTS=.;$TEXMF/tex/context/base;$TEXMF/scripts/context/lua

> And another hint: while --make --luatex (seemingly) succeeds, --make fails:

> ...
> pdftex: unrecognized option `-tcx=natural.tcx'
> mpost: unrecognized option `-alias=metafun'
> mpost: unrecognized option `-initialize'
> mpost: unrecognized option `-tcx=natural.tcx'
> mpost.exe: fatal: kpathsea: CreateProcess() failed for `mktexfmt ' (Error 2)

This is the sort of error you get when texexec is running
under miktex but thinks it is running under texlive. I do
not know how to fix that, just a bit of extra information
for someone else.

Best wishes,
Taco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Broken pdfs and many tools don't work
       [not found] <mailman.1735.1189619939.2346.ntg-context@ntg.nl>
@ 2007-09-12 22:15 ` Vyatcheslav Yatskovsky
  2007-09-13  6:19   ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-09-12 22:15 UTC (permalink / raw)
  To: ntg-context-request@ntg.nl; +Cc: Hans Hagen

Hello,

I'm struggling with getting new updated to work (it now produces broken pdfs), and found, as a side effect,  that mtxrun doesn't work:

c:\>mtxrun --script cache             Error in lua file loading: cannot open : No such file or directory


And another hint: while --make --luatex (seemingly) succeeds, --make fails:
...
pdftex: unrecognized option `-tcx=natural.tcx'
This is pdfTeX, Version 3.141592-1.40.4 (Web2C 7.5.6)
 \write18 enabled.
kpathsea: Running mktexfmt pdftex.fmt
I can't find the format file `pdftex.fmt'!
TeXExec | using mp engine mpost
TeXExec | using mps format path .
TeXExec | generating mps format metafun
mpost: unrecognized option `-alias=metafun'
mpost: unrecognized option `-initialize'
mpost: unrecognized option `-tcx=natural.tcx'
This is MetaPost, Version 1.000-rc1 (Web2C 7.5.5)
kpathsea: Running mktexfmt mpost.mem
mpost.exe: fatal: kpathsea: CreateProcess() failed for `mktexfmt ' (Error 2)
.
TeXExec |
TeXExec | tex engine path: .
TeXExec | mps engine path: .
TeXExec |
TeXExec |
TeXExec | runtime: 0.469


What could it be, if my env. vars are set as follows

[HKEY_CURRENT_USER\Environment]
"TEXMFMAIN"="i:\context\tex\texmf"
"TEXMFLOCAL"="i:\context\tex\texmf-local"
"TEXMFFONTS"="i:\context\tex\texmf-fonts"
"TEXMFEXTRA"="i:\context\tex\texmf-extra"
"TEXMFOS"="i:\context\tex\texmf-mswin"
"VARTEXMF"=%WINDIR%\Temp"
"TEXMFCACHE"="%WINDIR%\Temp"
"HOMETEXMF"=""
"OSFONTDIR"="%WINDIR%\Fonts"
"TEXMFCNF"="i:\context\tex\texmf{-local,}/web2c"
"TEXMF"="{$TEXMFOS,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}"
"TEXMFDBS"="$TEXMF"
"TEXFORMATS"="i:\context\tex\texmf-mswin/web2c/{$engine,}"
"MPMEMS"="i:\context\tex\texmf-mswin/web2c/{$engine,}"
"TEXPOOL"="i:\context\tex\texmf-mswin/web2c/{$engine,}"
"MPPOOL"="i:\context\tex\texmf-mswin/web2c/{$engine,}"
"RUBYLIB"="i:\context\tex\texmf-local\SCRIPTS\CONTEXT\RUBY;"
"PATH"="i:\context\tex\texmf-mswin\BIN;"

Best regards,
Vyatcheslav Yatskovsky

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-09-13  6:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-12 22:30 Broken pdfs and many tools don't work Vyatcheslav Yatskovsky
2007-09-13  1:25 ` Arthur Reutenauer
     [not found] <mailman.1735.1189619939.2346.ntg-context@ntg.nl>
2007-09-12 22:15 ` Vyatcheslav Yatskovsky
2007-09-13  6:19   ` Taco Hoekwater

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