Hyphenation of (Finnish) compound words with hyphens

2002-10-18 Thread Janne Kivijarvi
Hi!

In Finnish, there are a lot of situations where one writes a hyphen
in the beginning of a word, after a word or between two parts of a
compound word even when the word fits completely on a single line.

As I undesrtand it, LaTeX doesn't by default hyphenate these word
any further than the hyphen I've typed (forced). I can override this
feature by adding a double quote () before the hyphen (in LyX, -
written in TeX mode instead of a regular hyphen).

My problem is that

1) Writing - in TeX mode takes time and effort when compared to
writing a single hyphen (which I'm of course rather used to doing), and

2) I never remember to do this and end up with overfull lines and less
severe imperfections that I may or may not notice before it's too late.


So, is there a way (adding something to the preamble, tweaking a knob
somewhere in LyX settings etc) to make LyX substitute all my hyphens
(but not minuses in math mode, and I guess also --'s and ---'s) as the
TeX mode string - upon conversion to .tex or just simply make LaTeX
hyphenate all words the way it ought to, without turning -'s into -'s?

Alternatively, is it be possible to redefine the action of the hyphen
key so that it would place the TeX mode string and come out of TeX mode
while typing normally (and how would I type a regular hyphen in that
case)?


Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




Hyphenation of (Finnish) compound words with hyphens

2002-10-18 Thread Janne Kivijarvi
Hi!

In Finnish, there are a lot of situations where one writes a hyphen
in the beginning of a word, after a word or between two parts of a
compound word even when the word fits completely on a single line.

As I undesrtand it, LaTeX doesn't by default hyphenate these word
any further than the hyphen I've typed (forced). I can override this
feature by adding a double quote () before the hyphen (in LyX, -
written in TeX mode instead of a regular hyphen).

My problem is that

1) Writing - in TeX mode takes time and effort when compared to
writing a single hyphen (which I'm of course rather used to doing), and

2) I never remember to do this and end up with overfull lines and less
severe imperfections that I may or may not notice before it's too late.


So, is there a way (adding something to the preamble, tweaking a knob
somewhere in LyX settings etc) to make LyX substitute all my hyphens
(but not minuses in math mode, and I guess also --'s and ---'s) as the
TeX mode string - upon conversion to .tex or just simply make LaTeX
hyphenate all words the way it ought to, without turning -'s into -'s?

Alternatively, is it be possible to redefine the action of the hyphen
key so that it would place the TeX mode string and come out of TeX mode
while typing normally (and how would I type a regular hyphen in that
case)?


Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




Hyphenation of (Finnish) compound words with hyphens

2002-10-18 Thread Janne Kivijarvi
Hi!

In Finnish, there are a lot of situations where one writes a hyphen
in the beginning of a word, after a word or between two parts of a
compound word even when the word fits completely on a single line.

As I undesrtand it, LaTeX doesn't by default hyphenate these word
any further than the hyphen I've typed (forced). I can override this
feature by adding a double quote (") before the hyphen (in LyX, "-
written in TeX mode instead of a regular hyphen).

My problem is that

1) Writing "- in TeX mode takes time and effort when compared to
writing a single hyphen (which I'm of course rather used to doing), and

2) I never remember to do this and end up with overfull lines and less
severe imperfections that I may or may not notice before it's too late.


So, is there a way (adding something to the preamble, tweaking a knob
somewhere in LyX settings etc) to make LyX substitute all my hyphens
(but not minuses in math mode, and I guess also --'s and ---'s) as the
TeX mode string "- upon conversion to .tex or just simply make LaTeX
hyphenate all words the way it ought to, without turning -'s into "-'s?

Alternatively, is it be possible to redefine the action of the hyphen
key so that it would place the TeX mode string and come out of TeX mode
while typing normally (and how would I type a regular hyphen in that
case)?


Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

Hi!

I'm trying to install LyX 1.1.6fix4 on Windows 2000 following the
instructions at 

http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm.

LyX seems to work fine, except for that it won't run latex when trying
to view things (View-DVI for example). I don't have Cygwin's tetex
installed, MiKTeX is the only TeX distribution installed and Cygwin's 
bash shell finds MiKTeX on the path. 

Running 'latex foo.tex' on bash works just fine and uses MiKTeX 2.1.

I tried to run lyx on Cygwin's bash (after setting the environment
variables as they appear in /etc/lyxprofile) with the following result
when I tried 'View-DVI' on one of the help documents:

$ lyx
Converting from  latex to dvi
Running
sh: BUGS.tex: command not found
Executing command: yap 'BUGS.dvi'

Then LyX ran yap, which of course couldn't find a DVI file since one
didn't exist.

So, it seems to me that LyX tried to execute 'BUGS.tex' instead of
'latex BUGS.tex' or whatever it was supposed to do. Any ideas?

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




Re: LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

On Thu, 21 Mar 2002, Nirmal Govind wrote:

 Preferences-Converters-Converters and click on Latex-DVI, 
 it should show you the program it's using in the Converter 
 field. Make sure that it says something like latex $$i...

Ah, that worked - stupid me... Thank you for the lightning fast 
answer ;)

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

Hi!

I'm trying to install LyX 1.1.6fix4 on Windows 2000 following the
instructions at 

http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm.

LyX seems to work fine, except for that it won't run latex when trying
to view things (View-DVI for example). I don't have Cygwin's tetex
installed, MiKTeX is the only TeX distribution installed and Cygwin's 
bash shell finds MiKTeX on the path. 

Running 'latex foo.tex' on bash works just fine and uses MiKTeX 2.1.

I tried to run lyx on Cygwin's bash (after setting the environment
variables as they appear in /etc/lyxprofile) with the following result
when I tried 'View-DVI' on one of the help documents:

$ lyx
Converting from  latex to dvi
Running
sh: BUGS.tex: command not found
Executing command: yap 'BUGS.dvi'

Then LyX ran yap, which of course couldn't find a DVI file since one
didn't exist.

So, it seems to me that LyX tried to execute 'BUGS.tex' instead of
'latex BUGS.tex' or whatever it was supposed to do. Any ideas?

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




Re: LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

On Thu, 21 Mar 2002, Nirmal Govind wrote:

 Preferences-Converters-Converters and click on Latex-DVI, 
 it should show you the program it's using in the Converter 
 field. Make sure that it says something like latex $$i...

Ah, that worked - stupid me... Thank you for the lightning fast 
answer ;)

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

Hi!

I'm trying to install LyX 1.1.6fix4 on Windows 2000 following the
instructions at 

http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm.

LyX seems to work fine, except for that it won't run latex when trying
to view things (View->DVI for example). I don't have Cygwin's tetex
installed, MiKTeX is the only TeX distribution installed and Cygwin's 
bash shell finds MiKTeX on the path. 

Running 'latex foo.tex' on bash works just fine and uses MiKTeX 2.1.

I tried to run lyx on Cygwin's bash (after setting the environment
variables as they appear in /etc/lyxprofile) with the following result
when I tried 'View->DVI' on one of the help documents:

$ lyx
Converting from  latex to dvi
Running
sh: BUGS.tex: command not found
Executing command: yap 'BUGS.dvi'

Then LyX ran yap, which of course couldn't find a DVI file since one
didn't exist.

So, it seems to me that LyX tried to execute 'BUGS.tex' instead of
'latex BUGS.tex' or whatever it was supposed to do. Any ideas?

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1




Re: LyX not running latex on Windows 2000 (Cygwin)

2002-03-21 Thread Janne Kivijarvi

On Thu, 21 Mar 2002, Nirmal Govind wrote:

> Preferences->Converters->Converters and click on Latex->DVI, 
> it should show you the program it's using in the "Converter" 
> field. Make sure that it says something like "latex $$i"...

Ah, that worked - stupid me... Thank you for the lightning fast 
answer ;)

Janne
-- 
Moving parts shall not be able to crush, cut or pierce parts of the body
of an OPERATOR likely to contact them, nor severely pinch the OPERATOR's
skin. (Compliance is checked by inspection.)- IEC 1010-1