triyng elatex on tinyschema.tex have pointed out a problem. here is the output: # elatex tinyschema.tex This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) kpathsea: Running mktexfmt elatex.fmt fmtutil: no info for format `elatex'. I can't find the format file `elatex.fmt'! Reproducible: Always Steps to Reproduce: 1. download tinyschema.tex 2. elatex tinyschema.tex 3. Actual Results: This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) kpathsea: Running mktexfmt elatex.fmt fmtutil: no info for format `elatex'. I can't find the format file `elatex.fmt'! Expected Results: tinyschema.tex will be successfully processed Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r3 i686) ================================================================= System uname: 2.6.12-gentoo-r3 i686 Celeron (Coppermine) Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays -mfpmath=sse " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS=" -march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays -mfpmath=sse -O2 -fvisibility-inlines-hidden " DISTDIR="/home/ftp/distfiles" FEATURES="autoconfig confcache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.osuosl.org/ ftp://ftp.solnet.ch/mirror/Gentoo" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LDFLAGS=" -Wl,-O3 " MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi acpi4linux alsa apache2 arts audiofile avi berkdb bitmap-fonts bzlib caps cdparanoia chroot clamav crypt cups curl dba dio directfb divx4linux emboss encode erandom esd faac faad fam fbcon ffmpeg flac foomaticdb gcc-libffi gd gdbm ggi gif gimpprint gmp gnokii gnome gnutls gphoto2 gpm graphviz gtk gtk2 iconv imagemagick imlib imlib2 innodb ipv6 irda ithreads java javascript jbig jpeg jpeg2k justify jython kde kdeenablefinal lcms libclamav libg++ libwww lzo mad mailwrapper mbox md5sum mdb mikmod mime mjpeg mmap mmx mmx2 mmxext mng motif mozcalendar mozdevelop moznoirc mozsvg mp3 mpeg mysql ncurses nls no-old-linux no-suexec no_wxgtk1 nomac nptl nptlonly oav objc offensive ogg oggvorbis opengl pam pcmcia pdflib perl php png pnp posix ppds pwdb python qt quicktime readline rhino rtc samba scanner sdl shared sharedmem slang sms snmp softquota speex spell spl sse ssl svg svga tcltk tcpd tetex theora threads tidy tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb userlocales vcd vda vorbis win32codecs wmf wsconvert xine xml xml2 xmms xpm xprint xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS
for completeness, trying with latex: # latex tinyschema.tex This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./tinyschema.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size11.clo)) (./html.sty (/usr/share/texmf/tex/latex/hyperref/hyperref.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf/tex/latex/hyperref/hyperref.cfg) Implicit mode ON; LaTeX internals redefined (/usr/share/texmf/tex/latex/html/url.sty)) *hyperref using default driver hypertex* (/usr/share/texmf/tex/latex/hyperref/hypertex.def)) ! LaTeX Error: File `psfig.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name:
This bug don't allow the compilation of the documentation of TinyOS. Marked as blocker for bug #78908. From the bug submission form: How serious the problem is. Also, if your bug is a request for a new feature or enhancement, say so here. Severity: blocker: this bug prevents a software application from testing and use. changing severity to blocker.
Seen http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/2458& Seen http://forums.gentoo.org/viewtopic-t-345681-highlight-pdfetex.html I did as root cd /usr/share/texmf/tex/latex/base etex -ini *latex.ltx cp latex.fmt /var/lib/texmf/web2c/elatex.fmt texhash And now latex and elatex seem working again. Ajo!
(In reply to comment #3) > I did as root > > cd /usr/share/texmf/tex/latex/base > etex -ini *latex.ltx > cp latex.fmt /var/lib/texmf/web2c/elatex.fmt > texhash > > And now latex and elatex seem working again. Thanks, the sequence of command you have submitted solve a lot of trouble for me but there are still some problem around: elatex tinyschema.tex This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) ---! /var/lib/texmf/web2c/elatex.fmt was written by etex (Fatal format file error; I'm stymied) any other idea?
Ok, this is strange. My (e)latex and pdflatex seem working fine. Try to remove the elatex.fmt and make a symbolic link to the pre-existing latex.fmt. Actually the very first suggestion I found on the web was exactly this, but for me did not work with the message: elatex acomen_bis.tex This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) ---! /var/lib/texmf/web2c/elatex.fmt was written by pdfetex (Fatal format file error; I'm stymied) To me it would make more sense that the elatex.fmt were to be written by etex, but maybe there is some slight difference in some config file or something else. Try with the link, maybe works for you.
(In reply to comment #5) > Try to remove the elatex.fmt and make a symbolic link to the > pre-existing latex.fmt. I've done it: here are the reulsts: -- elatex tinyschema.tex This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./tinyschema.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size11.clo)) (./html.sty (/usr/share/texmf/tex/latex/hyperref/hyperref.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf/tex/latex/hyperref/hyperref.cfg) Implicit mode ON; LaTeX internals redefined (/usr/share/texmf/tex/latex/url/url.sty)) *hyperref using default driver hypertex* (/usr/share/texmf/tex/latex/hyperref/hypertex.def)) ! LaTeX Error: File `psfig.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: -- If I hit <RETURN> almost everything goes fine, but since I need to run the command inside an ebuild script, I need this latest "! LaTeX Error: File `psfig.sty' not found." fixed...
In my old redhat 7.1 I had a /usr/share/texmf/tex/generic/misc/psfig.sty while now on gentoo and tetex-3 I have only /usr/share/texmf/tex/latex/graphics/epsfig.sty Maybe you can check the tex file and trying to substitute \usepackage{psfig} (if this the case) with \usepackage{epsfig}? If this works, you can use sed easily from within the ebuild.
(In reply to comment #7) > In my old redhat 7.1 I had a > /usr/share/texmf/tex/generic/misc/psfig.sty > while now on gentoo and tetex-3 I have only > /usr/share/texmf/tex/latex/graphics/epsfig.sty > > Maybe you can check the tex file and trying to substitute \usepackage{psfig} (if > this the case) with \usepackage{epsfig}? > If this works, you can use sed easily from within the ebuild. > Thanks, this fix any other issue. It works for me.
I think that pdfetex should produce dvi output with the option -output-format=dvi. Unfortunately it seems to ignore this option. Also elatex.fmt was still missing with tetex-3.0-r3
(In reply to comment #9) > I think that pdfetex should produce dvi output with the option > -output-format=dvi. Unfortunately it seems to ignore this option. Also > elatex.fmt was still missing with tetex-3.0-r3 I see. I updated from -r2 to -r3 and all went right for me, but I guess my changes persisted. How do you suggest to attract the attention of the devs? Reopening the bug?
I discovered that the reason pdfetex was ignoring the -output-format=dvi argument was because I had passed the pdftex option to the graphicx package (it was within some pdftext detection code that no longer wors since pdftex is used for both dvi and pdf). Removing that option or improving the detection code (see the documentation on the tetex website) fixed the issue for me.
tetex-3 does indeed not install elatex.fmt, but it's still very unclear to me how this file should be installed. Adding an elatex entry in /etc/texmf/fmtutil.d/00fmtutil.cnf and running fmtutil --all did not seem to generate one. Symlinking from /var/lib/texmf/web2c/latex.fmt or etex.fmt results in a "I am stymied" error too... The problem is that it seems to be very difficult to find any documentation on the topic.
Reopening. Fresh install still affected by the bug.
I don't know if this is the problem as the original bug report, but when I install tetex-3.0-*, I get a file etex in /usr/bin. I think etex should be a link to pdfetex, so now after I install tetex, I remove /usr/bin/etex and ln -s /usr/bin/pdfetex /usr/bin/etex This fixes a lot of problems with tetex I was having. Jay
*** Bug 73831 has been marked as a duplicate of this bug. ***
*** Bug 101465 has been marked as a duplicate of this bug. ***
*** Bug 116716 has been marked as a duplicate of this bug. ***
*** Bug 97239 has been marked as a duplicate of this bug. ***
Created attachment 76480 [details, diff] Patch file for tetex-3.0 Add a new format for fmtutil
Created attachment 76481 [details, diff] tetex-3.0-r4.ebuild patch to add elatex format
Adding ~sparc for the ride as it applies to bug #116716
*** Bug 97569 has been marked as a duplicate of this bug. ***
Here comes a patch that solved all of my "Fatal file format error; I'm stymied" errors (it seems etex.fmt has to be built by etex and not by pdfetex). I also added the patch from Alfredo and an ebuild for tetex-3.0_p1 that applies them. Just emerge them, then etc-update your /etc/texmf/web2c/fmtutil.cfg, check that the line that begins with etex uses etex and not pdfetex and run (as root) "fmtutil-sys --missing --byfmt etex".
Created attachment 77075 [details, diff] Patch for fmtutin.in
Created attachment 77076 [details] tetex-3.0_p1-r1.ebuild (applies previous patch)
If nobody speaks against it, I'll commit the ebuild with the patch tomorrow and close this bug.
The commit has been delayed because there was a small problem with tetex-3.eclass and symlinks not pointing where they should but everything is hopefully solved now and tetex has been bumped to -r1. Don't forget to run "fmtutil-sys --missing && fmtutil-sys --byfmt etex" after updating your fmtutil.cnf, as stated in the einfo of the ebuild.
so I just emerged app-text/tetex-3.0_p1-r1, ran fmtutil-sys --missing && fmtutil-sys --byfmt etex and got this: ---! /var/lib/texmf/web2c/latex.fmt was written by pdfetex (Fatal format file error; I'm stymied) Any ideas? Did I miss something?
Humpf. Can you please post: output of "ls -l /etc/texmf/web2c/" content of /etc/texmf/web2c/fmtutil.cnf output of "fmtutil-sys --all" Thanks
well, I have meanwhile returned to tetex-2.0.2-r5 to do some work, but I reemerged emerge =app-text/tetex-3.0_p1-r1 to answer these questions. Surprisingly I get a different behavior now: > fmtutil-sys --missing && fmtutil-sys --byfmt etex /usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. so i do > texmf-update Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ... cat: /etc/texmf/texmf.d/00texmf.cnf: input file is output file Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ... cat: /etc/texmf/fmtutil.d/00fmtutil.cnf: input file is output file Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ... Configuring teTeX ... Generating format files ... Use 'texconfig font ro' to disable font generation for users > texhash texhash: Updating /var/lib/texmf/ls-R... texhash: Done. After that, still the same: > fmtutil-sys --missing && fmtutil-sys --byfmt etex /usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. output of "ls -l /etc/texmf/web2c/": total 12 -rw-r--r-- 1 root root 0 Jan 24 23:30 fmtutil.cnf -rw-r--r-- 1 root root 32 Jan 24 23:30 texmf.cnf -rw-r--r-- 1 root root 5517 Jan 24 23:30 updmap.cfg content of /etc/texmf/web2c/fmtutil.cnf empty!!! output of "fmtutil-sys --all" /usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found.
I ran into the problem and found the solution to fix it; see bug 97668; as there is a comment by me which tells you how to fix the problem; and then it will work.
Could all of you with problems, please try to do the following (wait a couple of hours after this message): emerge sync rm -rf /etc/texmf emerge tetex texmf-update and then try elatex again and report back here.
checkout the file, done sed -i -e "s:psfig:epsfig:" tinyschema.tex, ignoring the info message and blindly do what you ask seems to work for me. I notice some missing files in europecv docs where doing elatex cv.tex stops on: Enter file name: (/usr/share/texmf/tex/latex/base/inputenc.sty ! LaTeX Error: File `utf8x.def' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: def) Maybe this is another issue.
I see no improvement. Mayhaps I upgraded to early? I'll try again tomorrow. As of yet I find: > texmf-update Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ... cat: /etc/texmf/texmf.d/00texmf.cnf: input file is output file Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ... cat: /etc/texmf/fmtutil.d/00fmtutil.cnf: input file is output file Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ... Configuring teTeX ... Generating format files ... Use 'texconfig font ro' to disable font generation for users But then: ***** ***** LaTeX output: ***** cd '/home/draub/data/uni/teaching/crypto/u9' ***** latex -src -interaction=nonstopmode 'u9.tex' ***** This is TeXk, Version 3.141592 (Web2C 7.5.5) Source specials enabled. kpathsea: Running mktexfmt latex.fmt /usr/bin/mktexfmt: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `latex.fmt'! and then > fmtutil-sys --missing && fmtutil-sys --byfmt etex /usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. and > fmtutil-sys --all /usr/bin/fmtutil: line 331: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found.
I tried again today to do what Martin recommended and ... it worked!!! :) My latex system is working fine now. A big "thank you" to all developers here!
Could you all try to resync and upgrade to tetex-3.0_p1-r2 as usual (without doing anything else), and report back if it still works in that revision. I hope I have fixed all the problems and that elatex still works :-)
(In reply to comment #36) > Could you all try to resync and upgrade to tetex-3.0_p1-r2 as usual (without > doing anything else), and report back if it still works in that revision. > > I hope I have fixed all the problems and that elatex still works :-) > elatex works fine here on ~amd64 and ~x86. The release still lacks ucs.sty and utf8x.def.
Those two files come with dev-tex/latex-unicode, not app-text/tetex.
I'll close this as fixed since it is fixed for the reporter. If it does not work, feel free to reopen (again). The -r2 ebuild should also fix the symlink problem in already installed tetex'es (no need to do an rm -rf /etc/texmf) Btw. the credits for making elatex work should go to nattfodd.
(In reply to comment #38) > Those two files come with dev-tex/latex-unicode, not app-text/tetex. > Marking this as verified. Thanks for the info on latex-unicode.