You are not logged in.
kpsewhich is a tool that can be used to check what files does tex system "see". So if
'kpsewhich dehypht-x-2009-06-19.tex' returns the full path to that file, it means that TeX "knows" about it; his database of known files can be rebuilt with 'sudo texhash' (but this is (i think) done after every install/update of texlive packages).
you can try removing all the "local/user" config/temp files concerning tex by deleting ~/.texlive directory.
other than these general things, i'm not able to help; it would help me if you could post the logfile (pdflatex.log) to e.g. pastebin.com and post the link, so that I can look at it.
Offline
Hey guys,
after the texlive update I'm no longer able to compile tex-files. Neither latex nor pdftex work and both stop with the same error message:
! I can't find file `dehypht-x-2008-06-18.tex'.
<to be read again>
\relax
l.370 \repeat
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<to be read again>
\relax
l.370 \repeat
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflatex.log.' instead of a filename.
I can't find the format file `pdflatex.fmt'!just the last line for latex is different. It says, that the format file 'latex.fmt' cannot be found.
What happend to my TexLive? I've allready tried reinstalling and all the fmtutil stuff from above
Has anybody an idea? Thanks
I'm seeing the same problem. =/
I'm using a brand new install of texlive-latex3, and I ran pdflatex draft1.tex &> fail.log.
draft1.tex:
\documentclass[10pt,a4paper,draft]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\mathbb{R}
\end{document}
fail.log:
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
kpathsea: Running mktexfmt pdflatex.fmt
fmtutil: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' ...
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX)
%&-line parsing enabled.
(/usr/share/texmf/web2c/cp227.tcx)
entering extended mode
(/usr/share/texmf-dist/tex/latex/latexconfig/pdflatex.ini
(/usr/share/texmf-config/tex/generic/config/pdftexconfig.tex)
(/usr/share/texmf-dist/tex/latex/base/latex.ltx
(/usr/share/texmf-dist/tex/latex/base/texsys.cfg)
./texsys.aux found
\@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers, compatibility for TeX 2, parameters,
LaTeX2e <2005/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================
Local config file fonttext.cfg used
====================================
(/usr/share/texmf-dist/tex/latex/base/fonttext.cfg
(/usr/share/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===
(/usr/share/texmf-dist/tex/latex/base/omlenc.def)
(/usr/share/texmf-dist/tex/latex/base/t1enc.def)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.def)
(/usr/share/texmf-dist/tex/latex/base/omsenc.def)
(/usr/share/texmf-dist/tex/latex/base/t1cmr.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmr.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmss.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmtt.fd)))
====================================
Local config file fontmath.cfg used
====================================
(/usr/share/texmf-dist/tex/latex/base/fontmath.cfg
(/usr/share/texmf-dist/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===
(/usr/share/texmf-dist/tex/latex/base/omlcmm.fd)
(/usr/share/texmf-dist/tex/latex/base/omscmsy.fd)
(/usr/share/texmf-dist/tex/latex/base/omxcmex.fd)
(/usr/share/texmf-dist/tex/latex/base/ucmr.fd)))
====================================
Local config file preload.cfg used
=====================================
(/usr/share/texmf-dist/tex/latex/base/preload.cfg
(/usr/share/texmf-dist/tex/latex/base/preload.ltx)) page nos., x-ref,
environments, center, verbatim, math definitions, boxes, title, sectioning,
contents, floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf-dist/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/ushyphmax.tex)
(/usr/share/texmf/tex/generic/hyphen/dumyhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)
! I can't find file `dehypht-x-2008-06-18.tex'.
<to be read again>
\relax
l.370 \repeat
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<to be read again>
\relax
l.370 \repeat
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflatex.log.
Error: `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/home/vil/.texlive/texmf-var/web2c
for details.
###############################################################################
This is a summary of all `failed' messages and warnings:
`pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
warning: kpathsea: mktexfmt output `This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX)
%&-line parsing enabled.
(/usr/share/texmf/web2c/cp227.tcx)
entering extended mode
(/usr/share/texmf-dist/tex/latex/latexconfig/pdflatex.ini
(/usr/share/texmf-config/tex/generic/config/pdftexconfig.tex)
(/usr/share/texmf-dist/tex/latex/base/latex.ltx
(/usr/share/texmf-dist/tex/latex/base/texsys.cfg)
./texsys.aux found
\@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers, compatibility for TeX 2, parameters,
LaTeX2e <2005/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================
Local config file fonttext.cfg used
====================================
(/usr/share/texmf-dist/tex/latex/base/fonttext.cfg
(/usr/share/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===
(/usr/share/texmf-dist/tex/latex/base/omlenc.def)
(/usr/share/texmf-dist/tex/latex/base/t1enc.def)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.def)
(/usr/share/texmf-dist/tex/latex/base/omsenc.def)
(/usr/share/texmf-dist/tex/latex/base/t1cmr.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmr.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmss.fd)
(/usr/share/texmf-dist/tex/latex/base/ot1cmtt.fd)))
====================================
Local config file fontmath.cfg used
====================================
(/usr/share/texmf-dist/tex/latex/base/fontmath.cfg
(/usr/share/texmf-dist/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===
(/usr/share/texmf-dist/tex/latex/base/omlcmm.fd)
(/usr/share/texmf-dist/tex/latex/base/omscmsy.fd)
(/usr/share/texmf-dist/tex/latex/base/omxcmex.fd)
(/usr/share/texmf-dist/tex/latex/base/ucmr.fd)))
====================================
Local config file preload.cfg used
=====================================
(/usr/share/texmf-dist/tex/latex/base/preload.cfg
(/usr/share/texmf-dist/tex/latex/base/preload.ltx)) page nos., x-ref,
environments, center, verbatim, math definitions, boxes, title, sectioning,
contents, floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf-dist/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/ushyphmax.tex)
(/usr/share/texmf/tex/generic/hyphen/dumyhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)
! I can't find file `dehypht-x-2008-06-18.tex'.
<to be read again>
\relax
l.370 \repeat
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
<to be read again>
\relax
l.370 \repeat
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflatex.log.' instead of a filename.
I can't find the format file `pdflatex.fmt'!
Offline
Just try:
fmtutil --all
on the user account (without sudo).
It saves my life!!!!
Bye Alberto
Offline
I think that the correct config file to check in this case is 'language.dat'. This is the place which tells tex which languages are supposed to be supported (for hyphenation) and which files are supposed to implement this support. So:
- 'kpsewhich language.dat' (tells me which language.dat file is seen by tex) gives
/usr/share/texmf-config/tex/generic/config/language.dat; this file is owned by the package texlive-bin-2009.1-1
- looking inside that file, there's a line that references dehypht-x-2009-06-19.tex.
Please check whether you see the same on your system.
Offline
I think that the correct config file to check in this case is 'language.dat'. This is the place which tells tex which languages are supposed to be supported (for hyphenation) and which files are supposed to implement this support. So:
- 'kpsewhich language.dat' (tells me which language.dat file is seen by tex) gives
/usr/share/texmf-config/tex/generic/config/language.dat; this file is owned by the package texlive-bin-2009.1-1
- looking inside that file, there's a line that references dehypht-x-2009-06-19.tex.
Please check whether you see the same on your system.
Thank you so very very very very very very very very very very very very very much. language.dat had the wrong dehypht file in it, changing it to the right one fixed my problem.
Last edited by lenish (2009-08-27 20:13:48)
Offline
Just try:
fmtutil --all
on the user account (without sudo).
This just saved me. Thanks!!!
Offline
@bender02: you were totaly right. But the problem was fortunatly fixed in the update of texlive-bin this morning. But thanks a lot
Last edited by damoppi (2009-08-28 09:16:47)
Offline
The package maintainer forgot to add "fmtutil --all" in post_install() ?
Offline
The package maintainer forgot to add "fmtutil --all" in post_install() ?
I apparently didn't explain it well enough (or you didn't bother to read the posts above):
- in post_install(), all you can achieve is to either
- regenerate the formats for the root user, so not affecting regular users at all (that's what you propose)
- regenerate the system-wide formats (by fmtutil-sys --all), which is already done in post_install()
- however if the user (or some program (eg lyx) for him) has generated the formats itself, even the system-wide regeneration won't help, the user has to do "fmtutil --all" by himself. There's no way pacman would run any command as a particular user, or even touch any files in /home/* [allowing it do that would be pretty stupid if you ask me].
Offline
Why do I have to edit /usr/share/texmf-config/tex/generic/config/language.dat from texlive-bin (2009.1-1) and make it point to /usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.tex from texlive-core (2009.14682-1)?
Isn't that a bug of the packages?
Anyways, after doing so and running "sudo fmtutil-sys --all", latex works fine for me.
Offline
Why do I have to edit /usr/share/texmf-config/tex/generic/config/language.dat from texlive-bin (2009.1-1) and make it point to /usr/share/texmf-dist/tex/generic/dehyph-exptl/dehypht-x-2009-06-19.tex from texlive-core (2009.14682-1)?
Isn't that a bug of the packages?Anyways, after doing so and running "sudo fmtutil-sys --all", latex works fine for me.
You shouldn't have to edit it, it's a bug in the texlive-bin package.
Offline
I have also experienced similar problems after update. When I use
sudo fmtutl-sys --all
latex worked. However, there was another problem when I tried to convert dvi to pdf. So I removed all tex-live packages, (sudo pacman -Rsn texlive-most) removed /usr/share/texmf-var/
Then reinstall texlive, and problem solved.
Offline
latex worked. However, there was another problem when I tried to convert dvi to pdf. So I removed all tex-live packages, (sudo pacman -Rsn texlive-most) removed /usr/share/texmf-var/
That seems to me like it's the same problem (with formats) as with tex, but this time with metafont (a part of TeX "suite" which is used to generate fonts which are not available as postscript fonts).
Offline
C2H5OH wrote:Just try:
fmtutil --all
on the user account (without sudo).
It works for me .. and saves my life
Yes ! me too
Thanks !
Offline
After upgrade to last version of latex, I've problem with the class Beamer and ps2pdf: slides in pdf are not in full screen, but are reduced to 1/4 of the sheet. I tried to remove and reinstall the packages, removed /usr/share/texmf-var/, run fmtutil --all, but it doesn't work
Sorry for my bad english :-)
Offline
After upgrade to last version of latex, I've problem with the class Beamer and ps2pdf: slides in pdf are not in full screen, but are reduced to 1/4 of the sheet. I tried to remove and reinstall the packages, removed /usr/share/texmf-var/, run fmtutil --all, but it doesn't work
1) you should open a new thread if you have an issue which is not the one discussed in the thread
2) beamer works fine for me
3) it seems to me that you are using unnecesarily convoluted way of generating slides (.tex -> .dvi -> .ps -> .pdf) instead of using pdftex to go (.tex -> .pdf) The only reason one would want to do it the long way is that you have some .eps pictures that you want to include, but these days you can easily convert to .pdf pictures and do it the short way then
4) I tried your way on some of my slides, and checked each step on the way: .dvi is OK, .ps is OK, .pdf is not OK. That means that what goes wrong is ps2pdf (at least in my case)
5) pacman -Qo /usr/bin/ps2pdf tells me that ps2pdf belongs to the ghostscript package, so most likely this is not a problem with tex at all
So please check the whether the postscript files are OK also in your case, and if you can't use pdftex directly, please tell us why, maybe we can come up with some solution
Offline
1) you should open a new thread if you have an issue which is not the one discussed in the thread
I had the problem after the update of this package. However, the thread is called: "texlive-latex3 AND OTHER PROBLEMS in upgrade"
2) beamer works fine for me
well, happy for you!
3) it seems to me that you are using unnecesarily convoluted way of generating slides (.tex -> .dvi -> .ps -> .pdf) instead of using pdftex to go (.tex -> .pdf) The only reason one would want to do it the long way is that you have some .eps pictures that you want to include, but these days you can easily convert to .pdf pictures and do it the short way then
ok but I've a hundred eps file -.-'
4) I tried your way on some of my slides, and checked each step on the way: .dvi is OK, .ps is OK, .pdf is not OK. That means that what goes wrong is ps2pdf (at least in my case)
thanks for the confirmation:
.....
..... I've problem with the class Beamer and ps2pdf .....
5) pacman -Qo /usr/bin/ps2pdf tells me that ps2pdf belongs to the ghostscript package, so most likely this is not a problem with tex at all
Ok
So please check the whether the postscript files are OK also in your case, and if you can't use pdftex directly, please tell us why, maybe we can come up with some solution
then the final solution is to use pdflatex and convert the 100 *.eps images, because ps->pdf doesn't work ?!? Mmm this is not a solution,
thanks but you give me only an alternative for compile
Sorry for my bad english :-)
Offline
ad 1): The thing with opening new threads with a descriptive title is that also people who don't follow this thread might help. Especially when it turned out that the problem is not directly related to texlive, but more of a ghostscript problem.
ad 3): Yes I suggest that you convert all the files to pdfs. It's as easy as "cd <folder with pictures>; ps2pdf -dEPSFitPage -dEPSCrop *.eps". I was just trying to give you a (I think) useful suggestion, but you can of course do what you want.
ad 5) and the rest: I didn't give you any final solution, I gave you a starting point what you should look for next.
Anyway, I did some googling, and now I think that the problem is that ps2pdf doesn't determine the page size correctly (and just uses the default, letter or a4), although on the top of the .ps file there's a correct "BoundingBox 0 0 363 273" (you can do 'less <ps_file>' and look at the first couple of lines). So I managed to make ps2pdf "do the right thing" by explicitly telling it that the page size should be that:
ps2pdf -dDEVICEWIDTHPOINTS=363 -dDEVICEHEIGHTPOINTS=273 <ps_file>
Offline
ps2pdf -dDEVICEWIDTHPOINTS=363 -dDEVICEHEIGHTPOINTS=273 <ps_file>
Perfect! Great! grazie
Sorry for my bad english :-)
Offline