Trying to reproduce bug 230555 on a different system, I again compiled this LaTeX source: \documentclass{article} \usepackage{ngerman} \begin{document} T"ast \end{document} The result on this system looked like this: $ latex test.tex This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./test.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german, ngerman, greek, monogreek, ancientgreek, ibycus, ukenglish, loaded. (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texmf-dist/tex/generic/german/ngerman.sty v2.5e 1998-07-08) (./test.aux ! Undefined control sequence. \select@language ... \@empty }\languageshorthands {none}\babel@beginsave \cs... l.15 \select@language{ngerman} ? x No pages of output. Transcript written on test.log. Investigating the issue I found this: $ ls -lA /usr/share/texmf/tex/generic/config/ | cut -c43- ._cfg0000_fontmath.cfg -> /etc/texmf/tex/generic/config/fontmath.cfg ._cfg0000_fonttext.cfg -> /etc/texmf/tex/generic/config/fonttext.cfg ._cfg0000_language.dat -> /etc/texmf/tex/generic/config/language.dat ._cfg0000_preload.cfg -> /etc/texmf/tex/generic/config/preload.cfg language.dat language.de.dat language.gr.dat language.iby.dat language.uk.dat language.us pdftexconfig.tex pdftex-dvi.tex preload.cfg which is an indication of bug 194043 but otherwise seems to have nothing to do with the issue at hand. I removed those files, remerged the corresponding packages, ran texmf-update, but still encounter the issue as described above. I have these texlive packages installed: dev-texlive/texlive-basic-2007 dev-texlive/texlive-bibtexextra-2007 dev-texlive/texlive-context-2007 dev-texlive/texlive-documentation-base-2007 dev-texlive/texlive-documentation-english-2007 dev-texlive/texlive-documentation-german-2007 dev-texlive/texlive-fontsextra-2007 dev-texlive/texlive-fontsrecommended-2007 dev-texlive/texlive-formatsextra-2007 dev-texlive/texlive-genericextra-2007 dev-texlive/texlive-genericrecommended-2007 dev-texlive/texlive-htmlxml-2007-r2 dev-texlive/texlive-langgerman-2007 dev-texlive/texlive-langgreek-2007 dev-texlive/texlive-langukenglish-2007 dev-texlive/texlive-latex-2007 dev-texlive/texlive-latex3-2007 dev-texlive/texlive-latexextra-2007 dev-texlive/texlive-latexrecommended-2007 dev-texlive/texlive-mathextra-2007 dev-texlive/texlive-metapost-2007-r1 dev-texlive/texlive-music-2007 dev-texlive/texlive-omega-2007 dev-texlive/texlive-pictures-2007 dev-texlive/texlive-plainextra-2007 dev-texlive/texlive-pstricks-2007 dev-texlive/texlive-psutils-2007 dev-texlive/texlive-publishers-2007 dev-texlive/texlive-science-2007 dev-texlive/texlive-texinfo-2007 dev-texlive/texlive-xetex-2007
why opening a new bug ?
(In reply to comment #1) > why opening a new bug ? Because this issue seems completely different to bug 230555. The error message is different, running fmtutil-sys --all won't fix it, and on this system there is no such directory as /etc/texmf/tex. Therefore while I'd consider bug 230555 resolved enough, even though I still don't understand it, this issue here is far severe, as I have made no progress yet, and as it not only uses wrong hyphenation but aborts compilation altogether.
(In reply to comment #0) > $ ls -lA /usr/share/texmf/tex/generic/config/ | cut -c43- > ._cfg0000_fontmath.cfg -> /etc/texmf/tex/generic/config/fontmath.cfg > ._cfg0000_fonttext.cfg -> /etc/texmf/tex/generic/config/fonttext.cfg > ._cfg0000_language.dat -> /etc/texmf/tex/generic/config/language.dat > ._cfg0000_preload.cfg -> /etc/texmf/tex/generic/config/preload.cfg (In reply to comment #2) > and on this system there > is no such directory as /etc/texmf/tex. ???? what does 'kpsewhich language.dat' says ? does that file contains the contents of language.de.dat ? also please post emerge --info
also note that hyphenations support are configured in the language.dat file that is handled by texmf-update...
(In reply to comment #3) > (In reply to comment #0) > > $ ls -lA /usr/share/texmf/tex/generic/config/ | cut -c43- > > ._cfg0000_fontmath.cfg -> /etc/texmf/tex/generic/config/fontmath.cfg > > ._cfg0000_fonttext.cfg -> /etc/texmf/tex/generic/config/fonttext.cfg > > ._cfg0000_language.dat -> /etc/texmf/tex/generic/config/language.dat > > ._cfg0000_preload.cfg -> /etc/texmf/tex/generic/config/preload.cfg > > (In reply to comment #2) > > and on this system there > > is no such directory as /etc/texmf/tex. > > ???? That's about what I thought. I guess those config protected files are really quite outdated. i can't recall every step of my migration from tetex, I don't know if I ever manually removed /etc/texmf/tex or if it was removed automatically by some update. As the symlinks are now gone but the issue persists, I wouldn't look for the cause in these files, only maybe an indication of some strangeness in some other place. > what does 'kpsewhich language.dat' says ? does that file contains the contents > of language.de.dat ? $ kpsewhich language.dat /usr/share/texmf/tex/generic/config/language.dat (In reply to comment #4) > also note that hyphenations support are configured in the language.dat file > that is handled by texmf-update... Handled correctly from what I can tell. And as you can see from the Babel messages in comment 0, the hyphenation patterns for all installed language packages seem to be loaded all right.
Created attachment 159459 [details] emerge --info
Created attachment 159461 [details] /usr/share/texmf/tex/generic/config/language.dat
does this still happen if you remove that test.aux file first ?
(In reply to comment #8) > does this still happen if you remove that test.aux file first ? No, indeed that fixed it. Thanks! To sum it up for someone else who perhaps sees this as well: 1. make sure there are no config protected files left over in your texmf directory after config protection was removed. If there are, remove them and remerge the packages the original files belong to. qfile is your friend. 2. Run texmf-update to be on the safe side. 3. rm *.aux
(In reply to comment #9) [...] > 3. rm *.aux this is more a latex/babel limitation by itself: it uses the .aux to do weird things and if you change the babel support it will/might have problems reading the old .aux.