Re: [NTG-context] updating Minimals for MKIV
On Sun, 24 Jan 2010 15:54:46 -0500 (EST) Aditya == Aditya Mahajan adit...@umich.edu wrote: Aditya Another attempt to fix this. Now I just use mtx-update to make Aditya the formats. However, this is done during building the package Aditya (rather than in the post-install stage). So, you will need to Aditya force a package update (pass -f to your package manager). Now it works nicely. Thank you. Aditya The easiest way is to create a script called emacs-context with Aditya Aditya source /opt/context-minimals/setuptex Aditya emacs $@ Thanks. Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Sat, 23 Jan 2010, Gour wrote: On Sat, 23 Jan 2010 13:17:19 -0500 (EST) Aditya == adit...@umich.edu wrote: Correct. Let me try again...Now it works, but I still have to press Enter twice on two occassions. Another attempt to fix this. Now I just use mtx-update to make the formats. However, this is done during building the package (rather than in the post-install stage). So, you will need to force a package update (pass -f to your package manager). Aditya If you invoke context from an editor, you can change the Aditya editor's startup scripts so that setuptex is sourced before Aditya the editor is started. I plan to use it with Emacs/AUCTeX, so will look how to do it there. The easiest way is to create a script called emacs-context with source /opt/context-minimals/setuptex emacs $@ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 14:40:16 -0500 (EST) Aditya == Aditya Mahajan adit...@umich.edu wrote: Aditya It is possible that the earlier build sometimes ended up Aditya creating a $HOME/texmf-cache directory as root. If that Aditya happened, you will need to forcably remove $HOME/texmf-cache Aditya before reinstalling the package. I've removed $HOME/texmf-cache and tried again (with bauerbill, yaourt is becoming too buggy): [r...@gaura-nitai gour] bb -Sy context-minimals-git warning: context-minimals-git does not match any package or group in sync db -- Searching for packages in AUR... -- Loading AUR taurball data... warning: about to source /tmp/bauerbill/build/AUR/context-minimals-git/PKGBUILD view [v] backup [b] edit [e] continue [ok] abort [x] ok -- an associated install file was found for context-minimals-git: /tmp/bauerbill/build/AUR/context-minimals-git/context-minimals-git.install view [v] backup [b] edit [e] continue [ok] abort [x] ok -- Loading ABS taurball data... -- detected PKGDEST in /etc/makepkg.conf -- Determining sizes of source files... -- Building context-minimals-git... -- Installing /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz... -- Running pacman: /usr/bin/sudo /usr/bin/pacman --cachedir /var/cache/pacman/pkg -U /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz loading package data... checking dependencies... (1/1) checking for file conflicts [] 100% (1/1) upgrading context-minimals-git [] 100% mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done. Here I had to presee Enter twice in order to continue Should I create the cache path /root/texmf-cache? [yes|no] [no] Should I create the cache path /root/texmf-cache? [yes|no] [no] MTXrun | kpse fallback with progname 'context' initialized in 0.01 seconds TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path /opt/context-minimals/texmf-linux-64/web2c/pdftex TeXExec | generating tex format cont-en This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (INITEX) \write18 enabled. [...] Here I had to press Enter twice (again) TeXExec | TeXExec | tex: 23/01/2010 08:56:16 /opt/context-minimals/texmf-linux-64/web2c/pdftex/cont-en.fmt (7366567) TeXExec | mps: 23/01/2010 08:56:16 /opt/context-minimals/texmf-linux-64/web2c/metafun.mem (486776) TeXExec | TeXExec | runtime: 2.726559056 Should I create the cache path /root/texmf-cache? [yes|no] [no] Should I create the cache path /root/texmf-cache? [yes|no] [no] MTXrun | kpse fallback with progname 'context' initialized in 0.01 seconds TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done. TeXExec | using tex engine xetex TeXExec | using tex format path /opt/context-minimals/texmf-linux-64/web2c/xetex TeXExec | generating tex format cont-en This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX) \write18 enabled. After that I run: luatools --generated and attempt to typeset 'hello world example \starttext Hello World šŠ đĐ čČ ćĆ žŽ \stoptext gives: [g...@gaura-nitai tmp] context lt.tex MTXrun | warning: no format found, forcing remake (commandline driven) MTXrun | running command: luatools --generate LuaTools | fileio: variable SELFAUTOLOC set to /usr/bin LuaTools | fileio: variable SELFAUTODIR set to /usr LuaTools | fileio: variable SELFAUTOPARENT set to / LuaTools | fileio: variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} LuaTools | fileio: loading /usr/share/texmf/web2c/texmf.cnf LuaTools | fileio: preparing configuration for /usr/share/texmf/web2c LuaTools | fileio: configuration saved in /home/gour/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/trees/f7d1b3c25487ab1e1035aff1c53b90da.lua LuaTools | fileio: configuration compiled to
Re: [NTG-context] updating Minimals for MKIV
On Sat, 23 Jan 2010, Gour wrote: On Fri, 22 Jan 2010 14:40:16 -0500 (EST) Aditya == Aditya Mahajan adit...@umich.edu wrote: Aditya It is possible that the earlier build sometimes ended up Aditya creating a $HOME/texmf-cache directory as root. If that Aditya happened, you will need to forcably remove $HOME/texmf-cache Aditya before reinstalling the package. I've removed $HOME/texmf-cache and tried again (with bauerbill, yaourt is becoming too buggy): I have been testing with yaourt. I will check bauerbill to see if it is doing something different (it should not) [r...@gaura-nitai gour] bb -Sy Ah. I usually run with sudo which does not change $HOME. context-minimals-git warning: context-minimals-git does not match any package or group in sync db -- Searching for packages in AUR... -- Loading AUR taurball data... warning: about to source /tmp/bauerbill/build/AUR/context-minimals-git/PKGBUILD view [v] backup [b] edit [e] continue [ok] abort [x] ok -- an associated install file was found for context-minimals-git: /tmp/bauerbill/build/AUR/context-minimals-git/context-minimals-git.install view [v] backup [b] edit [e] continue [ok] abort [x] ok -- Loading ABS taurball data... -- detected PKGDEST in /etc/makepkg.conf -- Determining sizes of source files... -- Building context-minimals-git... -- Installing /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz... -- Running pacman: /usr/bin/sudo /usr/bin/pacman --cachedir /var/cache/pacman/pkg -U /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz loading package data... checking dependencies... (1/1) checking for file conflicts [] 100% (1/1) upgrading context-minimals-git [] 100% mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done. Here I had to presee Enter twice in order to continue Strange. On my machine I do not need to do this. generating tex format cont-en This is pdfTeX, Version 3.1415926-1.40.10 [...] /opt/context-minimals/texmf-linux-64/web2c/pdftex/cont-en.fmt [...] /opt/context-minimals/texmf-linux-64/web2c/metafun.mem (486776) This means that the formats are created correctly. After that I run: luatools --generated Is that a typo (--generate), or did your really type --generated? Did you run source /opt/context-minimals/setuptex before that. and attempt to typeset 'hello world example \starttext Hello World šŠ đĐ čČ ćĆ žŽ \stoptext gives: [g...@gaura-nitai tmp] context lt.tex MTXrun | warning: no format found, forcing remake (commandline driven) MTXrun | running command: luatools --generate LuaTools | fileio: variable SELFAUTOLOC set to /usr/bin This is the wrong luatools!!! My guess is that you are not running source /opt/context-minimals/setuptex so the path is not reset and you are using luatools from texlive. LuaTools | fileio: variable SELFAUTODIR set to /usr LuaTools | fileio: variable SELFAUTOPARENT set to / LuaTools | fileio: variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} LuaTools | fileio: loading /usr/share/texmf/web2c/texmf.cnf LuaTools | fileio: preparing configuration for /usr/share/texmf/web2c These are texlive paths. What does which luatools give? You should get /opt/context-minimals/texmf-linux-64/bin/luatools or /opt/context-minimals/texmf-linux/bin/luatools depending on whether you are running 64bit or 32bit architecture. MTXrun | fatal error, return code: 1 So, something is still broken, either with the pkgbuild or with the luatex itself? There is something wrong with PKGBUILD because you still need to press enters during the installation. But once you do that, the installation should go on correctly. However, you are not running the minimals correctly. Context-minimals is installed in parallel to texlive and as such does not add its binaries to the $PATH. This way, you can always run texlive. When you need to run the minimals, you need to execute source /opt/context-minimals/setuptex which sets some environment variables so that the minimal binaries are in $PATH. You always need to source setuptex before you use minimals. If you do not use texlive ever, you can add source /opt/context-minimals/setuptex to your .bashrc (or the rc file for whatever shell you use). If you invoke context from an editor, you can change the editor's startup scripts so that setuptex is sourced before the editor is started. Aditya___ If your question is of interest to others as
Re: [NTG-context] updating Minimals for MKIV
On Sat, 23 Jan 2010 13:17:19 -0500 (EST) Aditya == adit...@umich.edu wrote: Aditya Is that a typo (--generate), or did your really type Aditya --generated? Typo. Aditya Did you run source /opt/context-minimals/setuptex before that. Ahh...forgot that. :-( Aditya This is the wrong luatools!!! My guess is that you are not Aditya running Aditya Aditya source /opt/context-minimals/setuptex Correct. Let me try again...Now it works, but I still have to press Enter twice on two occassions. Aditya If you do not use texlive ever, you can add Aditya source /opt/context-minimals/setuptex to your .bashrc Aditya (or the rc file for whatever shell you use). I had that in my .zshenv, but had to remove it 'cause I still have some old LaTeX/LyX stuff around. Aditya If you invoke context from an editor, you can change the Aditya editor's startup scripts so that setuptex is sourced before Aditya the editor is started. I plan to use it with Emacs/AUCTeX, so will look how to do it there. Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On 22-1-2010 12:14, Gour wrote: Hiya! I've decide to (finally) learn ConTeXt and use it exclusively as well as port (some of) the old documents from LaTeX/LyX. In order to do that I've installed context-minimals-git package available for Arch Linux (thank you Aditya! - mahajano yena gatah sa panthah) ;) I've some issues with update (left the note on AUR), but I'm curious what is the proper way to update ConTeXt for MKIV format? (I do not need MKII and want to focus on MKIV exclusively - to help with testing and because I've no need to keep any MK II document.) The wiki page (http://wiki.contextgarden.net/ConTeXt_Minimals) says: * For making MKIV format luatools --selfupdate mtxrun --selfupdate luatools --generate context --make if you download the minimals installer script from the garden and run ./first-update.sh --engine=luatex you only get mkiv related files after that you can update with just ./first-update.sh as the state is remembered Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, Jan 22, 2010 at 12:14, Gour wrote: Hiya! * For making MKIV format luatools --selfupdate mtxrun --selfupdate --selfupdate is meant for you to be on the safe side. Update mechanism should now update these two files, so it should not be really needed. luatools --generate context --make luatools --generate is definitely needed on fresh install (it should be done automatically, but it isn't for some weird md5-related reason I suppose). Once you have mkiv working, the context --make is executed automatically in case that formts don't match. while the package for Archlinux has the following update function: post_upgrade() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex This is needed for mkii only. echo * echo To use ConTeXt minimals run echo /opt/context-minimals/setuptex echo To use MkIV run echo luatools --generate echo * } i.e. only luatools --generate. Anyone can clarify? I guess that's because mkiv generates new formats automatically (I'm not sure if it also calls luatools --generate in that case, but it could if it doesn't). 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 14:01:33 +0100 Mojca == Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Mojca luatools --generate is definitely needed on fresh install (it Mojca should be done automatically, but it isn't for some weird Mojca md5-related reason I suppose). Hmm here is post_install script: post_install() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex echo * echo To use ConTeXt minimals run echo /opt/context-minimals/setuptex echo To use MkIV run echo echo * } which, if I understand correctly just states to run: luatools --generate to get MKIV format. Mojca Once you have mkiv working, the context --make is executed Mojca automatically in case that formts don't match. I see...that may be part of explanation we're looking for. Mojca I guess that's because mkiv generates new formats automatically Mojca (I'm not sure if it also calls luatools --generate in that case, Mojca but it could if it doesn't). OK. I hope Aditya will show up here - it's his 'sabji' :-) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour p.s. Excuse me for sending it twice to the list instead of using Gmane - somehow 'Reply' did not send to the newsgroup. :-( -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010, Gour wrote: On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... This is the best compromise I could get for running MkIV in a multi-user environment. I do not ask the mtx-update script to generate the formats (the --make flag is missing), because this script is running as root. Generating the formats means that luatex-cache will be generated by root, and then a user will never be able to writing anything in the cache directory. So, I do not generate the formats during the update. In the post-install post_install() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex echo * echo To use ConTeXt minimals run echo . /opt/context-minimals/setuptex echo To use MkIV run echo luatools --generate echo * } I generate the pdftex and xetex formats, and ask the user to run luatools --generate. When run for the first time, luatools --generate creates the $TEXMFCACHE directory. Since the command is run by the user, TEXMFCACHE is writable by the user. Once luatools --generate is run, you can simply run context filename. ConTeXt sees that the formats are wrong and regenerates them on the fly. The first luatools --generate is needed so that mtxrun can find the mtx-context script. (context is just a wrapper around mtx-context.lua). Currently something is going wrong in the installation script. Others have said that you need to press enter twice to get it to run. My guess is that something is trying to generate the luatools format, even though I have not asked for it. I will investigate further why this is happening. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010, Aditya Mahajan wrote: Currently something is going wrong in the installation script. Others have said that you need to press enter twice to get it to run. My guess is that something is trying to generate the luatools format, even though I have not asked for it. I will investigate further why this is happening. Can you test the latest version from AUR. It is possible that the earlier build sometimes ended up creating a $HOME/texmf-cache directory as root. If that happened, you will need to forcably remove $HOME/texmf-cache before reinstalling the package. For those who are interested, this is what was happening. If you set TEXMFCACHE to a non-existing directory and run texexec --make cont-en, it asks you if you want to create the TEXMFCACHE directory (even though it is not needed to create the format for pdftex). pacman hides this question (don't know why), so it appeared that the program had hung. If you pressed enter twice (answering texexec's questions as no), the install proceeded as expected. I am getting around this by creating an empty directory in /opt/context-minimals/tex/texmf-cache but setting the TEXMFCACHE to $HOME/texmf-cache:/opt/context-minimals/texmf-cache Thus, texexec is happy because it can /opt/context-minimals/texmf-cache exists, and when the user runs luatools --generate for the first time, $HOME/texmf-cache gets created with the owner as the user. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh butit invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___
Re: [NTG-context] updating Minimals for MKIV
On Fri, 22 Jan 2010 13:53:11 -0500 (EST) Aditya == Aditya Mahajan adit...@umich.edu wrote: Aditya This is the best compromise I could get for running MkIV in a Aditya multi-user environment. I do not ask the mtx-update script to Aditya generate the formats (the --make flag is missing), because this Aditya script is running as root. Generating the formats means that Aditya luatex-cache will be generated by root, and then a user will Aditya never be able to writing anything in the cache directory. So, I Aditya do not generate the formats during the update. Thank you for explanation. Aditya I generate the pdftex and xetex formats, and ask the user to Aditya run luatools --generate. When run for the first time, luatools Aditya --generate creates the $TEXMFCACHE directory. Since the command Aditya is run by the user, TEXMFCACHE is writable by the user. Ahh, cool. Aditya Once luatools --generate is run, you can simply run context Aditya filename. ConTeXt sees that the formats are wrong and Aditya regenerates them on the fly. The first luatools --generate is Aditya needed so that mtxrun can find the mtx-context script. (context Aditya is just a wrapper around mtx-context.lua). Interesting... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___