ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MkIV on Ubuntu
Date: Mon, 17 Dec 2007 13:31:54 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.0.9999.0712171322080.29222@nqv-yncgbc> (raw)
In-Reply-To: <alpine.DEB.0.9999.0712171301390.29222@nqv-yncgbc>

On Mon, 17 Dec 2007, Aditya Mahajan wrote:

Things in windows and linux are different!

> Why did luatools decide not to scan my user texmf trees?

luatools only scans trees with a ls-R database. For some reason mktexlsr 
only generates ls-R in /usr/local/share/texmf and /var/lib/texmf/

I was running mktexlsr without root permissions (thinking that ls-R will 
be only regenerated in TEXMFHOME. I was wrong).

> Since the new
> files are located at /home/adityam/texmf and this tree is not scanned,
> format generation does not work.

I changed {texilve,tetex} to just texlive in texmf.cnf, but even now the 
format generating is not ok. Now I get,

LuaTools | creating initialization file cont-en
LuaTools | using library path : /usr/share/texmf/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua 
l-boolean.lua l-number.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua 
l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua luat-inp.lua 
luat-tmp.lua luat-zip.lua luat-tex.lua
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc" 
"/usr/share/texmf/tex/context/base/cont-en.tex" \\dump
This is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) (INITEX)
(/usr/share/texmf/tex/context/base/cont-en.tex
(/home/adityam/texmf/tex/context/base/context.tex
(/home/adityam/texmf/tex/context/base/syst-pln.tex)
(/home/adityam/texmf/tex/context/base/syst-prm.tex)
(/home/adityam/texmf/tex/context/base/luat-env.tex
! LuaTeX error [string "luas[0]"]:1: attempt to index global 'input' (a 
nil val
ue).
<argument> ...mf.instance,"luat-env.lua","tex")) }

\startruntimeluacode ...everyloadluacode #1}\fi #1


This is not surprising since it is using 
/usr/share/texmf/tex/context/base/cont-en.tex and not 
/home/adityam/texmf/tex/context/base/cont-en.tex

luatools cont-en.tex gives /usr/share/texmf/tex/context/base/cont-en.tex 
so something went wrong with luatools --generate.

Since kpsewhich cont-en.tex gives the correct file while
luatools cont-en.tex gives the incorrect file, is this a bug with the 
inbuild search engine in luatools, or is there something wrong in my 
configuration?

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2007-12-17 18:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 23:41 Aditya Mahajan
2007-12-13  8:32 ` Hans Hagen
2007-12-13 17:17   ` Aditya Mahajan
2007-12-14  8:15     ` Hans Hagen
2007-12-14 13:55       ` Aditya Mahajan
2007-12-14 14:01         ` Aditya Mahajan
2007-12-17  8:42         ` Hans Hagen
2007-12-17 18:11           ` Aditya Mahajan
2007-12-17 18:31             ` Aditya Mahajan [this message]
2007-12-17 21:14               ` Hans Hagen
2007-12-17 21:13             ` Hans Hagen
2007-12-17 22:14               ` Aditya Mahajan
2007-12-17 23:32                 ` Aditya Mahajan
2007-12-18  8:39                   ` Hans Hagen
2007-12-18  8:46                     ` Taco Hoekwater
2007-12-18  8:43                   ` Hans Hagen
2007-12-17 22:28             ` Aditya Mahajan
2007-12-18  8:36               ` Hans Hagen
2007-12-18 16:52                 ` Aditya Mahajan
2007-12-18 17:12                   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.0.9999.0712171322080.29222@nqv-yncgbc \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).