Preventing hyphenation with justified text?

2005-08-18 Thread Joshua Street
Hi all,

Is it possible to prevent justified paragraphs from having words broken
across two lines? I want to apply this on a document-wide level, not
just to one or two paragraphs

Thanks in advance,

Joshua Street


  http://www.joahua.com/
  [EMAIL PROTECTED]
  0425 808 469




Re: Preventing hyphenation with justified text?

2005-08-18 Thread Charles de Miramon
Joshua Street wrote:

> Hi all,
> 
> Is it possible to prevent justified paragraphs from having words broken
> across two lines? I want to apply this on a document-wide level, not
> just to one or two paragraphs
> 
Preventing hyphenation will confuse the TeX paragraph algorithm and produce
ugly results. You would be better with OpenOffice or MsWord.

You can try it by putting in ERT at the top of your document
\begin{hyphenrules}{nohyphenation}

and at the end in ERT
\end{hyphenrules}

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Lyx 1.3.6 and Debian Sarge, something went wrong again

2005-08-18 Thread Georg Baum
Am Freitag, 5. August 2005 14:33 schrieb Jean-Marc Lasgouttes:
> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
> 
> Angus> Jean-Marc Lasgouttes wrote:
> >> Note that we have sarge debs on ftp.lyx.org now (as well as
> >> Ubuntu).
> 
> Angus> I quite like the .deb way of calling stuff
> Angus> lyx-FRONTEND_VERSION-FIXLEVEL.DIST_ARCH.deb although the '-',
> Angus> '_' and '.' still appear rather ad hoc.

_ is the separator between different name components: 
NAME_VERSION_ARCH.deb. - may appear everywhere in NAME, VERSION and ARCH.

> Angus> Anyway, ATM we have a rather eclectic collection of different
> Angus> naming schemes. I wonder if we might settle on just one?
> 
> Sure, but I do not know whether the name matters for debian, and
> whether regular debian user will be able to parse our file names and
> feel at home with them.

There are certain requirements in order to play nice with the packages 
provided by Debian and Ubuntu:

- Nothing in NAME (before the first _) may be changed
- VERSION should parse smaller as 1 according to the debian versioning 
rules. This is ensured by prepending a '0.' in front of it. This makes 
sure that as soon as real Debian packages become available (normally 
starting with revision 1) they are preferred.
- The revision of the used .diff on the wiki (currently 3) should be 
included so that users can easily update packages when new ones become 
available.

Georg



Re: Preventing hyphenation with justified text?

2005-08-18 Thread Herbert Voss

Charles de Miramon wrote:

Joshua Street wrote:



Hi all,

Is it possible to prevent justified paragraphs from having words broken
across two lines? I want to apply this on a document-wide level, not
just to one or two paragraphs



Preventing hyphenation will confuse the TeX paragraph algorithm and produce
ugly results. You would be better with OpenOffice or MsWord.


huh?? TeX will never be confused ... and there is absolutely no need
for OO or MS


You can try it by putting in ERT at the top of your document
\begin{hyphenrules}{nohyphenation}


easier:
-- choose an unknown language from the LyX menu, or
-- write into the preamble \usepackahe[none]{hyphenat} or
-- write into the preamble
   \hyphenpenalty=1
   \exhyphenpenalty=1\relax


Herbert



Re: Preventing hyphenation with justified text?

2005-08-18 Thread Charles de Miramon
Herbert Voss wrote:

> huh?? TeX will never be confused ... and there is absolutely no need
> for OO or MS
> 

Well with my and your solution, I get at some lines, the last word
protruding in the right margin and in the log several Overfull \hbox
warnings. Which is quite ugly.

In the LaTeX companion, I've found that if you add 
\emergencystretch=100pt

in the preamble it gets better (perfect MsWord look ;-) maybe you can get
the same result fiddling with the \tolerance variable.

Cheers,
Charles
-- 
http://www.kde-france.org