Just found out that in order to get proper hypenation for Finnish out of
teTeX, you have to turn it on through the texconfig utility!

Believe it or not, by default you only have hyphenation for american,
french and german...

THIS IS A PROBLEM.

I am reasonably well informed on (La)TeX and found this out only now.
How are naive users ever going to figure this one out? (And what about
the assumption that things work right out of the box?)

Attached a patch to the User Guide.

Undoubtedly automating this process inside LyX will be hard to
impossible to do, if we don't want it to be teTeX specific. And running
texconfig isn't that hard. But people have to be told about it.

What about adding a panel Preferences->Language Settings->Hyphenation
shortly explaining this? It could even compile a short test file in the
background extracting the phrase "hyphenation patterns for ... loaded"
from the log. (or Reconfigure could do that.)

Ideas?

-- 
Martin Vermeer <[EMAIL PROTECTED]>
Index: UserGuide.lyx
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/UserGuide.lyx,v
retrieving revision 1.6
diff -u -r1.6 UserGuide.lyx
--- UserGuide.lyx	15 Aug 2004 17:08:19 -0000	1.6
+++ UserGuide.lyx	2 Dec 2004 09:42:37 -0000
@@ -11238,18 +11238,53 @@
  there is one in the printed version.
 \layout Standard
 
-One last note about hyphenation --- LyX automatically breaks up words and
+One more note about hyphenation --- LyX automatically breaks up words and
  inserts hyphens in English text.
- (Actually, it's LaTeX that does this, and it will also hyphenate words
- in 
+ The words won't be hyphenated until you generate the final output.
+\layout Standard
+
+Actually, it's LaTeX that does this, and it will also hyphenate words in
+ 
 \emph on 
 some
 \emph default 
- other languages.) The words won't be hyphenated until you generate the final
- output.
+ other languages.
+ To know whether (PDF)LaTeX hyphenates for 
+\emph on 
+your
+\emph default 
+ language, look at any log file produced by a LaTeX run: it will say
+\layout Quote
+
+
+\family typewriter 
+Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman,
+ nohyphenation, loaded.
+\layout Standard
+
+This tells you that, e.g., if you write in Finnish, you're out of luck.
+ Study (for the teTeX distribution of LaTeX) the utilities 
+\family typewriter 
+texconfig
+\family default 
+ and 
+\family typewriter 
+fmtutil
+\family default 
+ in order to switch hyphenation on for your language by ''uncommenting''
+ the relevant line in a file typically named 
+\family typewriter 
+language.dat
+\family default 
+.
+ Sorry for the inconvenience.
 \layout Standard
 
-If, for some reason, LaTeX can't break a word correctly, you can set hyphenation
+If, for whatever reason, LaTeX 
+\emph on 
+still
+\emph default 
+ can't break a word correctly (e.g., a compound word), you can set hyphenation
  points manually.
  This is done with the menu item 
 \family sans 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to