Hello,
in LyX-1.1.6 I wrote "\hyphenation{ bla-bla }" in the LaTeX preamble and
it works. But LyX-1.2.1 wrote "\usepackage{babel}" after the LaTeX
preamble and so the "\hyphenation{ bla-bla }" from the preamble is only
used in default language (English) and not for the language I set for
the document.
The LaTeX file looks like this:
<--- snip --->
\documentclass[12pt,a4paper,twoside,ngerman]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\hyphenation{ hie-rar-chi-sche }
\usepackage{babel}
\makeatother
\begin{document}
...
<--- snap --->
The correctly order to use \hyphenation in another language than English
is:
\usepackage{babel}
\hyphenation{ hie-rar-chi-sche }
Where should I put \hyphenation now? (Maybe directly in the text with a
TeX command but this is not so nice.)
Greetings!
--
Matthias Bunk