annotate docs/htmlqa.eng @ 613:38b311149463 draft dev tip

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

yatex.org