rev |
line source |
yuuji@83
|
1 # (This file is encoded with MS-KANJI(Shift JIS) coding system)
|
yuuji@83
|
2
|
yuuji@83
|
3 Installation of YaTeX / 野鳥のインストール
|
yuuji@83
|
4 ******************************************
|
yuuji@83
|
5
|
yuuji@387
|
6 First, take a look at makefile to confirm or modify EMACS= and PREFIX=
|
yuuji@387
|
7 lines and exec the next command.
|
yuuji@387
|
8 このディレクトリにある makefile の EMACS= と PREFIX= の行を確認し、
|
yuuji@387
|
9 必要なら修正した後に以下のコマンドを起動してください。
|
yuuji@83
|
10
|
yuuji@83
|
11 % make install
|
yuuji@382
|
12 (or "sudo make install")
|
yuuji@83
|
13
|
yuuji@387
|
14 Then, type `make show-init' on the shell in this directory as below
|
yuuji@387
|
15 and ou will get elisp expressions. Add the expressions to your ~/.emacs.
|
yuuji@387
|
16 続いて以下のようにコマンドを起動し、得られた結果出力を ~/.emacs
|
yuuji@387
|
17 に足してください。
|
yuuji@387
|
18
|
yuuji@387
|
19 % make show-init
|
yuuji@387
|
20
|
yuuji@387
|
21 After copying output from make command to your ~/.emacs, you will be able to
|
yuuji@387
|
22 use yatex-mode for *.tex files.
|
yuuji@387
|
23 以上で、初期設定は終わりです。
|
yuuji@387
|
24
|
yuuji@83
|
25
|
yuuji@382
|
26 Without installing to default-dir, you can use yatex by adding the elisp
|
yuuji@382
|
27 obtained by below to ~/.emacs.
|
yuuji@382
|
28 インストールしなくても以下のコマンド出力を ~/.emacs に追加すれば
|
yuuji@382
|
29 普通に使えます。
|
yuuji@382
|
30
|
yuuji@382
|
31 % make show-init2
|
yuuji@382
|
32
|
yuuji@382
|
33
|
yuuji@83
|
34 About yahtml / yahtmlについて
|
yuuji@83
|
35 *****************************
|
yuuji@83
|
36
|
yuuji@100
|
37 Yahtml is a different package for writing HTML files with Emacs. It is
|
yuuji@83
|
38 very far from html-mode, html-helper-mode or other existing HTML modes.
|
yuuji@83
|
39 It is a good successor of YaTeX in HTML world. Do not want it to behave
|
yuuji@83
|
40 as modes you used. Yahtml doesn't lessen the number of initial typing
|
yuuji@83
|
41 not so much. But it lessens your effort of polishing/debugging your
|
yuuji@83
|
42 source, tracing links between file or URL, and browsing the result with
|
yuuji@204
|
43 browsers. If you had not used YaTeX, the concept of `C-c g', `C-c k',
|
yuuji@83
|
44 and `C-c c' are very new to you. If you are interested in the
|
yuuji@83
|
45 philosophy of YaTeX, please take a look at the info file of YaTeX.
|
yuuji@83
|
46
|
yuuji@83
|
47 yahtml.el は html-mode とか html-helper-mode とかとはじぇえ〜〜んじぇん
|
yuuji@83
|
48 違います。「html-helper-mode でいうところのあの機能はないの〜」とかそう
|
yuuji@83
|
49 いう気持で使うと、すげー調子悪いです。逆に、野鳥のインタフェースを知って
|
yuuji@100
|
50 使っているとかなり調子良いです。
|
yuuji@83
|
51
|
yuuji@83
|
52 Installation of yahtml / yahtmlのインストール
|
yuuji@83
|
53 *********************************************
|
yuuji@83
|
54
|
yuuji@83
|
55 Follow the guidance in the beginning of yahtml.el.
|
yuuji@83
|
56 yahtml.el の先頭部分にある [Installation] にしたがって下さい。
|
yuuji@83
|
57
|
yuuji@83
|
58 Then the set some variables correctly. Here are the major of them.
|
yuuji@83
|
59 Parenthesized values are default.
|
yuuji@83
|
60 以下の変数を環境に合わせて設定して下さい(括弧内はデフォルト値)。
|
yuuji@83
|
61
|
yuuji@92
|
62 * yahtml-kanji-code HTML文書のデフォルト漢字コード
|
yuuji@92
|
63 1=SJIS, 2=JIS, 3=EUC, 4=UTF-8
|
yuuji@83
|
64 * yahtml-image-viewer Image viewer / 画像ヴューア
|
yuuji@83
|
65 * yahtml-www-browser WWW browser / WWWブラウザ
|
yuuji@83
|
66 * yahtml-path-url-alist List of unix path name vs. its URL name
|
yuuji@83
|
67 within the WWW world. See the definition
|
yuuji@83
|
68 of it (in yahtml.el) as an example.
|
yuuji@83
|
69 UNIXパス名と、そのWWWでのURL名の対応リス
|
yuuji@83
|
70 ト。yahtml.el のこの変数の定義を参考にあ
|
yuuji@83
|
71 なた自身のサイトの対応リストを設定して下
|
yuuji@83
|
72 さい。
|
yuuji@83
|
73 * yahtml-directory-index Directory index file, which is a file
|
yuuji@83
|
74 to be opened when URL is ended with
|
yuuji@83
|
75 directory name. If you're not sure of
|
yuuji@83
|
76 this, ask it to WWW administrator.
|
yuuji@83
|
77 Typically `index.html' if your site is
|
yuuji@204
|
78 running apache, or `Welcome.html' if
|
yuuji@204
|
79 CERN httpd.
|
yuuji@83
|
80 URLでファイル名を省略した時にオープンさ
|
yuuji@83
|
81 れるファイル。WWW管理者に聞いて下さい。
|
yuuji@204
|
82 たいてい index.html でしょう。
|