-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.html
476 lines (454 loc) · 11.9 KB
/
readme.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Google输入法四角号码扩展</TITLE>
<STYLE TYPE="text/css">
/* t2t --css-sugar support css
version:
v0.9 090430;fixed IE bad toc link color
v0.8 070613;zoomq clean base gary,and support anchor ed Title
v0.7 2004;zoomq creat base deviantart.com
*/
body {
background-color : #fdfdfd;
font-family: Tahoma,SimSun,arial, helvetica, sans-serif;
font-size: 92%;
/* line-height: 120%; */
margin: 0px;
padding: 0px;
color:#494D4A;
}
SUP,SUB{
font-size:11px;
}
a {
color: #3B4A4A;
text-decoration:underline;
}
a:hover {color: #930;
text-decoration: none;
}
a:visited {color: #45544A;
}
img {border: none;}
/*"
"font-family: courier, monospace;
*/
pre{
border-left: 2px solid #AEBDCC;
/*background-color: #323232;
color:#9AEF3F;*/
color:#5A695F;
padding: 1em;
font-family: "Courier New",Georgia,helvetica, sans-serif;
white-space: pre;
/*" begin css 3 or browser specific rules - do not remove!
see: http://forums.techguy.org/archive/index.php/t-249849.html */
white-space: pre-wrap;
word-wrap: break-word;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
/* end css 3 or browser specific rules */
}
UL,OL{
margin: 0em 0 0 .5em;
padding: 0 .25em 0em 1em;
}
/*定义声明组*/
DL,DT{
margin: .25em 0 0 .25em;
padding: 0em 0em 0em .25em;
}
DT{
font-weight:bold;
font-size:105%;
}
DD{
margin: .25em 0 0 .5em;
padding: 0 .25em .25em 1em;
}
ul.plain {
list-style-type: none;
margin-left: 5px;
padding-left: 5px;
}
H1,H2,H3,H4,H5,H6{
font-family: Verdana, arial, helvetica, sans-serif;
text-align: left;
color:#5A695F;
margin-left : .5em;
padding : 4px;
line-height: 1.2em;
}
H1 {
background-color :transparent;
border-left : 5px solid #404E4E ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1.5em;
}
h2 {
border-left : 10px solid #526157 ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1.4em;
}
h3 {
border-left : 15px solid #738278 ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1.3em;
}
h4 {
border-left : 20px solid #88938D ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1.2em;
}
h5{
border-left : 25px solid #B2B8B2 ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1.1em;
}
h6{
border-left : 30px solid #C4C8C4 ;
border-bottom : 1px dashed #A9B3A9 ;
font-size: 1em;
}
H1 A{text-decoration:none;}
H1 A:hover{text-decoration:overline;}
H2 A{text-decoration:none;}
H2 A:hover{text-decoration:overline;}
H3 A{text-decoration:none;}
H3 A:hover{text-decoration:overline;}
H4 A{text-decoration:none;}
H4 A:hover{text-decoration:overline;}
H5 A{text-decoration:none;}
H5 A:hover{text-decoration:overline;}
/*padding:5px 15px 10px 15px; */
#banner {
font-family: "Courier New",Georgia,Verdana, arial, helvetica, sans-serif;
color:#CED8CE;
background:#25342A;
padding-left: 10px;
letter-spacing: .2em;
font-size:24px;
font-weight:bold ;
border-top:4px solid #738278;
border-bottom: 0px solid #4A584A;
}
#banner A{
color:#E0FFB8;
text-decoration:none;
}
#banner A:hover{
color:#DAF4DA;
text-decoration:overline ;
}
#banner SUP,SUB{
font-size:12px;
color:#DAE4DA;
}
#banner P#main{
margin: 4px;
padding: 4px;
}
#banner P#sub{
font-size:12px;letter-spacing: 5px;
margin: 4px;
padding: 4px 4px 10px 4px;
}
#banner DIV#recent {
border : 0px dotted #930;
color:#DAE4DA;
font-family: Georgia,arial, helvetica,sans-serif;
position : absolute ;
top: 2em;
left: 39%;
font-size:16px;
letter-spacing: 2px;
}
/*text-transform:uppercase;*/
#content {
width: 69%;
position: absolute;
background-color: transparence;
border-right: 0px dotted #4A584A;
margin: 0px;
padding: 10px 5px 10px 10px;
}
/*<h2>Mon, 23 Jan 2006</h2>*/
h2.blosxomDate{
font-family: Georgia,Verdana, arial, helvetica, sans-serif;
text-align: right;
border:0px solid #2B3A3A;
margin: 0px 5px 5px 0px;
padding: 0px 15px 0px 0px;
border-bottom: 1px solid #2B3A3A;
}
H3#blosxomTitle {
font-size: 90%;
border-left:4px solid #88938D;
border-bottom : 0px dashed #A9B3A9 ;
background-color: #546359;
color:#A7AFA7;
padding: 4px;
margin: 5px 0px 0px 0px;
font-weight:normal;
}
H3#blosxomTitle a {
color: #DDDDD0;
}
.blosxomStory{
padding: 4px;
font-size: 92%;
border-left:2px solid #88938D;
background-color: #ECEEEC;
}
.blosxomStory a {
color:#835959;
}
/*
"font-family: "Courier New",Georgia,helvetica, sans-serif;
*/
.blosxomStoryLinks{
font-size:90%;
padding: 2px;
margin: 0px;
border:0px dotted #2B3A3A;
background-color: #546359;
color:#A7AFA7;
}
.blosxomStoryLinks a {
color: #DDDDD0;
text-decoration:none;
}
.blosxomStoryLinks a:hover {
color: #DDDDD0;
text-decoration: underline;
}
.blosxomStoryLinks a:visited {
color: #BAC4BB;
}
/*"margin: 1px 0px 2px 0px */
div.body {
margin: 0px 10px 0px 10px;
}
div#header {
font-family: Verdana, Arial, Helvetica, Sans-Serif;
border-bottom: 0px dotted black;
margin: 0px;
padding: 0px;
background-color :#454545;
}
/*文章大标*/
div#header H1{
float: left;
margin: 5px 5px 10px 15px;
padding: 5px;
font-size: 200%;
font-weight : normal;
color:#DAE4DA;
border:0px;
}
/*文章副标*/
div#header H2 {
text-align: right;
margin: 0em;
padding: .5em .5em 0em 0em;
font-size: 130%;
font-weight : normal;
border:0px;
color:#DAE4DA;
border-right : 4px solid #A7AFA7;
}
/*文章说明*/
div#header H3{
text-align: right;
margin: 0em;
padding: 0em .5em 0em 0em;
font-size: 13px;
font-weight : normal;
border:0px;
color:#D2D8D2;
border-bottom : 2px solid #A7AFA7;
border-right : 4px solid #A7AFA7;
}
div.toc {
float: right;
background-color :#454545;
color:#BAC4BA;
border-bottom : 4px solid #A7AFA7;
border-left : 2px solid #A7AFA7;
border-right : 4px solid #A7AFA7;
padding: .5em 0em .5em .5em;
margin: -2px 0px 0px 0px;
}
div.toc ul {
padding-left: .75em;
}
div.toc li {
font-size: 12px;
}
div.toc a {
text-decoration: none;
color:#9DAFA3;
}
div.toc a:hover {
color: #FFFFCC;
text-decoration: underline;
}
div.toc a:visited {
color: #D3DED3;
}
code{
font-family: "Courier New",Georgia,helvetica, sans-serif;
padding: .1em;
color:#835959;
font-size: 110%;
font-weight:bold ;
}
</STYLE>
</HEAD>
<BODY>
<DIV CLASS="header" ID="header">
<H1>Google输入法四角号码扩展</H1>
<H2>ChaiShushan <chaishushan{AT}gmail.com></H2>
<H3>2012-05-15</H3>
</DIV>
<DIV CLASS="toc" ID="toc">
<OL>
<LI><A HREF="#toc1">简介</A>
<LI><A HREF="#toc2">安装</A>
<LI><A HREF="#toc3">使用</A>
<LI><A HREF="#toc4">附录</A>
</OL>
</DIV>
<DIV CLASS="body" ID="body">
<A NAME="toc1"></A>
<H1>1. 简介</H1>
<P>
Google输入法四角号码扩展 基于 Google输入法 Lua扩展API 开发, 实现了基本的四角号码输入功能.
</P>
<A NAME="toc2"></A>
<H1>2. 安装</H1>
<P>
首先下载 <A HREF="im4corner.lua">im4corner.lua</A> 脚本, 并复制到以下目录(不同版本系统有区别):
</P>
<PRE>
XP: C:\Documents and Settings\All Users\Application Data\Google\Google Pinyin 2\Extensions\
XP: C:\Documents and Settings\All Users\Application Data\Google\Google Pinyin 3\Extensions\
Vista / Windows 7: C:\ProgramData\Google\Google Pinyin 2\Extensions\
Vista / Windows 7: C:\ProgramData\Google\Google Pinyin 3\Extensions\
</PRE>
<P></P>
<P>
然后,打开谷歌拼音输入法选项设置窗口, 在"扩展"页面中, 点击"安装扩展包"按钮, 选择保存在计算机内的 <A HREF="im4corner.lua">im4corner.lua</A> (也可以从Windows资源管理器, 右键单击 <A HREF="im4corner.lua">im4corner.lua</A> 文件, 选择“安装到谷歌拼音输入法”).
</P>
<P>
<B>由于四角号码的命令缩写"sj"已经在"base.lua"中被用作“时间”命令.</B> 因此使用四角号码扩展脚本时不要加载base.lua脚本, 或者把base.lua中相关代码注释掉(910行附近):
</P>
<PRE>
------------
-- ime.register_command("sj", "GetTime", "输入时间", "alpha", "输入可选时间,例如12:34")
</PRE>
<P></P>
<A NAME="toc3"></A>
<H1>3. 使用</H1>
<P>
<B>基本用法</B>
</P>
<P>
安装后, 打开记事本程序, 切换到谷歌拼音输入法, 键入"isj"可以看到参数提示:
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-00.png" BORDER="0" ALT="">
</P>
<P>
键入"isj1080", 谷歌拼音输入法的候选项窗口中将出现候选项: "a.天 b.兲 c.页 d.灭 e.贡".
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-01.png" BORDER="0" ALT="">
</P>
<P>
其中, 右上角是简单的帮助信息: "四角号码输入法, 例如isj1080[?] -> 兲"中的"[?]".
</P>
<P>
<B>使用通配符</B>
</P>
<P>
如果不能确定某个角码, 可以用“?”符号代替(内部将作为0-9处理). 例如输入"isj1?80":
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-02.png" BORDER="0" ALT="">
</P>
<P>
如果统配符在末尾, 则可以省略, 例如输入"isj108":
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-03.png" BORDER="0" ALT="">
</P>
<P>
如果匹配的字符超过(约)128个,则多余的部分会被丢弃(Google拼音2.3.13.82版本的限制).
</P>
<P>
<B>显示角码和拼音</B>
</P>
<P>
在第五个参数输入字符“?”, 则显示和输出每个汉字的完整角码和拼音, 例如输入"isj1080?":
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-04.png" BORDER="0" ALT="">
</P>
<P>
如果要显示拼音时, 前面不足的字符可以用"?"填充. 例如"isj108"要显示拼音可以输入"isj108??":
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-05.png" BORDER="0" ALT="">
</P>
<P>
其中显示角码功能还可以用于学习四角号码查字法. 例如输入"isj10???"可以查看以"10"开头的汉字:
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-06.png" BORDER="0" ALT="">
</P>
<P>
<B>显示帮助信息</B>
</P>
<P>
当参数全部是"?"字符时, 则显示四角号码的一些历史信息和查字的口诀.
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-help-01.png" BORDER="0" ALT="">
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-help-02.png" BORDER="0" ALT="">
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-help-03.png" BORDER="0" ALT="">
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-help-04.png" BORDER="0" ALT="">
</P>
<P>
<IMG ALIGN="middle" SRC="images/im4corner-help-05.png" BORDER="0" ALT="">
</P>
<A NAME="toc4"></A>
<H1>4. 附录</H1>
<UL>
<LI>项目主页 : <A HREF="https://github.com/chai2010/im4corner">https://github.com/chai2010/im4corner</A>
<LI>四角号码 : <A HREF="http://zh.wikipedia.org/zh-cn/%E5%9B%9B%E8%A7%92%E5%8F%B7%E7%A0%81">http://zh.wikipedia.org/zh-cn/四角号码</A>
<LI>四角号码表: <A HREF="http://vimim-data.googlecode.com/svn-history/r128/trunk/data/vimim.4corner.txt">http://vimim-data.googlecode.com/svn-history/r128/trunk/data/vimim.4corner.txt</A>
<LI>汉语拼音表: <A HREF="http://vimim-data.googlecode.com/svn-history/r128/trunk/data/vimim.pinyin.txt">http://vimim-data.googlecode.com/svn-history/r128/trunk/data/vimim.pinyin.txt</A>
<LI>输入法扩展: <A HREF="http://www.google.com/ime/pinyin/api.html">http://www.google.com/ime/pinyin/api.html</A>
<LI>调试器代码: <A HREF="https://github.com/phuang/ibus-pinyin/blob/master/lua/lua-ext-console.c">https://github.com/phuang/ibus-pinyin/blob/master/lua/lua-ext-console.c</A>
</UL>
<HR NOSHADE SIZE=1>
<P>
动力源自::<B><A HREF="http://txt2tags.sourceforge.net/">txt2tags</A></B>
::<A HREF="http://wiki.woodpecker.org.cn/moin/txt2tags">应用介绍</A>
::<A HREF="readme.t2t">t2t原稿</A>
</P>
</DIV>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags readme.t2t -->
</BODY></HTML>