ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Context using LuaTeX - distribution packaging question
Date: Wed, 29 Oct 2008 12:03:10 +0100	[thread overview]
Message-ID: <490842EE.6070709@wxs.nl> (raw)
In-Reply-To: <49083180.1080607@net-b.de>

Tobias Burnus wrote:
> Hello,
> 
> for openSUSE there are now beta TeX Live 2008 packages available
> (http://download.opensuse.org/repositories/Publishing/). [By Werner
> Fink, who does also the normal openSUSE packages.]
> 
> The question is how the ConTeXt with LuaTeX should be best handled. By
> default, there is no luatex-cache and no (luatex) format.
> 
> Of cause a user can do:
> 
>   export TEXMFCNF=/usr/share/texmf/web2c
>   # export TEXMFCACHE=somewhere
>   luatools --generate --verbose
>   luatools --ini --compile cont-en
> 
> but in principle I would expect that the distribution does this already,
> which saves the TEXMFCACHE per user and makes "texexec --lua" working
> without requiring to run first all the other commands.
> 
> 
> Questions:
> 
> a) Is the TEXMFCNF environment variable necessary or can this also be
> read by a config file, which is overwritten by the environment variable?
> Which scripts/executables make use of that environemt variable?

there is this automess stuff implemented which assumes that the 
distribution kind of follows the de-facto standards of having teh bin 
relative to the tree; in al other cases one needs to set env vars

btw, there is a file texmfcnf.lua alongside the cnf file whioch can be 
tweaked; so you can leave the original cnf untouched

> b) Is is possible -- as with kpsewhich -- to have a global cache for the
> format + global directories - and local directories which have then a
> higher precedence? I mean like: A global directory cache incl. the
> format files plus if the user creates a $HOME/texmf tree a user
> $TEXMFCACHE which contains the hashes of the user directory but such
> that luatex still finds the formats in the global directory?

not yet .. i'm still pondering over a robust system (one side effect is 
for instance that when there are multiple cached copies we need to get 
not only the one first in the chain, but also a valid one; i.e. what to 
do if the latest one has an older version number than demanded and such; 
no big deal, but it means that the cache loader needs to be made more 
clever which is something that i will not do in a current or beta but 
first on my own system when we have reached some stability)

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


      parent reply	other threads:[~2008-10-29 11:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29  9:48 Tobias Burnus
2008-10-29 10:50 ` Tobias Burnus
2008-10-29 11:05   ` Hans Hagen
2008-10-29 11:56     ` Tobias Burnus
2008-10-29 14:58     ` Tobias Burnus
2008-10-29 15:10       ` Hans Hagen
2008-10-29 18:41         ` Tobias Burnus
2008-10-29 18:55           ` Tobias Burnus
2008-10-29 21:47             ` Hans Hagen
2008-10-30  7:13             ` Peter Münster
2008-10-29 19:06           ` Hans Hagen
2008-10-29 19:44             ` Tobias Burnus
2008-10-29 21:32               ` Hans Hagen
2008-10-30 10:07                 ` Tobias Burnus
2008-10-30 10:28                   ` luigi scarso
2008-10-30 10:54                   ` Hans Hagen
2008-10-29 19:08           ` Hans Hagen
2008-10-29 11:03 ` Hans Hagen [this message]

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=490842EE.6070709@wxs.nl \
    --to=pragma@wxs.nl \
    --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).