there is a much newer version now, which is a beta, but still much less buggy than the old 2.0.2 in almost all respects. now, the old tex and latex work quite well, but the old versions of pdftex and pdflatex (great tools and part of tetex) are fairly buggy. so, updating would make a lot of sense. the source for the new tetex is at ftp://dante.ctan.org/pub/tex/systems/unix/teTeX-beta/ from the builder's perspective, I believe nothing would have changed; if I were not a brand-new first-time gentoo user, I might have tried to create an ebuild myself. hopefully, this is very easy to do. sincerely, /iaw
Thanks for the suggestion. I actually made an ebuild for tetex-2.96.7.20040721 and it worked fine with my tex files. However, jadetex won't emerge with this version. Other small programs do work, though. I need to fix this issue first before putting the ebuild into CVS.
Would this fix issues with pdftex and libpng-1.2.7? After upgrading to libpng-1.2.7 (from -1.2.5-r8), pdftex spews messages from libpng about invalid filters (don't have the exact error handy) and then doesn't include the pngs in the document.
I added tetex-2.96.7.20040721.ebuild to CVS. It is package.masked so if you want to try it please unmask it by /etc/portage/package.unmask. I haven't tested it much (because I use pTeX, Japanised version of stable teTeX), but all ebuilds in dev-tex except jadetex and xmltex compile and install fine with it.
I emerged it manually and gave it a try. 'pdflatex' doesn't exist any more, so I tried 'pdfelatex' and it behaved the same: libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng error: incorrect data check Error: pdfelatex: libpng: internal error ==> Fatal error occurred, the output PDF file is not finished! It works great as soon as I re-emerge libpng-1.2.5-r8
After installing, I receive an error message from tex-config: "Could not find app-default file for xdvi" - emerge hangs (I saw the message by typing "ps ax"). That happens with both packages (2.0.2 and 2.96.7.20040721). Pressing several times on Enter-key continues the emerge. Watch these references: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=237060 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=237060&msg=53 http://groups.google.com/groups?hl=de&lr=&frame=right&th=c3c9bfef4812a2b5&seekm=listgate20011021211007%24761f%40attila.bofh.it#link2 At this moment, I didn't test the implications on working with tex. Any ideas? Jens
I received the same error message. I then emerged app-text/xdvik-22.84.3. Now texconfig works. There is a new beta version of tetex (2.99.0.20041023) available: ftp://dante.ctan.org/pub/tex/systems/unix/teTeX-beta/ I have a question: The tetex-beta ebuild installs the texmf-local tree into /etc/texmf/. This is quite a good idea because of the config files, but texmf-local may also contain some other additions to the main texmf tree which should not be in /etc/. Daniel
The bug described in comment #5 is already fixed, if you remerge tetex you will not see the problem. See also bug #68883. Daniel, thanks for the input. I'll add it to CVS as soon as I get connection to my dev machine. What else location would you suggest for texmf-local? /usr/share/texmf-local is the default location for TEXMFLOCAL.
There is another new tetex-beta release available (2.99.1.20041026). According to the release notes this is something like a release candidate for tetex-3.0. As for the local texmf tree I am using /usr/local/share/texmf. There also seems to be a new texmf-dist tree which holds the distributed tetex files. Thomas Esser the author of tetex suggests the following: http://www.mail-archive.com/tetex-pretest@dbs.uni-hannover.de/msg00043.html With this setup it would be a logic consequence to place texmf-local in /usr/local/share/texmf. Daniel
Thanks for the pointer. I'll change texmf.cnf so then.
There's a problem with the bundled ConTeXt with the 20041026 release it seems: \starttext \index{word}word \completeindex \stoptext makes pdfetex go off towards infinity. Could you please provide an updated ebuild to the latest beta (2.99.3.20041109)?
tetex-2.99.1.20041026 still has the errors with libpng-1.2.7 when using pdfelatex. Ideas?
It looks like the issue I saw has recently been reported in another (better) bug (67069).
Nicolai: added 2.99.3.20041109. Please test. Justin: please discuss libpng issue there. I'll make a fixed version of libpng if it is not resolved after tetex-3 release. (I'm moving this weekend, and will get only 32Kbps at home so chances are low, though)
2.99.3.20041109 didn't fix the problem with \completeindex in ConTeXt. I've contacted the context-users mailing list to see what they have to say about it. I'll get back to you when I have something to report. Thank you for updating.
There was a bug in ConTeXt: in core-reg.tex: \def\doplaceregister[#1][#2]% {\iffirstargument \begingroup \edef\currentregister{#1}% ^^^^^ edef \def\docompleteregister[#1][#2]% {\iffirstargument \begingroup \edef\currentregister{#1}% ^^^^^ I guess there will be a need for the teTeX people to update to a newer ConTeXt (and the ConTeXt nath module was updated recently as well). Not an issue for this bugzilla though. Btw, the libpng problem still persists with the 2.99.3 release. Just thought I'd mention it.
Thanks Nicolai, I'll apply the patch for the time being if that is not fixed in the next prerelease. jadetex and xmltex issue (comment #3) resolved. TODO list for tetex-3 are: * ConTeXt (comment #15) * pdflatex with libpng-1.2.7 (bug #67069) * ebb issue (bug #43298) * updmap.cfg config protection (bug #56440) * texmf.cfg modification (bug #21501) Other bugs such as bug #68878, bug #69439, and bug #30432 are not likely to be fixed this time.
What are the reason for pgf and xcolor being blocked with this version of tetex ? (DEPENDS) Are there problems with this ebuilds ?
newer versions of pgf and xcolor are already included in tetex 2.99.3.
Could pgf, xcolor et latex-beamer be updated so that they depend on tetex-3 if available ?
No. All of pgf, xcolor and latex-beamer are included in tetex-2.99.3.
tetex-beta-2.99.4 is available See ftp://dante.ctan.org/pub/tex/systems/unix/teTeX-beta/ANNOUNCE-2.99.4.20041128 for changes.
I will add tetex-2.99.5.20041207, but it'll take some time because I'm on 32Kbps dialup at the moment :( Sorry for that.
I've installed the 99.5 one. Here's at least one comment: it should also exclude tex4ht, which went into Portage recently. It is included in tetex as well. Perhaps we should reconsider these issues, because when all these big packages go into tetex, this will make updates very slow. It would be better when we were able to `plugin' certain components of TeX on demand. teTeX is becoming a way to large this way. I've been so stubborn to install the whole thing in /usr/share/texmf. I'll look whether I will be able to maintain that decision. I don't like to put everything in /var/lib/texmf, not to say that I find it crazy. Very few people nowadays work with distributions over a network. We are not in the 1980s.
The remark about tex4ht in comment 23 is false. While I still think that tetex is becoming too big, tex4ht is not part of tetex.
Is it possible to make tetex-light containing only core packages and ebuilds for each tex package?
There is another new teTeX version available. According to Thomas Esser this is the first release candidate of teTeX-3.0. ftp://dante.ctan.org/pub/tex/systems/unix/teTeX-beta/ANNOUNCE-2.99.7.20041226 It would be nice to update the ebuild.
Hi, I've put tetex-2.99.9.20050111 to CVS. Please test it. Comment #23: only runtime files are stored in /var/lib/texmf. All the other stuff are kept in /usr/share/texmf. This will for example enable you to mount /usr read-only. Isn't it good enough to separate modified files from /usr/share/texmf? Comment #25: could be. If someone gives us an ebuild for it, we can consider add it to Portage. (we may want to use "minimal" USE flag to disable most features, though)
A directory was created '/web2c', it contains .log and .fmt files. But they doesn't appear in /var/db/pkg/app-text/tetex-2.99.9.20050111/CONTENTS
Please ignore my last comment, i removed the directories and reemerged tetex. Since they didn't reappeared i think i did something wrong elsewhere. Benoit
According to http://news.gmane.org/gmane.comp.tex.tetex.announce tetex-3.0 has been released
In TeTeX-3.0 Thomas Esser introduced some new variables: TEXMFSYSCONFIG, TEXMFSYSVAR. Also there are now some new commands: texconfig-sys, fmtutil-sys, updmap-sys. See ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/ANNOUNCE-2.99.11.20050131 for details. Daniel
*** Bug 81094 has been marked as a duplicate of this bug. ***
*** Bug 80926 has been marked as a duplicate of this bug. ***
Thanks for the ebuild. I think that /usr/sbin/tetex-update should be changed: Instead of texconfig, updmap and fmtutil the sys-variants (texconfig-sys, updmap-sys and fmtutil-sys) should be used. Daniel
/etc/texmf/web2c/updmap.cfg should be sym-linked to /var/lib/texmf/web2c/updmap.cfg. Daniel
Daniel: texmf-update already uses -sys variants. (texconfig-sys, fmtutil-sys, and updmap-sys) I"ll check updmap.cfg later. Thanks for the feedback.
I unmerged tetex and did a new clean install. Unfortunately there is no file "texmf-update" and "tetex-update" does not call the sys-variants. Could it be that there is something wrong with my installation? Daniel
Really sorry about that. It was in my overlay and I hadn't committed it yet. It's now in CVS, so please wait for another hour and try again. (Thanks again for the test!)
there are some config files in /etc/texmf that are by default not used (at least with updmap. This is irritating.
Thanks a lot! Now texmf-update exists. The problem with the symbolic link of updmap.cfg remains. I had to generate the link manually. There is a updmag.cfg in /usr/share/texmf/web2c. updmap-sys takes that one. Maybe this file should be removed or replaced by a symlink to /etc/texmf/web2c/updmap.cfg? I would prefer the symlink in /var/lib/texmf/web2c. If this one exists updmap-sys takes it.
I installed now the newest version (app-text/tetex-3.0). But the problem is still the same: > pdflatex titel.tex This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) kpathsea: Running mktexfmt pdflatex.fmt fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `pdflatex.fmt'! Pease help me I really need pdflatex to work!
Andreas: what is the output of `kpsewhich --expand-var='$TEXMFMAIN'` and `locate fmtutil.conf`? Do you have something in /usr/local/share/texmf? Please remove everything in /usr/share/texmf, /usr/local/share/texmf, and /var/lib/texmf before emerging tetex.
> what is the output of `kpsewhich --expand-var='$TEXMFMAIN'` nothing > and `locate fmtutil.conf`? Doesn't exist on my system. Even "find" couldn't find it. > Do you have something in /usr/local/share/texmf? This dir doesn't exist. > Please remove everything in /usr/share/texmf, /usr/local/share/texmf, > and /var/lib/texmf before emerging tetex. ok, I try currently to unmerge and merge tetex again after removing this dirs.
I have problems emerge jadetex and preview-latex. I think this is related to tetex-3.0. emerge jadetex Calculating dependencies ...done! >>> emerge (1 of 1) app-text/jadetex-3.13 to / >>> md5 src_uri ;-) jadetex-3.13.tar.gz >>> Unpacking source... >>> Unpacking jadetex-3.13.tar.gz to /var/tmp/portage/jadetex-3.13/work >>> Source unpacked. tex jadetex.ins This is TeX, Version 3.141592 (Web2C 7.5.4) kpathsea: Running mktexfmt tex.fmt tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `tex.fmt'! make: *** [basic] Error 1 !!! ERROR: app-text/jadetex-3.13 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Daniel: did you run etc-update (or dispatch-conf) to update configuration files? Please also check that /var/lib/texmf/texconfig/tcfmgr.map exists and `kpsewhich -expand-var='$TEXMFMAIN'` returns /var/lib/texmf.
Everything seems to be ok. I did run etc-update, /var/lib/texmf/texconfig/tcfmgr.map exists and `kpsewhich -expand-var='$TEXMFMAIN'` returns /var/lib/texmf. Unfortunately the emerge error remains. If I cd to /var/tmp/portage/jadetex-3.13/work/jadetex-3.13 and start make manually it works just fine. I have no idea what's wrong. Daniel
I solved my problem with jadetex! There was a problem with lilypond. I had ". /usr/share/lilypond/2.5.2/buildscripts/out/lilypond-profile" in my .bashrc. This script creates a $TEXMF variable which caused the problem. Daniel
tetex 3 is blocking pgf and xcolor which are required by latex-beamer. Should this block be removed and let the package overwrite them? or the tetex-3 should show the packages are provided. or the latex-beamer should depend on the packages/tetex >= 3 ? (this seems to be the most reasonable)
sorry apparently tetex 3 includes beamer may be tetex 3 should block beamer as well
Yes, xcolor and pgf are blocked, but will still want to be emerged via a dependency requirement by dev-tex/latex-beamer. It is safe to unmerge latex-beamer, as it is already included in tetex3. It should be blocked along with pgf and xcolor. Don't know if one should open a new bug for this...
Sorry, I forgot to block latex-beamer as well. It's fixed now in CVS.