Re: auto fixing mispelled words
On 10/23/2018 05:41 AM, Pol wrote: Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: On 10/22/2018 04:16 AM, Pol wrote: A possible improvement of the spellchecker facility: Common, typical mispellings made by authors could be istantaneously autocorrected by lyx, by checking a suitable list maintained by authors themseves. But if I know that I never intend to type “satistics” then why would I still do it so often that the ordinary find-and-replace function weren't sufficient to fix the occasional lapse? Only for practicl reasons. It is easier to replace wrong words automatically. There are several words that i frequntly type wronglyi every few lines, You've not answered my actual question. A feature of the sort that you propose is not likely to be popular; the vast majority of people would, in constructing the underlying look-up table, find themselves learning not to make the mistakes in the first place.
Re: weird language management
On 10/23/2018 06:04 AM, Pol wrote: Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: On 10/22/2018 03:38 AM, Pol wrote: Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: On 10/21/2018 11:48 AM, Paolo M wrote: I have noticed that spellchecker does not work, if an alternative language has been given. Is that a bug? Do you have a vocabulary loaded for the alternative language? Not to my knowledge. So, just how were you imagining that the spellchecker would do its checking, then? By 'alternative language' i understood as second vocabulary that the spellchecker use, if no entries in the default vocabulary matches the current word. I see no reason for the spellchecker does not check any words, most of them belonging to the default language, Nope. Perhaps someone might construct a wordprocessor for the peculiar needs of translators, which would provide functionality of the sort that you imagine. But LyX is not that wordprocessor. It doesn't support a hierarchic handling of languages. A useful handling of spellchecking across two or more languages would require complications of the interface. Moreover, i have never explicitly loaded any vocabulary. I suppose that has been done automatically, after the language name has been entered. Shouldn't be the same, when entering the name of the alternative language? Lyx is not networking software.
Pseuodocode module
I have a beta version ready for a module for entering pseudocode listings (using the algorithmicx LaTeX package). Besides the module itself (pseudocode.module), there's a documentation file (pseucode.lyx) with some minimal instructions and examples. It's now on GitHub at https://github.com/prubin73/algpseudocode. If anyone wants to try it out, please feel free to post questions here or add suggestions/bug reports to the issue tracker for the project. Cheers, Paul
Forward search bug?
Gentle LyX folk, I'm using Lyx 2.3.1-1 under Mojave beta 10.4.1. I've noticed that forward search (i.e., searching from inside LyX to the corresponding point in the PDF output that is displaying in Skim) has gotten very sluggish, especially the first time I invoke it — it can take a good 10-15 seconds, with LyX pretty much hung in the meanwhile; it takes several seconds upon subsequent invocations. In past versions, I was taken to the corresponding point in the PDF almost instantaneous. This is fairly low priority, since the functionality is still there, but does anyone know what might be going on here? Chris Menzel
Re: "Spell checker has no dictionaries" [RESOLVED]
On Tue, 23 Oct 2018, Paul A. Rubin wrote: Hunspell uses its own set of dictionaries, such as Hunspell-en-us (U.S. English), Paul, Well that would certainly explain the problem. I forget what distro you use, but if has a package manager I would start there. Sure enough, SlackBuilds.org has an English language package which provides five dictionaries of English usage - Australian, Canadian, United States, and two forms of British English. As the package maintainer explains, "he reason I've included two forms of British English dictionaries are: "1. The -ise suffix is more commonly used by British speakers and all other forms such as en_DK, en_IE, en_IN, etc are symbolic links to en_GB-ise. "2. the en_GB-ize/en_GB-oxendict which uses the -ize suffix is known as Oxford English Dictionary Spelling and is generally favored for academic, formal, and technical writing." I modified the build script to limit it to US_en as that's the only flavor I speak/write. Thanks for the pointer, Rich
Re: "Spell checker has no dictionaries"
On 10/23/18 12:33 PM, Rich Shepard wrote: Fellow writers: This is an unintended consequence of my changing the default dictionary engine from enchant to hunspell. I must have missed a step somewhere and want to learn what that was. LyX-2.3.1 running here. Tools -> Preferences -> Language Settings -> Spellchecker has Spellchecker engine: Hunspell (found in /usr/bin/hunspell). I ran reconfigure after making the change but still no joy. A cluestick is needed. TIA, Rich Rich, Hunspell uses its own set of dictionaries, such as Hunspell-en-us (U.S. English), Hunspell-en-gb (English with unnecessary extra letters), Hunspell-de-med (medical terms in German) etc. Looks like you have to install one or more of them. Assuming your default language is U.S. English, you'll need Hunspell-en-us for sure. With Ubuntu and Mint, you can do this through Synaptic or (at least in Mint) the Software Sources app. I forget what distro you use, but if has a package manager I would start there. Paul
Re: auto fixing mispelled words
On 10/22/18 7:16 AM, Pol wrote: A possible improvement of the spellchecker facility: Common, typical mispellings made by authors could be istantaneously autocorrected by lyx, by checking a suitable list maintained by authors themseves. p. I would be okay with this, but only if it was "opt in". (I would opt out.) However, this seems to be outside the scope of LyX, since LyX relies on external spell-checking engines. Paul
"Spell checker has no dictionaries"
Fellow writers: This is an unintended consequence of my changing the default dictionary engine from enchant to hunspell. I must have missed a step somewhere and want to learn what that was. LyX-2.3.1 running here. Tools -> Preferences -> Language Settings -> Spellchecker has Spellchecker engine: Hunspell (found in /usr/bin/hunspell). I ran reconfigure after making the change but still no joy. A cluestick is needed. TIA, Rich
Re: weird language management
Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: > On 10/22/2018 03:38 AM, Pol wrote: >> >> Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: >> >>> On 10/21/2018 11:48 AM, Paolo M wrote: I have noticed that spellchecker does not work, if an alternative language has been given. Is that a bug? >>> >>> Do you have a vocabulary loaded for the alternative language? >> Not to my knowledge. > So, just how were you imagining that the spellchecker would do its > checking, then? By 'alternative language' i understood as second vocabulary that the spellchecker use, if no entries in the default vocabulary matches the current word. I see no reason for the spellchecker does not check any words, most of them belonging to the default language, Moreover, i have never explicitly loaded any vocabulary. I suppose that has been done automatically, after the language name has been entered. Shouldn't be the same, when entering the name of the alternative language? > >> How to check? > > There are many spellcheckers supported by LyX and multiple operating > systems to which LyX has been ported, and you haven't told us which > you use. I urge you to determine which spellchecker you've installed, > by selecting Language is set to 'predefined' (that is italian) and spellchecker is hunspell (also tried enchant). Alternative language that i have tried is english Spellchecker works fine, provided that no alternative language has been set. That is the weird case. Thank you paolo m.
Re: auto fixing mispelled words
Daniel Kian Mc Kiernan (the best Daniel of the bunch) wrote: > On 10/22/2018 04:16 AM, Pol wrote: >> >> A possible improvement of the spellchecker facility: Common, typical >> mispellings made by authors could be istantaneously autocorrected by >> lyx, by checking a suitable list maintained by authors themseves. > But if I know that I never intend to type “satistics” then why would I > still do it so often that the ordinary find-and-replace function > weren't sufficient to fix the occasional lapse? Only for practicl reasons. It is easier to replace wrong words automatically. There are several words that i frequntly type wronglyi every few lines, p.