| 1 |
* Introduction |
| 2 |
|
| 3 |
How to install DDSKK using MELPA, see file INSTALL.MELPA.en.md. |
| 4 |
|
| 5 |
* System-dependent configurations |
| 6 |
|
| 7 |
For system-dependent configurations, see SKK-CFG in the top source |
| 8 |
directory. It describes installation howto as well as |
| 9 |
system-dependent setting examples. |
| 10 |
|
| 11 |
If you are a user of Emacs on Apple OS X or Microsoft Windows, |
| 12 |
also see one of the following files, which may be found in this |
| 13 |
directory. |
| 14 |
|
| 15 |
** README.MacOSX.ja |
| 16 |
|
| 17 |
Describes how to install SKK for Emacs on Apple OS X (10.x). |
| 18 |
|
| 19 |
** README.w32.ja |
| 20 |
|
| 21 |
Describes how to install SKK for Emacs on Microsoft Windows. |
| 22 |
|
| 23 |
* Pre-installation |
| 24 |
|
| 25 |
** Get SKK dictionaries and copy them to ./dic subdirectory. |
| 26 |
|
| 27 |
In DDSKK 17.1, installation of an SKK dictionary is no longer |
| 28 |
mandatory under GNU Emacs 24.3 or later. Emacs 24 contains a japanese |
| 29 |
kana-kanji dictionary called ja-dic as a part of the LEIM input |
| 30 |
method. Indeed ja-dic is derived from SKK-JISYO.L and we wrote a |
| 31 |
code to use ja-dic for DDSKK. |
| 32 |
|
| 33 |
Although ja-dic may be of some use, it lacks entries for |
| 34 |
English-Japanese conversion and numeric conversion, making it inferior |
| 35 |
to SKK-JISYO.L. In this way we recommend installing SKK dictionaries |
| 36 |
including SKK-JISYO.L. |
| 37 |
|
| 38 |
If you do not have SKK dictionaries, get one or more from |
| 39 |
|
| 40 |
https://skk-dev.github.io/dict/ |
| 41 |
|
| 42 |
Type `make get'. |
| 43 |
|
| 44 |
You should get at least one of "基本辞書" (i.e. basic dictionaries). |
| 45 |
If unsure, we recommend SKK-JISYO.L. All other dictionaries are |
| 46 |
optional. |
| 47 |
|
| 48 |
Unpack and copy the downloaded dictionaries to ./dic subdirectory. |
| 49 |
They will be installed with `make install'. |
| 50 |
|
| 51 |
If you want to install the SKK L dictionary converted in the CDB |
| 52 |
format, follow these steps. |
| 53 |
|
| 54 |
1. Obtain SKK-JISYO.L and copy it to ./dic. |
| 55 |
2. Type `make cdb'. This will call a python script ./etc/skk2cdb.py |
| 56 |
and convert SKK-JISYO.L into SKK-JISYO.L.cdb. Note that you need |
| 57 |
python installed before this step. |
| 58 |
3. After you read the following installation instructions, do `make |
| 59 |
install'. This will copy both SKK-JISYO.L and SKK-JISYO.L.cdb to |
| 60 |
the same place as SKK.tut, e.g. /usr/share/skk or |
| 61 |
c:/emacs-25.1/etc/skk. |
| 62 |
|
| 63 |
4. Set skk-cdb-large-jisyo in your ~/.skk as the following. |
| 64 |
|
| 65 |
(setq skk-cdb-large-jisyo "/usr/share/skk/SKK-JISYO.L.cdb") |
| 66 |
|
| 67 |
In this case you may not want Emacs to read SKK-JISYO.L. If so, set |
| 68 |
skk-large-jisyo and skk-aux-large-jisyo in your ~/.skk as the |
| 69 |
following. |
| 70 |
|
| 71 |
(setq skk-large-jisyo nil |
| 72 |
skk-aux-large-jisyo nil) |
| 73 |
|
| 74 |
** Edit SKK-CFG. |
| 75 |
|
| 76 |
Edit SKK-CFG for your installation. Examples are found in SKK-CFG but |
| 77 |
commented out. If you need to set some or all of these variables, |
| 78 |
uncomment them and specify the values. Maybe you need not to edit |
| 79 |
Makefile at all. All customizations can be done in SKK-CFG except for |
| 80 |
Emacs command name. The way how to specify Emacs command name is |
| 81 |
described below. |
| 82 |
|
| 83 |
* Installation |
| 84 |
|
| 85 |
** Installation for GNU Emacs |
| 86 |
|
| 87 |
Before actual installation, you can find out installation paths with |
| 88 |
|
| 89 |
% make what-where |
| 90 |
|
| 91 |
If your editor is not just named emacs, you can specify the name as |
| 92 |
the following. |
| 93 |
|
| 94 |
% make what-where EMACS=/usr/bin/emacs-25.1 |
| 95 |
|
| 96 |
If installation paths seem all right, proceed to installation with |
| 97 |
|
| 98 |
% make install |
| 99 |
or |
| 100 |
% make install EMACS=/usr/bin/emacs-25.1 |
| 101 |
|
| 102 |
* Post-installation |
| 103 |
|
| 104 |
If you just intend to test the program, no prior setting is required. |
| 105 |
Just call SKK with typing C-x C-j or M-x skk-mode. |
| 106 |
|
| 107 |
* Learn SKK |
| 108 |
|
| 109 |
** tutorial |
| 110 |
|
| 111 |
If you are a novice SKK user, you can learn SKK basics with M-x |
| 112 |
skk-tutorial. Follow the instructions. If you prefer the English |
| 113 |
tutorial, type C-u M-x skk-tutorial and select "English". |
| 114 |
|
| 115 |
** manuals (info, web, PDF) |
| 116 |
|
| 117 |
As you learn the usage of SKK, you might want to know more about its |
| 118 |
customization. As a start point we recommend the SKK manual. You |
| 119 |
can find the SKK manual with M-x info and looking for the following |
| 120 |
line. |
| 121 |
|
| 122 |
* SKK: (skk). Simple Kana to Kanji conversion program. |
| 123 |
|
| 124 |
You can also read the SKK manual on the web. |
| 125 |
|
| 126 |
https://ddskk.readthedocs.io/ja/latest/ |
| 127 |
|
| 128 |
PDF manual are available. |
| 129 |
|
| 130 |
https://ddskk.readthedocs.io/_/downloads/ja/latest/pdf/ |
| 131 |
|
| 132 |
** sample for customization |
| 133 |
|
| 134 |
If you are looking for example elisp codes for customization, see files |
| 135 |
etc/dot.emacs and etc/dot.skk, which are included in this distribution. |
| 136 |
|
| 137 |
|
| 138 |
Local variables: |
| 139 |
coding: utf-8 |
| 140 |
mode: outline |
| 141 |
end: |