Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60835 - [Tracker] tetex version 3
Summary: [Tracker] tetex version 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: Tracker
: 80926 81094 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-18 18:37 UTC by ivo welch
Modified: 2005-03-30 06:16 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivo welch 2004-08-18 18:37:09 UTC
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
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-03 08:14:28 UTC
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.
Comment 2 Justin Huff 2004-10-14 08:51:35 UTC
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.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-17 05:33:28 UTC
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.
Comment 4 Justin Huff 2004-10-21 08:57:39 UTC
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
                                 
Comment 5 Jens Hauser 2004-10-25 11:25:30 UTC
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
Comment 6 Daniel Oehry 2004-10-26 13:37:48 UTC
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
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-26 21:45:50 UTC
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.
Comment 8 Daniel Oehry 2004-10-27 00:21:24 UTC
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
Comment 9 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-27 01:34:27 UTC
Thanks for the pointer. I'll change texmf.cnf so then.
Comment 10 Nikolai Weibull 2004-11-17 07:22:05 UTC
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)?
Comment 11 Justin Huff 2004-11-17 09:57:56 UTC
tetex-2.99.1.20041026 still has the errors with libpng-1.2.7 when using pdfelatex.  Ideas?
Comment 12 Justin Huff 2004-11-17 10:03:42 UTC
It looks like the issue I saw has recently been reported in another (better) bug (67069).
Comment 13 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-18 07:36:42 UTC
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)
Comment 14 Nikolai Weibull 2004-11-18 15:39:21 UTC
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.
Comment 15 Nikolai Weibull 2004-11-19 05:36:29 UTC
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.
Comment 16 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-19 14:43:29 UTC
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.
Comment 17 Benoit Boissinot 2004-11-26 15:35:38 UTC
What are the reason for pgf and xcolor being blocked with this version of tetex ? (DEPENDS)
Are there problems with this ebuilds ?

Comment 18 Daniel Oehry 2004-11-27 03:03:41 UTC
newer versions of pgf and xcolor are already included in tetex 2.99.3.
Comment 19 Benoit Boissinot 2004-11-27 04:06:38 UTC
Could pgf, xcolor et latex-beamer be updated so that they depend on tetex-3 if
available ?
Comment 20 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-27 20:23:18 UTC
No. All of pgf, xcolor and latex-beamer are included
in tetex-2.99.3.
Comment 21 Daniel Oehry 2004-12-05 12:53:42 UTC
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.
Comment 22 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-07 22:05:34 UTC
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.
Comment 23 Maarten Wisse 2004-12-09 12:13:36 UTC
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.
Comment 24 Maarten Wisse 2004-12-10 00:23:04 UTC
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.
Comment 25 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2004-12-10 01:47:07 UTC
Is it possible to make tetex-light containing only core packages and ebuilds for   each tex package?
Comment 26 Daniel Oehry 2004-12-30 01:10:22 UTC
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.
Comment 27 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-01-21 03:50:07 UTC
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)
Comment 28 Benoit Boissinot 2005-01-21 12:48:20 UTC
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
Comment 29 Benoit Boissinot 2005-01-23 07:22:16 UTC
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
Comment 30 zortech 2005-02-06 19:59:56 UTC
According to http://news.gmane.org/gmane.comp.tex.tetex.announce
tetex-3.0 has been released
Comment 31 Daniel Oehry 2005-02-07 00:19:33 UTC
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
Comment 32 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-07 07:34:53 UTC
*** Bug 81094 has been marked as a duplicate of this bug. ***
Comment 33 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-08 07:34:14 UTC
*** Bug 80926 has been marked as a duplicate of this bug. ***
Comment 34 Daniel Oehry 2005-02-10 01:05:19 UTC
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
Comment 35 Daniel Oehry 2005-02-10 01:27:28 UTC
/etc/texmf/web2c/updmap.cfg should be sym-linked to /var/lib/texmf/web2c/updmap.cfg.

Daniel
Comment 36 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-10 01:39:16 UTC
Daniel: texmf-update already uses -sys variants. (texconfig-sys, fmtutil-sys,
and updmap-sys) I"ll check updmap.cfg later. Thanks for the feedback.
Comment 37 Daniel Oehry 2005-02-10 02:14:37 UTC
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
Comment 38 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-10 02:26:52 UTC
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!)
Comment 39 Fritz Heinrichmeyer 2005-02-10 05:16:40 UTC
there are some config files in /etc/texmf that are by default not used (at least with updmap. 

This is irritating.
Comment 40 Daniel Oehry 2005-02-10 05:33:40 UTC
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.
Comment 41 Andreas Volz 2005-02-12 03:00:24 UTC
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!
Comment 42 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 03:19:50 UTC
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.
Comment 43 Andreas Volz 2005-02-12 03:59:22 UTC
> 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.
Comment 44 Daniel Oehry 2005-02-26 04:52:29 UTC
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.
Comment 45 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-26 08:03:59 UTC
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.
Comment 46 Daniel Oehry 2005-02-26 08:22:31 UTC
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
Comment 47 Daniel Oehry 2005-03-01 08:16:49 UTC
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
Comment 48 Horace Ip 2005-03-04 18:09:37 UTC
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)
Comment 49 Horace Ip 2005-03-04 23:04:39 UTC
sorry 
apparently tetex 3 includes beamer 
may be tetex 3 should block beamer as well
Comment 50 Christoph Safferling 2005-03-30 03:03:24 UTC
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...
Comment 51 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-03-30 06:16:10 UTC
Sorry, I forgot to block latex-beamer as well.
It's fixed now in CVS.