Hyphenation is working correctly most of the time, but it has problems with words that have Estonian letters like õ inside of the word. For example:
lõplikumõõtmeline.
I write it like this in TeX:
l~oplikum~o~otmeline.
LaTeX refuses to hyphenate this word. From output:
LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, turkish, ukenglish, ukrainian, loaded.
...
Overfull \hbox (33.50668pt too wide) in paragraph at lines 969--970 []\T1/cmr/m/n/12 Eelneva n�i-te p[]ohjal si-sal-dab te-ki-ta-tud ope-raa-to-ri- deaal k[]oik l[]oplikum[]o[]otmelised|
I tried to search, but I only found such links, that did not help much:
- Hyphenation of terms containing symbols other than letters
- Hyphenation in LaTeX
- pdflatex and \hyphenation
I tried to do like this:
\hyphenation{l~op-li-ku-m~o~ot-me-line}
But I got error:
! Improper \hyphenation will be flushed. \leavevmode ->\unhbox \voidb@x l.54 \hyphenation{l~ op-li-ku-m~o~ot-me-line}
What am I doing wrong?
EDIT: Here is my configuration:
\documentclass[12pt,a4paper,draft]{article}
\pagestyle{plain}
\usepackage[estonian]{babel}
\usepackage[a4paper]{geometry}
\usepackage{enumerate}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage{indentfirst}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{verbatim}
\usepackage{color}
EDIT2:
Here is the minimal working example:
\documentclass[12pt,a4paper,draft]{article}
\pagestyle{plain}
\usepackage[estonian]{babel}
\usepackage[a4paper]{geometry}
\usepackage{enumerate}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage{indentfirst}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{verbatim}
\usepackage{color}
\theoremstyle{plain}
\newtheorem{teoreem}{Teoreem}
\newtheorem{lause}[teoreem]{Lause}
\newtheorem{jareldus}[teoreem]{J\"areldus}
\newtheorem*{lemma*}{Lemma}
\newtheorem{defin}{Definitsioon}
\newenvironment{toestus}{\begin{proof}[T~oestus]}{\end{proof}}
\author{Rauni Lillemets}
\begin{document}
\begin{lause}
Olgu $1 \leq p \leq \infty, 1 \leq r \leq p^*$.
\end{lause}
\begin{toestus}
Eelneva n"aite p~ohjal sisaldab tekitatud operaatorideaal k~oik l~oplikum~o~otmelised operaatorid.
\end{toestus}
\end{document}