No word breaking

Bug #42475 reported by tmp
10
Affects Status Importance Assigned to Milestone
tetex-bin (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

ubuntu dapper beta2:

My document contains

  \usepackage[danish]{babel}

but long words are not breaked/wrapped with some hyphernation if they exceed a line. Previous latex installations produced nice word breaks just fine so the error is not in the document.

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

Revision history for this message
Phil Bull (philbull) wrote :

Thanks for the report.

Please provide more information. What application are you using? Which version of Ubuntu? Can you provide a screenshot of the issue, if appropriate? What were the expected results?

Revision history for this message
tmp (skrald) wrote :

Some additional info to the symptom:
It seems that no hyphernation patterns are loaded for babel at all. Can it be this pattern loading that contains a bug?

Revision history for this message
tmp (skrald) wrote : Screenshot

The screenshot shows the error message when I launch
   latex foo.tex
Normally a larger list of hyphenation patterns for the "babel" package is listed here instead.

Revision history for this message
tmp (skrald) wrote :

Phill Bull:
The ubuntu version is dapper beta 2 (as I wrote in my very first sentence :-) ).

I am using the binary file "latex" which is located in "tetex-bin". Actually I have installed all the 4 tetex-* packages.

As described in the above attachment, the expected result is that long words are broken ("hyphened") using one a "babel" hyphenation pattern if they exceed the line end.

Revision history for this message
tmp (skrald) wrote :

Sorry for all the spam, but I guess the right target for this bug is maybe the package "tetex-bin" or "tetex-base".

Revision history for this message
Phil Bull (philbull) wrote :

Sorry, missed where you mentioned the distro :) Could you attach an example .tex file which has this problem, please?

Thanks for the responses.

Revision history for this message
Phil Bull (philbull) wrote :

Could you take a look at bug 36145? It's also describing hyphenation issues.

Revision history for this message
tmp (skrald) wrote : Document containing unbroken word

LaTeX should break the very long word in this simplified document. It currently doesn't.

Revision history for this message
tmp (skrald) wrote :

If now taken a look at bug #36145 and they seem to have problem with hyphenation too. However, I have tried the suggested solutions in that bug
and they does not fix my problem so I don't know if the two bugs are related.

PS. I've tried
  1) 'sudo fmtutil-sys --all'
  2) dpkg-reconfigure `dpkg -l|grep ^ii|grep tetex|awk '{print $2}'|xargs`
  3) The "sudo texconfig hyphen latex" trick mentioned by Julien.
Nothing fixed the bug.

Revision history for this message
Phil Bull (philbull) wrote :

I can confirm this, I get the same message:

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

Changed in tetex-bin:
assignee: nobody → desktop-bugs
status: Needs Info → Confirmed
Revision history for this message
Phil Bull (philbull) wrote :
Revision history for this message
Andrew Whyte (ajw213) wrote :

I think this is a duplicate of Bug #36145 which is due to a the contents of "/etc/texmf/language.d/10tetex.cnf" not being included in "/var/lib/texmf/tex/generic/config/language.dat". The fix presented in Julien's second post on the page for Bug #36145 fixed everything for me (using any lagnauge - i've tried British (downloaded), US English, French and Danish language options so far).

All the best,

Andrew

Revision history for this message
tmp (skrald) wrote :

I tried the trick in juliens seconds mail. That fixed the "No hyphenation patterns were loaded" problem but long words are still not broken.
As an example, try to compile and view the test document, foo.tex, I attached. The looong word is not broken in my system.

BTW: I found out that I had to remove the dir
    ~/.tetex-var
in order to get rid of the error message.

Also, during the config file procciing after I exitted the editor, some error messages was displayed. These are related to pdflatex, however, so I guess these are not relevant for this problem:

Error: `pdfetex -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
  /var/lib/texmf/web2c
for details.
###############################################################################

This is a summary of all `failed' messages and warnings:
`pdfetex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed
`pdfetex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed

Warning: fmtutil was run as root; fmtutil-sys was used instead.
If this was done by a Debian package upon installation,
upgrade, or removal, please file a bug against that package.

Revision history for this message
Martin Pitt (pitti) wrote :

Closing as duplicate of 36145.

Changed in tetex-bin:
status: Confirmed → Rejected
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.