Install spell checking on windows

jaap-karssenberg edited this page Aug 27, 2014 · 1 revision

From mailing list message by Nathan King:

Install

Here is the closest thing to an idiots guide I can offer. This requires running Zim from source. I know this works with Zim 0.60 on Windows XP 32 bit and 64 bit but you must use 32 bit python. I do not know if this works for Windows 7. According to Jeff this is working with a Windows 7, 64 bit.

  1. Download and install the following.

  2. Download and extract the latest zim src(June 2013, using 0.60, I extracted to C:\Program Files (x86)\zim-0.60):

  3. Create a copy of [zim_root]\zim.pyand rename the copy to [zim_root]\zim.pyw(the .pyw extension allows launching without a shell).

  4. Do one of the following: a. add the installed location of Enchant to the windows path. eg: C:\Python26\Lib\site-packages\enchant (this is my preferred option) or b. Edit [zim_root]\zim.pyw, add import enchant at the top with the other imports

  5. Start zim using [zim_root]\zim.pyw --standalone (January 2013, starting with 0.58 the --standalone tag is required)

Additional Tips:

Here are a couple additional tips that helped Jeff

Dictionaries:

Use "en_US" for United States English. The dictionaries are part of the Enchant install and should be someplace like: C:\Python26\Lib\site-packages\enchant\share\enchant\myspell There should be several .dic files and .aff files. The Zim configuration uses the name (without the file extension) of the .dic files.

Zim Shortcut:

To get Zim to run from the source code without also having a DOS window open you need to use the .pyw extension however, to get Zim to start from the .pyw you need to include "--standalone" in the start command. The easiest way to do this is to create a windows shortcut and in the Target field include the --standalone argument. For example my shortcut has target (quotes included): "C:\Program Files (x86)\zim-0.60\zim.pyw" --standalone

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.