yatex
diff install @ 530:fb4822efb1f5
Workaround for Emacs26 (switch-to-buffer)
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 30 May 2018 07:03:38 +0900 |
parents | e009c4f86ede |
children |
line diff
1.1 --- a/install Tue Jan 06 20:29:08 2015 +0900 1.2 +++ b/install Wed May 30 07:03:38 2018 +0900 1.3 @@ -3,30 +3,25 @@ 1.4 Installation of YaTeX / 野鳥のインストール 1.5 ****************************************** 1.6 1.7 -Put these expressions into your ~/.emacs 1.8 -まず ~/.emacsに下の2項目を加えます。 1.9 - 1.10 - (setq auto-mode-alist 1.11 - (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) 1.12 - (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) 1.13 - 1.14 -Then, add certain path name where you put files of YaTeX to your 1.15 -load-path. If you want to put them in `~/src/emacs', write 1.16 -次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。 1.17 -たとえば、`~/src/emacs/yatex'に置くのであれば、 1.18 - 1.19 - (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) 1.20 - 1.21 -in your ~/.emacs. 1.22 -などとします。 1.23 - 1.24 -Then edit makefile and exec the next command. 1.25 -続いて makefile を編集し、 1.26 +First, take a look at makefile to confirm or modify EMACS= and PREFIX= 1.27 +lines and exec the next command. 1.28 +このディレクトリにある makefile の EMACS= と PREFIX= の行を確認し、 1.29 +必要なら修正した後に以下のコマンドを起動してください。 1.30 1.31 % make install 1.32 (or "sudo make install") 1.33 1.34 -でインストールを行ってください。 1.35 +Then, type `make show-init' on the shell in this directory as below 1.36 +and ou will get elisp expressions. Add the expressions to your ~/.emacs. 1.37 +続いて以下のようにコマンドを起動し、得られた結果出力を ~/.emacs 1.38 +に足してください。 1.39 + 1.40 + % make show-init 1.41 + 1.42 +After copying output from make command to your ~/.emacs, you will be able to 1.43 +use yatex-mode for *.tex files. 1.44 +以上で、初期設定は終わりです。 1.45 + 1.46 1.47 Without installing to default-dir, you can use yatex by adding the elisp 1.48 obtained by below to ~/.emacs. 1.49 @@ -36,36 +31,6 @@ 1.50 % make show-init2 1.51 1.52 1.53 -If `make install' fails, do as follows; 1.54 -もし `make install' でうまく行かない時は下記のように手動でインストール 1.55 -を行ってください。 1.56 - 1.57 -First, copy `*.el' to suitable directory. 1.58 -最初に、野鳥の emacs-lisp ファイル群を適当なディレクトリにコピーします。 1.59 - 1.60 -Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is 1.61 -displayed by typin `exec-directory C-j' in the *scratch* buffer 1.62 -(on Emacs19, $exec-directory/../../site-lisp). 1.63 -つぎに、help/YATEXHLP.jp を Emacs の etc ディレクトリに入れます。 1.64 -(*scratch* バッファで「exec-directory C-j」とうって示されるところです 1.65 - Emacs19以降の場合 doc-directory の ../../site-lisp) 1.66 - 1.67 - 1.68 -Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and 1.69 -append the contents of `dir' in this directory to `dir' of Info directory. 1.70 -最後に、info ディレクトリに docs/yatexj, docs/yatexe, docs/yahtmlj, 1.71 -docs/yahtmle をコピーし、info ディレクトリの dir というファイルにこのディ 1.72 -レクトリの dir ファイルの中身を追加します。 1.73 - 1.74 -Note that when you byte-compile yatex19.el, do it on window system. 1.75 -This file cannot be compiled on terminal Emacs because it requires 1.76 -hilit19.el, which cannot be loaded on terminal Emacs. But you don't 1.77 -have to byte-compile it. 1.78 -注意: yatex19.el をバイトコンパイルする時はウィンドウシステム上の emacs 1.79 -で行って下さい。emacs -nw では、hilit19.el がロードできず、正常にコンパ 1.80 -イルできません。うまくいかない場合はバイトコンパイルしなくて構いません。 1.81 - 1.82 - 1.83 About yahtml / yahtmlについて 1.84 ***************************** 1.85