ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Date: Mon, 22 Sep 2008 15:05:55 +0200	[thread overview]
Message-ID: <25F8E8EB-BA35-49B2-931D-607CB72FD8E3@gmail.com> (raw)
In-Reply-To: <6faad9f00809211344p5279a3edy2c432580666cbab0@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Hi Mojca,

Many thanks for your attention and insight.
I tried what you said and I put all the instructions you gave in a  
file I am sending you: it is meant (once all the steps work fine) to  
become a file
updating-context.sh
which could be excuted in a Terminal window upon saying
	sh updating-context.sh

Now mkii can be updated following your instructions after fixing some  
chmod issues.
If the remaining problems described in the attached file are solved in  
such a way that a non specialist like me can uderstand, then I'll put  
the script and the explanations of the commands on the wiki.
I presume it will be helpful for others too…

Thank you for your time!
Best regards: OK


[-- Attachment #2: updating-context --]
[-- Type: application/octet-stream, Size: 2695 bytes --]

#The following line is meant for updating context files to the "current" version
# present on contextgarden
# remove the # is you wish to do so
#sudo rsync -av rsync://contextgarden.net/minimals/current/context/current/ /usr/local/texlive/2008/texmf-dist/

#The following line is meant for updating context files to the "beta" version
# present on contextgarden
sudo rsync -av rsync://contextgarden.net/minimals/current/context/beta/ /usr/local/texlive/2008/texmf-dist/

#I added this to tell context where the texmf.cnf resides
# but to no avail
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c/texmfcnf"

#I added this because the file in question was missing
# the execute bit
sudo chmod 755 /usr/texbin/texexec

#I added this because the file in question was missing
# the execute bit
sudo chmod 755 /usr/local/texlive/2008/texmf-dist/scripts/stubs/unix/texexec

#I added this because the file in question was missing
# the execute bit
sudo chmod 755 /usr/texbin/texmfstart

#I added this because the file in question was missing
# the execute bit
sudo chmod 755 /usr/local/texlive/2008/texmf-dist/scripts/context/ruby/texmfstart.rb

#After the above operations I could execute the following command
sudo texexec --make --all

#After the above operations I could execute the following command
sudo texexec --make --xtx --all

#All this gives an updated version of mkii
#(as of today, Monday September 22, I have now
# ConTeXt  ver: 2008.09.21 22:31 MKII  fmt: 2008.9.22  int: english/english

#However updating luatex binary with:

#The following line is meant for updating luatex binary
# present on contextgarden
# remove the # is you wish to do so
#sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/luatex /usr/texbin/

#works fine, and also
# this works and does not need sudo...
luatools --generate

#but then the following commands do not work
# remove the # if you wish to test it...
sudo texexec --make --luatex en

#this happens despite saying
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c"

#since the file texmf.cnf resides there...
#The system complains about:
#LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT 

#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.004 seconds
#TeXExec | using tex engine luatex
#TeXExec | using tex format path /usr/local/texlive/2008/texmf-var/web2c/luatex
#TeXExec | generating tex format cont-en

#On the other hand the command
#luatools --ini --verbose --compile cont-en

# results in
#! I can't find file `context.tex'.
#l.16 \input context.tex


[-- Attachment #3: Type: text/plain, Size: 2125 bytes --]




On 21 sept. 08, at 22:44, Mojca Miklavec wrote:

> On Sat, Sep 20, 2008 at 12:08 PM, Otared Kavian wrote:
>>
>> On 19 sept. 08, at 20:31, Mojca Miklavec wrote:
>>
>> On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote:
>>
>> Has something changed recently in the ways
>>
>> TEXMFCNF has to be set?
>
> Thanks to Oliver's pressing on Hans & Taco :), you don't need to set
> anything any more.
> And yes, that has been changed after TL freeze.
>
>> On Mac, the situation with LuaTeX configuration has changed
>> *considerably* and in some very important ways after ConTeXt & LuaTeX
>> have been frozen for TeX Live.
>>
>> Hi Mojca,
>> Thanks for the information.
>> How can one find out how to adapt the new parameters (TEXMFCNF, and  
>> alike)?
>
> I would not adapt anything apart from TEXMFCACHE.
>
>> I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it
>> works fine now, though I never use --updatecontext.
>>
>> What do you mean by "manually"? Do you mean unzipping the file
>> context/current/cont-tmf.zip or context/beta/cont-tmf.zip
>> into
>> /usr/local/texlive
>> or into either of
>> /usr/local/texlive/2008
>> or /usr/local/texlive/texmf-local ?
>> Thanks again for your attention: OK
>
> See the other post. I update ConTeXt directly into
> /usr/local/texlive/2008/texmf-dist, though updating into texmf-local
> or into ~/.texlive2008 would be just as valid. I update with rsync,
> but using the zips is just as fine.
>
> Apart from ConTeXt you also need to update LuaTeX binary (/usr/texbin
> = /usr/local/texlive/2008/bin/universal-darwin).
> Again - see the other post.
>
> 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
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-09-22 13:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-09-22 17:46             ` Mojca Miklavec
2008-09-21  7:55 Robert Blackstone
2008-09-21 20:37 ` 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=25F8E8EB-BA35-49B2-931D-607CB72FD8E3@gmail.com \
    --to=otared@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).