ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to fix a break
@ 2013-03-16 13:37 hwitloc
  2013-03-16 21:50 ` Hans Hagen
  2013-03-17  7:43 ` Rajeesh K Nambiar
  0 siblings, 2 replies; 4+ messages in thread
From: hwitloc @ 2013-03-16 13:37 UTC (permalink / raw)
  To: ntg-context


I'm getting "mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'"

on the three line
\starttext
This is the text section.
\stoptext

This is the TeXLive distributed version and it worked yesterday.  I'm pretty sure I messup up the paths or tex path database used by kpathse, etc.

Is there a program I can run to go through a texlive installation and rebuild the TDS database?

Thanks
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: How to fix a break
  2013-03-16 13:37 How to fix a break hwitloc
@ 2013-03-16 21:50 ` Hans Hagen
  2013-03-17  7:43 ` Rajeesh K Nambiar
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-03-16 21:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/16/2013 2:37 PM, hwitloc@gmail.com wrote:
>
> I'm getting "mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'"
>
> on the three line
> \starttext
> This is the text section.
> \stoptext
>
> This is the TeXLive distributed version and it worked yesterday.  I'm pretty sure I messup up the paths or tex path database used by kpathse, etc.
>
> Is there a program I can run to go through a texlive installation and rebuild the TDS database?

mtxrun --generate

context runs quite independent of the texlive infrastructure; mtxrun is 
its own stub for instance and has its own file database; so, if 
'context' does not run, it's because either mtxrun (without suffix on 
unix) is not updated

if you see kpse being initialized (or any kpse related program being 
run) you're in trouble

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: How to fix a break
  2013-03-16 13:37 How to fix a break hwitloc
  2013-03-16 21:50 ` Hans Hagen
@ 2013-03-17  7:43 ` Rajeesh K Nambiar
  2013-03-17 14:34   ` [***SPAM***] " hwitloc
  1 sibling, 1 reply; 4+ messages in thread
From: Rajeesh K Nambiar @ 2013-03-17  7:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 551 bytes --]

On Sat, Mar 16, 2013 at 2:37 PM, <hwitloc@gmail.com> wrote:

>
> I'm getting "mtxrun          | unknown script 'context.lua' or
> 'mtx-context.lua'"
>

I've faced the same issue with TeXLive 2012 on Fedora 18. It was fixed by
setting the PATH; for example

export TEXMF=/usr/share/texlive/texmf-dist; export
TEXMFCNF=/usr/share/texlive/texmf/web2c; export TEXMFCACHE=/var/lib/texmf;
mtxrun --script context "$@"



>
> on the three line
> \starttext
> This is the text section.
> \stoptext
>


-- 
Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com

[-- Attachment #1.2: Type: text/html, Size: 1200 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* [***SPAM***] Re:  How to fix a break
  2013-03-17  7:43 ` Rajeesh K Nambiar
@ 2013-03-17 14:34   ` hwitloc
  0 siblings, 0 replies; 4+ messages in thread
From: hwitloc @ 2013-03-17 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Hans' advice to me to  run mtxrun fixed my problem and may it will yours as well.
Run:
$  mtxrun --generate

I also updated texlive 2012 after that.  with 
$  tlmgr update --all		# this takes a long time

>context runs quite independent of the texlive infrastructure; mtxrun
>is its own stub for instance and has its own file database; so, if
>'context' does not run, it's because either mtxrun (without suffix on
>unix) is not updated
>
>if you see kpse being initialized (or any kpse related program being
>run) you're in troubleL
>
>Hans
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2013-03-17 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-16 13:37 How to fix a break hwitloc
2013-03-16 21:50 ` Hans Hagen
2013-03-17  7:43 ` Rajeesh K Nambiar
2013-03-17 14:34   ` [***SPAM***] " hwitloc

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