Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Grant Jacobs
I believe I've made some progress on this. Typical for that to come
after a lot of effort in other directions then posting on a forum...
(Sigh.)

There seems to be an assumption by LyX, or at least my installation,
that the default language is 'English'—not 'English (UK)', etc., plain
'English'—whereas the OS is set to use an English variant.

You can see this more clearly if you try use the Thesaurus. 'English' is
offered but the pulldown list indicates it's not present, whereas
'English (UK)' is available to be used.

On systems that are not set with this as the default system version of
English, the spellchecker decides it hasn't got a dictionary. The then
bails out without letting the user have the chance to try one of the
other English variants. (It complains about reaching the end of the
document, then disappears.)

Manually setting the *system* (OS X) language to prefer English then
the variants temporarily resolves this. But that's not suitable if you
want British English first.

A work-around seems to be to select the document language to be what you
want (e.g. English (UK)) and select that to become LyX's default
document language.

A proper solution, AFAICT, would be to have LyX realise that some
systems will not have English as a preferred language and correctly
check what is in fact the system language in use. It's made more
confusing, I think, by the LyX Preferences not having a setting for this
- they only set the user interface language; the documents/spellchecking
language seems to be separate, but that's not clear to users and the
document language setting is a bit buried, so many users won't be
aware that there.

(Another, hopefully unrelated, confusion is that I have a system
Preference Pane for Spelling that something has installed (ha) that says
it can't run on Intel-based systems...! Perhaps that arrived as a
consequence of installing Hunspell while I was trying to figure this
out.)



Endnote missing?

2013-04-19 Thread John Kane
I am just playing around with LyX and tried to change a footnote to an endnote 
in a report class document using the commands  
\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears.  It works fine in article class.  Any 
suggestions on what I am doing wrong?

On a similar note, can anyone point me to a LyX example where the LaTeX package 
endheads is used? 

Re: Endnote missing?

2013-04-19 Thread Richard Heck

On 04/19/2013 12:41 PM, John Kane wrote:
I am just playing around with LyX and tried to change a footnote to an 
endnote in a report class document using the commands

\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears. It works fine in article class. 
Any suggestions on what I am doing wrong?


On a similar note, can anyone point me to a LyX example where the 
LaTeX package endheads is used?


You need to add \theendnotes in ERT where you want them to print.

rh



Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Stephan Witt
Am 19.04.2013 um 07:07 schrieb Grant Jacobs nzi...@gmail.com:

 I'm using LyX 2.0.5.1 on Mac OS X 10.6.8

Hi Grant,

 Spell checking is stubbornly refusing to work :-(
 
 None of the three options work (Native, Aspell, Hunspell).
 
 Have tried installing Hunspell (I would prefer to use the system
 dictionaries, but selecting 'native'  for the dictionary doesn't work so
 have tried this to get *something* to work.) 

LyX's spell checker on Mac supports
* Native - the OS service.
* Hunspell - builtin alternative including the dictionaries.
* Aspell - builtin alternative without dictionaries.

 Have put aspell-type dictionaries in what sound to be the right places
 (there seems to be no  documentation for how to do this for OS X). 

Aspell dictionaries can be installed with mac ports and should be found after 
doing so.

 LyX persistently, and maddeningly, informs me that it can't find
 dictionaries. Can't find out where  it's looking so don't know where to
 check. (Documentation for Linux says to try 'lyx -dbg files' to learn
 this but on OS X 'which lyx' draws a blank.) And so on...
 
 Any thoughts?

The debug output is placed in the message pane.
You may enable and configure it with View - Messages.

 (I know about running 'Reconfigure'. There appear to be no good
 instructions anyway for installing dictionaries on OS X -- there is a
 brief account of how to install the hunspell *software*, but nothing
 about *dictionaries* for OS X that I can find.)

There is not need to install dictionaries.

The spell checker uses the language of your text markup. This should simply 
work.

Can you please send me an example document for non-working spell check?

Regards,
Stephan

Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Grant Jacobs
I believe I've made some progress on this. Typical for that to come
after a lot of effort in other directions then posting on a forum...
(Sigh.)

There seems to be an assumption by LyX, or at least my installation,
that the default language is 'English'—not 'English (UK)', etc., plain
'English'—whereas the OS is set to use an English variant.

You can see this more clearly if you try use the Thesaurus. 'English' is
offered but the pulldown list indicates it's not present, whereas
'English (UK)' is available to be used.

On systems that are not set with this as the default system version of
English, the spellchecker decides it hasn't got a dictionary. The then
bails out without letting the user have the chance to try one of the
other English variants. (It complains about reaching the end of the
document, then disappears.)

Manually setting the *system* (OS X) language to prefer English then
the variants temporarily resolves this. But that's not suitable if you
want British English first.

A work-around seems to be to select the document language to be what you
want (e.g. English (UK)) and select that to become LyX's default
document language.

A proper solution, AFAICT, would be to have LyX realise that some
systems will not have English as a preferred language and correctly
check what is in fact the system language in use. It's made more
confusing, I think, by the LyX Preferences not having a setting for this
- they only set the user interface language; the documents/spellchecking
language seems to be separate, but that's not clear to users and the
document language setting is a bit buried, so many users won't be
aware that there.

(Another, hopefully unrelated, confusion is that I have a system
Preference Pane for Spelling that something has installed (ha) that says
it can't run on Intel-based systems...! Perhaps that arrived as a
consequence of installing Hunspell while I was trying to figure this
out.)



Endnote missing?

2013-04-19 Thread John Kane
I am just playing around with LyX and tried to change a footnote to an endnote 
in a report class document using the commands  
\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears.  It works fine in article class.  Any 
suggestions on what I am doing wrong?

On a similar note, can anyone point me to a LyX example where the LaTeX package 
endheads is used? 

Re: Endnote missing?

2013-04-19 Thread Richard Heck

On 04/19/2013 12:41 PM, John Kane wrote:
I am just playing around with LyX and tried to change a footnote to an 
endnote in a report class document using the commands

\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears. It works fine in article class. 
Any suggestions on what I am doing wrong?


On a similar note, can anyone point me to a LyX example where the 
LaTeX package endheads is used?


You need to add \theendnotes in ERT where you want them to print.

rh



Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Stephan Witt
Am 19.04.2013 um 07:07 schrieb Grant Jacobs nzi...@gmail.com:

 I'm using LyX 2.0.5.1 on Mac OS X 10.6.8

Hi Grant,

 Spell checking is stubbornly refusing to work :-(
 
 None of the three options work (Native, Aspell, Hunspell).
 
 Have tried installing Hunspell (I would prefer to use the system
 dictionaries, but selecting 'native'  for the dictionary doesn't work so
 have tried this to get *something* to work.) 

LyX's spell checker on Mac supports
* Native - the OS service.
* Hunspell - builtin alternative including the dictionaries.
* Aspell - builtin alternative without dictionaries.

 Have put aspell-type dictionaries in what sound to be the right places
 (there seems to be no  documentation for how to do this for OS X). 

Aspell dictionaries can be installed with mac ports and should be found after 
doing so.

 LyX persistently, and maddeningly, informs me that it can't find
 dictionaries. Can't find out where  it's looking so don't know where to
 check. (Documentation for Linux says to try 'lyx -dbg files' to learn
 this but on OS X 'which lyx' draws a blank.) And so on...
 
 Any thoughts?

The debug output is placed in the message pane.
You may enable and configure it with View - Messages.

 (I know about running 'Reconfigure'. There appear to be no good
 instructions anyway for installing dictionaries on OS X -- there is a
 brief account of how to install the hunspell *software*, but nothing
 about *dictionaries* for OS X that I can find.)

There is not need to install dictionaries.

The spell checker uses the language of your text markup. This should simply 
work.

Can you please send me an example document for non-working spell check?

Regards,
Stephan

Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Grant Jacobs
I believe I've made some progress on this. Typical for that to come
after a lot of effort in other directions then posting on a forum...
(Sigh.)

There seems to be an assumption by LyX, or at least my installation,
that the default language is 'English'—not 'English (UK)', etc., plain
'English'—whereas the OS is set to use an English variant.

You can see this more clearly if you try use the Thesaurus. 'English' is
offered but the pulldown list indicates it's not present, whereas
'English (UK)' is available to be used.

On systems that are not set with this as the default system version of
English, the spellchecker "decides" it hasn't got a dictionary. The then
bails out without letting the user have the chance to try one of the
other English variants. (It complains about reaching the end of the
document, then disappears.)

Manually setting the *system* (OS X) language to "prefer" English then
the variants temporarily resolves this. But that's not suitable if you
want British English first.

A work-around seems to be to select the document language to be what you
want (e.g. English (UK)) and select that to become LyX's default
document language.

A "proper" solution, AFAICT, would be to have LyX realise that some
systems will not have English as a preferred language and correctly
check what is in fact the system language in use. It's made more
confusing, I think, by the LyX Preferences not having a setting for this
- they only set the user interface language; the documents/spellchecking
language seems to be separate, but that's not clear to users and the
document language setting is a bit "buried", so many users won't be
aware that there.

(Another, hopefully unrelated, confusion is that I have a system
Preference Pane for Spelling that something has installed (ha) that says
it can't run on Intel-based systems...! Perhaps that "arrived" as a
consequence of installing Hunspell while I was trying to figure this
out.)



Endnote missing?

2013-04-19 Thread John Kane
I am just playing around with LyX and tried to change a footnote to an endnote 
in a report class document using the commands  
\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears.  It works fine in article class.  Any 
suggestions on what I am doing wrong?

On a similar note, can anyone point me to a LyX example where the LaTeX package 
endheads is used? 

Re: Endnote missing?

2013-04-19 Thread Richard Heck

On 04/19/2013 12:41 PM, John Kane wrote:
I am just playing around with LyX and tried to change a footnote to an 
endnote in a report class document using the commands

\usepackage{endnotes}
\let\footnote=\endnote

It seems that the endnote disappears. It works fine in article class. 
Any suggestions on what I am doing wrong?


On a similar note, can anyone point me to a LyX example where the 
LaTeX package endheads is used?


You need to add \theendnotes in ERT where you want them to print.

rh



Re: Spellchecking not working on Mac OS X

2013-04-19 Thread Stephan Witt
Am 19.04.2013 um 07:07 schrieb Grant Jacobs :

> I'm using LyX 2.0.5.1 on Mac OS X 10.6.8

Hi Grant,

> Spell checking is stubbornly refusing to work :-(
> 
> None of the three options work (Native, Aspell, Hunspell).
> 
> Have tried installing Hunspell (I would prefer to use the system
> dictionaries, but selecting 'native'  for the dictionary doesn't work so
> have tried this to get *something* to work.) 

LyX's spell checker on Mac supports
* Native - the OS service.
* Hunspell - builtin alternative including the dictionaries.
* Aspell - builtin alternative without dictionaries.

> Have put aspell-type dictionaries in what "sound" to be the right places
> (there seems to be no  documentation for how to do this for OS X). 

Aspell dictionaries can be installed with mac ports and should be found after 
doing so.

> LyX persistently, and maddeningly, informs me that it can't find
> dictionaries. Can't find out where  it's looking so don't know where to
> check. (Documentation for Linux says to try 'lyx -dbg files' to learn
> this but on OS X 'which lyx' draws a blank.) And so on...
> 
> Any thoughts?

The debug output is placed in the message pane.
You may enable and configure it with View -> Messages.

> (I know about running 'Reconfigure'. There appear to be no good
> instructions anyway for installing dictionaries on OS X -- there is a
> brief account of how to install the hunspell *software*, but nothing
> about *dictionaries* for OS X that I can find.)

There is not need to install dictionaries.

The spell checker uses the language of your text markup. This should simply 
work.

Can you please send me an example document for non-working spell check?

Regards,
Stephan