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@83
|
6 Put these expressions into your ~/.emacs
|
yuuji@83
|
7 まず ~/.emacsに下の2項目を加えます。
|
yuuji@83
|
8
|
yuuji@83
|
9 (setq auto-mode-alist
|
yuuji@83
|
10 (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
|
yuuji@83
|
11 (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
|
yuuji@83
|
12
|
yuuji@83
|
13 Then, add certain path name where you put files of YaTeX to your
|
yuuji@83
|
14 load-path. If you want to put them in `~/src/emacs', write
|
yuuji@83
|
15 次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。
|
yuuji@83
|
16 たとえば、`~/src/emacs/yatex'に置くのであれば、
|
yuuji@83
|
17
|
yuuji@83
|
18 (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path))
|
yuuji@83
|
19
|
yuuji@83
|
20 in your ~/.emacs.
|
yuuji@83
|
21 などとします。
|
yuuji@83
|
22
|
yuuji@83
|
23 Then edit makefile and set your environment variable `DISPLAY' correctly,
|
yuuji@83
|
24 exec the next.
|
yuuji@83
|
25 続いて makefile を編集し、環境変数 DISPLAY の値を正しくセットしてから
|
yuuji@83
|
26
|
yuuji@83
|
27 % make install
|
yuuji@83
|
28
|
yuuji@83
|
29 でインストールを行ってください。
|
yuuji@83
|
30
|
yuuji@83
|
31 If `make install' fails, do as follows;
|
yuuji@83
|
32 もし `make install' でうまく行かない時は下記のように手動でインストール
|
yuuji@83
|
33 を行ってください。
|
yuuji@83
|
34
|
yuuji@83
|
35 First, copy `*.el' to suitable directory.
|
yuuji@83
|
36 最初に、野鳥の emacs-lisp ファイル群を適当なディレクトリにコピーします。
|
yuuji@83
|
37
|
yuuji@83
|
38 Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is
|
yuuji@83
|
39 displayed by typin `exec-directory C-j' in the *scratch* buffer
|
yuuji@83
|
40 (on Emacs19, $exec-directory/../../site-lisp).
|
yuuji@83
|
41 つぎに、help/YATEXHLP.jp を Emacs の etc ディレクトリに入れます。
|
yuuji@83
|
42 (*scratch* バッファで「exec-directory C-j」とうって示されるところです
|
yuuji@83
|
43 Emacs19以降の場合 doc-directory の ../../site-lisp)
|
yuuji@83
|
44
|
yuuji@83
|
45
|
yuuji@83
|
46 Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and
|
yuuji@83
|
47 append the contents of `dir' in this directory to `dir' of Info directory.
|
yuuji@83
|
48 最後に、info ディレクトリに docs/yatexj, docs/yatexe, docs/yahtmlj,
|
yuuji@83
|
49 docs/yahtmle をコピーし、info ディレクトリの dir というファイルにこのディ
|
yuuji@83
|
50 レクトリの dir ファイルの中身を追加します。
|
yuuji@83
|
51
|
yuuji@83
|
52 Note that when you byte-compile yatex19.el, do it on window system.
|
yuuji@83
|
53 This file cannot be compiled on terminal Emacs because it requires
|
yuuji@83
|
54 hilit19.el, which cannot be loaded on terminal Emacs. But you don't
|
yuuji@83
|
55 have to byte-compile it.
|
yuuji@83
|
56 注意: yatex19.el をバイトコンパイルする時はウィンドウシステム上の emacs
|
yuuji@83
|
57 で行って下さい。emacs -nw では、hilit19.el がロードできず、正常にコンパ
|
yuuji@83
|
58 イルできません。うまくいかない場合はバイトコンパイルしなくて構いません。
|
yuuji@83
|
59
|
yuuji@83
|
60
|
yuuji@83
|
61 About yahtml / yahtmlについて
|
yuuji@83
|
62 *****************************
|
yuuji@83
|
63
|
yuuji@100
|
64 Yahtml is a different package for writing HTML files with Emacs. It is
|
yuuji@83
|
65 very far from html-mode, html-helper-mode or other existing HTML modes.
|
yuuji@83
|
66 It is a good successor of YaTeX in HTML world. Do not want it to behave
|
yuuji@83
|
67 as modes you used. Yahtml doesn't lessen the number of initial typing
|
yuuji@83
|
68 not so much. But it lessens your effort of polishing/debugging your
|
yuuji@83
|
69 source, tracing links between file or URL, and browsing the result with
|
yuuji@204
|
70 browsers. If you had not used YaTeX, the concept of `C-c g', `C-c k',
|
yuuji@83
|
71 and `C-c c' are very new to you. If you are interested in the
|
yuuji@83
|
72 philosophy of YaTeX, please take a look at the info file of YaTeX.
|
yuuji@83
|
73
|
yuuji@83
|
74 yahtml.el は html-mode とか html-helper-mode とかとはじぇえ〜〜んじぇん
|
yuuji@83
|
75 違います。「html-helper-mode でいうところのあの機能はないの〜」とかそう
|
yuuji@83
|
76 いう気持で使うと、すげー調子悪いです。逆に、野鳥のインタフェースを知って
|
yuuji@100
|
77 使っているとかなり調子良いです。
|
yuuji@83
|
78
|
yuuji@83
|
79 Installation of yahtml / yahtmlのインストール
|
yuuji@83
|
80 *********************************************
|
yuuji@83
|
81
|
yuuji@83
|
82 Follow the guidance in the beginning of yahtml.el.
|
yuuji@83
|
83 yahtml.el の先頭部分にある [Installation] にしたがって下さい。
|
yuuji@83
|
84
|
yuuji@83
|
85 Then the set some variables correctly. Here are the major of them.
|
yuuji@83
|
86 Parenthesized values are default.
|
yuuji@83
|
87 以下の変数を環境に合わせて設定して下さい(括弧内はデフォルト値)。
|
yuuji@83
|
88
|
yuuji@92
|
89 * yahtml-kanji-code HTML文書のデフォルト漢字コード
|
yuuji@92
|
90 1=SJIS, 2=JIS, 3=EUC, 4=UTF-8
|
yuuji@83
|
91 * yahtml-image-viewer Image viewer / 画像ヴューア
|
yuuji@83
|
92 * yahtml-www-browser WWW browser / WWWブラウザ
|
yuuji@83
|
93 * yahtml-path-url-alist List of unix path name vs. its URL name
|
yuuji@83
|
94 within the WWW world. See the definition
|
yuuji@83
|
95 of it (in yahtml.el) as an example.
|
yuuji@83
|
96 UNIXパス名と、そのWWWでのURL名の対応リス
|
yuuji@83
|
97 ト。yahtml.el のこの変数の定義を参考にあ
|
yuuji@83
|
98 なた自身のサイトの対応リストを設定して下
|
yuuji@83
|
99 さい。
|
yuuji@83
|
100 * yahtml-directory-index Directory index file, which is a file
|
yuuji@83
|
101 to be opened when URL is ended with
|
yuuji@83
|
102 directory name. If you're not sure of
|
yuuji@83
|
103 this, ask it to WWW administrator.
|
yuuji@83
|
104 Typically `index.html' if your site is
|
yuuji@204
|
105 running apache, or `Welcome.html' if
|
yuuji@204
|
106 CERN httpd.
|
yuuji@83
|
107 URLでファイル名を省略した時にオープンさ
|
yuuji@83
|
108 れるファイル。WWW管理者に聞いて下さい。
|
yuuji@204
|
109 たいてい index.html でしょう。
|