You are not logged in.

#26 2009-08-27 11:35:36

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

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

#27 2009-08-27 18:19:52

lenish
Member
Registered: 2009-03-01
Posts: 4

Re: texlive-latex3 and other problems in upgrade

damoppi wrote:

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 sad
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

#28 2009-08-27 19:36:59

neptune
Member
Registered: 2009-08-27
Posts: 1

Re: texlive-latex3 and other problems in upgrade

C2H5OH wrote:

Just try: 

fmtutil --all

on the user account (without sudo).

It saves my life!!!!

Bye Alberto

Offline

#29 2009-08-27 19:41:36

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

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

#30 2009-08-27 20:13:14

lenish
Member
Registered: 2009-03-01
Posts: 4

Re: texlive-latex3 and other problems in upgrade

bender02 wrote:

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

#31 2009-08-27 20:27:45

szabo
Member
Registered: 2009-05-06
Posts: 8

Re: texlive-latex3 and other problems in upgrade

C2H5OH wrote:

Just try: 

fmtutil --all

on the user account (without sudo).

This just saved me. Thanks!!!

Offline

#32 2009-08-28 09:16:06

damoppi
Member
From: Germany
Registered: 2008-02-10
Posts: 18

Re: texlive-latex3 and other problems in upgrade

@bender02: you were totaly right. But the problem was fortunatly fixed in the update of texlive-bin this morning. But thanks a lot smile

Last edited by damoppi (2009-08-28 09:16:47)

Offline

#33 2009-08-29 14:20:55

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Re: texlive-latex3 and other problems in upgrade

The package maintainer forgot to add "fmtutil --all" in post_install() ?

Offline

#34 2009-08-29 19:02:38

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

neptuneK wrote:

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

#35 2009-09-01 08:43:02

benob
Member
Registered: 2008-11-11
Posts: 187

Re: texlive-latex3 and other problems in upgrade

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

#36 2009-09-01 10:18:28

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

benob wrote:

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

#37 2009-09-01 11:22:00

daemon76
Member
Registered: 2009-09-01
Posts: 19

Re: texlive-latex3 and other problems in upgrade

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. big_smile

Offline

#38 2009-09-01 12:11:52

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

daemon76 wrote:

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

#39 2009-09-02 11:15:38

evenremy
Member
From: Valence (26), France
Registered: 2008-06-25
Posts: 1

Re: texlive-latex3 and other problems in upgrade

yannickp wrote:
C2H5OH wrote:

Just try: 

fmtutil --all

on the user account (without sudo).

It works for me .. and saves my life smile

Yes ! me too smile

Thanks !

Offline

#40 2009-09-03 05:50:56

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: texlive-latex3 and other problems in upgrade

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 sad


Sorry for my bad english :-)

Offline

#41 2009-09-03 06:49:47

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

el_cammello wrote:

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 sad

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 smile

Offline

#42 2009-09-03 08:59:48

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: texlive-latex3 and other problems in upgrade

bender02 wrote:

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"

bender02 wrote:

2) beamer works fine for me

well, happy for you!

bender02 wrote:

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 -.-'

bender02 wrote:

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:

el_cammello wrote:

.....
..... I've problem with the class Beamer and ps2pdf .....

bender02 wrote:

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

bender02 wrote:

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 smile

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

#43 2009-09-03 12:34:26

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: texlive-latex3 and other problems in upgrade

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

#44 2009-09-03 15:27:41

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: texlive-latex3 and other problems in upgrade

bender02 wrote:

ps2pdf -dDEVICEWIDTHPOINTS=363 -dDEVICEHEIGHTPOINTS=273 <ps_file>

Perfect! Great! smile grazie smile


Sorry for my bad english :-)

Offline

Board footer

Powered by FluxBB