Re: [NTG-context] mktexlsr in minimals
On Jan 23, 2008 7:11 AM, Jean Magnan de Bornier wrote: Le 22 janvier à 23:24:31 Arthur Reutenauer écrit notamment: | Actually, depends on your shell. In some shells, you will have to run | source setuptex. | Or even . ./setuptex, actually. Anyway, you can check that it has | correctly been sourced by checking that CTXMINIMAL is set (echo $CTXMINIMAL). | Arthur Shell problem actually! I use zsh, and . setuptex produces this: .: aucun fichier ou répertoire de ce type: setuptex while . ./setuptex or just ./setuptex produces: Setting /home/jean/lua/context/tex as TEXROOT. Yes, but the variables are set only locally then. Perhaps I will try to detect that and warn the user. What about source setuptex ? Another alternative is to set these variables in the file where you initialize the shell. ./setuptex:149: unmatched What does that mean? Does setuptex contain other bugs or is it only a shell problem? If I switch to bash and . setuptex : echo $CTXMINIMAL says yes, but after a mktexlsr or texhash my module is still not found :-( Upercase or lowercase names? 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] mktexlsr in minimals
./setuptex:149: unmatched What does that mean? Does setuptex contain other bugs or is it only a shell problem? Yes, this is a bug. I can't reproduce it here, maybe we should take it offline. Arthur ___ 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] mktexlsr in minimals
On Wed, 23 Jan 2008, Arthur Reutenauer wrote: ./setuptex:149: unmatched What does that mean? Does setuptex contain other bugs or is it only a shell problem? Yes, this is a bug. I can't reproduce it here, maybe we should take it offline. I can reproduce it here. In zsh, both . ./setuptex and source setuptex give this error message. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mktexlsr in minimals
Aditya Mahajan wrote: On Wed, 23 Jan 2008, Arthur Reutenauer wrote: ./setuptex:149: unmatched What does that mean? Does setuptex contain other bugs or is it only a shell problem? Yes, this is a bug. I can't reproduce it here, maybe we should take it offline. I can reproduce it here. In zsh, both . ./setuptex and source setuptex give this error message. Some problem with filename space quoting? my zsh (traditional linux fs) has no problem with it. ___ 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] mktexlsr in minimals
But these are still not found and I had to specify the complete path of the modules! Have you run luatools --generate? Mark IV does not use kpathsea, so mktexlsr would not be significant here. Arthur ___ 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] mktexlsr in minimals
Le 22 janvier à 18:52:11 Arthur Reutenauer [EMAIL PROTECTED] écrit notamment: | Have you run luatools --generate? Mark IV does not use kpathsea, so | mktexlsr would not be significant here. Thanks Arthur 1/ Do you mean luatools --generate should be run whenever you add something to the distro? I ran it on install, but now when I try again: 20:01 [EMAIL PROTECTED] /home/jean/lua % luatools --generate LuaTools | skipping /texmf-local/web2c/texmf.cnf LuaTools | skipping /texmf/web2c/texmf.cnf LuaTools | LuaTools | runtime: 0.013 seconds 2/ The problem with additional module is that pdftex or xetex don't find them anymore than luatex does. -- 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] mktexlsr in minimals
1/ Do you mean luatools --generate should be run whenever you add something to the distro? Yes. It's the equivalent to mktexlsr for Mark IV. I ran it on install, but now when I try again: 20:01 [EMAIL PROTECTED] /home/jean/lua % luatools --generate LuaTools | skipping /texmf-local/web2c/texmf.cnf LuaTools | skipping /texmf/web2c/texmf.cnf LuaTools | LuaTools | runtime: 0.013 seconds This looks like TEXMFCNF is incorrectly set. Anyway, it means that the luatools run was unsuccessful (it generated cache data for the non-existing texmf trees /texmf-local and /texmf). 2/ The problem with additional module is that pdftex or xetex don't find them anymore than luatex does. Then I don't know. But check TEXMFCNF and run again. Arthur ___ 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] mktexlsr in minimals
On Jan 22, 2008 6:33 PM, Jean Magnan de Bornier wrote: Hi all, Having installed the minimal distro from http://minimals.contextgarden.net/ on my linux box (in my home directory) I added some own modules in /home/jean/lua/context/tex/texmf-context/tex/context/extra an tried various texhash and mktexlsr: mktexlsr lua/context/tex/texmf-context/tex/context/ texhash lua/context/tex/texmf-context/tex/context/ But these are still not found and I had to specify the complete path of the modules! This seems specific to the minimals Did you run . setuptex ? 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] mktexlsr in minimals
Le 22 janvier à 20:14:42 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | Did you run |. setuptex | ? I had not when first posting, but now I did, then mktexlsr and nothing changed with my added modules. -- 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] mktexlsr in minimals
On Tue, 22 Jan 2008, Jean Magnan de Bornier wrote: Le 22 janvier à 20:14:42 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | Did you run |. setuptex | ? I had not when first posting, but now I did, then mktexlsr and nothing changed with my added modules. Actually, depends on your shell. In some shells, you will have to run source setuptex. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mktexlsr in minimals
Actually, depends on your shell. In some shells, you will have to run source setuptex. Or even . ./setuptex, actually. Anyway, you can check that it has correctly been sourced by checking that CTXMINIMAL is set (echo $CTXMINIMAL). Arthur ___ 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] mktexlsr in minimals
Hi Jean, That happened to me once too. I change the cases of the file names and module names, say from like MyModule to mymodule, and somehow pdftex could find it. I don't know whether it could be any useful to change your module's name to lower case. On Jan 23, 2008 1:33 AM, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Hi all, Having installed the minimal distro from http://minimals.contextgarden.net/ on my linux box (in my home directory) I added some own modules in /home/jean/lua/context/tex/texmf-context/tex/context/extra an tried various texhash and mktexlsr: mktexlsr lua/context/tex/texmf-context/tex/context/ texhash lua/context/tex/texmf-context/tex/context/ But these are still not found and I had to specify the complete path of the modules! This seems specific to the minimals -- 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 ___ -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ 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] mktexlsr in minimals
Le 22 janvier à 23:24:31 Arthur Reutenauer [EMAIL PROTECTED] écrit notamment: | Actually, depends on your shell. In some shells, you will have to run | source setuptex. | Or even . ./setuptex, actually. Anyway, you can check that it has | correctly been sourced by checking that CTXMINIMAL is set (echo $CTXMINIMAL). | Arthur Shell problem actually! I use zsh, and . setuptex produces this: .: aucun fichier ou répertoire de ce type: setuptex while . ./setuptex or just ./setuptex produces: Setting /home/jean/lua/context/tex as TEXROOT. ./setuptex:149: unmatched and echo $CTXMINIMAL produces nothing. If I switch to bash and . setuptex : echo $CTXMINIMAL says yes, but after a mktexlsr or texhash my module is still not found :-( -- 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 ___