[NTG-context] A problem with HOMETEXMF

2008-04-08 Thread Jean Magnan de Bornier
Hi all,
I have set HOMETEXMF in my setupex file, and the path is normally
recognized:

13:25 [EMAIL PROTECTED] /home/jean % echo $HOMETEXMF  
/home/jean/texmf

Luatex sees it:
13:25 [EMAIL PROTECTED] /home/jean % luatools --expand-path HOMETEXMF 
/home/jean/texmf

(not if I write $HOMETEXMF ??)

But luatex does not find files there:

13:35 [EMAIL PROTECTED] /home/jean % luatools --find-file t-tikz.tex  
blank

I have tried to set TEXMFHOME but got the same result. Please can anybody
explain these variables and how they work with luatex or point to some
documentation?
-- 
Jean
___
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
___


Re: [NTG-context] A problem with HOMETEXMF

2008-04-08 Thread Olivier Guéry
On Tue, Apr 8, 2008 at 2:26 PM, Jean Magnan de Bornier
[EMAIL PROTECTED] wrote:
 Hi all,
  I have set HOMETEXMF in my setupex file, and the path is normally
  recognized:

  13:25 [EMAIL PROTECTED] /home/jean % echo $HOMETEXMF
  /home/jean/texmf

  Luatex sees it:
  13:25 [EMAIL PROTECTED] /home/jean % luatools --expand-path HOMETEXMF
  /home/jean/texmf

  (not if I write $HOMETEXMF ??)

  But luatex does not find files there:

  13:35 [EMAIL PROTECTED] /home/jean % luatools --find-file t-tikz.tex
  blank

  I have tried to set TEXMFHOME but got the same result. Please can anybody
  explain these variables and how they work with luatex or point to some
  documentation?

Here is what I've put in my ~/.bashrc :

### Variable pour ConTeXt et LuaTeX ###
export MYTEXMF=/usr/share/texmf
export TEXMFCNF=$MYTEXMF/web2c
export TEXMFCACHE=$HOME/.texmf-cache
export LUAINPUTS=$MYTEXMF/tex/context/base:$MYTEXMF/script/context/lua

export OSFONTDIR=/usr/share/fonts/otf # pour la gestion des polices
otf qui ne sont pas dans le rep texmf ne fonctionne pas ?

alias lux='texexec --lua' # raccourcis pour flémard


Hope it help,
Olivier.


-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com
___
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
___


Re: [NTG-context] A problem with HOMETEXMF

2008-04-08 Thread Mojca Miklavec
On Tue, Apr 8, 2008 at 2:26 PM, Jean Magnan de Bornier wrote:
 Hi all,
  I have set HOMETEXMF in my setupex file, and the path is normally
  recognized:

  13:25 [EMAIL PROTECTED] /home/jean % echo $HOMETEXMF
  /home/jean/texmf

  Luatex sees it:
  13:25 [EMAIL PROTECTED] /home/jean % luatools --expand-path HOMETEXMF
  /home/jean/texmf

  (not if I write $HOMETEXMF ??)

  But luatex does not find files there:

  13:35 [EMAIL PROTECTED] /home/jean % luatools --find-file t-tikz.tex
  blank

  I have tried to set TEXMFHOME but got the same result. Please can anybody
  explain these variables and how they work with luatex or point to some
  documentation?

Hello Jean,

You need to add that variable to the list of TEXMF trees as well:
   export TEXMF='{$TEXMFPROJECT,$TEXMFFONTS,...,!!$TEXMFMAIN}'
just put it somewhere inbetween, possibly near beginning. (Maybe we
need to add it there by default.)

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
___


Re: [NTG-context] A problem with HOMETEXMF

2008-04-08 Thread Jean Magnan de Bornier
Le 08 avril à 14:43:29 Mojca Miklavec [EMAIL PROTECTED] écrit notamment:

| On Tue, Apr 8, 2008 at 2:26 PM, Jean Magnan de Bornier wrote:
|  Hi all,
|   I have set HOMETEXMF in my setupex file, and the path is normally
|   recognized:
| 
|   13:25 [EMAIL PROTECTED] /home/jean % echo $HOMETEXMF
|   /home/jean/texmf
| 
|   Luatex sees it:
|   13:25 [EMAIL PROTECTED] /home/jean % luatools --expand-path HOMETEXMF
|   /home/jean/texmf
| 
|   (not if I write $HOMETEXMF ??)
| 
|   But luatex does not find files there:
| 
|   13:35 [EMAIL PROTECTED] /home/jean % luatools --find-file t-tikz.tex
|   blank
| 
|   I have tried to set TEXMFHOME but got the same result. Please can anybody
|   explain these variables and how they work with luatex or point to some
|   documentation?

| Hello Jean,

| You need to add that variable to the list of TEXMF trees as well:
|export TEXMF='{$TEXMFPROJECT,$TEXMFFONTS,...,!!$TEXMFMAIN}'
| just put it somewhere inbetween, possibly near beginning. (Maybe we
| need to add it there by default.)

Hi Mojca,
Thanks a lot!!

(Olivier, merci j'ai moi aussi mon petit raccourci pour paresseux!)
-- 
Jean
___
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
___