## LaTeX forum ⇒ TeX Live and MacTeX ⇒ Hyphenation (German) Not Working After Installation Topic is solved

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
geistdeswaldes
Posts: 6
Joined: Fri Dec 16, 2016 11:09 am

### Hyphenation (German) Not Working After Installation

Hello,

I think there is something wrong going on in the installation process. I did a fresh installation using an "install-tl" script downloaded just a week ago, picked a "small" installation scheme and selected the following additional collections: Recommended fonts (f), German (y), and LaTeX additional packages (J). I left the directory structure untouched and started the installation.

I started a little test run over a simple .tex file and all this resulted in "babel" complaining about missing hyphenation patterns and that's just strange because the package "hyphen-german" is part of the installation, at least it gets downloaded and no messages about failed installations are thrown onto my nose.

The output of babel:
Package babel Warning: No hyphenation patterns were preloaded for
(babel) the language German (trad. orthography)' into the forma
t.
(babel) rebuild the format. Now I will use the patterns

The content of the little .tex file:
1 \documentclass[12pt,a4paper]{scrartcl}  2 \usepackage[utf8]{inputenc}  3 \usepackage[T1]{fontenc}  4 \usepackage[german]{babel}  5 \date{15. Dezember 2016}  6 \author{Waldgeist}  7 \title{Der Kirschbaum}  8   9 \begin{document} 10 \maketitle 11 \tableofcontents 12  13 \section{Start} 14 Der Kirschbaum blüht. 15  16 \section{Ende} 17 Die Blüte des Kirschbaums ist schön. 18  19 \end{document}

What is going on? Am I doing something wrong?

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
I am not sure which meta-package includes the german hyphenation rules. Is there a particular reason for using a minimal scheme? The default is full since disc space is cheap, and many people have trouble with installing needed packages over and over again.
Have you redone the formats after installing the meta-package?

By the way, if you want to write up some current german, use ngerman to get the new hyphenation rules.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

geistdeswaldes
Posts: 6
Joined: Fri Dec 16, 2016 11:09 am
Johannes_B wrote:I am not sure which meta-package includes the german hyphenation rules. Is there a particular reason for using a minimal scheme? The default is full since disc space is cheap, and many people have trouble with installing needed packages over and over again.
[...]

[...]

Shouldn't be all language related packages installed if you choose a meta package called "German" regardless what kind of installation scheme you used as a base?

I tried the medium installation scheme now, activated the "German" meta package and all the others that are "recommended" and "additional" ones. Hyphenation for the German language is still not working.

Here are some relevant parts of the language.dat file the installer created:
42 english hyphen.tex % do not change!
43 =usenglish
44 =USenglish
45 =american
[...]
dumylang dumyhyph.tex %for testing a new language.
59 nohyphenation zerohyph.tex %a language with no patterns at all.
60 % from dehyph-exptl:
61 german-x-2014-05-21 dehypht-x-2014-05-21.tex
62 =german-x-latest
63 ngerman-x-2014-05-21 dehyphn-x-2014-05-21.tex
[...]
122 % from hyphen-german:

kpsewhich loadhyph-de-1091.tex
returns the following information:

It looks like it's part of a package called hyph-utf8 and also installed on my local machine.

3 \usepackage[nil,showlanguages]{babel}
generates the following output in the log file:

114 Package: babel 2016/04/23 3.9r The Babel package
115 <*languages>
116 0 english hyphen.tex
117 0 usenglish
118 0 USenglish
119 0 american
120 1 dumylang dumyhyph.tex
121 2 nohyphenation zerohyph.tex
122 </languages>

Now it would be more than great if someone could tell me why those german hyphenation patterns aren't found by babel or the tex system. It's not like I don't have all those needed packages on my local machine:

tlmgr info hyphen-german

package: hyphen-german
category: TLCore
shortdesc: German hyphenation patterns.
longdesc: Hyphenation patterns for German in T1/EC and UTF-8 encodings, for traditional and reformed spelling, [...]
installed: Yes
[...]
relocatable: No
collection: collection-langgerman

tlmgr info hyph-utf8

package: hyph-utf8
category: Package
shortdesc: Hyphenation patterns expressed in UTF-8
longdesc: [...]
installed: Yes
[...]
relocatable: No
[...]
collection: collection-basic

tlmgr info babel-german

package: babel-german
category: Package
shortdesc: Babel support for documents written in German
longdesc: [...]
installed: Yes
[...]
relocatable: No
[...]
collection: collection-langgerman

Johannes_B wrote:Have you redone the formats after installing the meta-package?

No. Not yet. The installer did a "fmtutil-sys [...] --all" at the end of the installation process and the result isn't quite satisfied as we can see.

Johannes_B wrote:By the way, if you want to write up some current german, use ngerman to get the new hyphenation rules.

Thank you for that advice, but screw that new german orthography. I will use the old one as long I'm able to write things down. Why should I change a running system?

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
geistdeswaldes wrote:
Johannes_B wrote:Have you redone the formats after installing the meta-package?

No. Not yet. The installer did a "fmtutil-sys [...] --all" at the end of the installation process and the result isn't quite satisfied as we can see.

And what does the log file of that run say? Please attach pdflatex.log

geistdeswaldes wrote:
Johannes_B wrote:By the way, if you want to write up some current german, use ngerman to get the new hyphenation rules.

Thank you for that advice, but screw that new german orthography. I will use the old one as long I'm able to write things down. Why should I change a running system?

The new orthography and hyphenation patterns are the ones everyone should use. Old orthography is obsolete.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

geistdeswaldes
Posts: 6
Joined: Fri Dec 16, 2016 11:09 am
Johannes_B wrote:And what does the log file of that run say? Please attach pdflatex.log

I've attached that file. I hope it contains some valuable information.
Attachments
pdflatex.log

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
The log looks fine. Try the example from the very top once more and include the log file of that run.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

geistdeswaldes
Posts: 6
Joined: Fri Dec 16, 2016 11:09 am
Johannes_B wrote:The log looks fine. Try the example from the very top once more and include the log file of that run.

Here's the log file of that latex invocation.
Attachments
basics.log

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
The very first line says
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=latex 2016.12.15)  18 DEC 2016 21:54

But you did rebuild the formats on saturday, it should say something like this:
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex 2016.12.17)  18 DEC 2016 14:30

It should say pdflatex, if you want to get a pdf right away. On the other hand, you redid all the format files. Can you check if it is the same for pdflatex?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

geistdeswaldes
Posts: 6
Joined: Fri Dec 16, 2016 11:09 am
Now I invoked pdflatex directly and the hyphenation problem still persists.
Attachments
basics.log

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
Advice from Ulrike Fischer: Try kpsewhich -engine=pdftex --all pdflatex.fmt` and then check the creation dates and which one changes after running fmtutil-sys.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.