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