Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Hans van der Meer wrote: I use (as root: sudo) the following shell script to install the latest pdfetex. For me it works. It might be of use to you. #!/bin/sh echo Installing Pdftex... umask 022 unzip pdftex-1.30.4.zip cd pdftex-1.30.4 sh ./Build cp -f build/texk/web2c/pdftex `which pdftex` cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool` no need for pdftex, is kind of obsolete, and afaik pdfetex is always the default cp -f build/texk/web2c/pdfetex `which pdfetex` which - kpsewhich cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool` chown -R root:wheel /usr/local/teTeX what is this wheel thing? chmod -R u+w /usr/local/teTeX chmod -R a+r /usr/local/teTeX why not make that place independent as well? chmod -R u+w `which pdfetex` `which pdfetex.pool` umask 027 cd .. echo Installing Pdftex done. exit wikiable Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Hi Hans and Hans, Hans Hagen wrote: Hans van der Meer wrote: I use (as root: sudo) the following shell script to install the latest pdfetex. For me it works. It might be of use to you. #!/bin/sh echo Installing Pdftex... umask 022 unzip pdftex-1.30.4.zip cd pdftex-1.30.4 sh ./Build cp -f build/texk/web2c/pdftex `which pdftex` cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool` no need for pdftex, is kind of obsolete, and afaik pdfetex is always the default Yes. I will remove these two lines from the wiki page as well. cp -f build/texk/web2c/pdfetex `which pdfetex` which - kpsewhich No, which is correct. You want to replace the executable pdfetex that is in the path. On all distributions (except the minimal zips), the bin tree is outside of kpsewhich scope. cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool` chown -R root:wheel /usr/local/teTeX what is this wheel thing? The wheel user group is a unix security measure (of sorts). chmod -R u+w /usr/local/teTeX chmod -R a+r /usr/local/teTeX why not make that place independent as well? Hans is chmodding the directory, not the executable. I'm doubt these chown/chmod lines are really needed after each update of pdfetex (the will only do something the first time the script is run). It looks to me like you had a rather peculiar umask in effect when you installed teTeX 3.0. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Hi, Nikolai Weibull wrote: The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it. Do you have a symlink in /etc/share/texmf/web2c as well? Well, I have with a standard-SUSE-10.0 teTeX only /etc/texmf/web2c/texmf.cnf and neither of those others. To find the texmf.cnf, which TeX uses, enter: kpsewhich texmf.cnf (gives here: /usr/share/texmf/web2c/texmf.cnf) to find the real file (you can also edit the symlink, actually), use readlink: readlink -f `kpsewhich texmf.cnf` (gives here: /etc/texmf/web2c/texmf.cnf, the symlink above is actually ../../../../etc/texmf/web2c/texmf.cnf) Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? Thanks. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? well, since it's the gentoo people who use a structure different from tds, it's up to them to provide support for that; btw, this var/lib/texmf path looks unfamiliar to me (i wonder what libs tex ships with/provides -) the problem is that there are so many texmf paths nowadays (not texmf-xxx under one root, but multiple texmf (main) paths in different locations that the change for clashes is pretty big) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
On 11/28/05, Nikolai Weibull [EMAIL PROTECTED] wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? The simple way, IMHO, is to build teTeX into /usr/local/teTeX. After finished all, you need put /usr/local/teTeX/bin at top of your $PATH and that should ok. PATH=/usr/local/teTeX/bin:/usr/bin:. By this way I have always teTeX/pdfetex/ConTeXt up-to-date on my FC4 box. Cheers, -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
Taco Hoekwater wrote: Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). Sadly, there's no separate pdfetex ebuild for Gentoo. If there was, I wouldn't have to mess with this :-). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Yes, there's one in /var/lib/texmf/web2c. The reason for this layout is to separate architecture-dependent files and non-architecture-dependent files. I can't say that the added complexity justify this separation. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0
I have once tried to set up TeX on gentoo, and found this to be the most complicated and least user-friendly distribution I have ever seen. There's a bunch of texmf-trees in all kinds of bizarre locations, and a symlink farm in /etc like you wouldn't believe, and there's not a shred of documentation to be seen anywhere. So they make everything as complex as possible, but the TeX binaries are simply dumped into /usr/bin, so the only way to update is via the emerge system. But enough of this rant: be careful to figure out what cnf file is a symlink and which one is real. They have an entire web2c tree in /etc/conf.d/texmf, if memory serves right, and the cnf files are regenerated from texmf.d/00texmf.cnf or somesuch, so this is the file you need to modify. But in the end, you may find it's not worth the trouble: just unmerge tetex and install a vanilla teTeX system. Best Thomas On Nov 28, 2005, at 9:05 PM, Nikolai Weibull wrote: Taco Hoekwater wrote: Nikolai Weibull wrote: I've followed the instructions listed at http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite give. The problem is that I use the Gentoo installation setup as a base and have the latest ConTeXt installed in /usr/local/share. Does anyone know what options to pass to pdftex's configure-script to match the setup on a Gentoo system (where stuff is stored in /etc/texmf and /var/lib/texmf)? It would be simplest (and definately justified) to ask this to the Gentoo maintainer, because (s)he has apparently succeeded in setting that up (Gentoo's trees seem to bear only a passing resemblance to teTeX and would be more accurately called Gentoo-TeX). Sadly, there's no separate pdfetex ebuild for Gentoo. If there was, I wouldn't have to mess with this :-). My best guess: find the non-etc version of texmf.cnf (I'm fairly certain there is one), and attempt to pass the root of texmf tree that contains it as --datadir to the configure script. Yes, there's one in /var/lib/texmf/web2c. The reason for this layout is to separate architecture-dependent files and non-architecture- dependent files. I can't say that the added complexity justify this separation. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context