I followed the instructions on: http://wiki.contextgarden.net/TeTeX_3.0_installation. I even purged out the old tetex packages before doing the apt-get install. Now, upon "Checking" I get: ===Begin=== jaz:~# texexec --version TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2005.10.14 mes: english total run time : 2 seconds jaz:~# kpsewhich texmf.cnf /usr/share/texmf/web2c/texmf.cnf jaz:~# kpsewhich context.tex /usr/share/texmf/tex/context/base/context.tex jaz:~# ===End=== My concern is with the results from the kpsewhich command. I'm not getting: /usr/local/teTeX/share/texmf/web2c/texmf.cnf and /usr/local/teTeX/share/texmf-dist/tex/context/base/context.tex respectively. My question: Should I move the file, for example, /usr/share/texmf/web2c/texmf.cnf to /usr/local/teTeX/share/texmf-dist/tex/context/base/context.tex or use a link from one to the other? Or, just leave it alone. My assumption is that the Debian package management system takes care of these things. But, then, this is part of an experimental distribution, so maybe, I'm thinking, I need to "fine tune" things....still. Thanks, Dave
Quoting "K. David Prince" :
-- was kdp@hanhet.loew.washington.edu on Oct 14, 2005 at 01:35:57 --
jaz:~# texexec --version
TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2005.10.14 mes: english
total run time : 2 seconds
It's slightly outdated, I think, but you might not care...
jaz:~# kpsewhich texmf.cnf /usr/share/texmf/web2c/texmf.cnf jaz:~# kpsewhich context.tex /usr/share/texmf/tex/context/base/context.tex
My concern is with the results from the kpsewhich command. I'm not getting: /usr/local/teTeX/share/texmf/web2c/texmf.cnf and /usr/local/teTeX/share/texmf-dist/tex/context/base/context.tex respectively.
That's fine! When you install official packages in Debian, it goes into /usr whereas the /usr/local is for your quick and dirty installs. By the way, that's why it was a good idea to purge previous tetex packages you had like you did. Actually, the file texmf.cnf should be located at /etc/texmf/ like all the config files for the tetex distrib (and I assume the /usr/share/texmf/web2c is just a link from there). Olivier
Olivier wrote:
Actually, the file texmf.cnf should be located at /etc/texmf/ like all the config files for the tetex distrib (and I assume the /usr/share/texmf/web2c is just a link from there).
actually, moving all such files to etc is a bad idea; if etc really wants that file there (maybe under /etc/web2c), best make a symlink from there to the formal place tex tree; makes updating easier; a lot of effort goes into making the tex tree clean and self contained, so moving files outside the tree is a bad idea. 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 -----------------------------------------------------------------
Quoting "Hans Hagen" :
-- was pragma@wxs.nl on Oct 15, 2005 at 01:54:28 --
Olivier wrote:
Actually, the file texmf.cnf should be located at /etc/texmf/ like all the config files for the tetex distrib (and I assume the /usr/share/texmf/web2c is just a link from there).
actually, moving all such files to etc is a bad idea; if etc really wants that file there (maybe under /etc/web2c), best make a symlink from there to the formal place tex tree; makes updating easier; a lot of effort goes into making the tex tree clean and self contained, so moving files outside the tree is a bad idea.
I understand some people may have different views. I was just trying to tell the way it is done in the Debian GNU/Linux system. There is a policy about TeX stuff location inside the system which is described in the Debian TeX policy here: http://people.debian.org/~frank/Debian-TeX-Policy This includes as you can read in the first paragraph on config: The central configuration file for TeX applications is /etc/texmf/texmf.cnf, the central font configuration file is /var/lib/texmf/web2c/updmap.cfg, the central language/hyphenation configuration /var/lib/texmf/tex/generic/config/language.dat, and format generation is determinded by /var/lib/texmf/web2c/fmtutil.cnf. All four files are generated by configuration update programs from configuration files in subdirectories of /etc/texmf. That's how it is, and was'nt involved in the making of this policy :) The original poster was asking for the normal setting in his Debian system and I believe it is correct. Moreover, it is always a bad idea to move files provided by packages: I know you are providing a sync mechanism for conTeXt but you'll certainly understand that doing this for every set of program in a system is something a sysadmin does'nt want to go into, and I guess that's where packaging system originated ;) Cheers, Olivier
Olivier wrote:
Quoting "Hans Hagen" :
-- was pragma@wxs.nl on Oct 15, 2005 at 01:54:28 --
Olivier wrote:
Actually, the file texmf.cnf should be located at /etc/texmf/ like all the config files for the tetex distrib (and I assume the /usr/share/texmf/web2c is just a link from there).
actually, moving all such files to etc is a bad idea; if etc really wants that file there (maybe under /etc/web2c), best make a symlink from there to the formal place tex tree; makes updating easier; a lot of effort goes into making the tex tree clean and self contained, so moving files outside the tree is a bad idea.
I understand some people may have different views. I was just trying to tell the way it is done in the Debian GNU/Linux system. There is a policy about TeX stuff location inside the system which is described in the Debian TeX policy here: http://people.debian.org/~frank/Debian-TeX-Policy This includes as you can read in the first paragraph on config: The central configuration file for TeX applications is /etc/texmf/texmf.cnf, the central font configuration file is /var/lib/texmf/web2c/updmap.cfg, the central language/hyphenation configuration /var/lib/texmf/tex/generic/config/language.dat, and format generation is determinded by /var/lib/texmf/web2c/fmtutil.cnf. All four files are generated by configuration update programs from configuration files in subdirectories of /etc/texmf.
That's how it is, and was'nt involved in the making of this policy :)
sure -) but it's confusing that some files end up in etc and some not; i could imagine /etc/web2c that has all config files
The original poster was asking for the normal setting in his Debian system and I believe it is correct. Moreover, it is always a bad idea to move files provided by packages: I know you are providing a sync mechanism for conTeXt but you'll certainly understand that doing this for every set of program in a system is something a sysadmin does'nt want to go into, and I guess that's where packaging system originated ;)
tex reads multiple texmf.cnf files, so one way of getting around it is to make sure that your texmfcnf env var is set up right; that way one can put his own copy of texmf.cnf in a known place (home path or so); 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
K. David Prince
-
Olivier