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
|
# (This file is encoded with MS-KANJI(Shift JIS) coding system)
Installation of YaTeX / 쒹̃CXg[
******************************************
First, take a look at makefile to confirm or modify EMACS= and PREFIX=
lines and exec the next command.
̃fBNgɂ makefile EMACS= PREFIX= ̍smFA
KvȂCɈȉ̃R}hNĂB
% make install
(or "sudo make install")
Then, type `make show-init' on the shell in this directory as below
and ou will get elisp expressions. Add the expressions to your ~/.emacs.
Ĉȉ̂悤ɃR}hNAꂽʏo͂ ~/.emacs
ɑĂB
% make show-init
After copying output from make command to your ~/.emacs, you will be able to
use yatex-mode for *.tex files.
ȏŁAݒ͏IłB
Without installing to default-dir, you can use yatex by adding the elisp
obtained by below to ~/.emacs.
CXg[ȂĂȉ̃R}ho͂ ~/.emacs ɒlj
ʂɎg܂B
% make show-init2
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
|