Re: About hyphenation

2000-12-28 Thread Dekel Tsur

On Wed, Dec 27, 2000 at 01:12:34AM +0100, Javier Nieto Esteban wrote:

> 4.\hyphenpenalty = 1
>  Yes, other valid solution... but with this one, I have other 
> problem...: sometimes, (when you have to break a word) there isn't any 
> align. An example:
> bla bla bla bla bla
> bla  bla rebla  bla
> bla bla rebla ThisIsALongWord
> bla bla bla bla bla
> I have both align (left and right) and I would like keep all time, no only 
> sometime.

Use
\hyphenpenalty = 1
\sloppy



Re: About hyphenation

2000-12-27 Thread Emanuele Olivetti

I think it's the usual problem... :-)

The problem is LaTeX, not LyX.

Follow these steps:
Become root and run 'texconfig'
Go in the hyphenation->latex menu
Texconfig let you edit a configuration file : uncomment the line about spanish
language (I don't remember now, it's something like removing '#', but it's 
quite clear anyway).
Exit and save from the editor and from texconfig. After a long (automatic)
rebuilding you'll have full support of your language.
Start LyX (maybe it's better to reconfigure?).

That's all.

Hope this helps.

Emanuele

P.S.: WARNING: if you don't know how to use VI you'll find some problem, 
because usually it's the standard editor for texconfig. Read something 
about VI first. Again, don't try to modify the configuration file outside 
texconfig evironnement: latex won't know the changes... if you don't have 
a long rebuilding at the end of texconfig, you have canged nothing.

P.S.II : If my answer is correct (I hope), maybe it's better to put it in 
the FAQ... I found this question MANY MANY times.  ;-)



Re: About hyphenation

2000-12-27 Thread Jean-Marc Lasgouttes

> "Javier" == Javier Nieto Esteban <[EMAIL PROTECTED]> writes:

Javier>  Yes, I have the correct language. I can write things
Javier> like "España" and "población" and I have a good translation
Javier> for Chapter x(Capítulo) or bibliography (bibliografía). Lyx (I
Javier> suppose LaTex) have a good Spanish support. I can use a
Javier> Spanish Spell-Checker too. I think is better than MS Word
Javier> (oppss, sorry ).

Could you send us a .log file produced by LaTeX when running on a
spanish document? This file should tell whether your latex format has
spanish hyphenation patterns built in. For example, on my system, I
get

This is TeX, Version 3.14159 (Web2c 7.0)
MLTeX v2.2 enabled
(essai.tex
LaTeX2e <1997/06/01>
Babel  and hyphenation patterns for american, english, french, dutch, ge
rman, loaded.
[...]

JMarc



About hyphenation

2000-12-26 Thread Javier Nieto Esteban

Thanks all answers ! but I need other solutions

1. did you choose the right language in
layout->document->language? 

Yes,
I have the correct language. I can write things like
"España" and "población" and I have a
good translation for Chapter x(Capítulo) or bibliography
(bibliografía).
Lyx (I
suppose LaTex) have a good Spanish support. I can use a Spanish
Spell-Checker too. I think is better  than MS Word (oppss, sorry
).

2. if there are only a few wrong hyphenations write
a special hyphenation list in latex preamble: 
\hyphenation{es-pa-nia vi-va ...} 

Yes,
that's Work !!!, but I use LaTex because I don't want to think about
presentations things. I have more than 300 pages  and there are lots
of words. Automatic hyphenation works many times, but don't work others
few ones. I think is a very difficult to make an automatization in
Spanish (I don't know about English, probably because my English is very
bad :) )... so it don't work with some problematic words. Yes probably is
a good solution but I'm not very patient, I'm afraid !. 

3. choose the environment 
\begin{sloppypar} 
.. blah ... 
\end{sloppypar} 
or for the whole document (not the best way ..) 
in latex preamble \sloppy

Umm, It doesn't work ... perhaps I'm doing something incorrect.
I'm trying write \sloppy in LaTex preamble, and I haven't got any error
message, simply I obtain the some result. I will try write \sloppypar
.

4.\hyphenpenalty = 1
Yes,
other valid solution... but with this one, I have other problem...:
sometimes, (when you have to break a word) there isn't any align. An
example:
bla bla bla bla bla
bla  bla  rebla  bla
bla bla rebla ThisIsALongWord
bla bla bla bla bla
I have both align (left and right) and I would like keep all time,
no only sometime.

I
think my problem is a very common problem ... Is there any Spanish writer
?, I need help !!. 
Opps!!, I forget it... Where can I obtain Internet documentation or
e-book about LaTex or LaTex reference ? I think is fantastic !!, I need
more !!




Javier Nieto Esteban
[EMAIL PROTECTED]
Usuario Yahoo Messager:
indymsg