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