hyphenation misconfiguration in dapper

Bug #36536 reported by Kristian Rink
4
Affects Status Importance Assigned to Milestone
Ubuntu
New
Medium
Unassigned

Bug Description

Trying to get over some strange error building a larger LaTeX document
after migrating from Debian sid to a recent Dapper Drake, I now see that, same
with this as with every new document I create, hyphenation doesn't
seem to work using Dappers tetex environment. Here's what I found out
about it, so far:

* Trying to build the package gives me a message like this:

--snip--
latex> Package babel Warning: No hyphenation patterns were loaded for
latex> (babel) the language `ngerman'
latex> (babel) I will use the patterns loaded for
\language=0 instead.
latex>
--snip--

most locale-specific stuff (umlauts et al) works, but hyphenation
doesn't, just gives me a bunch full of "Overful \hbox" messages.

* Tracking down the error, I found
/var/lib/texmf/tex/generic/config/language.dat to be responsible for
LaTeX language configuration, which is merely empty (besides a bunch
of comments) and, at the end, contains those lines:

--snip--
%%
%%% /etc/texmf/language.d/10tetex.cnf not included because the
%%% corresponding package seems to be removed.
%%
--snip--

This is strange, because at least /etc/texmf/language.d/10tetex.cnf
exists.

* Having a look at /usr/sbin/update-languages (which seems to be
responsible for building language.dat), I found that the files in
/etc/texmf/languages are only included if the package name is found in
/var/lib/tex-common/language-cnf/tetex-base.list - 10tetex isn't
within there per default, so the file is not included (why?).

* Anyhow, after 'cat'ing 10tetex.cnf to the end of language.dat,
hyphenation is still broken. Ther are no other tetex- or latex-
packages I might be missing or want to install, and as far as I looked
through the documentation of the ngerman package, the files required
for that are all in place in Dapper.

Note: the original reporter indicated the bug was in package 'tetex'; however, that package was not published in Ubuntu.

Revision history for this message
anstei (anstei-deactivatedaccount) wrote :

I confirm this bug - I have the same problem.

Revision history for this message
Kristian Rink (kawazu) wrote :

It _seems_ I found a solution to at least work around this: After reconfiguring _all_ installed tetex packages issuing

dpkg-reconfigure `dpkg -l|grep ^ii|grep tetex|awk '{print $2}'|xargs`

hyphenation now seems to work on both of my machines. But this doesn't explain why it is broken "by default" after a clean installation.

Revision history for this message
anstei (anstei-deactivatedaccount) wrote :

For me, the solution posted by MarkoNo5 in https://launchpad.net/distros/ubuntu/+source/tetex-bin/+bug/36145 worked - it seems that these bugs are closely related.

Revision history for this message
Kristian Rink (kawazu) wrote :

Obviously this is almost a duplicate of 36145, except for that it's been indeed a clean installation and not an update... :o

Revision history for this message
Daniel Koskinen (koskinen) wrote :

I can confirm this bug exists after a fresh install from the Dapper beta

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.