ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Date: Sun, 21 Sep 2008 22:37:27 +0200	[thread overview]
Message-ID: <6faad9f00809211337od93fbb8nbeb095482fecd178@mail.gmail.com> (raw)
In-Reply-To: <dbd60a1b0809210055j4dca06dfnf0d588c3aef9aa83@mail.gmail.com>

On Sun, Sep 21, 2008 at 9:55 AM, Robert Blackstone wrote:
> Hello Mojca,
>
> I seem to have run into the same or similar problems as Otared Kavian.
> I followed the instructions on the ConTeXt wiki, but the command
>
> ''luatools --generate'' gives the error message:
> 'LuaTools | error unable to identify cnf file
> LuaTools | error unable to identify cnf file
> LuaTools | no cnf files found (TEXMFCNF may not be set/known)
> LuaTools |
> LuaTools | runtime: 0.008 seconds',
>
> regardless of the directory from which I issue the command, and though there
> is a 28 KB file texmf.cnf sitting in /usr/local/texlive/2008/texmf/web2c.

This has been known before the TL freeze, but Hans and Taco were
afraid to break other things if they upgraded ConTeXt. The issue only
affects mkiv on MacTeX, but users of mkiv should update frequently
anyway.

> As you succeeded in updating ConTeXt, luatex binary and ConTeXt scripts
> manually, could you please share the method with us. I for one am not
> sufficiently trained in unix to go there all by myself.
>
> (I'm working on a G4 PowerBook under OSX-10.4.11)

There are many different ways to do that. I use(d) the following
(hopefully no typos):

# update luatex - single line
# you can also use osx-ppc instead of osx-universal
# alternatively, use "/usr/local/texlive/2008/bin/universal-darwin"
instead of "/usr/texbin"
# on other platforms change accordingly
rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/luatex
/usr/texbin/

# update context - single line (you can also use beta instead of last current)
rsync -av rsync://contextgarden.net/minimals/current/context/current/
/usr/local/texlive/2008/texmf-dist/

I have also created (but it's not really needed)
    /usr/local/texlive/2008/texmf/web2c/texmfcnf.lua
with

local conf = {}
conf.TEXMFCACHE = "~/Library/Caches/luatex"
return conf

Of course you also need:

mktexlsr
texexec --make --all
texexec --make --xtx --all
luatools --generate
context --make

Mojca
___________________________________________________________________________________
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:[~2008-09-21 20:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-21  7:55 Robert Blackstone
2008-09-21 20:37 ` Mojca Miklavec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-19 15:54 Otared KAVIAN
2008-09-19 16:00 ` Aditya Mahajan
2008-09-19 16:56   ` Otared Kavian
2008-09-19 18:31     ` Mojca Miklavec
2008-09-20 10:08       ` Otared Kavian
2008-09-21 20:44         ` Mojca Miklavec
2008-09-22 13:05           ` Otared Kavian
2008-09-22 17:46             ` Mojca Miklavec

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=6faad9f00809211337od93fbb8nbeb095482fecd178@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).