1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
# (This file is encoded with MS-KANJI(Shift JIS) coding system)
Installation of YaTeX / 쒹̃CXg[
******************************************
Put these expressions into your ~/.emacs
܂ ~/.emacsɉ2ڂ܂B
(setq auto-mode-alist
(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
Then, add certain path name where you put files of YaTeX to your
load-path. If you want to put them in `~/src/emacs', write
ɖ쒹 emacs-lisp t@CQufBNg load-path ɉ܂B
ƂA`~/src/emacs/yatex'ɒûłA
(setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path))
in your ~/.emacs.
ȂǂƂ܂B
Then edit makefile and set your environment variable `DISPLAY' correctly,
exec the next.
makefile ҏWAϐ DISPLAY ̒l𐳂ZbgĂ
% make install
ŃCXg[sĂB
If `make install' fails, do as follows;
`make install' ł܂sȂ͉L̂悤Ɏ蓮ŃCXg[
sĂB
First, copy `*.el' to suitable directory.
ŏɁA쒹 emacs-lisp t@CQKȃfBNgɃRs[܂B
Then copy `help/YATEXHLP.eng' to $EMACS/etc directory, which is
displayed by typin `exec-directory C-j' in the *scratch* buffer
(on Emacs19, $exec-directory/../../site-lisp).
ɁAhelp/YATEXHLP.jp Emacs etc fBNgɓ܂B
(*scratch* obt@Łuexec-directory C-jvƂĎƂł
Emacs19ȍ~̏ꍇ doc-directory ../../site-lisp)
Finally, copy `docs/yatexe' and `docs/yahtmle' to Info directory and
append the contents of `dir' in this directory to `dir' of Info directory.
ŌɁAinfo fBNg docs/yatexj, docs/yatexe, docs/yahtmlj,
docs/yahtmle Rs[Ainfo fBNg dir Ƃt@Cɂ̃fB
Ng dir t@C̒glj܂B
Note that when you byte-compile yatex19.el, do it on window system.
This file cannot be compiled on terminal Emacs because it requires
hilit19.el, which cannot be loaded on terminal Emacs. But you don't
have to byte-compile it.
: yatex19.el oCgRpC鎞̓EBhEVXe emacs
ōsĉBemacs -nw ł́Ahilit19.el [hłAɃRp
Cł܂B܂Ȃꍇ̓oCgRpCȂč\܂B
About yahtml / yahtmlɂ
*****************************
Yahtml is a different package for writing HTML files with Emacs. It is
very far from html-mode, html-helper-mode or other existing HTML modes.
It is a good successor of YaTeX in HTML world. Do not want it to behave
as modes you used. Yahtml doesn't lessen the number of initial typing
not so much. But it lessens your effort of polishing/debugging your
source, tracing links between file or URL, and browsing the result with
browsers. If you had not used YaTeX, the concept of `C-c g', `C-c k',
and `C-c c' are very new to you. If you are interested in the
philosophy of YaTeX, please take a look at the info file of YaTeX.
yahtml.el html-mode Ƃ html-helper-mode ƂƂ͂``
Ⴂ܂Buhtml-helper-mode łƂ̂̋@\͂Ȃ́`vƂ
CŎgƁA[qłBtɁA쒹̃C^tF[Xm
gĂƂȂ蒲qǂłB
Installation of yahtml / yahtml̃CXg[
*********************************************
Follow the guidance in the beginning of yahtml.el.
yahtml.el ̐擪ɂ [Installation] ɂĉB
Then the set some variables correctly. Here are the major of them.
Parenthesized values are default.
ȉ̕ϐɍ킹Đݒ肵ĉ(ʓ̓ftHgl)B
* yahtml-kanji-code HTML̃ftHgR[h
1=SJIS, 2=JIS, 3=EUC, 4=UTF-8
* yahtml-image-viewer Image viewer / 摜[A
* yahtml-www-browser WWW browser / WWWuEU
* yahtml-path-url-alist List of unix path name vs. its URL name
within the WWW world. See the definition
of it (in yahtml.el) as an example.
UNIXpXƁAWWWłURL̑ΉX
gByahtml.el ̂̕ϐ̒`Qlɂ
Ȃg̃TCg̑ΉXgݒ肵ĉ
B
* yahtml-directory-index Directory index file, which is a file
to be opened when URL is ended with
directory name. If you're not sure of
this, ask it to WWW administrator.
Typically `index.html' if your site is
running apache, or `Welcome.html' if
CERN httpd.
URLŃt@CȗɃI[v
t@CBWWWǗ҂ɕĉB
Ă index.html ł傤B
|