yatex

view install @ 382:e009c4f86ede

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