rev |
line source |
yuuji@70
|
1 %%
|
yuuji@70
|
2 %% Q and A on yahtml
|
yuuji@70
|
3 %%
|
yuuji@70
|
4 %% C-u C-x $ shows only questions. C-x $ shows all.
|
yuuji@70
|
5 %%
|
yuuji@70
|
6
|
yuuji@70
|
7 [Installation]
|
yuuji@70
|
8 ==============
|
yuuji@70
|
9 *Must I install YaTeX even if I don't use LaTeX?
|
yuuji@70
|
10
|
yuuji@70
|
11 No. Get the files starting with "yahtml" from
|
yuuji@70
|
12 ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/text/yatex/
|
yuuji@70
|
13 and that's all you will need.
|
yuuji@70
|
14
|
yuuji@70
|
15 [Customization]
|
yuuji@70
|
16 ==============
|
yuuji@70
|
17 *I usually use EUC, but need JIS coding on some files.
|
yuuji@70
|
18
|
yuuji@70
|
19 Write
|
yuuji@70
|
20 (setq yahtml-kanji-code 3) ;3 for EUC
|
yuuji@70
|
21 and your default kanji code for HTML files will be EUC.
|
yuuji@70
|
22 Now to change codings foe selected files. If your server is
|
yuuji@70
|
23 Apache, then prepare a file named ".htaccess" in the directory
|
yuuji@70
|
24 and write
|
yuuji@70
|
25
|
yuuji@70
|
26 AddType "text/html; charset=iso-2020-jp" .html
|
yuuji@70
|
27
|
yuuji@70
|
28 Apache will now inform all your visitors that the html files
|
yuuji@70
|
29 in this directory are in iso-2022-jp, aka JIS. yahtml will
|
yuuji@70
|
30 also follow this and encode all files in this directory with JIS.
|
yuuji@70
|
31
|
yuuji@70
|
32 Not using Apache? Then adding the following to the end of your
|
yuuji@70
|
33 html source will make this files coding system JIS.
|
yuuji@70
|
34
|
yuuji@70
|
35 <!-- Local Variables: -->
|
yuuji@70
|
36 <!-- file-coding-system: *junet* -->
|
yuuji@70
|
37 <!-- End: -->
|
yuuji@70
|
38
|
yuuji@70
|
39 Note that Emacs-20 and XEmacs do not need the "*" in the kanji
|
yuuji@70
|
40 code symbol.
|
yuuji@70
|
41
|
yuuji@70
|
42 [What about...]
|
yuuji@70
|
43 ==============
|
yuuji@70
|
44 *Indentation for a large file is slow
|
yuuji@70
|
45
|
yuuji@70
|
46 Should be fixed.
|
yuuji@70
|
47
|
yuuji@70
|
48 *Inserting template.html
|
yuuji@70
|
49
|
yuuji@70
|
50 Use autoinsert.el that comes with Emacs19/Mule2. Another
|
yuuji@70
|
51 option is to use auto-insert-tkld. The latter can be found at
|
yuuji@70
|
52 ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/util/auto-inset-tkld.tar.Z
|
yuuji@70
|
53 Examples in Japanese are at
|
yuuji@70
|
54 http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/elisp/yahtml-mode.html
|
yuuji@70
|
55
|
yuuji@70
|
56 [ETC]
|
yuuji@70
|
57 ============
|
yuuji@70
|
58 *How do I pronounce yahtml
|
yuuji@70
|
59
|
yuuji@70
|
60 A real FAQ. The author doesn't know either. Any ideas?
|
yuuji@70
|
61 ... It hits on me! We define the official name of yahtml as;
|
yuuji@70
|
62
|
yuuji@70
|
63 HTML-Ya
|
yuuji@70
|
64
|
yuuji@70
|
65 "Ya" is the Japanese word whose meaning is `shop', and sometimes
|
yuuji@70
|
66 `enthusiast' of something. With HTML-Ya, do the publishment of
|
yuuji@70
|
67 your thought efficiently and beautifully!
|
yuuji@70
|
68
|
yuuji@70
|
69 *Mailing lists?
|
yuuji@70
|
70
|
yuuji@70
|
71 A question, so an answer. The mailing list for YaTeX (Wild
|
yuuji@70
|
72 Bird) and it's implementation to Vz; Raicho (by KATSURAGAWA,
|
yuuji@70
|
73 Naoki), implementation to Wz Editor; HackTeX (by TAKKENAKA,
|
yuuji@70
|
74 Hiroshi), implementation to Hidemaru; HiTeX (by YASUDA,
|
yuuji@70
|
75 Haruyuki) is "fj Wild Bird Society". Send a mail like
|
yuuji@70
|
76
|
yuuji@70
|
77 To: yatex@yatex.org
|
yuuji@70
|
78 Subject: append
|
yuuji@70
|
79 -----
|
yuuji@70
|
80 Hi!
|
yuuji@70
|
81 My name is yuuji.
|
yuuji@70
|
82 See any birds fly by?
|
yuuji@70
|
83
|
yuuji@70
|
84 and you're in. Once you're in, you'll get a reply with lists of
|
yuuji@70
|
85 commands used in the mailing list. Join along and help adding
|
yuuji@70
|
86 new feathers to Wild Bird. BTW, if you haven't guessed it yet,
|
yuuji@70
|
87 yes, this mailing list is in Japanese. But give us a try
|
yuuji@70
|
88 anyway. You're always welcome.
|
yuuji@70
|
89
|
yuuji@70
|
90 *How to get the up-to-date information on yahtml?
|
yuuji@70
|
91
|
yuuji@70
|
92 If you can access WWW, try to see;
|
yuuji@70
|
93 http://www.yatex.org/
|
yuuji@70
|
94 And if you trace the link of `yatex-current', you can get the
|
yuuji@70
|
95 really latest version of yahtml. Since it collects the elisps in
|
yuuji@70
|
96 the author's source directory, what you'll get may contain some
|
yuuji@70
|
97 errors. The author cannot respond to your query about
|
yuuji@70
|
98 yatex-current.
|
yuuji@70
|
99
|
yuuji@70
|
100 *Help, help HELP!!
|
yuuji@70
|
101
|
yuuji@70
|
102 Ways of getting answers in fastest order.
|
yuuji@70
|
103
|
yuuji@70
|
104 *Look for someone near you who knows what's he/she's doing.
|
yuuji@70
|
105 *Post a question to the mailing list.
|
yuuji@70
|
106 *Send mail to yuuji@yatex.org
|
yuuji@70
|
107
|
yuuji@70
|
108 take a pick.
|
yuuji@70
|
109
|
yuuji@70
|
110 *Picking a question in this file with C-u C-x $ and hitting C-x $ takes
|
yuuji@70
|
111 me to a weird world.
|
yuuji@70
|
112
|
yuuji@70
|
113 You too? Try marking the question before C-x $ and to C-x C-x
|
yuuji@70
|
114 to take you back to it. (Mule2 doesn't seem to have the same
|
yuuji@70
|
115 problem)
|
yuuji@70
|
116
|
yuuji@70
|
117
|
yuuji@70
|
118 Local Variables:
|
yuuji@70
|
119 mode: indented-text
|
yuuji@70
|
120 fill-column: 72
|
yuuji@70
|
121 fill-prefix: " "
|
yuuji@70
|
122 End:
|
yuuji@70
|
123
|