yatex
diff docs/yahtmlj.tex @ 100:948655c12676
Remove ancient expresisons
author | yuuji@gentei.org |
---|---|
date | Mon, 28 Sep 2009 13:07:05 +0900 |
parents | 0aaebd07dad0 |
children | e1693ffc64cc |
line diff
1.1 --- a/docs/yahtmlj.tex Mon Dec 25 10:19:28 2000 +0000 1.2 +++ b/docs/yahtmlj.tex Mon Sep 28 13:07:05 2009 +0900 1.3 @@ -1,532 +1,537 @@ 1.4 -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 1.5 -\input texinfo 1.6 -@setfilename yahtmlj 1.7 -@settitle Yet Another html-mode for Emacs 1.8 - 1.9 -@iftex 1.10 -@c @syncodeindex fn cp 1.11 -@c Info$B$C$F:G6aFI$`?M$,A}$($?$i$7$$(B 1.12 -@c $B$^$@=q$-=*$o$C$F$$$^$;$s!#(B 1.13 -@c Last modified Sat Dec 2 13:55:06 2000 on buell 1.14 -@syncodeindex vr cp 1.15 -@end iftex 1.16 - 1.17 -@titlepage 1.18 -@sp 10 1.19 -@center 1.20 -@subtitle Yet Another html-mode for emacs 1.21 -@title $B!X(BHTML$B20!Y(B 1.22 -@subtitle // yahtml // 1.23 -@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@yatex.org] 1.24 -@end titlepage 1.25 - 1.26 -@node Top, Intro, (dir), (dir) 1.27 -@comment node-name, next, previous, up 1.28 - 1.29 -@menu 1.30 -* Intro:: $B$O$8$a$K(B 1.31 -* Installation:: $B%$%s%9%H!<%k(B 1.32 -* Command Invocation:: $B30It%3%^%s%I5/F0(B 1.33 -* Completion:: $BJd40F~NO(B 1.34 -* Jump:: $B%+!<%=%k%8%c%s%W(B 1.35 -* Changing and Deleting:: $BJQ99$H:o=|(B 1.36 -* CSS Support:: $B%9%?%$%k%7!<%HJd40(B 1.37 -* Customizations:: $B%+%9%?%^%$%:JQ?t0lMw(B 1.38 -* Copying:: $B$H$j$"$D$+$$(B 1.39 -* Concept Index:: $B:w0z(B 1.40 - 1.41 -@end menu 1.42 - 1.43 -@node Intro, Installation, Top, Top 1.44 -@comment node-name, next, previous, up 1.45 -@chapter $B$O$8$a$K(B 1.46 -@cindex Demacs 1.47 -@cindex Mule 1.48 -@cindex LaTeX 1.49 -@cindex HTML$B20(B[HTML$B$d(B] 1.50 - 1.51 -yahtml$B$O(B GNU Emacs $B>e$G(B HTML$BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$B%?%0$NF~NO$rJd(B 1.52 -$B405!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$B$J$I$N9=J8%A%'%C(B 1.53 -$B%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$B%$%a!<%8%t%e!<(B 1.54 -$B%"$N5/F0$J$I$r(B Emacs $BJT=82hLLCf$+$i(B 1.55 -$B9T$($k$h$&$K$9$k%Q%C%1!<%8$G$9!#(B 1.56 - 1.57 -($B$3$N(BInfo$B$OL$40@.$G$9(B(__)$B!D(B) 1.58 - 1.59 -@node Installation, Command Invocation, Intro, Top 1.60 -@comment node-name, next, previous, up 1.61 -@chapter $B%$%s%9%H!<%k(B 1.62 -@menu 1.63 -* yahtml$B5/F0$N$?$a$N@_Dj(B:: 1.64 -* lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B:: 1.65 -* WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B:: 1.66 -@end menu 1.67 - 1.68 -@node yahtml$B5/F0$N$?$a$N@_Dj(B, lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Installation, Installation 1.69 -@section yahtml$B5/F0$N$?$a$N@_Dj(B 1.70 - 1.71 - 1.72 -@file{~/.emacs}$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B 1.73 - 1.74 -@lisp 1.75 -(setq auto-mode-alist 1.76 - (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) 1.77 -(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) 1.78 -@end lisp 1.79 - 1.80 -$B<!$K(Byahtml$B$KI,MW$J%U%!%$%k(B(@file{yahtml.el}, @file{yatexlib.el}, 1.81 -@file{yatexprc.el}) $B$rCV$/%G%#%l%/%H%j$r(B load-path $B$K2C$($^$9!#$?$H$($P!"(B 1.82 -@file{~/src/emacs/yahtml}$B$KCV$/$N$G$"$l$P!"(B 1.83 - 1.84 -@lisp 1.85 -(setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) 1.86 -@end lisp 1.87 - 1.88 -@noindent 1.89 -$B$J$I$H$7$^$9!#(B 1.90 - 1.91 - $B0J>e$N@_Dj$K$h$j!"3HD%;R$,(B .html $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$K(B 1.92 -yahtml $B$,%m!<%I$5$l$^$9!#(Byahtml$B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<($,(B 1.93 -$B!V(Byahtml$B!W$KJQ$o$j$^$9!#(B 1.94 - 1.95 -@node lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B, yahtml$B5/F0$N$?$a$N@_Dj(B, Installation 1.96 -@section lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B 1.97 - 1.98 -$BMxMQ$9$k30It%W%m%0%i%`$J$I$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ(B 1.99 -$B99$7$^$9(B($B3g8LFb$O%G%U%)%k%HCM(B)$B!#(B 1.100 -@table @code 1.101 -@item yahtml-www-browser 1.102 - @dots{} $B5/F0$9$k%V%i%&%6$N%3%^%s%IL>(B(netscape) 1.103 -@item yahtml-image-viewer 1.104 - @dots{} $B5/F0$9$k2hA|%S%e!<%"$N%3%^%s%IL>(B(xv) 1.105 -@item yahtml-lint-program 1.106 - @dots{} $B9=J8%A%'%C%/%W%m%0%i%`$N%3%^%s%IL>(B(jweblint) 1.107 -@item yahtml-kanji-code 1.108 - @dots{} html$B%U%!%$%k$N4A;z%3!<%I(B 1.109 -@end table 1.110 - 1.111 -@node WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B, , lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Installation 1.112 -@section WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B 1.113 - 1.114 -$B%[!<%`%Z!<%8$H$J$k%U%!%$%k$,B8:_$9$k(BPATH$BL>$K4X$9$kJQ?t$r@_Dj$7$^$9!#(B 1.115 -@table @code 1.116 -@item yahtml-path-url-alist 1.117 - @dots{} $B%U%!%$%k%7%9%F%`>e$N(BPATH$BL>$H!"(BURL$B$NBP1~I=(B 1.118 -@item yahtml-directory-index 1.119 - @dots{} URL$B;XDj$G%U%!%$%kL>$r>JN,$7$?$H$-$KI=<($5$l$k%$%s%G%C%/%9(B 1.120 - $B%U%!%$%kL>(B(NCSA$B7O(Bhttpd$B$J$i(B @file{index.html}, CERN$B7O$J$i(B 1.121 - @file{Welcome.html}$B$,0lHLE*(B) 1.122 -@end table 1.123 - 1.124 -$BJQ?t(B @code{yahtml-path-url-alist} $B$N@_DjNc$r<($7$^$9!#Nc$($P!"<+Bp$G$O!"(B 1.125 -@file{/home/yuuji/http/} $B$,(B @code{http://localhost/~yuuji} $B$G;2>H$G$-!"?&(B 1.126 -$B>l$G$O(B @file{/usr/home/yuuji/www/} $B$,(B@code{http://www.keio.ac.jp/~yuuji/} 1.127 -$B$G;2>H$G$-$k$h$&$K$J$C$F$$$k>l9g$O0J2<$N$h$&$K@_Dj$7$^$9!#(B 1.128 - 1.129 -@lisp 1.130 -(setq yahtml-path-url-alist 1.131 - '(("/home/yuuj/http" . "http://localhost/~yuuji") 1.132 - ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) 1.133 -@end lisp 1.134 - 1.135 -$B$3$NBP1~AH$O$$$/$i$G$b@_Dj$9$k$3$H$,$G$-$^$9!#(B 1.136 - 1.137 -@node Command Invocation, Completion, Installation, Top 1.138 -@comment node-name, next, previous, up 1.139 -@chapter $B30It%3%^%s%I5/F0(B 1.140 - 1.141 -HTML$B%U%!%$%kJT=8$K$+$+$o$k$$$/$D$+$N%3%^%s%I$rB(:B$K8F$V$3$H$,$G$-$^$9!#(B 1.142 -@table @kbd 1.143 -@item [prefix] t j 1.144 - @dots{} HTML$B9=J8%A%'%C%+(B(jweblint)$B5/F0(B 1.145 -@item [prefix] t p 1.146 - @dots{} $B8=:_$N%Z!<%8$rBP>]$H$7$?%V%i%&%65/F0(B 1.147 -@item [prefix] t r 1.148 - @dots{} $B8=:_$N%Z!<%8$,%V%i%&%6$KI=<($5$l$F$$$k$H$-$N(Breload$B;XDj(B 1.149 -@end table 1.150 - 1.151 -@node Completion, Jump, Command Invocation, Top 1.152 -@comment node-name, next, previous, up 1.153 -@chapter $BJd40F~NO(B 1.154 - 1.155 -$B!VLnD;!W$GMxMQ$G$-$k!"!V(Bbegin$B7?Jd40!W!"!V(Bsection$B7?Jd40!W!"(B 1.156 -$B!V(Blarge$B7?Jd40!W!"!V(Bmaketitle$B7?Jd40!W!"!V%"%/%;%s%HJd40!W(B 1.157 -$B$HA4$/F1$8%-!<A`:n$GBP1~$9$k(B 1.158 -HTML$B%?%0$NJd40F~NO$,$G$-$^$9!#$=$l$>$l$N7?$NJd40$O=g$K!"(B 1.159 -$B!VJ#?t9T$KEO$k%?%0F~NO!W!"!V6uMWAG%?%0(B(img$B$J$I(B)$B$NJd40!W!"(B 1.160 -$B!V0l9TFb$G$N3+;O(B/$B=*N;%?%0$NF~NO!W!"!V6uMWAG6uB0@-%?%0$NF~NO!W!"(B 1.161 -$B!VJ8;z;2>HF~NO!W(B 1.162 -$B$K(B 1.163 -$BBP1~$7$F$$$^$9!#6qBNE*$K$O(B 1.164 - 1.165 -@table @kbd 1.166 -@item [prefix] b ($BLnD;$N(Bbegin$BJd40$KBP1~(B) 1.167 -@dots{} 1.168 -@example 1.169 -<ul> 1.170 -</ul> 1.171 -@end example 1.172 - 1.173 -@noindent 1.174 -$B$N$h$&$K3+;O%?%0$H=*N;%?%0$rFs9T$KEO$C$F=q$-$?$$>l9g$NJd40$r;X$7$^$9!#(B 1.175 -$B$*$b$K%V%m%C%/7?%?%0$,Jd408uJd$K4^$^$l$^$9!#(B 1.176 - 1.177 -@item [prefix] s ($BLnD;$N(Bsection$B7?Jd40$KBP1~(B) 1.178 -@dots{} 1.179 -@example 1.180 -<img src="foo.gif" alt="photo"> 1.181 -@end example 1.182 - 1.183 -@noindent 1.184 -$B$N$h$&$K=*N;%?%0$r;}$?$:!"$+$DB0@-CM$N$_$G5!G=$r;XDj$9$k%?%0$rJd40$7$^$9!#(B 1.185 -$BJd408uJd$H$7$F$O!"(Bimg, input $B$,B8:_$7$^$9!#(B 1.186 - 1.187 -@item [prefix] l ($BLnD;$N(Blarge$B7?Jd40$KBP1~(B) 1.188 -@dots{} begin$B7?Jd40$H$[$\F1$8$G$9$,!"(B 1.189 - 1.190 -@example 1.191 -<big> $B!A(B </big> 1.192 -@end example 1.193 - 1.194 -@noindent 1.195 -$B$N$h$&$K0l9TFb$K3+;O(B/$B=*N;%?%0$rF~$l$?$$$H$-$KMxMQ$7$^$9!#(B 1.196 - 1.197 -@item [prefix] m ($BLnD;$N(Bmaketitle$B7?Jd40$KBP1~(B) 1.198 -@dots{} $BMWAG$bB0@-CM$b;}$?$J$$%?%0$rJd40F~NO$7$^$9!#(B<br> 1.199 -$B$J$I$,Jd408uJd$KAjEv$7$^$9!#(B 1.200 - 1.201 -@item [prefix] a ($BLnD;$N%"%/%;%s%HJd40$KBP1~(B) 1.202 -@dots{} $B%(%s%F%#%F%#;2>H$K$h$kJ8;zI=5-$rF~NO$9$k$H$-$KMQ$$$^$9!#(B 1.203 -$B%G%U%)%k%H$G$O(B < (<), > (>), & (&), " ("), ' ('), 1.204 -$B%V%i%s%/(B ( ) $B$NJd40F~NO$,9T$($^$9!#(B 1.205 -@end table 1.206 - 1.207 -@node Jump, Changing and Deleting, Completion, Top 1.208 -@comment node-name, next, previous, up 1.209 -@chapter $B%+!<%=%k%8%c%s%W(B 1.210 -$BJ8=qCf$N$$$m$$$m$J>l=j$G(B 1.211 - 1.212 -@table @kbd 1.213 -@item [prefix] g 1.214 - @dots{} $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B 1.215 -@end table 1.216 - 1.217 -@noindent 1.218 -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$KBP1~$9$k>l=j$K%8%c%s%W(B 1.219 -$B$7$^$9!#BP1~4X78$,B8:_$9$k$H2r<a$5$l$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B 1.220 - 1.221 -@itemize @bullet 1.222 -@item @code{<TAG>} $B"+"*(B @code{</TAG>} 1.223 -@item @code{<img src="$B2hA|%U%!%$%k(B">} $B"*(B $BBP1~$9$k(Bviewer$B5/F0(B 1.224 -@item @code{<a href="$B%j%s%/@h(B">} $B"*(B $B%j%s%/@h$X$N%]%$%s%H0\F0(B 1.225 -@item @code{<applet code="$B%W%m%0%i%`(B">} $B"*(B Java$B%=!<%9%W%m%0%i%`$X$N0\F0(B 1.226 -@c @item @code{\include(\input)} $B"*(B $BBP1~$9$k%U%!%$%k(B 1.227 -@end itemize 1.228 - 1.229 -@node Changing and Deleting, CSS Support, Jump, Top 1.230 -@comment node-name, next, previous, up 1.231 -@chapter $BJQ99(B/$B:o=|(B 1.232 - 1.233 -@menu 1.234 -* $BBP%?%0$NJQ99(B:: 1.235 -* $BJ8;z;2>H$X$NJQ99(B:: 1.236 -* $B%j%8%g%sFbJ8;z$N(BURLencode:: 1.237 -@end menu 1.238 - 1.239 -@node $BBP%?%0$NJQ99(B, $BJ8;z;2>H$X$NJQ99(B, Changing and Deleting, Changing and Deleting 1.240 -@comment node-name, next, previous, up 1.241 -@section $BBP%?%0$NJQ99(B 1.242 -$BJ8=qCf$N$$$m$$$m$J>l=j$G(B 1.243 - 1.244 -@table @kbd 1.245 -@item [prefix] c 1.246 - @dots{} $BBP1~$9$k%?%0Ey$rJQ99(B 1.247 -@end table 1.248 - 1.249 -@noindent 1.250 -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$K1~$8$?(B 1.251 -$B5-=RFbMF$NJQ99$r9T$$$^$9!#%+!<%=%k0LCV$HJQ99$9$kFbMF$N(B 1.252 -$BBP1~$O0J2<$NDL$j$G$9!#(B 1.253 - 1.254 -@itemize @bullet 1.255 -@item @code{<TAG>}$B!A(B@code{</TAG>} 1.256 -@dots{} @code{TAG} $B$NJQ99(B 1.257 -@item @code{<img src="$B2hA|%U%!%$%k(B" alt="photo">} $B$J$I$NB0@-CM(B 1.258 -@dots{} $BB0@-CM$NJQ99(B 1.259 -@end itemize 1.260 - 1.261 -@node $BJ8;z;2>H$X$NJQ99(B, $B%j%8%g%sFbJ8;z$N(BURLencode, $BBP%?%0$NJQ99(B, Changing and Deleting 1.262 -@comment node-name, next, previous, up 1.263 -@section $BJ8;z;2>H$X$NJQ99(B 1.264 -$BJ8;z$H$7$F$N(B < $B$d(B > $B$rI=8=$9$k$H$-$O!"J8;z;2>H$rMQ$$$F(B 1.265 -< $B$d(B > $B$HI=5-$9$kI,MW$,$"$j$^$9$,!"(B 1.266 -HTML$B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD%$j9~$s$@>l9g(B 1.267 -$B$J$I$K!"$3$l$i$NJ8;z$r0l3g$7$FJ8;z;2>H7A<0$KJQ49$G$-$^$9!#(B 1.268 - 1.269 -@table @kbd 1.270 -@item [prefix] ; 1.271 - @dots{} $B;XDj$7$?NN0h$NJ8;z;2>H$KCV$-49$($k$Y$-J8;z$NCV49(B 1.272 -@item [prefix] : 1.273 - @dots{} $B;XDj$7$?NN0h$NJ8;z;2>H$r;2>HJ8;z$=$N$b$N$KCV49(B 1.274 - ([prefix] ; $B$N5UJQ49(B) 1.275 -@end table 1.276 - 1.277 - 1.278 -@node $B%j%8%g%sFbJ8;z$N(BURLencode, , $BJ8;z;2>H$X$NJQ99(B, Changing and Deleting 1.279 -@comment node-name, next, previous, up 1.280 -@section $B%j%8%g%sFbJ8;z$N(BURLencode 1.281 -@table 1.282 - @item [prefix] # 1.283 - @dots{} $B;XDj$7$?NN0hFb$K(B URLencode $B$9$Y$-J8;z$,$"$l$P$=$l$i$r(B 1.284 - $B%(%s%3!<%II=5-$KCV49!#(B 1.285 -@end table 1.286 - 1.287 -@node CSS Support, Customizations, Changing and Deleting, Top 1.288 -@comment node-name, next, previous, up 1.289 -@chapter CSS($B%9%?%$%k%7!<%H(B)$B%5%]!<%H(B 1.290 - 1.291 -@menu 1.292 -* CSS-class completion:: 1.293 -* Reread CSS file:: 1.294 -@end menu 1.295 - 1.296 -@node CSS-class completion, Reread CSS file, CSS Support, CSS Support 1.297 -@comment node-name, next, previous, up 1.298 -@section CSS$B%/%i%9L>Jd40(B 1.299 -HTML$B20$O(BCSS(Cascading Style Sheets)$B$N%/%i%9L>$rJd40F~NO$9$k$3$H$,$G$-$^$9!#(B 1.300 -$B%9%?%$%kDj5A$H$7$F(B 1.301 - 1.302 -@display 1.303 - h1.foo, h2.foo @{ background-color: 0xffffff; @} 1.304 - h1.bar, h2.bar @{ font-size: 120%; @} 1.305 -@end display 1.306 - 1.307 -$B$N$h$&$J$b$N$,$"$C$?>l9g$K!"(Bh1$B$^$?$O(Bh2$B%?%0$r(B [prefix] b $B$d(B [prefix] l $B$GJd(B 1.308 -$B40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J(B class $BL>$G$"$k(B foo, bar $B$r8uJd$H$7$FJd40(B 1.309 -$BF~NO$9$k$3$H$,2DG=$G$9!#$^$?(B 1.310 - 1.311 -@display 1.312 - .caution @{ font-size: 120%; background-color: 0xc00000;@} 1.313 -@end display 1.314 - 1.315 -$B$N$h$&$JA4$F$N%(%l%a%s%H$KF/$/(Bclass$B$,Dj5A$5$l$F$$$?>l9g$O!"A4$F$N%?%0$NJd(B 1.316 -$B40F~NO;~$K(Bclass$B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~(B 1.317 -$BNO3NDj$N$H$-$K%j%?!<%s%-!<(B($B$^$?$O(BC-m)$B$G$O$J$/!"(BC-j$B$r2!$;$P(Bclass$BJd40F~NO$r(B 1.318 -$B%-%c%s%;%k$G$-$^$9!#$?$H$($P(B 1.319 - 1.320 -@display 1.321 - @kbd{[prefix] l} $B9TFb%?%0Jd40$r5/F0(B 1.322 - ($B$^$?$O(B@kbd{[prefix] l SPC}) 1.323 - tt <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B 1.324 - @kbd{C-m} 1.325 -@end display 1.326 - 1.327 -$B$H$7$?>l9g$OB3$$$F(B class= $B$HJd40%W%m%s%W%H$,=P$^$9$,!"(B 1.328 - 1.329 -@display 1.330 - @kbd{[prefix] l} $B9TFb%?%0Jd40$r5/F0(B 1.331 - ($B$^$?$O(B@kbd{[prefix] l SPC}) 1.332 - tt <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B 1.333 - @kbd{C-j} 1.334 -@end display 1.335 - 1.336 -$B$H:G8e$r(B @kbd{C-j} $B$GF~NO$7$?>l9g$O(B class $BJd40%W%m%s%W%H$O=P$^$;$s!#(B 1.337 - 1.338 -@node Reread CSS file, , CSS-class completion, CSS Support 1.339 -@comment node-name, next, previous, up 1.340 -@section CSS$BDj5A%U%!%$%k$NFI$_D>$7(B 1.341 -html$B%U%!%$%k$rJT=8Cf$K(BCSS$BDj5A%U%!%$%k$r=$@5$7!"DI2C$7$?(B 1.342 -class$B$rJd408uJd$H$7$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B 1.343 -@kbd{M-x yahtml-mode} $B$H$7$F:F5/F0$r9T$C$F$/$@$5$$!#(B 1.344 - 1.345 -@node Customizations, Copying, CSS Support, Top 1.346 -@comment node-name, next, previous, up 1.347 -@chapter $B%+%9%?%^%$%:(B 1.348 -@cindex $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B] 1.349 -@cindex $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B] 1.350 - 1.351 -yahtml$B$NF0:n$r@)8f$9$kJQ?t$K$D$$$F@bL@$7$^$9!#(B 1.352 - 1.353 -@menu 1.354 -* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B 1.355 -* Hook variables:: hook$BJQ?t(B 1.356 -@end menu 1.357 - 1.358 -@node All customizable variables, Hook variables, Customizations, Customizations 1.359 -@comment node-name, next, previous, up 1.360 -@section $B%+%9%?%^%$%:JQ?t0lMw(B 1.361 - 1.362 -@defvar yahtml-prefix 1.363 -yahtml-mode $BCf$N%W%j%U%#%/%9%-!<(B (@kbd{\C-c}) 1.364 -@end defvar 1.365 - 1.366 -@defvar yahtml-image-viewer 1.367 -img$B$G;2>H$7$F$$$k2hA|%U%!%$%k$rI=<($9$k$H$-$K5/F0$9$k%3%^%s%I(B (xv) 1.368 -@end defvar 1.369 - 1.370 -@defvar yahtml-www-browser 1.371 -@kbd{[prefix]g} $B$G30It%Z!<%8$rI=<($9$k$H$-$K5/F0$9$k%V%i%&%6(B (netscape) 1.372 -@end defvar 1.373 - 1.374 -@defvar yahtml-kanji-code 1.375 -$B%G%U%)%k%H$N4A;z%3!<%I!#(B1=sjis, 2=jis, 3=euc (2) 1.376 -.htaccess $B%U%!%$%k$K(B 1.377 -@quotation 1.378 - AddType "text/html; charset=xxx" .html 1.379 -@end quotation 1.380 -$B$N5-=R$,$"$C$?>l9g$O$=$l$K=>$&(B 1.381 -@end defvar 1.382 - 1.383 -@defvar yahtml-fill-column 1.384 -auto-fill$B$9$k$H$-$N%+%i%`?t(B (72) 1.385 -@end defvar 1.386 - 1.387 -@defvar yahtml-fill-prefix 1.388 -yahtml-mode $B8GM-$N(Bfill-prefix (@code{nil}) 1.389 -@end defvar 1.390 - 1.391 -@defvar yahtml-path-url-alist 1.392 -OS$B$N%U%!%$%k%7%9%F%`>e$G$N%U%k%Q%9L>$H!"$=$N30It8x3+;~$N(BURL$B$NBP1~I=!#(B 1.393 -@end defvar 1.394 - 1.395 -@defvar yahtml-directory-index 1.396 -$B%5!<%P%"%/%;%9;~%U%!%$%kL>$r>JN,$7$?$H$-$K%G%U%)%k%H$G3+$+$l$k(B 1.397 -$B%$%s%G%C%/%9%U%!%$%k$NL>A0!#B?$/$N>l9g(B index.html$B!#(B(@code{"index.html"}) 1.398 -@end defvar 1.399 - 1.400 -@defvar yahtml-lint-program 1.401 -HTML$B9=J8%A%'%C%/%W%m%0%i%`!#(B(@code{"jweblint"}) 1.402 -@end defvar 1.403 - 1.404 -@defvar yahtml-hate-too-deep-indentation 1.405 -$B%M%9%H$7$?Ns5s7O4D6-$G$N%$%s%G%s%H$,?<$9$.$k$H$-$K(Bt$B$K$9$k!#(B(@code{nil}) 1.406 -@end defvar 1.407 - 1.408 -@defvar yahtml-always-/p 1.409 -@code{<p>} $B$r$$$l$?$iI,$:(B @code{</p>} $B$7$?$$?M8~$1!#(B@code{nil} 1.410 -@end defvar 1.411 - 1.412 -@defvar yahtml-p-prefered-env-regexp 1.413 -$B<+F0E*$K(B @code{<p>} $B$rF~$l$FM_$7$$4D6-!#(B@code{^\(body\|dl\)} 1.414 -@end defvar 1.415 - 1.416 -@defvar yahtml-template-file 1.417 -$B?75,(BHTML$B%U%!%$%k:n@.;~$K<+F0E*$KA^F~$7$FM_$7$$%U%!%$%kL>!#(B 1.418 -@file{"~/http/template.html"} 1.419 -@end defvar 1.420 - 1.421 -@defvar yahtml-prefer-upcases 1.422 -$B%?%0$KBgJ8;z$r;H$$$?$$!#(B@code{nil} 1.423 -@end defvar 1.424 - 1.425 -@defvar yahtml-prefer-upcase-attributes 1.426 -$BB0@-;XDj;R$KBgJ8;z$r;H$$$?$$!#(B@code{nil} 1.427 -@end defvar 1.428 - 1.429 -@defvar yahtml-server-type 1.430 -Apache$B7O$N%5!<%P$rMxMQ$7$F$$$k>l9g$O(B 'apache $B$r%;%C%H$9$k!#(B 1.431 -./.htaccess $B$r;2>H$9$k$+$I$&$+$r7hDj$9$k!#(B@code{'apache} 1.432 -@end defvar 1.433 - 1.434 -@defvar yahtml-apache-access-file 1.435 -@code{yahtml-server-type} $B$,(B @code{'apache} $B$N$H$-$K(B 1.436 -$B%"%/%;%9@)8B%U%!%$%kL>$r;XDj!#(B@file{".htaccess"} 1.437 -@end defvar 1.438 - 1.439 -@defvar yahtml-shell-command-option 1.440 -$B%7%'%k$GJL%3%^%s%I$r5/F0$9$k$H$-$N%*%W%7%g%s!#(B 1.441 -@end defvar 1.442 - 1.443 -@defvar yahtml-translate-hyphens-when-comment-region 1.444 -$BNN0h%3%a%s%H%"%&%H$r$9$k$H$-$K4{$KB8:_$9$k%O%$%U%s$r(B @code{-} $B$K(B 1.445 -$BJQ99$9$k$+$I$&$+!#(B(@code{t}) 1.446 -@end defvar 1.447 - 1.448 -@defvar yahtml-entity-reference-chars-alist 1.449 -$B%(%s%F%#%F%#;2>H(B(Entity Reference)$B$G5-=R$9$Y$-J8;z72$r(B 1.450 - @code{'(?$BJ8;z(B . "$B%(%s%F%#%F%#I=5-(B")} $B$H$$$&7A<0$rNs5s$7$?(B 1.451 -alist$B$GJB$Y$k!#%G%U%)%k%H$G(B @code{<}, @code{>}, @code{&}, @code{'}, 1.452 -@code{"} $B$KBP$9$k(Balist$B$,@_Dj$5$l$F$$$k$N$G!"DI2C$7$?$$J,$@$1$r5-=R$9$l$PNI(B 1.453 -$B$$!#(Bcdr$BIt(B @code{"$B%(%s%F%#%F%#I=5-(B"} $B$O!"@hF,$N(B @code{&} $B$H(B $BKvHx$N(B@code{;} 1.454 -$B$O4^$a$:$K=q$/!#(B 1.455 -@end defvar 1.456 - 1.457 -@defvar yahtml-faithful-to-htmllint 1.458 -$B9=J8%A%'%C%+$H$7$F(B htmllint $B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I$K(B 1.459 -$BBP$7$F$b7Y9p$r<($9$N$G!"$3$l$r2sHr$9$k$H$-$K$O$3$NJQ?t$r(B@code{t}$B$K(B 1.460 -$B$9$k!#(B 1.461 -@end defvar 1.462 - 1.463 -@defvar yahtml-use-css 1.464 -CSS$B$NJd405!G=$r;H$&$+$I$&$+(B (@code{t}) 1.465 -@end defvar 1.466 - 1.467 -@defvar yahtml-image-inspection-bytes 1.468 -$B2hA|%U%!%$%k$N%5%$%:$rD4$Y$k$H$-$KFI$_9~$`%P%$%H?t(B (@code{10000}) 1.469 -@end defvar 1.470 - 1.471 -@defvar yahtml:img-default-alt-format 1.472 -<img src...>$B$N(BALT$BB0@-$N%G%U%)%k%HJ8;zNs$N=q<0!#(B%x$B$O2hA|$NI}!"(B 1.473 -%y$B$O2hA|$N9b$5!"(B%s$B$O%U%!%$%k%5%$%:$KCV49$5$l$k(B (@code{"%xx%y(%sbytes)"}) 1.474 -@end defvar 1.475 - 1.476 -@defvar yahtml-escape-chars 1.477 -href$BJd40$J$I$N$H$-$KM=LsJ8;z$r(BURL$B%(%s%3!<%I$9$k$+(B; 1.478 -'ask$B$N$H$-$O3NG'$7$F$+$iCV49$9$k(B (@code{'ask}) 1.479 -@end defvar 1.480 - 1.481 -@defvar yahtml-use-font-lock 1.482 -$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+(B 1.483 -(@code{(featurep 'font-lock)}) 1.484 -@end defvar 1.485 - 1.486 -@defvar yahtml-hilit19 1.487 -$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+(B 1.488 -(@code{(featurep 'hilit19)}) 1.489 -@end defvar 1.490 - 1.491 -@node Hook variables, , All customizable variables, Customizations 1.492 -@comment node-name, next, previous, up 1.493 -@section hook$BJQ?t(B 1.494 - 1.495 - 1.496 -@node Copying, Concept Index, Customizations, Top 1.497 -@comment node-name, next, previous, up 1.498 -@chapter $B<h$j07$$(B 1.499 - 1.500 - $BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!#K\%W%m%0%i%`$r;HMQ$7$F@8$8$?$$$+$J(B 1.501 -$B$k7k2L$KBP$7$F$b:n<T$O@UG$$rIi$o$J$$$3$H$H$7$^$9!#E>:\Ey$K4X$7$F$O@)8B$$$?(B 1.502 -$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B 1.503 -$B$?$@$/$H!":n<T$O4n$s$G%5%]!<%H$KNe$`$3$H$G$7$g$&!#(B 1.504 - 1.505 - $B6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#(B 1.506 -$BO"Mm$O(B yuuji@@yatex.org $B$^$G(B(2000$BG/(B12$B7n8=:_(B)$B!#(B 1.507 -$B7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N2q!W$K(B 1.508 -$B@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B @file{docs/htmlqa} 1.509 -$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B 1.510 - 1.511 -$B;EMM$O!"M=9p$J$/3N<B$K(B($B5$J,<!Bh$G(B)$BJQ99$5$l$^$9(B:-p$B!#(B 1.512 - 1.513 -@flushright 1.514 -$B9-@%M:Fs(B 1.515 -@end flushright 1.516 - 1.517 - 1.518 -@node Concept Index, , Copying, Top 1.519 -@comment node-name, next, previous, up 1.520 -@unnumbered $B:w0z(B 1.521 -@printindex cp 1.522 - 1.523 - 1.524 -@contents 1.525 - 1.526 -@bye 1.527 - 1.528 -@c Local Variables: 1.529 -@c fill-column: 74 1.530 -@c fill-prefix: nil 1.531 -@c End: 1.532 - 1.533 -Tag table: 1.534 - 1.535 -End tag table 1.536 +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 1.537 +\input texinfo 1.538 +@setfilename yahtmlj 1.539 +@settitle Yet Another html-mode for Emacs 1.540 + 1.541 +@iftex 1.542 +@c @syncodeindex fn cp 1.543 +@c Last modified Fri Mar 1 16:16:33 2002 on firestorm 1.544 +@syncodeindex vr cp 1.545 +@end iftex 1.546 + 1.547 +@titlepage 1.548 +@sp 10 1.549 +@center 1.550 +@subtitle Yet Another html-mode for emacs 1.551 +@title 『HTML屋』 1.552 +@subtitle // yahtml // 1.553 +@author @copyright{} 1994-1997 by HIROSE, Yuuji [yuuji@@yatex.org] 1.554 +@end titlepage 1.555 + 1.556 +@node Top, Intro, (dir), (dir) 1.557 +@comment node-name, next, previous, up 1.558 + 1.559 +@menu 1.560 +* Intro:: はじめに 1.561 +* Installation:: インストール 1.562 +* Command Invocation:: 外部コマンド起動 1.563 +* Completion:: 補完入力 1.564 +* Jump:: カーソルジャンプ 1.565 +* Changing and Deleting:: 変更と削除 1.566 +* CSS Support:: スタイルシート補完 1.567 +* Customizations:: カスタマイズ変数一覧 1.568 +* Copying:: とりあつかい 1.569 +* Concept Index:: 索引 1.570 + 1.571 +@end menu 1.572 + 1.573 +@node Intro, Installation, Top, Top 1.574 +@comment node-name, next, previous, up 1.575 +@chapter はじめに 1.576 +@cindex Demacs 1.577 +@cindex Mule 1.578 +@cindex LaTeX 1.579 +@cindex HTML屋[HTMLや] 1.580 + 1.581 +yahtmlは GNU Emacs 上で HTML文書を作成する時に、繁雑なHTMLタグの入力を補 1.582 +完機能によってスムーズに行えるようにするだけでなく、weblintなどの構文チェッ 1.583 +クプログラム、カーソル位置のURLやファイル名に依存したブラウザ/イメージヴュー 1.584 +アの起動などを Emacs 編集画面中から 1.585 +行えるようにするパッケージです。 1.586 + 1.587 +(このInfoは未完成です(__)…) 1.588 + 1.589 +@node Installation, Command Invocation, Intro, Top 1.590 +@comment node-name, next, previous, up 1.591 +@chapter インストール 1.592 +@menu 1.593 +* yahtml起動のための設定:: 1.594 +* lintプログラム/ブラウザ/イメージヴューア環境等の設定:: 1.595 +* WWWページ環境用変数の設定:: 1.596 +@end menu 1.597 + 1.598 +@node yahtml起動のための設定, lintプログラム/ブラウザ/イメージヴューア環境等の設定, Installation, Installation 1.599 +@section yahtml起動のための設定 1.600 + 1.601 + 1.602 +@file{~/.emacs}に下の2項目を加えます。 1.603 + 1.604 +@lisp 1.605 +(setq auto-mode-alist 1.606 + (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) 1.607 +(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) 1.608 +@end lisp 1.609 + 1.610 +次にyahtmlに必要なファイル(@file{yahtml.el}, @file{yatexlib.el}, 1.611 +@file{yatexprc.el}) を置くディレクトリを load-path に加えます。たとえば、 1.612 +@file{~/src/emacs/yahtml}に置くのであれば、 1.613 + 1.614 +@lisp 1.615 +(setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) 1.616 +@end lisp 1.617 + 1.618 +@noindent 1.619 +などとします。 1.620 + 1.621 + 以上の設定により、拡張子が .html であるファイルを編集すると自動的に 1.622 +yahtml がロードされます。yahtmlが正常に起動できたときはモードラインの表示が 1.623 +「yahtml」に変わります。 1.624 + 1.625 +@node lintプログラム/ブラウザ/イメージヴューア環境等の設定, WWWページ環境用変数の設定, yahtml起動のための設定, Installation 1.626 +@section lintプログラム/ブラウザ/イメージヴューア環境等の設定 1.627 + 1.628 +利用する外部プログラムなどに関する以下の変数を確認し、必要なら正しい値に変 1.629 +更します(括弧内はデフォルト値)。 1.630 +@table @code 1.631 +@item yahtml-www-browser 1.632 + @dots{} 起動するブラウザのコマンド名(netscape) 1.633 +@item yahtml-image-viewer 1.634 + @dots{} 起動する画像ビューアのコマンド名(xv) 1.635 +@item yahtml-lint-program 1.636 + @dots{} 構文チェックプログラムのコマンド名(jweblint) 1.637 +@item yahtml-kanji-code 1.638 + @dots{} htmlファイルの漢字コード 1.639 +@end table 1.640 + 1.641 +@node WWWページ環境用変数の設定, , lintプログラム/ブラウザ/イメージヴューア環境等の設定, Installation 1.642 +@section WWWページ環境用変数の設定 1.643 + 1.644 +ホームページとなるファイルが存在するPATH名に関する変数を設定します。 1.645 +@table @code 1.646 +@item yahtml-path-url-alist 1.647 + @dots{} ファイルシステム上のPATH名と、URLの対応表 1.648 +@item yahtml-directory-index 1.649 + @dots{} URL指定でファイル名を省略したときに表示されるインデックス 1.650 + ファイル名(NCSA系httpdなら @file{index.html}, CERN系なら 1.651 + @file{Welcome.html}が一般的) 1.652 +@end table 1.653 + 1.654 +変数 @code{yahtml-path-url-alist} の設定例を示します。例えば、自宅では、 1.655 +@file{/home/yuuji/http/} が @code{http://localhost/~yuuji} で参照でき、職 1.656 +場では @file{/usr/home/yuuji/www/} が@code{http://www.keio.ac.jp/~yuuji/} 1.657 +で参照できるようになっている場合は以下のように設定します。 1.658 + 1.659 +@lisp 1.660 +(setq yahtml-path-url-alist 1.661 + '(("/home/yuuj/http" . "http://localhost/~yuuji") 1.662 + ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) 1.663 +@end lisp 1.664 + 1.665 +この対応組はいくらでも設定することができます。 1.666 + 1.667 +@node Command Invocation, Completion, Installation, Top 1.668 +@comment node-name, next, previous, up 1.669 +@chapter 外部コマンド起動 1.670 + 1.671 +HTMLファイル編集にかかわるいくつかのコマンドを即座に呼ぶことができます。 1.672 +@table @kbd 1.673 +@item [prefix] t j 1.674 + @dots{} HTML構文チェッカ(jweblint)起動 1.675 +@item [prefix] t p 1.676 + @dots{} 現在のページを対象としたブラウザ起動 1.677 +@item [prefix] t r 1.678 + @dots{} 現在のページがブラウザに表示されているときのreload指定 1.679 +@end table 1.680 + 1.681 +@node Completion, Jump, Command Invocation, Top 1.682 +@comment node-name, next, previous, up 1.683 +@chapter 補完入力 1.684 + 1.685 +「野鳥」で利用できる、「begin型補完」、「section型補完」、 1.686 +「large型補完」、「maketitle型補完」、「アクセント補完」 1.687 +と全く同じキー操作で対応する 1.688 +HTMLタグの補完入力ができます。それぞれの型の補完は順に、 1.689 +「複数行に渡るタグ入力」、「空要素タグ(imgなど)の補完」、 1.690 +「一行内での開始/終了タグの入力」、「空要素空属性タグの入力」、 1.691 +「文字参照入力」 1.692 +に 1.693 +対応しています。具体的には 1.694 + 1.695 +@table @kbd 1.696 +@item [prefix] b (野鳥のbegin補完に対応) 1.697 +@dots{} 1.698 +@example 1.699 +<ul> 1.700 +</ul> 1.701 +@end example 1.702 + 1.703 +@noindent 1.704 +のように開始タグと終了タグを二行に渡って書きたい場合の補完を指します。 1.705 +おもにブロック型タグが補完候補に含まれます。 1.706 + 1.707 +@item [prefix] s (野鳥のsection型補完に対応) 1.708 +@dots{} 1.709 +@example 1.710 +<img src="foo.gif" alt="photo"> 1.711 +@end example 1.712 + 1.713 +@noindent 1.714 +のように終了タグを持たず、かつ属性値のみで機能を指定するタグを補完します。 1.715 +補完候補としては、img, input が存在します。 1.716 + 1.717 +@item [prefix] l (野鳥のlarge型補完に対応) 1.718 +@dots{} begin型補完とほぼ同じですが、 1.719 + 1.720 +@example 1.721 +<big> 〜 </big> 1.722 +@end example 1.723 + 1.724 +@noindent 1.725 +のように一行内に開始/終了タグを入れたいときに利用します。 1.726 + 1.727 +@item [prefix] m (野鳥のmaketitle型補完に対応) 1.728 +@dots{} 要素も属性値も持たないタグを補完入力します。<br> 1.729 +などが補完候補に相当します。 1.730 + 1.731 +@item [prefix] a (野鳥のアクセント補完に対応) 1.732 +@dots{} エンティティ参照による文字表記を入力するときに用います。 1.733 +デフォルトでは < (<), > (>), & (&), " ("), ' ('), 1.734 +ブランク ( ) の補完入力が行えます。 1.735 +@end table 1.736 + 1.737 +@node Jump, Changing and Deleting, Completion, Top 1.738 +@comment node-name, next, previous, up 1.739 +@chapter カーソルジャンプ 1.740 +文書中のいろいろな場所で 1.741 + 1.742 +@table @kbd 1.743 +@item [prefix] g 1.744 + @dots{} 対応するオブジェクトにジャンプ 1.745 +@end table 1.746 + 1.747 +@noindent 1.748 +を押すことにより、カーソル位置のHTML構文に対応する場所にジャンプ 1.749 +します。対応関係が存在すると解釈されるコマンドには以下のものがあります。 1.750 + 1.751 +@itemize @bullet 1.752 +@item @code{<TAG>} ←→ @code{</TAG>} 1.753 +@item @code{<img src="画像ファイル">} → 対応するviewer起動 1.754 +@item @code{<a href="リンク先">} → リンク先へのポイント移動 1.755 +@item @code{<applet code="プログラム">} → Javaソースプログラムへの移動 1.756 +@c @item @code{\include(\input)} → 対応するファイル 1.757 +@end itemize 1.758 + 1.759 +@node Changing and Deleting, CSS Support, Jump, Top 1.760 +@comment node-name, next, previous, up 1.761 +@chapter 変更/削除 1.762 + 1.763 +@menu 1.764 +* 対タグの変更:: 1.765 +* 文字参照への変更:: 1.766 +* リジョン内文字のURLencode:: 1.767 +@end menu 1.768 + 1.769 +@node 対タグの変更, 文字参照への変更, Changing and Deleting, Changing and Deleting 1.770 +@comment node-name, next, previous, up 1.771 +@section 対タグの変更 1.772 +文書中のいろいろな場所で 1.773 + 1.774 +@table @kbd 1.775 +@item [prefix] c 1.776 + @dots{} 対応するタグ等を変更 1.777 +@end table 1.778 + 1.779 +@noindent 1.780 +を押すことにより、カーソル位置のHTML構文に応じた 1.781 +記述内容の変更を行います。カーソル位置と変更する内容の 1.782 +対応は以下の通りです。 1.783 + 1.784 +@itemize @bullet 1.785 +@item @code{<TAG>}〜@code{</TAG>} 1.786 +@dots{} @code{TAG} の変更 1.787 +@item @code{<img src="画像ファイル" alt="photo">} などの属性値 1.788 +@dots{} 属性値の変更 1.789 +@end itemize 1.790 + 1.791 +@node 文字参照への変更, リジョン内文字のURLencode, 対タグの変更, Changing and Deleting 1.792 +@comment node-name, next, previous, up 1.793 +@section 文字参照への変更 1.794 +文字としての < や > を表現するときは、文字参照を用いて 1.795 +< や > と表記する必要がありますが、 1.796 +HTML以外のファイルからこれらの文字を含むテキストを張り込んだ場合 1.797 +などに、これらの文字を一括して文字参照形式に変換できます。 1.798 + 1.799 +@table @kbd 1.800 +@item [prefix] ; 1.801 + @dots{} 指定した領域の文字参照に置き換えるべき文字の置換 1.802 +@item [prefix] : 1.803 + @dots{} 指定した領域の文字参照を参照文字そのものに置換 1.804 + ([prefix] ; の逆変換) 1.805 +@end table 1.806 + 1.807 + 1.808 +@node リジョン内文字のURLencode, , 文字参照への変更, Changing and Deleting 1.809 +@comment node-name, next, previous, up 1.810 +@section リジョン内文字のURLencode 1.811 +@table 1.812 + @item [prefix] # 1.813 + @dots{} 指定した領域内に URLencode すべき文字があればそれらを 1.814 + エンコード表記に置換。 1.815 +@end table 1.816 + 1.817 +@node CSS Support, Customizations, Changing and Deleting, Top 1.818 +@comment node-name, next, previous, up 1.819 +@chapter CSS(スタイルシート)サポート 1.820 + 1.821 +@menu 1.822 +* CSS-class completion:: 1.823 +* Reread CSS file:: 1.824 +@end menu 1.825 + 1.826 +@node CSS-class completion, Reread CSS file, CSS Support, CSS Support 1.827 +@comment node-name, next, previous, up 1.828 +@section CSSクラス名補完 1.829 +HTML屋はCSS(Cascading Style Sheets)のクラス名を補完入力することができます。 1.830 +スタイル定義として 1.831 + 1.832 +@display 1.833 + h1.foo, h2.foo @{ background-color: 0xffffff; @} 1.834 + h1.bar, h2.bar @{ font-size: 120%; @} 1.835 +@end display 1.836 + 1.837 +のようなものがあった場合に、h1またはh2タグを [prefix] b や [prefix] l で補 1.838 +完入力した場合に、それらに有効な class 名である foo, bar を候補として補完 1.839 +入力することが可能です。また 1.840 + 1.841 +@display 1.842 + .caution @{ font-size: 120%; background-color: 0xc00000;@} 1.843 +@end display 1.844 + 1.845 +のような全てのエレメントに働くclassが定義されていた場合は、全てのタグの補 1.846 +完入力時にclass参照入力を求められます。これが煩わしい場合はエレメント名入 1.847 +力確定のときにリターンキー(またはC-m)ではなく、C-jを押せばclass補完入力を 1.848 +キャンセルできます。たとえば 1.849 + 1.850 +@display 1.851 + @kbd{[prefix] l} 行内タグ補完を起動 1.852 + (または@kbd{[prefix] l SPC}) 1.853 + tt <tt></tt>をいれたいのでttと入力 1.854 + @kbd{C-m} 1.855 +@end display 1.856 + 1.857 +とした場合は続いて class= と補完プロンプトが出ますが、 1.858 + 1.859 +@display 1.860 + @kbd{[prefix] l} 行内タグ補完を起動 1.861 + (または@kbd{[prefix] l SPC}) 1.862 + tt <tt></tt>をいれたいのでttと入力 1.863 + @kbd{C-j} 1.864 +@end display 1.865 + 1.866 +と最後を @kbd{C-j} で入力した場合は class 補完プロンプトは出ません。 1.867 + 1.868 +@node Reread CSS file, , CSS-class completion, CSS Support 1.869 +@comment node-name, next, previous, up 1.870 +@section CSS定義ファイルの読み直し 1.871 +htmlファイルを編集中にCSS定義ファイルを修正し、追加した 1.872 +classを補完候補として直ちに読み込ませたい場合は、 1.873 +@kbd{M-x yahtml-mode} として再起動を行ってください。 1.874 + 1.875 +@node Customizations, Copying, CSS Support, Top 1.876 +@comment node-name, next, previous, up 1.877 +@chapter カスタマイズ 1.878 +@cindex カスタマイズ[かすたまいす] 1.879 +@cindex キーアサイン[きいあさいん] 1.880 + 1.881 +yahtmlの動作を制御する変数について説明します。 1.882 + 1.883 +@menu 1.884 +* All customizable variables:: カスタマイズ変数一覧 1.885 +* Hook variables:: hook変数 1.886 +@end menu 1.887 + 1.888 +@node All customizable variables, Hook variables, Customizations, Customizations 1.889 +@comment node-name, next, previous, up 1.890 +@section カスタマイズ変数一覧 1.891 + 1.892 +@defvar yahtml-prefix 1.893 +yahtml-mode 中のプリフィクスキー (@kbd{\C-c}) 1.894 +@end defvar 1.895 + 1.896 +@defvar yahtml-image-viewer 1.897 +imgで参照している画像ファイルを表示するときに起動するコマンド (xv) 1.898 +@end defvar 1.899 + 1.900 +@defvar yahtml-www-browser 1.901 +@kbd{[prefix]g} で外部ページを表示するときに起動するブラウザ (netscape) 1.902 +@end defvar 1.903 + 1.904 +@defvar yahtml-kanji-code 1.905 +デフォルトの漢字コード。1=sjis, 2=jis, 3=euc (2) 1.906 +.htaccess ファイルに 1.907 +@quotation 1.908 + AddType "text/html; charset=xxx" .html 1.909 +@end quotation 1.910 +の記述があった場合はそれに従う 1.911 +@end defvar 1.912 + 1.913 +@defvar yahtml-fill-column 1.914 +auto-fillするときのカラム数 (72) 1.915 +@end defvar 1.916 + 1.917 +@defvar yahtml-fill-prefix 1.918 +yahtml-mode 固有のfill-prefix (@code{nil}) 1.919 +@end defvar 1.920 + 1.921 +@defvar yahtml-path-url-alist 1.922 +OSのファイルシステム上でのフルパス名と、その外部公開時のURLの対応表。 1.923 +@end defvar 1.924 + 1.925 +@defvar yahtml-directory-index 1.926 +サーバアクセス時ファイル名を省略したときにデフォルトで開かれる 1.927 +インデックスファイルの名前。多くの場合 index.html。(@code{"index.html"}) 1.928 +@end defvar 1.929 + 1.930 +@defvar yahtml-lint-program 1.931 +HTML構文チェックプログラム。(@code{"jweblint"}) 1.932 +@end defvar 1.933 + 1.934 +@defvar yahtml-hate-too-deep-indentation 1.935 +ネストした列挙系環境でのインデントが深すぎるときにtにする。(@code{nil}) 1.936 +@end defvar 1.937 + 1.938 +@defvar yahtml-always-/p 1.939 +@code{<p>} をいれたら必ず @code{</p>} したい人向け。@code{nil} 1.940 +@end defvar 1.941 + 1.942 +@defvar yahtml-p-prefered-env-regexp 1.943 +自動的に @code{<p>} を入れて欲しい環境。 1.944 +(@code{"^\\(body\\|dl\\|blockquote\\)"}) 1.945 +@end defvar 1.946 + 1.947 +@defvar yahtml-template-file 1.948 +新規HTMLファイル作成時に自動的に挿入して欲しいファイル名。 1.949 +@file{"~/http/template.html"} 1.950 +@end defvar 1.951 + 1.952 +@defvar yahtml-prefer-upcases 1.953 +タグに大文字を使いたい。@code{nil} 1.954 +@end defvar 1.955 + 1.956 +@defvar yahtml-prefer-upcase-attributes 1.957 +属性指定子に大文字を使いたい。@code{nil} 1.958 +@end defvar 1.959 + 1.960 +@defvar yahtml-server-type 1.961 +Apache系のサーバを利用している場合は 'apache をセットする。 1.962 +./.htaccess を参照するかどうかを決定する。@code{'apache} 1.963 +@end defvar 1.964 + 1.965 +@defvar yahtml-apache-access-file 1.966 +@code{yahtml-server-type} が @code{'apache} のときに 1.967 +アクセス制限ファイル名を指定。@file{".htaccess"} 1.968 +@end defvar 1.969 + 1.970 +@defvar yahtml-shell-command-option 1.971 +シェルで別コマンドを起動するときのオプション。 1.972 +@end defvar 1.973 + 1.974 +@defvar yahtml-translate-hyphens-when-comment-region 1.975 +領域コメントアウトをするときに既に存在するハイフンを @code{-} に 1.976 +変更するかどうか。(@code{t}) 1.977 +@end defvar 1.978 + 1.979 +@defvar yahtml-entity-reference-chars-alist 1.980 +エンティティ参照(Entity Reference)で記述すべき文字群を 1.981 + @code{'(?文字 . "エンティティ表記")} という形式を列挙した 1.982 +alistで並べる。デフォルトで @code{<}, @code{>}, @code{&}, @code{'}, 1.983 +@code{"} に対するalistが設定されているので、追加したい分だけを記述すれば良 1.984 +い。cdr部 @code{"エンティティ表記"} は、先頭の @code{&} と 末尾の@code{;} 1.985 +は含めずに書く。 1.986 +@end defvar 1.987 + 1.988 +@defvar yahtml-faithful-to-htmllint 1.989 +構文チェッカとして htmllint を利用する場合ちょっとした余計な空白などに 1.990 +対しても警告を示すので、これを回避するときにはこの変数を@code{t}に 1.991 +する。 1.992 +@end defvar 1.993 + 1.994 +@defvar yahtml-use-css 1.995 +CSSの補完機能を使うかどうか (@code{t}) 1.996 +@end defvar 1.997 + 1.998 +@defvar yahtml-image-inspection-bytes 1.999 +画像ファイルのサイズを調べるときに読み込むバイト数 (@code{10000}) 1.1000 +@end defvar 1.1001 + 1.1002 +@defvar yahtml:img-default-alt-format 1.1003 +<img src...>のALT属性のデフォルト文字列の書式。%xは画像の幅、 1.1004 +%yは画像の高さ、%sはファイルサイズに置換される (@code{"%xx%y(%sbytes)"}) 1.1005 +@end defvar 1.1006 + 1.1007 +@defvar yahtml-escape-chars 1.1008 +href補完などのときに予約文字をURLエンコードするか; 1.1009 +'askのときは確認してから置換する (@code{'ask}) 1.1010 +@end defvar 1.1011 + 1.1012 +@defvar yahtml-use-font-lock 1.1013 +ソースの色づけパッケージとして font-lock を利用するか 1.1014 +(@code{(featurep 'font-lock)}) 1.1015 +@end defvar 1.1016 + 1.1017 +@defvar yahtml-use-hilit19 1.1018 +ソースの色づけパッケージとして hilit19 を利用するか 1.1019 +(@code{(featurep 'hilit19)}) 1.1020 +@end defvar 1.1021 + 1.1022 +@defvar yahtml-indentation-boundary 1.1023 +インデント計算を打ち切ってよい境界となる正規表現 1.1024 +(@code{"^\\s *<h[1-3]>"}) 1.1025 +@end defvar 1.1026 + 1.1027 +@node Hook variables, , All customizable variables, Customizations 1.1028 +@comment node-name, next, previous, up 1.1029 +@section hook変数 1.1030 + 1.1031 + 1.1032 +@node Copying, Concept Index, Customizations, Top 1.1033 +@comment node-name, next, previous, up 1.1034 +@chapter 取り扱い 1.1035 + 1.1036 + 本プログラムはフリーソフトウェアです。本プログラムを使用して生じたいかな 1.1037 +る結果に対しても作者は責任を負わないこととします。転載等に関しては制限いた 1.1038 +しません。常識的に扱ってください。また、使用している旨をメイルでお知らせい 1.1039 +ただくと、作者は喜んでサポートに励むことでしょう。 1.1040 + 1.1041 + 苦情、希望、バグ報告、感想等は歓迎いたします。 1.1042 +連絡は yuuji@@yatex.org まで(2000年12月現在)。 1.1043 +継続的に使用してくださる方はメイリングリスト「fj野鳥の会」に 1.1044 +是非加入してください。加入方法については本パッケージの @file{docs/htmlqa} 1.1045 +ファイルの「その他」の章を御覧ください。 1.1046 + 1.1047 +仕様は、予告なく確実に(気分次第で)変更されます:-p。 1.1048 + 1.1049 +@flushright 1.1050 +広瀬雄二 1.1051 +@end flushright 1.1052 + 1.1053 + 1.1054 +@node Concept Index, , Copying, Top 1.1055 +@comment node-name, next, previous, up 1.1056 +@unnumbered 索引 1.1057 +@printindex cp 1.1058 + 1.1059 + 1.1060 +@contents 1.1061 + 1.1062 +@bye 1.1063 + 1.1064 +@c Local Variables: 1.1065 +@c fill-column: 74 1.1066 +@c fill-prefix: nil 1.1067 +@c buffer-file-coding-system: sjis-dos 1.1068 +@c End: 1.1069 + 1.1070 +Tag table: 1.1071 + 1.1072 +End tag table