i have a problem with hyphenation and i could not find a solution.
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german,ngerman]{babel}
\selectlanguage{ngerman}
\usepackage{cite}
\hyphenation{(Web"~)""Frame"-works}
The error message is:
Description Path Resource Location Type Improper \hyphenation will be flushed. \hyphenation{(Web"~ (followed by: )""Frame"-works}) line 84 Texlipse Build Error Description Path Resource Location Type Not a letter. \hyphenation{( (followed by: Web"~)""Frame"-works}) line 84 Texlipse Build Error I think the problem is the charackter ")"
Edit:
Thanks for all answers:
First i want to achieve the example here: http://de.wikibooks.org/wiki/LaTeX-W%C3%B6rterbuch:_Silbentrennung "~ : Mit dieser Anweisung setzt man einen Bindestrich, an dem nicht getrennt werden soll, beispielsweise bei Wortergänzungen in Klammern: (Haupt"~)""Straße The \hyphenation (Web-)Framework should prevent hyphenation (Web-). Example (Web-
)Framwork is wrong. I know the parenthesis aren't letters for TEX, but see the example it works. So I wonder what is wrong.
So here is the example:
\documentclass[
11pt, % Schriftgroesse 12pt
a4paper, % Layout fuer Din A4
ngerman, % deutsche Sprache, global
oneside, % einseitig
headinclude, % Kopfzeile wird Seiten-Layouts mit beruecksichtigt
BCOR12mm, % Korrektur fuer die Bindung
DIV14, % DIV-Wert fuer die Erstellung des Satzspiegels, siehe scrguide
fleqn, % fleqn: Glgen links (statt mittig)
%draft, % Keine Bilder in der Anzeige, overfull hboxes werden angezeigt
appendixprefix, %berschriften des Anhangs +"Anhang"
%chapterprefix, %berschriften der Kapitel +"KAPITEL"
abstracton,
pdftex %Ueberschrift Zusammenfassung einschalten
]{scrreprt}
\usepackage[german,ngerman]{babel}
\selectlanguage{german}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\hyphenation{(Web"~)""Frame"-works}
\begin{document}
(Web-)Frameworks asdasd (Web-)Frameworks asd (Web-)Frameworks (Web-)Frameworks
(Web-)Frameworks asdsada (Web-)Frameworks asd (Web-)Frameworks (Web-)Frameworks
(Web-)Frameworks asdasdasd (Web-)Frameworks (Web-)Frameworks (Web-)Frameworks
(Web-)Frameworks asdasdas (Web-)Frameworks (Web-)Frameworks
\end{document}
german
and hence the next line. There is absolutely no use in it.! Not a letter. l.8 \hyphenation{( Web"~)""Frame"-works} ? ! Not a letter. l.8 \hyphenation{(Web" ~)""Frame"-works}
Hence the problem. But, as a fellow german, i don't know what you are trying to do. Do you want to prevent hyphenation there?\hyphenation
not markup, what effect are you trying to specify?