yatex
diff install @ 84:73cba5ddd111
Converted from RCS of yatex
author | yuuji |
---|---|
date | Sun, 27 Sep 2009 13:04:14 +0000 |
parents | |
children | 14866ec3eeb5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/install Sun Sep 27 13:04:14 2009 +0000 1.3 @@ -0,0 +1,106 @@ 1.4 +# (This file is encoded with MS-KANJI(Shift JIS) coding system) 1.5 + 1.6 +Installation of YaTeX / 野鳥のインストール 1.7 +****************************************** 1.8 + 1.9 +Put these expressions into your ~/.emacs 1.10 +まず ~/.emacsに下の2項目を加えます。 1.11 + 1.12 + (setq auto-mode-alist 1.13 + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) 1.14 + (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) 1.15 + 1.16 +Then, add certain path name where you put files of YaTeX to your 1.17 +load-path. If you want to put them in `~/src/emacs', write 1.18 +次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。 1.19 +たとえば、`~/src/emacs/yatex'に置くのであれば、 1.20 + 1.21 + (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) 1.22 + 1.23 +in your ~/.emacs. 1.24 +などとします。 1.25 + 1.26 +Then edit makefile and set your environment variable `DISPLAY' correctly, 1.27 +exec the next. 1.28 +続いて makefile を編集し、環境変数 DISPLAY の値を正しくセットしてから 1.29 + 1.30 + % make install 1.31 + 1.32 +でインストールを行ってください。 1.33 + 1.34 + If `make install' fails, do as follows; 1.35 + もし `make install' でうまく行かない時は下記のように手動でインストール 1.36 +を行ってください。 1.37 + 1.38 +First, copy `*.el' to suitable directory. 1.39 +最初に、野鳥の emacs-lisp ファイル群を適当なディレクトリにコピーします。 1.40 + 1.41 +Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is 1.42 +displayed by typin `exec-directory C-j' in the *scratch* buffer 1.43 +(on Emacs19, $exec-directory/../../site-lisp). 1.44 +つぎに、help/YATEXHLP.jp を Emacs の etc ディレクトリに入れます。 1.45 +(*scratch* バッファで「exec-directory C-j」とうって示されるところです 1.46 + Emacs19以降の場合 doc-directory の ../../site-lisp) 1.47 + 1.48 + 1.49 +Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and 1.50 +append the contents of `dir' in this directory to `dir' of Info directory. 1.51 +最後に、info ディレクトリに docs/yatexj, docs/yatexe, docs/yahtmlj, 1.52 +docs/yahtmle をコピーし、info ディレクトリの dir というファイルにこのディ 1.53 +レクトリの dir ファイルの中身を追加します。 1.54 + 1.55 +Note that when you byte-compile yatex19.el, do it on window system. 1.56 +This file cannot be compiled on terminal Emacs because it requires 1.57 +hilit19.el, which cannot be loaded on terminal Emacs. But you don't 1.58 +have to byte-compile it. 1.59 +注意: yatex19.el をバイトコンパイルする時はウィンドウシステム上の emacs 1.60 +で行って下さい。emacs -nw では、hilit19.el がロードできず、正常にコンパ 1.61 +イルできません。うまくいかない場合はバイトコンパイルしなくて構いません。 1.62 + 1.63 + 1.64 +About yahtml / yahtmlについて 1.65 +***************************** 1.66 + 1.67 +Yahtml is a brand new package for writing HTML files with Emacs. It is 1.68 +very far from html-mode, html-helper-mode or other existing HTML modes. 1.69 +It is a good successor of YaTeX in HTML world. Do not want it to behave 1.70 +as modes you used. Yahtml doesn't lessen the number of initial typing 1.71 +not so much. But it lessens your effort of polishing/debugging your 1.72 +source, tracing links between file or URL, and browsing the result with 1.73 +Netscape. If you had not used YaTeX, the concept of `C-c g', `C-c k', 1.74 +and `C-c c' are very new to you. If you are interested in the 1.75 +philosophy of YaTeX, please take a look at the info file of YaTeX. 1.76 + 1.77 +yahtml.el は html-mode とか html-helper-mode とかとはじぇえ〜〜んじぇん 1.78 +違います。「html-helper-mode でいうところのあの機能はないの〜」とかそう 1.79 +いう気持で使うと、すげー調子悪いです。逆に、野鳥のインタフェースを知って 1.80 +使っているとかなり調子良いです。古いものに拘る人にはお薦めしません。 1.81 + 1.82 +Installation of yahtml / yahtmlのインストール 1.83 +********************************************* 1.84 + 1.85 +Follow the guidance in the beginning of yahtml.el. 1.86 +yahtml.el の先頭部分にある [Installation] にしたがって下さい。 1.87 + 1.88 +Then the set some variables correctly. Here are the major of them. 1.89 +Parenthesized values are default. 1.90 +以下の変数を環境に合わせて設定して下さい(括弧内はデフォルト値)。 1.91 + 1.92 + * yahtml-image-viewer Image viewer / 画像ヴューア 1.93 + * yahtml-www-browser WWW browser / WWWブラウザ 1.94 + * yahtml-path-url-alist List of unix path name vs. its URL name 1.95 + within the WWW world. See the definition 1.96 + of it (in yahtml.el) as an example. 1.97 + UNIXパス名と、そのWWWでのURL名の対応リス 1.98 + ト。yahtml.el のこの変数の定義を参考にあ 1.99 + なた自身のサイトの対応リストを設定して下 1.100 + さい。 1.101 + * yahtml-directory-index Directory index file, which is a file 1.102 + to be opened when URL is ended with 1.103 + directory name. If you're not sure of 1.104 + this, ask it to WWW administrator. 1.105 + Typically `index.html' if your site is 1.106 + running NCSA httpd, and `Welcome.html' 1.107 + if CERN httpd. 1.108 + URLでファイル名を省略した時にオープンさ 1.109 + れるファイル。WWW管理者に聞いて下さい。