yatex

view install @ 255:214702e4df54

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