Re: Cannot get spell check to work on LyX 2.3.0 and Mac OS 10.13.4 (High Sierra)

2018-04-23 Thread Stephan Witt
Am 23.04.2018 um 18:47 schrieb Marshall Feldman :
> 
> I'm having a devil of a time trying to get spell check working with LyX 2.3.0 
> and Mac OS 10.13.4. I have similar configurations on two other computers, and 
> the spell check does seem to work there. But on this one, whenever I issue 
> Tools > Spellchecker..., LyX throws the error message, "Spell checker has no 
> dictionaries." This happens with all 3 available Spellchecker engines:  
> Native, Aspell, and Hunspell.
> 
> Here are some things I've tried:
> 
>   • Install the latest version of LibreOffice, which relies on Hunspell. 
> I thought reinstalling LO might fix issues with Hunspell, at least.
>   • Reinstall Hunspell. Hunspell is supposedly included with recent 
> versions of Mac OS, but I followed the OSX and macOS instructions on the 
> Hunspell GitHub page to (re)install Hunspell.
>   • Downloaded and reinstalled the en_US.aff/dic files as recommended 
> here. The original post is several years old, and one hopes any corruption in 
> the dictionary file would have been corrected by now, but one never knows.
>   • Test with each of the 3 spell checkers.
> FWIW, this testing was done with:
> 
>   • LyX > Preferences > Language Settings > Spellchecker always set to 
> activate "Spellcheck continuously" and "Spellcheck notes and comments."
>   • LyX > Preferences > Language Settings > Spellchecker does not allow 
> activation of "Accept compound words," as this option is grayed out.
>   • LyX > Preferences > Paths > Hunspell dictionaries set to 
> "~/Library/Spelling"
> A MWE is attached.
> 
> Please help me before I spell again!!!
> 
> Thanks.
> 

The spell checker function isn’t document specific, IMHO.

Hunspell dictionaries are bundled with LyX 2.3.0, you shouldn’t have to change 
anything to use it. Native spell checker (the default) is using the OS spell 
checker service. For Aspell you need the dictionaries that come with macports 
aspell.

Probably the best you can do is to enable file related debug messages to check 
hunspell file lookup and GUI debug messages for native spell checker operation.
Verify the messages and post them here for reference. You can enable messages 
at runtime from the View > Messages dialog.

Best regards,
Stephan

Re: Cannot get spell check to work on LyX 2.3.0 and Mac OS 10.13.4 (High Sierra)

2018-04-23 Thread Kornel Benko
Am Montag, 23. April 2018 12:47:09 CEST schrieb Marshall Feldman 
:
> I'm having a devil of a time trying to get spell check working with LyX 
> 2.3.0 and Mac OS 10.13.4. I have similar configurations on two other 
> computers, and the spell check does seem to work there. But on this one, 
> whenever I issue Tools > Spellchecker..., LyX throws the error message, 
> "Spell checker has no dictionaries." This happens with all 3 available 
> Spellchecker engines:  Native, Aspell, and Hunspell.
> 
> Here are some things I've tried:
> 
>   * Install the latest version of LibreOffice, which relies on Hunspell.
> I thought reinstalling LO might fix issues with Hunspell, at least.
>   * Reinstall Hunspell. Hunspell is supposedly included with recent
> versions of Mac OS, but I followed the OSX and macOS instructions on
> the Hunspell GitHub page  to
> (re)install Hunspell.
>   * Downloaded and reinstalled the en_US.aff/dic files as recommended
> here
> 
> .
> The original post is several years old, and one hopes any corruption
> in the dictionary file would have been corrected by now, but one
> never knows.
>   * Test with each of the 3 spell checkers.
> 
> FWIW, this testing was done with:
> 
>   * LyX > Preferences > Language Settings > Spellchecker always set to
> activate "Spellcheck continuously" and "Spellcheck notes and comments."
>   * LyX > Preferences > Language Settings > Spellchecker does not allow
> activation of "Accept compound words," as this option is grayed out.
>   * LyX > Preferences > Paths > Hunspell dictionaries set to
> "~/Library/Spelling"
> 
> A MWE is attached.
> 
> Please help me before I spell again!!!
> 
> Thanks.
> 

Have you checked the entry 'Tools->Preferences..->Paths->Hunspell dictionaries:'
The extry should point to a directory with the dictionaries.

Kornel




signature.asc
Description: This is a digitally signed message part.


Cannot get spell check to work on LyX 2.3.0 and Mac OS 10.13.4 (High Sierra)

2018-04-23 Thread Marshall Feldman
I'm having a devil of a time trying to get spell check working with LyX 
2.3.0 and Mac OS 10.13.4. I have similar configurations on two other 
computers, and the spell check does seem to work there. But on this one, 
whenever I issue Tools > Spellchecker..., LyX throws the error message, 
"Spell checker has no dictionaries." This happens with all 3 available 
Spellchecker engines:  Native, Aspell, and Hunspell.


Here are some things I've tried:

 * Install the latest version of LibreOffice, which relies on Hunspell.
   I thought reinstalling LO might fix issues with Hunspell, at least.
 * Reinstall Hunspell. Hunspell is supposedly included with recent
   versions of Mac OS, but I followed the OSX and macOS instructions on
   the Hunspell GitHub page  to
   (re)install Hunspell.
 * Downloaded and reinstalled the en_US.aff/dic files as recommended
   here
   
.
   The original post is several years old, and one hopes any corruption
   in the dictionary file would have been corrected by now, but one
   never knows.
 * Test with each of the 3 spell checkers.

FWIW, this testing was done with:

 * LyX > Preferences > Language Settings > Spellchecker always set to
   activate "Spellcheck continuously" and "Spellcheck notes and comments."
 * LyX > Preferences > Language Settings > Spellchecker does not allow
   activation of "Accept compound words," as this option is grayed out.
 * LyX > Preferences > Paths > Hunspell dictionaries set to
   "~/Library/Spelling"

A MWE is attached.

Please help me before I spell again!!!

Thanks.

#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass memoir
\begin_preamble
\include{mmd-paper-header}
\include{mmd-local-chicagoAD}
\usepackage[T1]{fontenc}
\usepackage{pslatex}
\end_preamble
\use_default_options true
\begin_modules
enumitem
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 1
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
This is a spezxxxing error.
\end_layout

\end_body
\end_document