* [EMAIL PROTECTED] <[EMAIL PROTECTED]>, 2005-10-07 07:16 +0200:
[...]
> About hyphens: I need to write the most part of my
> docs in portuguese and some in spanish langs. But the
> LaTeX always hyphenize the document. It is great, and
> it always do it correctly in english, but sometimes it
> is wrong in portuguese, like "cat-egoria" (the right
> way is "ca-te-go-ri-a". Well, I know it is easy put
> manual hyphen on each critical words, but I need some
> easy way to do it --- once the Lyx purpose is the user
> 'do his best text, and let the Lyx work on the
> format', it's nonsense to correct the LaTeX
> hyphenation. :)
>
> Any sugestions? Maybe some resource to turn off
> the LaTeX hyphenation job?
First of all, make use of LyX's ability to switch between languages
(Layout > Character > Language).
Due to the complex structure of languages, (La)TeX cannot always
guess the correct hyphenation from formal criteria, so an exception
list list is hard to avoid. You can define a system-wide exception
list you can source in all your documents.
\input{myhypenation}\allowhyphens % make sure TeX can find it
in the preamble, and a world-read/writable file like
/opt/texmf-local/tex/latex/myhphenation.tex
depending on your LaTeX installation, which contains entries like
ca-te-go-ri-a
a-ir-og-et-ac
Making these exceptions language-dependant, as you would probably
need with two languages related as closely, is possible, but more
work, read the babel docs.
If you really really want to turn off hyphenation completely, read
<http://groups.google.com/group/comp.text.tex/browse_thread/thread/398e50ec74253db/27d2e39b3a12a3dc%2327d2e39b3a12a3dc?sa=X&oi=groupsr&start=1&num=3>
-Andre