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@83: Put these expressions into your ~/.emacs yuuji@83: まず ~/.emacsに下の2項目を加えます。 yuuji@83: yuuji@83: (setq auto-mode-alist yuuji@83: (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) yuuji@83: (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) yuuji@83: yuuji@83: Then, add certain path name where you put files of YaTeX to your yuuji@83: load-path. If you want to put them in `~/src/emacs', write yuuji@83: 次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。 yuuji@83: たとえば、`~/src/emacs/yatex'に置くのであれば、 yuuji@83: yuuji@83: (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) yuuji@83: yuuji@83: in your ~/.emacs. yuuji@83: などとします。 yuuji@83: yuuji@83: Then edit makefile and set your environment variable `DISPLAY' correctly, yuuji@83: exec the next. yuuji@83: 続いて makefile を編集し、環境変数 DISPLAY の値を正しくセットしてから yuuji@83: yuuji@83: % make install yuuji@83: yuuji@83: でインストールを行ってください。 yuuji@83: yuuji@83: If `make install' fails, do as follows; yuuji@83: もし `make install' でうまく行かない時は下記のように手動でインストール yuuji@83: を行ってください。 yuuji@83: yuuji@83: First, copy `*.el' to suitable directory. yuuji@83: 最初に、野鳥の emacs-lisp ファイル群を適当なディレクトリにコピーします。 yuuji@83: yuuji@83: Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is yuuji@83: displayed by typin `exec-directory C-j' in the *scratch* buffer yuuji@83: (on Emacs19, $exec-directory/../../site-lisp). yuuji@83: つぎに、help/YATEXHLP.jp を Emacs の etc ディレクトリに入れます。 yuuji@83: (*scratch* バッファで「exec-directory C-j」とうって示されるところです yuuji@83: Emacs19以降の場合 doc-directory の ../../site-lisp) yuuji@83: yuuji@83: yuuji@83: Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and yuuji@83: append the contents of `dir' in this directory to `dir' of Info directory. yuuji@83: 最後に、info ディレクトリに docs/yatexj, docs/yatexe, docs/yahtmlj, yuuji@83: docs/yahtmle をコピーし、info ディレクトリの dir というファイルにこのディ yuuji@83: レクトリの dir ファイルの中身を追加します。 yuuji@83: yuuji@83: Note that when you byte-compile yatex19.el, do it on window system. yuuji@83: This file cannot be compiled on terminal Emacs because it requires yuuji@83: hilit19.el, which cannot be loaded on terminal Emacs. But you don't yuuji@83: have to byte-compile it. yuuji@83: 注意: yatex19.el をバイトコンパイルする時はウィンドウシステム上の emacs yuuji@83: で行って下さい。emacs -nw では、hilit19.el がロードできず、正常にコンパ yuuji@83: イルできません。うまくいかない場合はバイトコンパイルしなくて構いません。 yuuji@83: yuuji@83: yuuji@83: About yahtml / yahtmlについて yuuji@83: ***************************** yuuji@83: yuuji@83: Yahtml is a brand new 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@83: Netscape. 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@83: 使っているとかなり調子良いです。古いものに拘る人にはお薦めしません。 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@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@83: running NCSA httpd, and `Welcome.html' yuuji@83: if CERN httpd. yuuji@83: URLでファイル名を省略した時にオープンさ yuuji@83: れるファイル。WWW管理者に聞いて下さい。