diff --git a/docs/yatexe.tex b/docs/yatexe.tex index 851e6a6..ad38d1f 100644 --- a/docs/yatexe.tex +++ b/docs/yatexe.tex @@ -5,7 +5,7 @@ @iftex @c @syncodeindex fn cp -@c Last modified Fri Dec 22 09:50:10 2000 on buell +@c Last modified Fri Feb 2 12:39:12 2001 on firestorm @syncodeindex vr cp @end iftex @@ -257,7 +257,7 @@ overwriting. The method of specification of the region is shown in the section @xref{%#notation}. - The documentstyle for typeset-region is the same as that of editing + The documentclass for typeset-region is the same as that of editing file if you edit one file, and is the same as main file's if you edit splitting files. @@ -607,7 +607,7 @@ then the prompt @example - (C-v for view) \???@{@} (default documentstyle): + (C-v for view) \???@{@} (default documentclass): @end example @noindent @@ -626,7 +626,7 @@ example, the following inputs @example - \???@{@} (default documentstyle): section + \???@{@} (default documentclass): section \section@{???@}: Hello world. @end example @@ -953,7 +953,7 @@ minibuffer, YaTeX asks you with the following prompt; @example - `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscad + `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard @end example @noindent @@ -1737,11 +1737,11 @@ @end defvar @defvar YaTeX-help-file -Global online help file name (@file{$EMACS/etc/YATEXHLP.jp}) +Global online help file name (@file{$doc-directory/../../site-lisp/YATEXHLP.eng}) @end defvar @defvar YaTeX-help-file-private -Private online help file name (@file{"~/YATEXHLP.jp"}) +Private online help file name (@file{"~/YATEXHLP.eng"}) @end defvar @defvar YaTeX-no-begend-shortcut @@ -1803,7 +1803,7 @@ @end defvar @defvar YaTeX-use-LaTeX2e -If you use LaTeX2e, set to @code{t} (@code{nil}) +If you use LaTeX2e, set to @code{t} (@code{t}) @end defvar @defvar YaTeX-template-file diff --git a/docs/yatexj.tex b/docs/yatexj.tex index a1b9933..cb31a42 100644 --- a/docs/yatexj.tex +++ b/docs/yatexj.tex @@ -1,2160 +1,2162 @@ -\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 -\input texinfo -@setfilename yatexj -@settitle Yet Another tex-mode for Emacs - -@iftex -@c @syncodeindex fn cp -@c $B$$$D$bK:$l$k$N$G$3$3$K=q$$$H$/$+!#(B -@c C-l C-c n $B$G%N!<%IF~$l(B -@c $B%N!<%I$$$8$C$?$i(B C-l C-u C-n $BA4It$N%N!<%I99?7(B C-l C-u C-e -@c $B%a%K%e!H>e$NCm0U(B -* Main features:: $B!%Q%C%1!<%8$H$NO"7H(B -* Customizations:: $B%+%9%?%^%$%:(B -* Etc:: $B$=$NB>(B -* Copying:: $Be$N0z?t$r$H$k(B section$B7?%3%^%s%I(B:: -* Enclose section-type command:: $B3g$jJd40(B -* Recursive completion:: $B:F5"Jd40(B -* view-sectioning:: $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B - -$B%+!<%=%k%8%c%s%W(B - -* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B:: -* $B$*3(IA$-%D!<%k5/F0(B:: -* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B:: -* $B4D6-$rC10L$H$7$?%8%c%s%W(B:: -* $B:G8e$NJd400LCV$X$N%8%c%s%W(B:: - -$BJQ99(B/$B:o=|(B - -* Changing LaTeX command:: La@TeX{} $B%3%^%s%I$NJQ99(B -* Killing LaTeX command:: La@TeX{} $B%3%^%s%I$N:o=|(B - -$B%+%9%?%^%$%:(B - -* Lisp variables:: lisp $BJQ?t(B -* Add-in functions:: $BIU2C4X?t(B($B%"%I%$%s4X?t(B) - -lisp $BJQ?t(B - -* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B -* Sample definitions:: $B%+%9%?%^%$%:JQ?t@_DjNc(B -* Hook variables:: hook$BJQ?t(B -* Hook file:: hook$BMQ%U%!%$%k(B -@end menu - -@node Intro, Terminology, Top, Top -@comment node-name, next, previous, up -@chapter $B$O$8$a$K(B -@cindex Demacs -@cindex Mule -@cindex LaTeX -@cindex $B$d$A$g$&(B[$B$d$A$h$&(B] - - $BLnD;$O!"(BGNU Emacs $B$G(B La@TeX{} $BMQ$NJ8=q$r:n@.$9$k;~$K(B jLa@TeX{} $B$J$I$N(B -$B%?%$%W%;%C%H%3%^%s%I$d!"%W%l%t%e!<%"$N5/F0$r(B Emacs $BJT=82hLLCf$+$i(B -$B9T$($k$h$&$K$9$k$H6&$K!"3HD%@-$N9b$$H>e$NCm0U(B - - $BK\%^%K%e%"%k$G$O0J2<$NI=5-$rMQ$$$^$9!#(B - -@itemize @bullet -@item -begin$B7?%3%^%s%I(B - -@code{\begin@{$B4D6-(B@} $B!A(B \end@{$B4D6-(B@}}$B$H$$$&7A<0$N(BLaTeX$B%3%^%s%I$r;X$7$^$9!#(B -begin$B7?%3%^%s%I$rJd40F~NO$9$k$3$H$r(Bbegin$B7?Jd40$H8F$S$^$9!#(B - -@item -section$B7?%3%^%s%I(B - -@code{\section@{$B%?%$%H%k(B@}}$B$d(B@code{\mbox@{$BFbMF(B@}}$B$N$h$&$K(B -$B0z?t$rl9gK\%^%K%e%"%k$N(B @kbd{[prefix]} $B$H(B -$B$$$&I=5-$O!"(B@kbd{C-c} $B$HFI$_49$($F$/$@$5$$!#(B -@end itemize - -@node Main features, Installation, Terminology, Top -@comment node-name, next, previous, up -@chapter $BoJd40%-!<(B) -@item $B%;%/%7%g%s6h@Z$jF~NO;~$NJ8=q9=B$%"%&%H%i%$%sI=<((B -@item $B%;%/%7%g%s%3%^%s%I$N0l3g%7%U%H(B (@ref{view-sectioning}) -@item $BJd40<-=q$N3X=,(B -@item La@TeX{} $B$N4D6-$d%3%^%s%I$K1~$8$?%,%$%IIU$-0z?tF~NO(B -@item $BLnD;$K$J$$%,%$%IIU$-0z?tF~NO4X?t$N<+F0@8@.(B(@file{yatexgen.el}) -@item La@TeX{} $B%3%^%s%I$N:o=|(B/$BJQ99(B(@kbd{C-c k}, @kbd{C-c c}) -@item $B%U%!%$%k4V!"(B@code{\begin}<->@code{\end}$B4V!"(B - @code{\ref}<->@code{\label}$B4V!"(B - @code{\cite}<->@code{\bibitem}$B%8%c%s%W(B(@kbd{C-c g}) -@item $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B - (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .}) -@item $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B - (@kbd{C-c a}, @kbd{;}, @kbd{/}) -@item tabular/array$B4D6-$N%+%i%`0LCV%,%$%I(B -@item $BI8=`E*(B La@TeX{} $B%3%^%s%I$N%*%s%i%$%s%X%k%W(B(@kbd{C-c ?}, @kbd{C-c /}) -@item $B%I%-%e%a%s%H$N%$%s%/%k!<%I9=B$$N;k3PE*I=<($H%P%C%U%!@Z$jBX$((B -(@kbd{C-c d}) -@end itemize - -@node Installation, Invocation, Main features, Top -@comment node-name, next, previous, up -@chapter $B5/F0K!(B -@cindex Install -@cindex $B%$%s%9%H!<%k(B[$B$$$s$9$H$*$k(B] -@cindex .emacs -@cindex auto-mode-alist -@cindex autoload -@section $BLnD;5/F0$N$?$a$N@_Dj(B - - ~/.emacs$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B - -@lisp -(setq auto-mode-alist - (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) -(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) -@end lisp - -$Be$N@_Dj$K$h$j!"3HD%;R$,(B .tex $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$KLnD;$,(B -$B%m!<%I$5$l$^$9!#LnD;$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<($,!V$d$F$U!W(B -$B$KJQ$o$j$^$9!#(B - -@section $B%?%$%W%;%C%?(B/$B%W%l%t%e!<%"4D6-$N@_Dj(B - - $BMxMQ$9$k30It%W%m%0%i%`$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ99(B -$B$7$^$9!#(B -@table @code -@item tex-command - @dots{} $B5/F0$9$k%?%$%W%;%C%?$N%3%^%s%IL>(B -@item dvi2-command - @dots{} $B5/F0$9$k%W%l%t%e!<%"$N%3%^%s%IL>(B -@item NTT-jTeX - @dots{} $B2~9T(B+$B%$%s%G%s%H$K$h$C$F!"%?%$%W%;%C%H8e$N;z4V$,6u$$$F$7$^(B - $B$&$N$rM^@)$9$k>l9g$K(Bt$B$K$9$k(B($B8E$$(BNTT-jTeX$B$G82Cx$K8=$l$k(B)$B!#6qBNE*$K$O!"(B - fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B -@item YaTeX-kanji-code - @dots{} $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B -@item dviprint-command-format - @dots{} $B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%INs$N=q<0(B -@item makeindex-command - @dots{} makeindex$B%3%^%s%I(B -@end table - -$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B@file{~/.emacs}$B$K$F!"$?$H$($P(B -@lisp -(setq tex-command "bigjlatex") -@end lisp -$B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$$F$O!"(B -@ref{All customizable variables}$B$r;2>H$7$F$/$@$5$$!#(B - - -@node Invocation, %#notation , Installation, Top -@comment node-name, next, previous, up -@chapter latex$B%3%^%s%I5/F0(B -@cindex prefix key -@cindex C-c -@cindex $B%?%$%W%;%C%?(B[$B$?$$$U$;$D$?(B] -@cindex $B%W%l%t%e!<%"(B[$B$U$l$R$f$&$"(B] -@cindex jlatex -@cindex $B%W%j%s%H%"%&%H(B[$B$U$j$s$H$"$&$H(B] - -LaTeX$B%=!<%9$NJT=8Cf!"l9g$K$O%?%$%W%;%C%H%P%C%U%!$K0\$j!"(B(@kbd{C-x o}) $B%?%$%W%;%C%?$N=P(B -$B$7$F$$$k(B ? $B%W%m%s%W%H$KBP$7$F!"(B@kbd{x} ($B=hM}$NCfCG(B)$B$J$I$N;X<($rAw$k$3$H$,(B -$B$G$-$^$9!#%(%i!<$r=$@5$9$k>l9g$O!"(B - -@table @kbd -@item [prefix] ' -@itemx (prefix+$B%"%]%9%H%m%U%#(B) - @dots{} $BD>A0$N%(%i!l9g$O!"%?%$%W%;%C%H%P%C%U%!$G!"%((B -$B%i!<$NI=<($5$l$F$$$k9T$K%+!<%=%k$r9g$o$;%9%Z!<%9%-!<$r2!$9$H(B La@TeX{} -$B%=!<%9$NBP1~$9$k9T$K%8%c%s%W$7$^$9!#(B - -@subsection $BNN0h%?%$%W%;%C%H(B - - $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B @code{%#BEGIN} $B$H(B -@code{%#END}$B$N4V$NNN0h(B(@ref{%#notation})$B$@$1$r@Z$jl9g$N(B documentstyle $B$O!"C10l%U%!%$%k$N(B La@TeX{} $B%=!<%9$NJT(B -$B=8;~$K$O$=$N%U%!%$%k$N(B documentstyle $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l(B -$B9g$K$O%a%$%s%U%!%$%k$N(B documentstyle $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"(B -$B%a%$%s%U%!%$%k$N$"$k%G%#%l%/%H%j$N(B@file{texput.tex}$B$H$$$&NW;~%U%!%$%k$K=P(B -$BNO$5$l$^$9$N$G!">e=q$-$K$OCm0U$7$F$/$@$5$$!#(B - -@node Calling previewer, Print out, Calling typesetter, Invocation -@comment node-name, next, previous, up -@section $B%W%l%t%e!<%"5/F0(B - @kbd{[prefix] t p} $B$K$h$j%W%l%t%e!<%"$N5/F0$,$G$-$^$9!#$5$i$K!"$b$7$"$J(B -$B$?$,!"(B-remote $B5!G=$D$-$N(Bxdvi$B$rMxMQ$7$F$$$k>l9g$O(B @kbd{[prefix] t s} $B$r2!$9(B -$B$3$H$K$h$j%+!<%=%k0LCV$NJ8;zNs$r8!:w$7$F$=$N%Z!<%8$rI=<($9$k$h$&$K$9$G$K5/(B -$BF0Cf$N(Bxdvi$B$KL?Na$rAw$j$^$9!#$3$l$K$h$j!"8=:_JT=8Cf$N2U=j$N%?%$%W%;%C%H7k2L(B -$B$rB(:B$K8+$k$3$H$,$G$-$^$9!#(B - -@c $B$J$*!"(B-remote $B5!G=IU$-$N(B xdvi $B$O(B -@c @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote} -@c $B$J$I$+$iF~$l$KEz$($^$9!#$3$l$r>JN,$7$?$$;~$O!"(B -universal-argument $B$r$D$1!"(B - -@cindex $B=PNO3+;O%Z!<%8(B[$B$7$f$D$j$h$/$+$$$7$X$($7(B] -@cindex $B=PNO=*N;%Z!<%8(B[$B$7$f$D$j$h$/$7$f$&$j$h$&$X$($7(B] - -@table @kbd -@item C-u [prefix] t l - @dots{} $B%Z!<%83NG'>JN,(Blpr$B5/F0(B -@end table -@cindex $B%Z!<%83NG'>JN,(Blpr$B5/F0(B[$B$X$($7$+$/$K$s$7$h$&$j$d$/(Blpr$B$-$H$&(B] - -@noindent -$B$N$h$&$K5/F0$7$F$/$@$5$$!#(B - -@node %#notation , Completion, Invocation, Top -@comment node-name, next, previous, up -@chapter %#$B5-K!(B - - $BK\J8Cf$K(B@code{%#}$B$G$O$8$^$k%-!<%o!<%I$rKd$a9~$`$3$H$G%?%$%W%;%C%?5/F0Ey(B -$B$N@)8f$r$9$k$3$H$,$G$-$^$9!#(B - -@menu -* Changing typesetter:: $B%?%$%W%;%C%HMQ%3%^%s%I$NJQ99(B -* Splitting input files:: $BF~NO%U%!%$%kJ,3d(B -* Fix region for typesetting:: $BNN0h$N8GDj(B -* lpr format:: $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B -* Editing %# notation:: %#$B5-K!$NJT=8(B -@end menu - -@node Changing typesetter, Splitting input files, %#notation , %#notation -@comment node-name, next, previous, up -@section $B%?%$%W%;%C%HMQ%3%^%s%IJQ99(B - - $B5/F0$9$k%3%^%s%I$rJQ$($?$$;~$OK\J8Cf$Kl9g$KJXMx$G$7$g$&!#(B - -@cindex $B%?%$%W%;%C%?$N;H$$J,$1(B[$B$?$$$U$;$D$?$N$D$+$$$o$1(B] - -@node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation -@comment node-name, next, previous, up -@section $BF~NO%U%!%$%kJ,3d(B - -$B$^$?!">OKh$KJL%U%!%$%k$N(B .tex $B$r:n@.$7$F$$$k>l9g$G!"(B@file{main.tex}$B$+$i(B -@file{sub.tex}$B$r(B @code{\include}$B$7$F$$$k$h$&$J;~$O!"(B@file{sub.tex}$B$NG$0U$N(B -$B0LCV$Ke$NNc$N$h$&$K%3%^%s%IL>$@$1$G$J$/0z?t$b=q$$$?>l9g$K$O!"A4$F$r$=$N$^$^(B -shell $B$KEO$9$N$G main -@end example - -$B$J$*!"$3$N9T$N:G8e$NC18l$N%T%j%*%I0JA0$r!V%a%$%s%U%!%$%k!W$N%Y!<%9(B -$B%M!<%`$G$"$k$H2>Dj$7$^$9(B($B>e$N(B2$B$D$N>l9g$I$A$i$b(B@file{main})$B!#(B - - @kbd{[prefix] g} (@ref{Cursor jump}$B;2>H(B) $B$G$N(B -$B%U%!%$%k4V%8%c%s%W$rM-8z$K5!G=$5$;$k$?$a!"F~NO%U%!%$%kJ,3d;~$K$Oe$N%G%#%l%/%H%j$K$"$k>l9g$b!"%5%V%U%!%$%k$K$O(B -%#!jlatex main.tex $B$N$h$&$K5-=R$9$k(B(../main$B$G$O$J$$(B)$B!#(B -@end enumerate - - - -@node Fix region for typesetting, lpr format, Splitting input files, %#notation -@comment node-name, next, previous, up -@section $BNN0h$N8GDj(B -@cindex $B8GDjNN0h$N%?%$%W%;%C%H(B[$B$3$F$$$j$h$&$$$-$N$?$$$U$;$D$H(B] -@cindex %#BEGIN -@cindex %#END - - @kbd{[prefix] tr} $B$NNN0h;XDj$N%?%$%W%;%C%H$G$O!"$H$/$K;XDj$N$J$$$+$.$j!"(B -@kbd{C-SPC}$B$G%^!<%/$7$?0LCV$H!"%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$rNN0h$H$_$J$7$^(B -$B$9$,!"I,$:7h$^$C$?NN0h$r%?%$%W%;%C%H$7$?$$>l9g$O!"$=$NNN0h$r(B - -@example - %#BEGIN - <$BEO$7$?$$NN0h(B> - %#END -@end example - -@noindent -$B$N$h$&$K(B@code{%#BEGIN}$B$H(B@code{%#END}$B$G0O$_!"%+!<%=%k$r!V(B@code{%#BEGIN}$B0J9_!W(B -$B$KCV$$$F$/$@$5$$!#$3$N;~$NNN0h7hDj5,B'$r$^$H$a$k$Hl9g(B - -@enumerate -@item -@code{%#BEGIN}$B$h$j%P%C%U%!$NKvHxJ}8~$K(B@code{%#END}$B$H$$$&%-!<%o!<%I$,8+$D$+$C(B -$B$?>l9g!#(B -@result{}@code{%#BEGIN} $B$+$i!"$=$N(B @code{%#END} $B$N$"$k0LCV$^$G!#(B -@item -@code{%#END} $B$,8+$D$+$i$J$+$C$?>l9g!#(B -@result{}$B%P%C%U%!$N:G8eHx$^$G!#(B -@end enumerate -@cindex $BNN0h7hDj5,B'(B[$B$j$h$&$$$-$1$D$F$$$-$=$/(B] - -@item -$B%+!<%=%k0LCV$h$j%P%C%U%!$N@hF,J}8~$K(B @code{%#BEGIN} $B$H$$$&%-!<%o!<%I$,(B -$B8+$D$+$i$J$+$C$?>l9g!#(B -@result{}$B%^!<%/(B(@kbd{C-SPC}$B0LCV(B)$B$H%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$NNN0h!#(B -@end enumerate - - tabular $B4D6-$r2?EY$b;n9T:x8m$7$F$$$k$h$&$J>l9g$O!"(B@code{\begin}$B$NA0$N9T(B -$B$K(B @code{%#BEGIN} $B$H=q$-!"(B@code{\end} $B$N(B -$B$K(B @code{%#BEGIN} $B$r=q$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND -$B$N>C$7K:$l$K$O==J,$4Cm0U2<$5$$!#(B -@cindex $BD9$$%U%!%$%k$NJT=8(B[$B$J$+$$$U$"$$$k$N$X$s$7$f$&(B] - -@c @node Require, lpr format, Fix region for typesetting, %#notation -@comment node-name, next, previous, up - -@node lpr format, Editing %# notation, Fix region for typesetting, %#notation -@comment node-name, next, previous, up -@section lpr$B%U%)!<%^%C%H(B -@cindex lpr$B$U$)!<$^$C$H(B[lpr$B$U$*$*$^$D$H(B] -@cindex lpr$B%U%)!<%^%C%H(B[lpr$B$U$*$*$^$D$H(B] -@cindex lpr format - - $B$^$:!"%W%j%s%H%"%&%HMQ%3%^%s%INs$N%U%)!<%^%C%H$K$D$$$F@bL@$7$^$9!#(B -$B%3%^%s%INs%U%)!<%^%C%H$O!"(B3$B$D$N(B Lisp $BJQ?t$K$h$C$FI=8=$5$l$^$9!#%G(B -$B%U%)%k%H$N(B dvi2ps $BMQ$N%U%)!<%^%C%H$rNc$K@bL@$7$^$9!#(B - -@table @code -@item (1)dviprint-command-format -@code{"dvi2ps %f %t %s | lpr"} - -@item (2)dviprint-from-format -@code{"-f %b"} - -@item (3)dviprint-to-format -@code{"-t %e"} -@end table - -$B$KCV$-49$($i$l!"(B%f $B$,(B -(2)$B$NFbMF!"(B%t $B$,(B(3)$B$NFbMF$KCV$-49$($i$l$^$9!#$=$N:]$K(B(2)$B$NJ8;zNsCf$N(B %b $B$O(B -$B!V=PNO3+;O%Z!<%8!W!"(B(3)$B$NJ8;zNsCf$N(B %e $B$O!V=PNO=*N;%Z!<%8!W$KCV$-49$($i$l(B -$B$^$9!#$b$7!"%Z!<%8$r;XDj$7$J$$;~$K$O!"(B%f, %t $BN>J}$H$bL5;k$5$l$^$9!#(B - - $B$3$N!"(Bdviprint-command-format $B$rNW;~$KJQ$($?$$;~$O!"(BLa@TeX{} $B$N(B -$B%=!<%9%F%-%9%HCf$NG$0U$N>l=j$K!"(B - -@example - %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 -@end example - -@noindent -$B$N$h$&$K=q$$$F2<$5$$!#%W%j%s%H%"%&%H$9$k%Z!<%8HO0O$r$$$A$$$AJ9$+$;$J$$$h$&(B -$B$K$9$k;~$K(B - -@example - %#LPR dvi2ps %s | lpr -@end example - -@noindent -$B$J$I$H$9$k$N$bJXMx$+$b$7$l$^$;$s!#(B - -@node Editing %# notation, , lpr format, %#notation -@comment node-name, next, previous, up -@section %#$B5-K!<+BN$NJT=8(B -@cindex %#$B5-K!<+BN$NJT=8(B[%#$B$-$[$&$7$?$$$N$X$s$7$f$&(B] - -$B0J>e$N$h$&$J(B@code{%#}$B$G;O$^$k3FC5n$5$l$^$9!#(B -@cindex lpr$B%U%)!<%^%C%H$NJQ99(B[lpr$B$U$*$*$^$D$H$N$X$s$3$&(B] - -@node Completion, Local dictionary, %#notation , Top -@comment node-name, next, previous, up -@chapter $BJd40F~NO(B - - La@TeX{} $B$G$N4D6-L>$J$I$O!"LnD;$NJd405!G=$rMxMQ$7$FG=N(E*$KF~NO$9$k$3$H(B -$B$,$G$-$^$9!#(B - -@menu -* begin$B7?Jd40(B:: -* section$B7?Jd40(B:: -* large$B7?Jd40(B:: -* maketitle$B7?Jd40(B:: -* Arbitrary completion:: $B?o;~Jd40(B -* end$BJd40(B:: -* Accent mark completion:: $B%"%/%;%s%H5-9fJd40(B -* Image completion:: $B?t<05-9f%$%a!<%8Jd40(B -* Greek letter completion:: $B%.%j%7%cJ8;zJd40(B -@end menu - -@node begin$B7?Jd40(B, section$B7?Jd40(B, Completion, Completion -@comment node-name, next, previous, up -@section begin$B7?Jd40(B -@cindex begin$B7?Jd40(B[begin$B$+$?$[$+$s(B] -@cindex $B4D6-L>$NJd40(B[$B$+$s$-$h$&$a$$$N$[$+$s(B] -@cindex prefix b - - @code{\begin@{env@}...\end@{env@}}$B$NMM$J7A<0$NF~NO$NJd40$r(Bbegin$B7?Jd40$H(B -$B8F$V$3$H$K$7$^$9!#(Bbegin $B7?Jd40$O!"(B - -@table @kbd -@item [prefix] b - @dots{} begin $B7?Jd403+;O(B($BI8=`$G$O(B @kbd{C-c b}) -@end table - -@noindent -$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$ke5-$N$b$N0J30$N4D6-L>$O(B Emacs $B$N;}$D%$%s%/%j%a%s%?%k$JJd405!G=$rMQ$$$F(B -$BF~NO$7$^$9(B($B>e5-$N4D6-L>$b0J2<$NJd40F~NO2DG=(B)$B!#(B - -@table @kbd -@item [prefix] b @key{SPC} - @dots{} begin $B7?Jd40F~NO(B -@end table - -@kbd{[prefix] b @key{SPC}} $B$HF~NO$9$k$H!":G2<9T$N%_%K%P%C%U%!$K(B - -@example - Begin environment(default document): -@end example - -@noindent -$B$HI=<($5$l$^$9!#$3$3$G!"2?$bF~$l$:$K%j%?!<%s%-!<$N$_2!$9$H!"3g8LFb$K=P$F$$(B -$B$k%G%U%)%k%H$N4D6-L>$,F~NO$5$l$^$9$,!"E,Ev$J4D6-L>$rF~NO$9$k$H!"(B -@code{\begin@{$B4D6-L>(B@} $B!D(B \end@{$B4D6-L>(B@}}$B$,J8=qCf$KA^F~$5$l$^$9!#%_%K%P%C(B -$B%U%!$G4D6-L>$rF~NO$9$k$H$-$K!"4D6-L>$NF,J8;z$rF~NO$7!V%9%Z!<%9!W$r$?$?$/$H!"(B -$B0lCW$9$k4D6-L>$,FbIt%F!<%V%k$KB8:_$7$?>l9g!"@5$7$$4D6-L>$KJd40$5$l$k$N$G!"(B -$BF~NO$NJ$1$^$9!#FbIt%F!<%V%k$KB8:_$7$J$$4D6-L>$rF~NO$7$?;~$O%f!<%6@l(B -$BMQ$N%F!<%V%k$KEPO?$5$l!"$5$i$K$=$N%F!<%V%k$r<+F0E*$K!"%f!<%6<-=q(B($B%G%U%)%k(B -$B%H$G$O(B @file{~/.yatexrc})$B$KJ]B8$7$^$9!#(B - -$B$5$i$K!"FCDj$N4D6-$rJd40F~NO$7$?;~$K$O$=$N4D6-$GI,$:MQ$$$i$l$k%(%s%H%j$r<+(B -$BF0A^F~$7$^$9(B($BNc(B: @code{itemize}$B4D6-$K$*$1$k(B@code{\item}$B$J$I(B)$B!#A^F~$5$l$?%((B -$B%s%H%j$,ITMW$J>l9g$K$O(Bundo$B$K$h$C$F>C5n$7$F2<$5$$!#(B -@cindex $B%f!<%6<-=q(B[$B$f$&$5$7$7$h(B] - -@subsection $B4{$K=q$$$?%F%-%9%H$r4D6-$G3g$k(B - - $B$H$3$m$G!":G=i$K=q$$$F$7$^$C$?%V%m%C%/$r8e$+$i!"(Bitemize $B4D6-$NCf(B -$B$KJD$8$3$a$?$$$H;W$&$3$H$,$"$j$^$9$,!"$=$N$h$&$J$H$-$O!"$"$i$+$8$a(B -$BJD$8$3$a$?$$CJMn$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B @kbd{[prefix]} -$B$N.J8;z$N(B 'b'$B!Y(B $B$r!XBgJ8;z!Y$KJQ$($F5/F0$7$F2<$5$$!#(B($B$^$?$O!"(B -@kbd{C-u} $B$r@h$KBG$A!"(Buniversal argument $B$r$D$1$F$b2DG=$G$9(B) -@cindex $B%V%m%C%/(B[$B$U$m$D$/(B] -@cindex $BJD$89~$a$k(B[$B$H$7$3$a$k(B] - - $BNc$($P$"$k%Q%i%0%i%U$r(B description $B4D6-$NCf$KF~$l$?$$$H$-$O!"(B -$B$=$N%Q%i%0%i%U$r%^!<%/$7$F$+$i!"(B - -@table @kbd -@item [prefix] B D -@itemx ($B$^$?$O(B ESC 1 [prefix] b D) -@itemx ($B$^$?$O(B C-u [prefix] b D $B$J$I(B) -@end table - -$B$H%?%$%W$7$F$/$@$5$$!#$3$l$O!"(B@kbd{[prefix] b SPC}$B$NJd40F~NO$K$b$"$F$O$^$j!"(B -@kbd{b} $B$rBgJ8;z$KJQ$($F!"(B@kbd{[prefix] B SPC} $B$H%?%$%W$9$l$P!"$"$i$+$8$a(B -$B%^!<%/$7$F$*$$$?%j%8%g%s$r!"(Bbegin $B$H(B end $B$N4D6-$G3g$j$^$9!#(B - -@node section$B7?Jd40(B, large$B7?Jd40(B, begin$B7?Jd40(B, Completion -@comment node-name, next, previous, up -@section section$B7?Jd40(B -@cindex section$B7?Jd40(B[section$B$+$?$[$+$s(B] -@cindex prefix s - - @code{\section@{$BL\E*(B@}} $B$N$h$&$J7A<0$NF~NO$NJd40$r(B section $B7?Jd40$H8F$V$3(B -$B$H$K$7$^$9!#(Bsection $B7?Jd40$O!"(B - -@table @kbd -@item [prefix] s - @dots{} section $B7?Jd40(B -@end table - -@noindent -$B$G$rF~NO$7$^$9!#$3$3$G$b%j%?!<%s%-!<$N$_$G3g8LFb$N%G%U%)%k%HCM$,A*Br$5(B -$B$l$k$[$+!"(B@samp{chapter}$B$J$I$N$h$&$JIQEY$N9b$$L>>NF~NO$K$O%9%Z!<%9%-!<$K$h(B -$B$kJd405!G=$,M-8z$G$9!#(B $Bl9g$O!"J8>OCf$K(B - -@example - \section@{$BL\E*(B@} -@end example - -@noindent -$B$,A^F~$5$l!"(B - -@example - (C-v for view-section) \???@{@} (default section): vspace* - \vspace*@{???@}: -@end example - -@noindent -$B$N$h$&$K(B@{@}$B$NCf?H$r>JN,$7$?$H$-$O!"(B - -@example - \vspace*@{@} -@end example - -@noindent -$B$@$1$,A^F~$5$l!"2~9T$O$;$:%+!<%=%k$O<+F0E*$KCf3g8L$NFbB&$K0\F0$7$^$9!#(B - -@menu -* 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B:: -* Enclose section-type command:: $B3g$jJd40(B -* Recursive completion:: $B:F5"Jd40(B -* view-sectioning:: $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B -@end menu - -@node 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Enclose section-type command, section$B7?Jd40(B, section$B7?Jd40(B -@comment node-name, next, previous, up -@subsection 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B -@cindex $B0z?t(B[$B$R$-$9$&(B] - - $B$H$3$m$G!"(B@samp{\addtolength@{\topmargin@}@{8mm@}} $B$J$I$N$h$&$K!"0z?t$rFs$D(B -$B0J>ee$N(B@samp{addtolength} -$B$NNc$G$"$l$P!"0z?t(B2$B$r;XDj$7$^$9!#$D$^$j!"(B - -@example - C-u 2 [prefix] s ($B$^$?$O!"(BESC 2 [prefix] s) -@end example - -@noindent -$B$H(B section $B7?Jd40$r8F$S=P$7$?8e!"(B - -@example - (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength - \addtolength@{???@}: \topmargin - Argument 2: 8mm -@end example - -@noindent -$B$N$h$&$KF~NO$7$F$/$@$5$$!#:G=i$N(B addtolength $B$NItJ,$H!"Bh0l0z?t$G$"$k(B -\topmargin $B$NF~NO$OEvA3%9%Z!<%9$K$h$kJd40F~NO$,2DG=$G$9!#%f!<%6<-=q$KEPO?(B -$B$5$l$k(B La@TeX{} $B%3%^%s%I$K$O!"$3$N0z?t$N?t$b3X=,$5$l$k$N$G!":G=i$NJd40$N;~(B -$B0z?t$N?t$r;XDj$7$F5/F0$7$F$*$1$P!"0J8e$NJd40;~$K$O!"5-21$5$l$?8D?t$@$10z?t(B -$B$rJ9$$$FMh$k$h$&$K$J$j$^$9!#$"$H$G0z?t$N8D?t$rJQ$($?$$;~$O!":F$S(B @kbd{C-u} -$B$rMQ$$$F8D?t$r;XDj$7D>$9$3$H$G!"<+F0E*$K<-=qCf$N0z?t$N8D?t$NItJ,$r99?7$7$^(B -$B$9!#(B -@cindex $B0z?t$N8D?t$rJQ$($k(B[$B$R$-$9$&$N$3$9$&$r$+$($k(B] - - -@node Enclose section-type command, Recursive completion, 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, section$B7?Jd40(B -@subsection $B4{$K=q$$$?%F%-%9%H$r3g$k(B -@cindex $B3g$k(B[$B$/$/$k(B] - - $B$^$?!"5/F0%3%^%s%I$N(B@kbd{s}$B$rBgJ8;z$KJQ$($F5/F0$9$k$H!"$"$i$+$8$a=q(B -$B$$$?J8>O$r(B section $B7?%3%^%s%I$NBh0l0z?t$H$7$F3g$j$^$9!#(B - -@node Recursive completion, view-sectioning, Enclose section-type command, section$B7?Jd40(B -@comment node-name, next, previous, up -@subsection $B:F5"Jd40(B -@cindex $B:F5"Jd40(B[$B$5$$$-$[$+$s(B] - - $B9bEY$J;H$$J}$K$J$k$+$b$7$l$^$;$s$,!"(Bsection$B7?Jd40$N0z?t$NF~NO;~$K$5$i$K(B -$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection -$B7?%3%^%s%I$N0z?t$K99$K(B La@TeX{} $B%3%^%s%I$,Mh$k>l9g$K$O%_%K%P%C%U%!$GLnD;$N(B -$BJd40%-!<$r:F5"E*$KF~NO$9$k$3$H$G0z?t$NF~NO$b8zN(E*$K9T$J$($^$9!#(B - -@node view-sectioning, , Recursive completion, section$B7?Jd40(B -@comment node-name, next, previous, up -@subsection $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B -@cindex $B%"%&%H%i%$%s(B[$B$"$&$H$i$$$s(B] - - $BDL>o$N(Bsection$B7?Jd40$N;~$K%_%K%P%C%U%!$G(B@kbd{C-v}$B$r2!$9$H8=:_B8:_$9$k%;%/(B -$B%7%g%s6h@Z$j%3%^%s%IA4$F$r(B @code{*Sectioning Lines*}$B$H$$$&%P%C%U%!$K0lMwI=(B -$B<($7$^$9(B($B!V(B<<--$B!W$N$D$$$F$$$k9T$,$b$C$H$b6a$$%;%/%7%g%s6h@Z$j(B)$B!#$3$N;~%_%K(B -$B%P%C%U%!$G(B@kbd{C-p}, @kbd{C-n} $B$r2!$9$H(B@samp{part}, @samp{chapter}, ..., -@samp{subparagraph} $B$N%3%^%s%I$,O@M}3,AX$N9b$5$K$7$?$,$C$F>e2<$7$^$9!#$^$?!"(B -@kbd{C-v}, @kbd{M-v} $B$r2!$9$H%;%/%7%g%s6h@Z$j0lMw%P%C%U%!$,%9%/%m!<%k$7!"(B -$B?t;z$N(B@kbd{0}$B!A(B@kbd{7}$B$r2!$9$H$"$k9b$50J>e$N%;%/%7%g%s6h@Z$j$@$1$rA*$s$GI=(B -$B<($7$^$9(B($Bl=j$K%8%c%s%W$7$^$9!#$5$i$K!"F1%P%C(B -$B%U%!$G(B @kbd{u} $B$r2!$9$H!"%=!<%9%F%-%9%H$NBP1~$9$k%;%/%7%g%s%3%^%s%I$,0l3,(B -$BAX>e$,$j(B($BNc(B: subsection $B$,(B section $B$KJQ$o$k(B)$B!"(B@kbd{d}$B$r2!$9$H0l3,AX2<$,$j(B -$B$^$9!#(B@code{*Sectioning Lines*}$B%P%C%U%!$K$"$k%;%/%7%g%s6h@Z$j$N9T$r%^!<%/(B -$B$7$F$*$$$F(B@kbd{U}$B$r2!$9$H%j%8%g%sFb$N$b$N$KBP1~$9$k%=!<%9%F%-%9%H$N%;%/%7%g(B -$B%s%3%^%s%I$9$Y$F$,0l3,AX>e$,$j!"(B@kbd{D}$B$r2!$9$H2<$,$j$^$9!#%;%/%7%g%s6h@Z(B -$B$j0lMw%P%C%U%!$GMxMQ$G$-$k%-!<%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B - -@table @kbd -@item SPC - @dots{} $BBP1~$9$k%=!<%99T$X%8%c%s%W(B -@item . - @dots{} $BBP1~$9$k%=!<%99T$rI=<((B -@item u - @dots{} $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -@item d - @dots{} $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX2<$2$k(B -@item U - @dots{} $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -@item D - @dots{} $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B -@item 0$B!A(B6 - @dots{} $B%l%Y%k(B n $B0J2<$N%;%/%7%g%s%3%^%s%I$r1#$7$FI=<((B -@end table - -@cindex $BO@M}3,AX(B[$B$m$s$j$+$$$=$&(B] -@cindex $B%;%/%7%g%s6h@Z$j(B[$B$;$/$7$h$s$/$-$j(B] -@cindex $B%8%c%s%W(B[$B$7$d$s$U(B] - -@node large$B7?Jd40(B, maketitle$B7?Jd40(B, section$B7?Jd40(B, Completion -@comment node-name, next, previous, up -@section large$B7?Jd40(B -@cindex large$B7?Jd40(B[large$B$+$?$[$+$s(B] -@cindex prefix l - - @code{@{\large @}} $B$N$h$&$J7A<0$NJd40$r(B large $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B - -@table @kbd -@item [prefix] l - @dots{} large $B7?Jd403+;O(B -@end table - -@noindent -$B$,(Blarge$B7?Jd40$N3+;O$G$9!#(B@kbd{[prefix] l} $B$r2!$9$H!"%_%K%P%C%U%!$K(B - -@example - @{\??? @} (default large): -@end example - -@noindent -$B$HI=<($5$l$k$N$G!">e5-$N$b$N$HF1$8MWNN$GJd40F~NO$7$F2<$5$$!#Jd408uJd$KMQ0U(B -$B$5$l$F$$$k$N$O!"(B@samp{footnotesize} $B$d(B @samp{huge} $B$N$h$&$JJ8;z%5%$%:;XDj(B -$B;R$H!"(B@samp{bf}$B$d(B@samp{dg}$B$N$h$&$J%U%)%s%H;XDj;R$G$9!#(B -@cindex $BJ8;z%5%$%:;XDj;R(B[$B$b$7$5$$$9$7$F$$$7(B] -@cindex $B%U%)%s%H;XDj;R(B[$B$U$*$s$H$7$F$$$7(B] - -@subsection $B4{$K=q$$$?J8;z$r3g$k(B -@cindex $B3g$k(B[$B$/$/$k(B] - - $B$^$?!"(Bbegin$B7?Jd40$N;~$HF1MM!"@h$K=q$$$F$7$^$C$?0lO"$NJ8>O$NJ8;z$N%5%$%:(B -$B$rJQ$($?$$$H;W$&;~$,$"$j$^$9$,!"$=$N$h$&$J;~$O!"%5%$%:$dBg$-$5$rJQ$($?$$J8(B -$B;z$NHO0O$r%^!<%/$7$F$+$i!"8F$S=P$7%-!<$r(B @kbd{[prefix] L} $B$H!"BgJ8;z$N(B L -$B$KJQ$($F8F$S=P$;$P!"$=$N%j%8%g%sA4BN$,!"%V%l!<%9$G0O$^$l$^$9!#(B - -@node maketitle$B7?Jd40(B, Arbitrary completion, large$B7?Jd40(B, Completion -@comment node-name, next, previous, up -@section maketitle$B7?Jd40(B -@cindex maketitle$B7?Jd40(B[maketitle$B$+$?$[$+$s(B] -@cindex prefix m - - @code{\maketitle} $B$N7A<0$NJd40$r(B maketitle $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B - -@table @kbd -@item [prefix] m - @dots{} maketitle $B7?Jd403+;O(B -@end table - -@noindent -$B$G!"(Bmaketitle $B7?Jd40$r3+;O$7$^$9!#Jd40$NMWNN$O:#$^$G$N$b$N$H$^$C$?$/F1$8$G(B -$B$9!#(BLa@TeX{} $BMQ$N%3%^%s%IL>$,Jd408uJd$H$7$FMQ0U$5$l$F$$$^$9!#(B - -@node Arbitrary completion, end$BJd40(B, maketitle$B7?Jd40(B, Completion -@comment node-name, next, previous, up -@section $B?o;~Jd40(B -@cindex $B?o;~Jd40(B[$B$9$$$7$[$+$s(B] -@cindex prefix SPC - - $B$5$F!":#$^$G=R$Y$?E57?E*$J(B La@TeX{} $B%3%^%s%I7A<0$NJd40F~NO$rMQ$$$:$K!":#(B -$BF~NO$7$h$&$H$7$F$$$k(B La@TeX{} $B%3%^%s%I$rJ8=qCf$NG$0U$N0LCV$G?o;~Jd40$9$k$3(B -$B$H$b$G$-$^$9!#(BLa@TeX{} $B%3%^%s%I(B($B@hF,$,(B\$B$G;O$^$k(B)$B$rF~NO$7$F$$$kESCf$G!"(B - -@table @kbd -@item [prefix] SPC - @dots{} $B?o;~Jd40(B -@end table - -@noindent -$B$rF~NO$9$l$P!"A4$F$NJd408uJd$NCf$+$i0lCW$9$k$b$N$,A*$P$l%+!<%=%k0LCV$KA^F~(B -$B$5$l$^$9!#(B - -@node end$BJd40(B, Accent mark completion, Arbitrary completion, Completion -@comment node-name, next, previous, up -@section end$BJd40(B -@cindex end$BJd40(B[end$B$[$+$s(B] -@cindex prefix e - - $B8=:_3+$$$?$^$^$N4D6-L>$r<+F0E*$K8!=P$7!"(B@code{\end@{$B4D6-L>(B@}}$B$rA^F~$7$^(B -$B$9!#(Bbegin $B7?Jd40$rMQ$$$l$P4D6-$NJD$8K:$l$O$J$$$N$G$9$,!";~$K$O$D$$$D$$(B@}} $B$rF~$l$F$7$^$$!"Ha$7$$;W$$$r$9$k$3$H$,$"$j$^$9!#$=(B -$B$N$h$&$J;~$K$O5$$K$;$:B3$1$FJ8>O$rF~NO$7!"$7$+$k$N$A$K(B - -@table @kbd -@item [prefix] e - @dots{} end $BJd40(B -@end table - -@noindent -$B$H$9$k$3$H$G!"8=:_3+$$$F$$$k4D6-L>$G(B \end@{@} $B$,Jd$o$l$^$9!#(B - -@node Accent mark completion, Image completion, end$BJd40(B, Completion -@comment node-name, next, previous, up -@section $B%"%/%;%s%H5-9fJd40(B -@cindex $B%"%/%;%s%H5-9fJd40(B[$B$"$/$;$s$H$-$3$&$[$+$s(B] -@cindex prefix a -@cindex $B2$J8(B[$B$*$&$U$s(B] - - $B2$J8$N%"%/%;%s%H5-9f(B(@code{\`@{o@}}$B$J$I(B)$B$rF~NO$9$k;~$O!"(B - -@table @kbd -@item [prefix] a - @dots{} $B%"%/%;%s%H5-9fF~NO(B -@end table - -@noindent -$B$r2!$9$H!"%_%K%P%C%U%!$K(B - -@example - 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b -@end example - -@noindent -$B$H$$$&%a%K%e!<$,=P$FMh$k$N$G!"?t;z!"$^$?$OBP1~$9$k5-9f(B/$B1Q;z$rF~NO(B -$B$7$F2<$5$$!#$9$k$HJT=8%P%C%U%!$K!"(B - -@example - \`@{@} -@end example - -@noindent -$B$,$"$i$o$l!"%+!<%=%k$,(B@{@}$BFb$K0LCV$9$k$N$G!"$5$i$K0lJ8;zF~NO$9$k;v$G!"(B - -@example - \`@{o@} -@end example - -@noindent -$B$,40@.$5$l!"%+!<%=%k$O(B@{@}$B$N30$KLa$j$^$9!#(B - -@node Image completion, Greek letter completion, Accent mark completion, Completion -@comment node-name, next, previous, up -@section $B?t<05-9f%$%a!<%8Jd40(B -@cindex $B?t<05-9f%$%a!<%8Jd40(B[$B$9$&$7$-$-$3$&$$$a$($7$[$+$s(B] -@cindex $B%$%a!<%8Jd40(B[$B$$$a$($7$[$+$s(B] -@cindex ; -@cindex $B?t<0%b!<%I(B[$B$9$&$7$-$b$*$H(B] -@cindex $BLp0u(B[$B$d$7$k$7(B] -@cindex $B&2(B[$B$7$/$^(B] -@cindex leftarrow -@cindex $B!g(B[$B$`$1$s$?$$(B] - - $Bl9g!"0lHLE*$K$O!V(B<-$B!W(B -$B$N$h$&$K$7$^$9$,!"$3$l$rMxMQ$7$F!"?t<05-9f%$%a!<%8F~NO%b!<%I$G(B -@code{\leftarrow}$B$rF~NO$9$k$K$O!"(B@kbd{;}($B%;%_%3%m%s(B)$B$rBG$C$F$+$i(B@kbd{<-}$B$H(B -$BF~NO$7$^$9!#F1MM$K!"D9$$Lp0u"+(B-(long-leftarrow) $B$r(BASCII$BJ8;z$@$1$GI=8=$9$k(B -$B>l9g!V(B<--$B!W$H$9$k$N$G!"(B@code{\longleftarrow}$B$rF~NO$9$k$?$a$K$O!"(B@kbd{;<--} -$B$HF~NO$7$^$9!#$"$k$$$OL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&(B -$B$K$9$k$3$H$+$i!"(B@code{\infty} $B$rF~NO$9$k;~$O!"(B@kbd{;oo}$B$H%-! @code{\longleftrightarrow} -; o @code{\circ} -; o o @code{\infty} -@end example - - -@noindent - $B$$$:$l$N>l9g$b!"%$%a!<%8F~NO$r9T$C$F$$$kESCf$GK>$_$N$b$N$,%P%C%U%!(B -$B$KI=<($5$l$?$J$i!"$=$3$G%$%a!<%8F~NO$r;_$a$F8e$K(BTAB$B$r2!$7$F$/$@$5$$!#0J2<$NNc$O!"(B@kbd{;<}$B$H2!$7$?8e$K(BTAB$B$r2!$7$?$b$N(B -$B$G$9!#(B - -@example -KEY LaTeX sequence sign -< \leq $B!e(B -<< \ll $B!T(B -<- \leftarrow $B"+(B -<= \Leftarrow <= -@end example - -$B:8$+$i(B[$BF~NO%-!<(B]$B!"(B[$BBP1~$9$k(B La@TeX{} $B%3%^%s%I(B]$B!"(B[($B5<;w(B)$B5-9f?^<((B]$B!"$H(B -$B$$$&=g$G%a%K%e!<$,=P$FMh$k$N$G!"$h$/;H$&$b$N$r3P$($F$*$/$HNI$$$G$7$g(B -$B$&!#$b$N$K$h$C$F$O(BASCII$BJ8;z$GI=8=$9$k$3$H$,:$Fq$J$N$G!"$"$^$j3P$((B -$B$d$9$$%-!l9g$O(B -\maketitle $B7?Jd40$GF~NO$9$k$+!"0J2<$K=R$Y$kBP1~I=$N@_Dj$r9T$C$FC1(B -$B=c$J%-!l9g$O(B -Emacs-Lisp $BJQ?t(B @code{YaTeX-math-sign-alist-private} $B$KDj5A$7$F$/$@$5$$!#(B -$B$=$NFbMF$H%G%U%)%k%H$N$b$N$r9g$o$;$?$b$N$,BP1~I=$H$7$F;HMQ$5$l$^$9(B(private -$B$NJ}$,M%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B @file{yatexmth.el} $B$r;2(B -$B>H$7$F$/$@$5$$!#(B -@cindex YaTeX-math-sign-alist-private - -@node Greek letter completion, , Image completion, Completion -@comment node-name, next, previous, up -@section $B%.%j%7%cJ8;zJd40(B -@cindex $B%.%j%7%cJ8;zJd40(B[$B$-$j$7$d$b$7$[$+$s(B] -@cindex : - - $B$b$&0l$D!"?t<04D6-Cf$G(B@kbd{:}$B$r2!$9$H%.%j%7%cJ8;zF~NO%b!<%I$KF~$j$^$9!#(B -@kbd{:}$B$r2!$7$?D>8e$K(B@kbd{a}$B$r2!$9$H(B@code{\alpha}$B$,!"(B@kbd{g} $B$r2!$9$H(B -@code{\gamma}$B$,!"$J$I%"%k%U%!%Y%C%H$KBP1~$7$?%.%j%7%cJ8;z$,A^F~$5$l$^$9!#(B -$BA`:nJ}K!$O(B;$B$N?t<05-9fJd40$H$^$C$?$/F1$8$G$9!#$^$:$O(B@kbd{:}$B$ND>8e$K(B -TAB$B$r2!$7$F$I$N%"%k%U%!%Y%C%H$K$I$N%.%j%7%cJ8;z$,BP1~$7$F$$$k$+D4$Y$F$_$F(B -$B$/$@$5$$!#(B - - @kbd{;}$B$H(B@kbd{:}$B$r?t<04D6-Cf$G2!$7$F$$$k$K$b$+$+$o$i$:!"%$%a!<%8Jd40$,F/(B -$B$+$J$$>l9g$O!"(B@kbd{C-u ;}$B$N$h$&$K(B universal-argument $B$r$D$1$F%-!<$r2!$9$3(B -$B$H$K$h$j!"6/@)E*$K%$%a!<%8Jd40$KF~$k$3$H$,$G$-$^$9!#$^$?!"$3$N;~$K$I$N$h$&(B -$B$J>uBV$G?t<04D6-FbH=Dj$K<:GT$7$?$+$r$4O"Mm2<$5$$!#(B - -@node Local dictionary, Commenting out, Completion, Top -@comment node-name, next, previous, up -@chapter $B%m!<%+%k<-=q(B -@cindex $B%m!<%+%k<-=q(B[$B$m$*$+$k$7$7$h(B] -@cindex .yatexrc - - $BJd40F~NOMQ$N8uJd$O;0oMQ(B -$B$9$k%3%^%s%I$rJ]B8$9$k!V%f!<%6<-=q!W!"$=$7$F$b$&$R$H$D$O$"$k%G%#%l%/%H%j$G(B -$B$N$_M-8z$J%3%^%s%I$rJ]B8$9$k!V%m!<%+%k<-=q!W$G$9!#(B - - $BJd40F~NO;~$K?7$7$$C18l$rF~$l$?>l9g$K!"$=$NC18l$r$I$N<-=q$KF~$l$k$+J9$$$F(B -$BMh$^$9!#(B - -@example - `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard -@end example - -@noindent -$B$H$$$&%W%m%s%W%H$KBP$7!"(B@kbd{u}$B$HEz$($k$H!V%f!<%6<-=q!W$r!"(B@kbd{l}$B$HEz$($k(B -$B$H%m!<%+%k<-=q$r99?7$7!"(B@kbd{n}$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs -$B%;%C%7%g%s$N$_M-8z$JC18l$H$7!"(B@kbd{d}$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$Kl(B -$B9g$K$O(B@file{~/.emacs}$B$J$I$G!"(B -@cindex YaTeX-nervous - -@lisp - (setq YaTeX-nervous nil) -@end lisp - -@noindent -$B$H$7$F2<$5$$!#(B - -@node Commenting out, Cursor jump, Local dictionary, Top -@comment node-name, next, previous, up -@chapter $B%3%a%s%H%"%&%H(B -@cindex $B%3%a%s%H%"%&%H(B[$B$3$a$s$H$"$&$H(B] -@cindex prefix < -@cindex prefix > -@cindex prefix . -@cindex prefix , - - - La@TeX{}$B$NJT=8$K$O;n9T:x8m$,$D$-$b$N$G$9!#$"$kItJ,$r0l3g$G%3%a%s%H%"%&%H(B -$B$7$?$j!"%3%a%s%H$r30$7$?$j$7$?$$$3$H$,$"$j$^$9!#(B - -@table @kbd -@item [prefix] > - @dots{} $B%j%8%g%s$r(B % $B$G%3%a%s%H%"%&%H(B -@item [prefix] < - @dots{} $B%j%8%g%s$N(B % $B$N%3%a%s%H$r30$9(B -@end table - -@noindent -$B$O!"$"$i$+$8$a@_Dj$7$?%j%8%g%s$KBP$7$F$NA`:n!"(B - -@table @kbd -@item [prefix] . - @dots{} $B8=:_$N%Q%i%0%i%U$r%3%a%s%H%"%&%H(B -@item [prefix] , - @dots{} $B8=:_$N%Q%i%0%i%U$N%3%a%s%H$r30$9(B -@end table - -@noindent -$B$O!"%+!<%=%k$N0LCV$9$k%Q%i%0%i%UA4BN$KBP$7$F$NA`:n$G$9!#$J$*!"$3$3$G$$$&(B -$B!V%Q%i%0%i%U!W$O(B (@code{mark-paragraph}) $B4X?t$K$h$j%^!<%/$5$l$kHO0O$r;X$7(B -$B$^$9(B($BI8=`@_Dj$G(B@kbd{ESC h}$B$K%P%$%s%I$5$l$F$$$k(B)$B!#$J$*!"4{$K(B@code{%}$B$G%3%a(B -$B%s%H%"%&%H$5$l$F$$$k%Q%i%0%i%U$KBP$7$F7+$jJV$7%Q%i%0%i%U$N%3%a%s%H$r;HMQ$7(B -$B$?>l9g$NF0:n$OJ]>Z$7$^$;$s$N$G8fCm0U$/$@$5$$!#(B - - $B$5$F!"J8>O$KBP$7$F$@$1$G$J$/!";~$K$O(B@code{\begin}, @code{\end} $B<+BN$KBP(B -$B$7$F$b%3%a%s%H%"%&%H$NA`:n$r$7$?$$$H$-$,$"$j$^$9!#$3$N$h$&$J$H$-$O!"(B -@code{\begin@{@}} $B$"$k$$$O(B @code{\end@{@}} $B$N9T$K%+!<%=%k$r9g$o$;!"(B - -@table @kbd -@item [prefix] > - @dots{} @code{\begin@{@}}$B!A(B@code{\end@{@}} $BA4$F%3%a%s%H%"%&%H(B -@item [prefix] < - @dots{} @code{\begin@{@}}$B!A(B@code{\end@{@}} $BA4$F%3%a%s%H$r30$9(B -@end table - -@noindent -$B$H$9$k$3$H$G!"(B@code{\begin$B!A(B\end}$B$G0O$^$l$k4D6-A4$F$KBP$7$F%3%a%s%HA`:n$7!"(B - -@table @kbd -@item [prefix] . - @dots{} @code{\begin@{@}} $B$H(B @code{\end@{@}} $B$r%3%a%s%H%"%&%H(B -@item [prefix] , - @dots{} @code{\begin@{@}} $B$H(B @code{\end@{@}} $B$N%3%a%s%H$r30$9(B -@end table - -$B$O!"BP1~$9$k(B @code{\begin} $B$H(B @code{\end} 2$B9T$@$1$r!"%3%a%s%HA`:n$NBP>]$H(B -$B$7$^$9!#%j%8%g%s$r%3%a%s%H%"%&%H$7$h$&$H$7$F!"%^!<%/$r@_Dj$7$?$N$A$K%+!<%=(B -$B%k$r0\F0$7(B@kbd{[preifx] >} $B$r2!$7$F$b%+!<%=%k$,(B @code{\begin@{@}} $B$N>e$K$"(B -$B$k$H(B@code{\begin@{@}}$B!A(B@code{\end@{@}}$B%b!<%I$G%3%a%s%H5!G=$,F/$$$F$7$^$&$N(B -$B$GCm0U$7$F2<$5$$!#(B - -@node Cursor jump, Modifying/Deleting, Commenting out, Top -@comment node-name, next, previous, up -@chapter $B%+!<%=%k%8%c%s%W(B -@cindex $B%+!<%=%k%8%c%s%W(B[$B$+$"$=$k$7$d$s$U(B] -@cindex prefix g - - -@menu -* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B:: -* $B$*3(IA$-%D!<%k5/F0(B:: -* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B:: -* $B4D6-$rC10L$H$7$?%8%c%s%W(B:: -* $B:G8e$NJd400LCV$X$N%8%c%s%W(B:: -@end menu - -@node $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, $B$*3(IA$-%D!<%k5/F0(B, Cursor jump, Cursor jump -@comment node-name, next, previous, up -@section $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B - - $BJ8=qCf$N$$$m$$$m$J>l=j$G(B - -@table @kbd -@item [prefix] g - @dots{} $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B -@end table - -@noindent -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BLa@TeX{}$B%3%^%s%I$KBP1~$9$k>l=j$K%8%c%s%W(B -$B$7$^$9!#BP1~4X78$,B8:_$9$k$H2rl9g$O%(%i!<$K$J$j$^$9!#$^$?$3$l$O!"NN0h8GDj$N$?$a$N(B @code{%#BEGIN} $B$H(B -@code{%#END} $B$N%Z%"$KBP$7$F$bF1MM$KF0:n$7$^$9!#$J$*!"(B@code{label/ref}$B$d(B -@code{cite/bibitem}$BBP1~$9$k$b$N$,JL%U%!%$%k$K$"$k;~$O!"%8%c%s%W@h$H$J$k%U%!(B -$B%$%k$,%*!<%W%s$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B@xref{%#notation}. -$B%a%$%s$N(B .tex $B%U%!%$%k$N(B @code{\include@{chap1@}} $B$J$I$K%+!<%=%k$r9g$o$;!"(B -@kbd{[prefix] g} $B$r2!$9$H!"(B@file{chap1.tex} $B$K%8%c%s%W$7$^$9!#(B - -$B$^$?!"(B - -@table @kbd -@item [prefix] 4 g - @dots{} $BJL%&%#%s%I%&$GBP1~%*%V%8%'%/%H$K%8%c%s%W(B -@end table - -@noindent -$B$r2!$9$H!"BP1~$9$k%*%V%8%'%/%H$X$N%8%c%s%W$rJL%&%#%s%I%&$G9T$$$^$9!#$?$@$7!"(B -$B$3$N5!G=$O(B @code{begin/end}, @code{%#BEGIN/%#END} $B4V$N%8%c%s%W$KBP$7$F$O(B -($B0UL#$,$J$$$H;W$o$l$k$N$G(B)$B5!G=$7$J$$$N$GCm0U$7$F$/$@$5$$!#(B - -@node $B$*3(IA$-%D!<%k5/F0(B, $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Cursor jump -@comment node-name, next, previous, up -@section $B$*3(IA$-%D!<%k5/F0(B -@cindex $B$*3(IA$-%D!<%k5/F0(B[$B$*$($+$-$D$&$k$-$H$&(B] - -$B>e5-$N!V2hA|%U%!%$%k$N$KAjEv$9$kItJ,$r(B -\\(\\)$B$+$iH4$-=P$7$F3P$($F$*$/(B($B2?HVL\$N(B\\(\\)$B$+$OJQ?t$N3F%j%9%H$N(B cdr $BIt$K(B -$BF~$l$F$*$/(B)$B!#%^%C%A$7$J$1$l$P2?$b$7$J$$!#(B -@item -$B9TKv$K!"JQ?t(B @code{YaTeX-file-processor-alist} $B$KEPO?$5$l$F$$$k%3%^%s%I$,(B -$B!V(B%$B%3%^%s%I!W(B $B$N$h$&$K=q$$$F$"$l$P6/@)E*$K!V%3%^%s%I(B $B%U%!%$%kL>(B.$B3HD%;R!W$r(B -$B5/F0!#(B -@item -$B$J$1$l$P!"JQ?t(B @code{YaTeX-file-processor-alist} $B$N3F%j%9%H$N(Bcdr$BIt$KF~$C$F(B -$B$$$k3HD%;R$r!V%U%!%$%kL>!W$N8e$m$KB-$7$?%U%!%$%k$,B8:_$9$k$+=gl9g(Bcar$BIt$KF~$C$F$$$k%3%^%s%I$r5/F0$9$k!#(B -@item -$B0J>e$I$l$+$K%^%C%A$7$J$1$l$P$"$-$i$a$k!#(B -@end enumerate - - -$BJQ?t(B @code{YaTeX-file-processor-alist} $B$HJQ?t(B -@code{YaTeX-file-processor-alist} $B$N@_DjJ}K!$K$D$$$F$O$=$l$>$l$NJQ?t$K$D$$(B -$B$F(B describe-variable $B$7$F@bL@$rFI$s$G2<$5$$!#$&$^$/@_Dj$9$k$H!"2hA|%U%!%$(B -$B%k$K$+$.$i$:!"G$0U$N7A<0$N%U%!%$%k$rG$0U$N%W%m%;%C%5$G=hM}$9$k%3%^%s%I$r4J(B -$BC1$K8F$S=P$9$3$H$,$G$-$^$9!#(B - -@node $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, $B4D6-$rC10L$H$7$?%8%c%s%W(B, $B$*3(IA$-%D!<%k5/F0(B, Cursor jump -@comment node-name, next, previous, up -@section $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B - -@file{chap1.tex}$B$N$h$&$J%5%V%U%!%$%k$G!"(B - -@table @kbd -@item [prefix] ^ - @dots{} $B%a%$%s%U%!%$%k$K%8%c%s%W(B -@item [prefix] 4 ^ - @dots{} $BJL%&%#%s%I%&$G%a%$%s%U%!%$%k$K%8%c%s%W(B -@end table - -@noindent -$B$r2!$9$H!"%a%$%s%U%!%$%k$NJT=8%P%C%U%!$K@ZBX$($^$9!#$b$7!"%a%$%s%U%!%$%k$r(B -$B%*!<%W%s$7$F$$$J$$>l9g$O!"%+%l%s%H%G%#%l%/%H%j$+$iC5$7$F<+F0E*$K%*!<%W%s$7(B -$B$^$9!#(B - -@node $B4D6-$rC10L$H$7$?%8%c%s%W(B, $B:G8e$NJd400LCV$X$N%8%c%s%W(B, $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Cursor jump -@comment node-name, next, previous, up -@section $B4D6-$rC10L$H$7$?%8%c%s%W(B - -$B$5$i$K8=:_$N4D6-$rC10L$H$7$F5!G=$9$k%3%^%s%I$K0J2<$N$b$N$,$"$j$^$9!#(B - -@cindex $B4D6-$N@hF,$X(B[$B$+$s$-$h$&$N$;$s$H$&$X(B] -@cindex $B4D6-$NKvHx$X(B[$B$+$s$-$h$&$N$^$D$R$X(B] -@cindex $B4D6-$r%^!<%/(B[$B$+$s$-$h$&$r$^$"$/(B] -@cindex M-C-a -@cindex M-C-e -@cindex M-C-@@ -@table @kbd -@item M-C-a - @dots{} $B4D6-$N@hF,(B(@code{\begin})$B$X%8%c%s%W(B -@item M-C-e - @dots{} $B4D6-$NKvHx(B(@code{\end})$B$X%8%c%s%W(B -@item M-C-@@ - @dots{} $B4D6-A4BN$r%^!<%/(B -@end table - -$B>e5-$N%3%^%s%I$ODL>o$N(B@kbd{[prefix]}$B%-!<$G$O$J$/(B@kbd{META}$B%-!<$r%W%j%U%#%/(B -$B%9$H$7$F5!G=$9$k$N$G$4Cm0U2<$5$$!#(B - -@node $B:G8e$NJd400LCV$X$N%8%c%s%W(B, , $B4D6-$rC10L$H$7$?%8%c%s%W(B, Cursor jump -@comment node-name, next, previous, up -@section $B:G8e$NJd400LCV$X$N%8%c%s%W(B - -$BLnD;$OJd40F~NO$7$?0LCV$r>o$K%l%8%9%?(B @code{3}$B$KJ]B8$7$F$$$^$9!#(B -$BF~NOESCf$GG!2?$J$k%U%!%$%k$NG!2?$J$k0LCV$K9T$C$?$H$7$F$b!"(B -@kbd{C-x j 3}(@code{jump-to-register})$B$r;H$C$FD>$A$K:G8e$NJd40F~NO0LCV$KLa(B -$B$k$3$H$,$G$-$^$9!#(B - -@node Modifying/Deleting, Filling, Cursor jump, Top -@comment node-name, next, previous, up -@chapter $BJQ99(B/$B:o=|(B -@cindex $BJQ99(B/$B:o=|(B[$B$X$s$3$&(B/$B$5$/$7$h(B] -@cindex prefix c -@cindex prefix k - - $B4{$KF~NO$5$l$F$$$k(B La@TeX{} $B%3%^%s%I$NJQ99(B/$B:o=|$N$?$a$K0J2<$N5!G=$,MQ0U(B -$B$5$l$F$$$^$9!#(B - -@table @kbd -@item [prefix] c - @dots{} $B%+!<%=%k0LCV$N(B La@TeX{} $B%3%^%s%I$NJQ99(B -@item [prefix] k - @dots{} $B%+!<%=%k0LCV$N(B La@TeX{} $B%3%^%s%I$N:o=|(B -@end table - -@noindent -$B$3$l$i$N%3%^%s%I$O!"%3%^%s%I$r5/F0$9$k>l=j$K$h$C$FF0:n$r7hDj$9$k$N$GCm0U$7(B -$B$F2<$5$$!#(B - -@menu -* Changing LaTeX command:: La@TeX{} $B%3%^%s%I$NJQ99(B -* Killing LaTeX command:: La@TeX{} $B%3%^%s%I$N:o=|(B -@end menu - -@node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting -@comment node-name, next, previous, up -@section La@TeX{} $B%3%^%s%I$NJQ99(B - -$BJQ99$7$?$$(B La@TeX{} $B%3%^%s%I$K%+!<%=%k$r9g$o$;$F(B @kbd{[prefix] c} -$B$r2!$9$H$=$N%3%^%s%I$rJd40F~NO$J$I$rMQ$$$F(B -@item section$B7?%3%^%s%I$N%3%^%s%IL>(B -@item section$B7?%3%^%s%I$N0z?t(B -@item section$B7?%3%^%s%I$N%*%W%7%g%s%Q%i%a!<%?(B([]$B$G0O$^$l$?$b$N(B) -@item large$B7?%3%^%s%I(B -@item ($B%$%a!<%8Jd40$GF~NO2DG=$J(B)$B?t<0%b!<%I@lMQ$N(Bmaketitle$B7?%3%^%s%I(B -@end itemize - - $BJQ$($?$$(Bsection$B7?%3%^%s%I$N0z?t$,$5$i$K(B La@TeX{} $B%3%^%s%I$r4^$`>l9g$O!"(B -$B$=$N0z?t$r0O$`Cf3g8L$N>e$G(B @kbd{[prefix] c} $B$r2!$9$3$H$GCf$N%3%^%s%I$rJQ99(B -$BBP>]H=Dj$+$i=|30$9$k$3$H$,$G$-$^$9!#(B - -@cindex $B4D6-L>$NJQ99(B[$B$+$s$-$h$&$a$$$N$X$s$3$&(B] - -@node Killing LaTeX command, , Changing LaTeX command, Modifying/Deleting -@comment node-name, next, previous, up -@section La@TeX{} $B%3%^%s%I$N:o=|(B - -@kbd{[prefix] k} $B$O5/F0$9$k0LCV$K$h$j(B -$Be(B($BCf(B) section$B7?%3%^%s%I$N:o=|(B -$B%U%)%s%H;XDj3g8L$N>e(B $B%U%)%s%H;XDj$N:o=|(B -$B3g8L$N>e(B $BBP$r$J$93g8L$N:o=|(B -@end example - -@noindent -@code{\begin, \end} $B$*$h$S(B @code{%#BEGIN, %#END} $B$r:o=|$9$k>l9g!"(B -@code{\begin, \end} $B$d(B @code{%#BEGIN, %#END} $B$NB8:_$9$k9T$O(B -$B$^$k$4$H:o=|$5$l$k$N$G!"$=$l$i$N0l9T$K(B @code{\begin} $B$J$I$rFs$D0J>eO"$M$F(B -$B=q$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B -$B>e5-$N$b$N$O$9$Y$FK\J8$r0O$&!VMF4o!W$r:o=|$9$k$h$&$KF/$-$^$9$,!"(B -universal-argument (@kbd{C-u}) $B$rBG$C$?8e$G(B@kbd{[prefix] k}$B$r%?%$%W$9$k$H!"(B -$B$=$l$>$l$N!VMF4o!W$K4^$^$l$k!VCf?H!W$b0l5$$K:o=|$7$^$9!#0J2<$NNc$r;29M$K$7(B -$B$F2<$5$$!#(B - -@example - $B85$N%F%-%9%H(B: [prefix] k C-u [prefix] k - $BK\J8(B\footnote@{$B5SCm(B@}$B$G$9!#(B $BK\J85SCm$G$9!#(B $BK\J8$G$9!#(B - $B",(B($B%+!<%=%k0LCV(B) -@end example - -@node Filling, Includeonly, Modifying/Deleting, Top -@comment node-name, next, previous, up -@chapter $B7eB7$((B -@cindex $B7eB7$((B[$B$1$?$=$m$((B] - -@section item$B$N7eB7$((B -@cindex item$B$J$I$N7eB7$((B[item$B$J$H$N$1$?$=$m$((B] -@cindex prefix i - - itemize $B4D6-Cf$K$"$k(B@code{\item}$B$N9`L\(B($BJ8>O(B)$B$,J#?t9T$KEO$k>l9g$K!"9`(B -$BL\$N@hF,$r7eB7$($7$?$$>l9g$K$O!"(B - -@c @table @kbd -@c @item [prefix] i -@c @dots{} item$B$N7eB7$((B -@c @end table - -@table @kbd -@item M-q - @dots{} $B7eB7$((B -@end table - -@cindex NTT-jTeX[$B$($L$F$$$$$F$$$$$7$($$$F$D$/(B] -@noindent -$B$K$h$C$F!"$=$N(B item $B$N%$%s%G%s%H$N?<$5$K1~$8$F(B fill $B$5$l$^$9!#$J$*!"8E$$(B -NTT jTeX $B$r;HMQ$7$F$$$k>l9g$K$O!"(BLisp $BJQ?t(B@code{NTT-jTeX}$B$r(B@code{t}$B$K%;%C(B -$B%H$7$F2<$5$$!#(B - -@cindex YaTeX-item-regexp - $B$3$N$H$-!"JQ?t(B@code{YaTeX-item-regexp}$B$NCM(B($BI8=`$G$O(B @code{"\\\\item"})$B$r(B -$B9`L\;XDj%3%^%s%I$N@55,I=8=$H$7$F8!:w$K;HMQ$7$^$9!#(Bitemize $B4D6-$G!"FH<+$N%3(B -$B%^%s%I$rDj5A$7$F9`L\$rNs5s$7$F$$$k>l9g(B($BNc$($P(B@code{\underlineitem})$B$O!"(B -@file{~/.emacs} $B$Gl9g$O!"FH<+$N9`L\Ns5s%3%^%s%I$NL>A0$r(B -@code{@code{"\item"}$B$G;O$^$k$b$N$K$7$F2<$5$$(B($BNc$($P(B"\itembf"})$B!#(B - -$BLnD;$N(B @kbd{M-q} $B$G$O(B @code{\item} $B$r4D6-$K1~$8$F0J2<$N$h$&$K!V%O%s%0%$%s(B -$B%G%s%H!W$7$^$9!#(B - -@example -itemize, enumerate$B4D6-(B: - >\item[$B$[$2$[$2(B] $B1Q8l$G$O!"FC$K0UL#$N$J$$C18l$r(B `foo' $B$G$"$i$o$7$^(B - > $B$9$,!"$3$l$NF|K\8lHG$H$b$$$($kC18l$,!V$[$2$[$2!W(B - > $B$G$9!#(B -description$B4D6-(B: - > \item[$B$X$m$X$m(B] $B!V$[$2$[$2!W$r$G$?$i$a$,C18l$H$7$F;H$C$?;~$K!"Bh(B - > 2$B$N$G$?$i$a$JC18l$H$7$F!V$X$m$X$m!W$,;H$o$l$k$3$H$,B?(B - > $B$$$h$&$G$9!#(B -@end example - -@section $B%Q%i%0%i%U$N7eB7$((B -@cindex $B%Q%i%0%i%U$N7eB7$((B[$B$O$i$/$i$U$N$1$?$=$m$((B] -@cindex M-q - - itemize$B4D6-0J30$G$N%Q%i%0%i%U$N7eB7$((B(fill)$B$O!"4pK\E*$KB>$N%b!<%I$HF1$8(B -$B$h$&$K5!G=$7$^$9$,!"(Bverbatim$B4D6-$d!"(Btabular$B4D6-$J$I7eB7$($r$9$k$HHa;4$J>u(B -$B67$K$J$k$h$&$J4D6-Cf$G$O5!G=$7$^$;$s!#$^$?!"(B\verb $B$G3g$C$F$"$k$b$N$O7h$7$F(B -$B9TJ,3d$5$l$^$;$s(B($BJQ?t(B @code{YaTeX-verb-regexp} $B$G@)8f(B) )$B!#$5$i$K!"0l;~E*$K(B -$B%$%s%G%s%H$N?<$5$rJQ$($F$"$k2U=j$G$O!"$=$N%$%s%G%s%H$N@hF,$G(B@kbd{M-q}$B$r2!(B -$B$9$3$H$K$h$j(B fill-prefix $B$r$$$A$$$AJQ99$7$J$/$F7eB7$($,$G$-$^$9!#(B - - -@node Includeonly, What column, Filling, Top -@comment node-name, next, previous, up -@chapter $B>!!O$rF~NO$7$F$$$k;~$K$O!"%a%$%s%U%!%$%kCf$K(B - -@example - \includeonly@{$B8=:_JT=8Cf$N%U%!%$%kL>(B@} -@end example - -@noindent -$B$N$h$&$K=q$$$F$*$/$3$H$G!"%?%$%W%;%C%H$N;~4V$r@aLs$G$-$^$9$,!"$A$g$C$HB>$N(B -$B%U%!%$%k$r$7$7$?$$;~$K$O(B -@cindex $BB>$N%U%!%$%k$N$7(B[$B$[$+$N$U$"$$$k$N$F$J$*$7(B] - -@example - \includeonly@{$B$A$g$C$H$7$7$?$$%U%!%$%kL>(B@} -@end example - -@noindent -$B$H=q$-D>$5$J$1$l$P$J$i$:$,%a%$%s%U%!%$%k$N(B@code{\includeonly}$B$K$J$$>l9g$K$O<+F0E*$K$3$l$r8!=P$7!"(B -$B$l2!$7$F2<$5$$!#(B - -@node What column, Intelligent newline, Includeonly, Top -@comment node-name, next, previous, up -@chapter $B$3$3$O$I$3(B? -@cindex $B$3$3$O$I$3(B?[$B$3$3$O$H$3(B?] -@cindex prefix & -@cindex $BJ#;($J(Btabular[$B$U$/$5$D$J(Btabular] - - $B9`L\?t$NB?$$(B tabular $B$J$I$r$?$/$5$s=q$$$F$$$k$H2<$NJ}$N9T$G!"$$$^=q$$$F(B -$B$$$k7e$,$I$3$KBP1~$9$k$N$+$o$+$i$J$/$J$C$F$7$^$&$3$H$,$"$j$^$9!#Nc$($P!"0J(B -$B2<$N$h$&$J(B tabular $B$K$*$$$F!"(B - -@example - \begin@{tabular@}@{|c|c|c|c|c|c|c|c|@}\hline - $B;aL>(B&$B=jB0(B&$B")(B&$B=;=j(B&$BEEOC(B&FAX&$B5">J@h(B&$B5">J@hEEOC(B\\ \hline - $BLp>eFsO:(B & 6 & 223 & $B2#IM;T9AKL6hF|5H(B & xxx-yyy & - zzz-www & $B%H%s%,(B & 9876-54321 \\ - $BF|5H>.AN(B & 2 & \multicolumn@{2@}@{c|@}@{$B65$($J$$(B@} - &&&(???) - \\ \hline - \end@{tabular@} -@end example - -@noindent -(???)$B$NItJ,$,$I$N9`L\$J$N$+$9$0$KH=CG$9$k$N$OFq$7$$$G$7$g$&!#$3$s$J;~$O!"(B - -@table @kbd -@item [prefix] & - @dots{} $B8=:_$N%+%i%`I=<((B -@end table -@cindex $B8=:_$N%+%i%`I=<((B[$B$1$s$5$$$N$+$i$`$R$h$&$7(B] - -$B$r2!$9$H%+!<%=%k0LCV$N%+%i%`$,$I$N9`L\$K3:Ev$9$k$+$r%_%K%P%C%U%!$KI=<($7$^(B -$B$9!#(Btabular/array$B4D6-$NBh(B1$B9TL\$r9`L\L>$NJB$S$H$_$J$7$FBP1~$9$k$b$N$rC5$7$^(B -$B$9!#$b$79`L\L>$H$7$FJL$N$b$N$rI=<($7$FM_$7$$>l9g$O!"9TF,$r(B@code{%}$B$K$7$F%@(B -$B%_!<$N9`L\JB$S$r:n$C$F$*$/$HNI$$$G$7$g$&!#(B - -@node Intelligent newline, Changing mode of YaTeX, What column, Top -@comment node-name, next, previous, up -@chapter $B$*$^$+$;2~9T(B -@cindex $B$*$^$+$;2~9T(B[$B$*$^$+$;$+$$$-$h$&(B] -@cindex &$BF~NO(B[&$B$K$f$&$j$h$/(B] - - tabular[*], array, itemize, enumerate, tabbing $B4D6-$r(Bbegin$B7?Jd40$GF~NO$7(B -$B$?;~!"$^$?$O3F4D6-Fb$G(B - -@table @kbd -@item ESC RET - @dots{} $B$*$^$+$;2~9T(B -@end table - -@noindent -$B$r2!$9$H!"$=$N4D6-$K1~$8$?9T%(%s%H%j$rl9g$O(B undo $B$K$h$C$F>C5n$G$-$^$9(B)$B!#Nc$($P!"(B -tabular$B4D6-$G$O!"$=$N4D6-$N%+%i%`?t$KBP1~$7$?8D?t$N(B @code{&} $B$K2C$(!"9TKv(B -$B$N(B @code{\\} $B$rF~$l$^$9!#$3$N;~$=$l0JA0$K(B @code{\hline} $B$,$"$l$P$=$l$bIU$1(B -$B2C$($^$9!#4D6-$H$=$l$K1~$8$F<+F0F~NO$9$k$b$N$NBP1~$O0J2<$N$h$&$K$J$j$^$9!#(B - -@itemize -@item @code{tabular}, @code{tabular*}, @code{array} - - $B%+%i%`?t(B-1 $B$@$1$N(B @code{&} $B$H(B @code{\\}$B!#I,MW$K1~$8$F(B @code{\hline} - -@item @code{tabbing} - - $B0l9TL\$GDj5A$7$F$$$k(B @code{\=} $B$HF1$88D?t$N(B @code{\>}$B!#(B - -@item @code{itemize}, @code{enumerate}, @code{description}, @code{list} - - @code{\item} $B$^$?$O(B @code{item[]} -@end itemize - - tabular $B4D6-$NNc$N$h$&$K!"K\5!G=$O3F4D6-$N0l9TL\$NFbMF$r;29M$K$7$FF0:n$9(B -$B$k$N$G!"$J$k$Y$/Fs9TL\0J9_$G8F$S=P$9$h$&$K$7$F$/$@$5$$!#(B - - $B$b$7!"$=$NB>$N4D6-!"Nc$($P(B @code{foo}$B!"$KBP$7$F(B@code{$B$*$^$+$;2~9T(B}$B$rF0:n(B -$B$5$;$?$$;~$O!"(B@code{YaTeX-intelligent-newline-foo} $B$H$$$&L>A0$N4X?t$rDj5A(B -$B$7$^$9!#Dj5A$7$?4X?t$O!"8=:_$N9T$K2~9T$rA^F~$7$?D>8e$N9TF,$N0LCV$G8F$P$l$^(B -$B$9!#4X?t(B @code{YaTeX-indent-line} $B$r8F$V$H8=:_$N4D6-$N%M%9%H$K1~$8$??<$5$K(B -$B%$%s%G%s%H$5$l$k$N$G!"$3$l$r8F$s$G$+$i2?$+$rA^F~$9$k$h$&$J%3!<%I$r=q$/$H$h(B -$B$$$G$7$g$&!#(B@file{yatexenv.el}$BFb$N4X?t(B -@code{YaTeX-intelligent-newline-itemize} $B$NDj5A$J$I$r;29M$K$7$F$/$@$5$$!#(B - -@node Changing mode of YaTeX, Online help, Intelligent newline, Top -@comment node-name, next, previous, up -@chapter $BLnD;$NF0:n%b!<%I@Z$jBX$((B -@cindex $B%b!<%I@Z$jBX$((B[$B$b$&$H$-$j$+$((B] -@cindex prefix w - -@table @kbd -@item [prefix] w - @dots{} $BLnD;F0:n%b!<%I@Z$jBX$(%a%K%e!<(B -@end table - -@noindent -$B$GLnD;<+?H$NF0:n$r7hDj$9$k0J2<$N%b!<%I$r@Z$jBX$($^$9!#(B - -@itemize @bullet -@item $B=$@5%b!<%I(B -@item $BLnD;?t<0%b!<%I(B -@end itemize - -$B=$@5%b!<%I$O!"3+$-3g8LF~NO;~$N=hM}$r%3%s%H%m!<%k$7!"=$@5%b!<%I(BON$B$N;~$O3+$-(B -$B3g8L$NF~NO$O3+$-3g8L$N$_$NF~NO$K$J$j!"=$@5%b!<%I(BOFF$B$N;~$O3+$-3g8L$NF~NO$@(B -$B$1$GJD$83g8L$^$GF~NO$7$^$9!#%G%U%)%k%H(B($B5/F0;~(B)$B$N@_Dj$O(B@emph{OFF}$B$G$9!#(B - - $BLnD;?t<0%b!<%I$O!"JQ?t(B @code{YaTeX-auto-math-mode} $B$,(B @code{nil} $B$N;~$N(B -$B$_M-8z$G!"$3$N$H$-(B@kbd{;}$B$d(B@kbd{:}$B$r2!$7$?;~(B(@ref{Image completion}$B;2>H(B)$B$K!"(B -$B$I$N$h$&$J%$%a!<%8Jd40$r5!G=$5$;$k$+!"DL>o$N%-!<$H$7$F5!G=$5$;$k$+$rH$5$l$k%X(B -$B%k%WMQ%U%!%$%k$K$O!V%0%m!<%P%k%X%k%W!W$H!V%W%i%$%Y!<%H%X%k%W!W$NFso8x6&$N>l=j(B($B%G(B -$B%U%)%k%H$G(B@code{$EMACSEXECPATH})$B$KCV$+$l!"C/$b$,$=$NFbMF$r99?7$G$-$k$h$&$K(B -$BA40w$K=q$-9~$_8"$,M?$($i$l$k$Y$-$b$N$G$9!#8el9g$O!"@bL@J8$NF~NO$r5a$a$F$/$k$N$G!"2DG=$G$"$l$P;29M=q$J$I$r(B -$BD4$Y$F$=$N%3%^%s%I$N@bL@$rF~NO$7$F$/$@$5$$!#$b$7!"$J$K$+I8=`E*$J%3%^%s%I$K(B -$BBP$9$k@bL@$r=q$$$?$J$i$P$<$R;d$^$G$=$N@bL@$r$*Aw$j2<$5$$!#l9g!"(B - -@table @kbd -@item [prefix] d - @dots{} $B%$%s%/%k!<%I9=B$%V%i%&%:(B -@end table - -@noindent -$B$r2!$9$H!"$=$N%I%-%e%a%s%H$N?F%U%!%$%k$rJ9$$$FMh$^$9!#$3$3$GA4$F$N%U%!%$%k(B -$B$N?F$H$J$k%U%!%$%k(B($B%G%U%)%k%H$,<($5$l$F$$$k$N$GBgDq$O(BRET$B$N$_(B)$B$rF~NO$9$k$H(B -$B%$%s%/%k!<%I$7$F$$$kA4$F$N%U%!%$%k$r2r@O$7!"%$%s%/%k!<%I>u67$r;k3PE*$KI=<((B -$B$7$^$9!#$3$N%P%C%U%!$G$O0J2<$N%-!e$N9T$K0\F0$7BP1~$9$k%U%!%$%k$rNY$N%P%C%U%!$KI=<((B -@item N - @dots{} $BF1$8%$%s%/%k!<%I%l%Y%k$Ne$N9T$K0\F0(B -@item u - @dots{} $B0lBe?F$K$"$?$k%U%!%$%k$K0\F0(B -@item . - @dots{} $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$KI=<((B -@item SPC - @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%"%C%W(B -@item DEL, b - @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%@%&%s(B -@item < - @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$N@hF,$rI=<((B -@item > - @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$NKvHx$rI=<((B -@item ' - @dots{} (@kbd{<}$B$d(B@kbd{>}$B$N8e$G(B)$B85$NI=<(0LCV$KLa$k(B -@item RET, g - @dots{} $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$G%*!<%W%s(B -@item mouse-2 - @dots{} RET$B$HF1$8(B($B%&%#%s%I%&;HMQ;~$N$_(B) -@item o - @dots{} $BNY$N%&%#%s%I%&$K0\F0(B -@item 1 - @dots{} $BB>$N%&%#%s%I%&$r>C$9(B -@item - - @dots{} $B%V%i%&%:%&%#%s%I%&$r>.$5$/$9$k(B -@item + - @dots{} $B%V%i%&%:%&%#%s%I%&$rBg$-$/$9$k(B -@item ? - @dots{} $B%X%k%WI=<((B -@item q - @dots{} $BI=<(A0$N>uBV$KLa$k(B -@end table - - $B$?$@$7!"NY$N%&%#%s%I%&$N%U%!%$%k$NFbMF$rI=<($9$k5!G=$K4X$7$F$O!"BP1~$9$k(B -$B%U%!%$%k$r%/%m!<%:$7$F$7$^$&$H$&$^$/F/$-$^$;$s$N$G$4Cm0U$/$@$5$$!#(B - -@node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top -@comment node-name, next, previous, up -@chapter $BB>%Q%C%1!<%8$H$NO"7H(B -@cindex $BB>%Q%C%1!<%8$H$NO"7H(B[$B$?$O$D$1$($7$H$N$l$s$1$$(B] - -@section gmhist -@cindex gmhist -@cindex $B%3%^%s%I%R%9%H%j(B[$B$3$^$s$H$R$9$H$j(B] -@cindex $B%R%9%H%j(B[$B$R$9$H$j(B] - - @file{gmhist.el}$B$H(B@file{gmhist-mh.el} $B$r%m!<%I$7$F$$$k>l9g!"%W%l%t%e!<%3(B -$B%^%s%I$NF~NO(B(@kbd{[prefix] tp]})$B!"0u:~%3%^%s%I$NF~NO(B(@kbd{[prefix] tl})$B$N(B -$B;~$KFHN)$7$?%R%9%H%j$rMxMQ$G$-$^$9!#$=$l$>$l$N%W%m%s%W%H$G!"(B@kbd{M-p} $B$r2!(B -$B$9$HD>A0$KMxMQ$7$?%3%^%s%IJ8;zNs$r$/$jJV$78F$S=P$9$3$H$,$G$-$^$9!#(B - -@section min-out -@cindex min-out - - @file{min-out.el} (@code{outline-minor-mode}) $B$HLnD;$rAH$_9g$o$;$F;H$&$3(B -$B$H$b$b$A$m$s2DG=$G$9!#@_Dj$NJ}K!$K4X$7$F$O(B@file{yatexm-o.el}$B$r$4Mw$/$@$5$$!#(B - -@node Customizations, Etc, Cooperation with other packages, Top -@comment node-name, next, previous, up -@chapter $B%+%9%?%^%$%:(B -@cindex $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B] -@cindex $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B] - - $BLnD;$NF0:n$r@)8f$9$k$NJd408uJd$r$5$i$K=<l9g$O!"(B -@code{YaTeX-prefix}$B$K(B prefix $B%-!<$K$7$?$$%7%s%\%k$rDj5A$7$F$/$@$5$$!#$5$i(B -$B$K!"!V(B@kbd{C-c $B1Q;z(B}$B!W$H$$$&%-!<%P%$%s%I$OFH<+$N4X?t$,3d$jEv$F$F$"$k$N$G;H(B -$B$$$?$/$J$$!#$3$N$h$&$J;~$O!"(B@code{YaTeX-inhibit-prefix-letter} $B$r(B @code{t} -$B$K@_Dj$9$k$3$H$K$h$j!"(B@kbd{C-c $B1Q;z!D(B}$B$N%P%$%s%I$,A4$F!"BP1~$9$k(B@kbd{C-c -C-$B1Q;z!D(B}$B$KJQ$o$j$^$9(B($B$?$@$7!"(Bbegin$B7?(B large$B7?Jd40$NBgJ8;z5/F0$K$h$k%j%8%g(B -$B%s;XDj$O2DG=$J$^$^$G$9!#$3$l$bL58z$K$7$?$$>l9g$O(B@code{t}$B$G$O$J$/(B 1 $B$K%;%C(B -$B%H$7$F2<$5$$!#(B)$B!#(B - -@menu -* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B -* Sample definitions:: $B%+%9%?%^%$%:JQ?t@_DjNc(B -* Hook variables:: hook$BJQ?t(B -* Hook file:: hook$BMQ%U%!%$%k(B -@end menu - -@node All customizable variables, Sample definitions, Lisp variables, Lisp variables -@comment node-name, next, previous, up -@subsection $B%+%9%?%^%$%:JQ?t0lMw(B -@cindex $B%+%9%?%^%$%:JQ?t0lMw(B[$B$+$9$?$^$$$9$X$s$9$&$$$A$i$s(B] - - yatex-mode $B$K$*$1$kl9g$O(B @kbd{M-x describe-variable} $B$G(B -$BJQ?t$N>\:Y$J@bL@$r;2>H$7$F$/$@$5$$!#(B - -@defvar YaTeX-prefix -yatex-mode $BCf$N%W%j%U%#%/%9%-!<(B (@kbd{\C-c}) -@end defvar - -@defvar YaTeX-inhibit-prefix-letter -prefix $B%-!<$ND>8e$N%-!<%P%$%s%I$G(B @kbd{$B1Q;z(B} $B$N$b$N$r(B @kbd{C-$B1Q;z(B} $B$KJQ99(B -(@code{nil}) -@end defvar - -@defvar YaTeX-fill-prefix -$BK\J8$r=q$/;~$N9TF,$KA^F~$9$k@\F,<-$9$J$o$A(B fill-prefix (@code{""(nil)}) -@end defvar - -@defvar YaTeX-user-completion-table -$B3X=,$7$?(BLa@TeX{}$B%3%^%s%IJ]B8%U%!%$%kL>(B (@code{"~/.yatexrc"}) -@end defvar - -@defvar YaTeX-kanji-code -$BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B 1=Shift JIS, 2=JIS, 3=EUC (2 (MS-DOS$B$G$O(B1)) -@end defvar - -@defvar tex-command -La@TeX{}$B%?%$%W%;%C%?%3%^%s%IL>(B (@code{"jlatex"}) -@end defvar - -@defvar dvi2-command -$B%W%l%t%e!<%"%3%^%s%IL>(B (@code{"xdvi -geo +0+0 -s 4"}) -@end defvar - -@defvar dviprint-command-format -dvi$B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%I<0(B (@code{"dvi2ps %f %t %s | lpr"}) -@end defvar - -@defvar dviprint-from-format -$B>e$N(B@code{%f}$B$KAjEv$9$k3+;O%Z!<%8;XDj=q<0!"(B@code{%b} $B$,3+;O%Z!<%8HV9f$KJQ(B -$B$o$k(B (@code{"-f %b"}) -@end defvar - -@defvar dviprint-to-format -@code{%t} $B$KAjEv$9$k=*N;%Z!<%8;XDj=q<0!"(B@code{%e}$B$,=*N;%Z!<%8HV9f$KJQ$o$k(B -(@code{"-t %e"}) -@end defvar - -@defvar makeindex-command -makeindex$B%3%^%s%I(B (@code{"makeindex"} (MS-DOS$B$G$O(B@code{"makeind"})) -@end defvar - -@defvar YaTeX-need-nonstop -@code{\nonstopmode@{@}}$B$r<+F0E*$KIU2C$9$k$+(B (@code{nil}) -@end defvar - -@defvar latex-warning-regexp -latex$B%3%^%s%I$N=PNO$9$k%&%)!<%K%s%09T$N@55,I=8=(B (@code{"line.* [0-9]*"}) -@end defvar - -@defvar latex-error-regexp -$BF1$8$/%(%i!<9T$N@55,I=8=(B (@code{"l\\.[1-9][0-9]*"}) -@end defvar - -@defvar latex-dos-emergency-message -MS-DOS$B>e$GF0:n$9$k(B latex $B%3%^%s%I$,!"%(%i!<$K$h$jDd;_$9$k$H$-=PNO$9$k%a%C(B -$B%;!<%8(B (@code{"Emergency stop"}) -@end defvar - -@defvar latex-message-kanji-code -jlatex $B%3%^%s%I$N=PNO$9$k%a%C%;!<%8$N4A;z%3!<%I(B.$B%?%$%W%;%C%H%P%C%U%!(B -$B$N=PNO$,2=$1$k;~$O!"$3$l$r@_Dj$9$k(B (2, Nemacs$B$G$N$_M-8z(B) -@end defvar - -@defvar NTT-jTeX -$B8E$$(BNTT-j@TeX{}$B;HMQ;~$N$h$&$K%$%s%G%s%H$7$?9T$N@hF,$HA0$N9T$N(B -($B%?%$%W%;%C%H8e$N(B)$B;z4V$,6u$$$F$7$^$&$N$r7y$&>l9g$O(B@code{t}$B$K$9$k(B -(@code{nil}) -@end defvar - -@defvar YaTeX-item-regexp -item$B$N7eB7$($N;~$KMQ$$$k!"(Bitem$B$N@55,I=8=(B (@code{"\\\\(sub\\)*item"}) -@end defvar - -@defvar YaTeX-verb-regexp -verb$B%3%^%s%I$N@55,I=8=!#@hF,$N(B\\\\$B$O$D$1$J$$(B (@code{"verb\\*?\\|path"}) -@end defvar - -@defvar YaTeX-nervous -$B%m!<%+%k<-=q$rMQ$$$k;~(B @code{t} (@code{t}) -@end defvar - -@defvar YaTeX-sectioning-regexp -$B%;%/%7%g%s6h@Z$j@_Dj%3%^%s%I$N@55,I=8=(B -(@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"}) -@end defvar - -@defvar YaTeX-fill-inhibit-environments -fill $B$rM^;_$9$k4D6-L>$N%j%9%H(B -(@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")}) -@end defvar - -@defvar YaTeX-uncomment-once -$BNN0h(Buncomment$B$G9TF,$NJ#?t$N(B@code{%}$B$rA4$F:o=|$9$k$+(B (@code{nil}) -@end defvar - -@defvar YaTeX-close-paren-always -$B3+$-3g8L$NF~NO$G>o$KJD$83g8L$rF~NO$9$k(B (@code{t}) -@end defvar - -@defvar YaTeX-auto-math-mode -$B?t<0%b!<%I$N@Z$jBX$($r<+F0E*$K9T$&(B (@code{t}) -@end defvar - -@defvar YaTeX-math-key-list-private -$B?t<0%$%a!<%8Jd40$GMQ$$$k(B ($B%W%j%U%#%/%9%-!<(B . $BBP1~Jd40%F!<%V%k(B) $B$N(B -alist (@code{nil})$B!#Jd40%F!<%V%k$N=q$-J}$K$D$$$F$O(B@file{yatexmth.el}$B$r;2>H!#(B -@end defvar - -@defvar YaTeX-default-pop-window-height -1$B2hLL$N;~$K%?%$%W%;%C%H%P%C%U%!$r=i$a$F:n@.$9$k;~$N9b$5!#?tCM$G9T?t!"?t;z(B -$BJ8;zNs$G(BEmacs$B%&%#%s%I%&$KBP$9$kI4J,N((B (10) -@end defvar - -@defvar YaTeX-help-file -$B6&MQ%X%k%W%U%!%$%k(B (@file{$EMACS/etc/YATEXHLP.jp}) -@end defvar - -@defvar YaTeX-help-file-private -$B8D?MMQ%X%k%W%U%!%$%k(B (@file{"~/YATEXHLP.jp"}) -@end defvar - -@defvar YaTeX-no-begend-shortcut -@kbd{[prefix] b ??} $B$N%7%g!<%H%+%C%H$r;H$o$:!"(B@kbd{[prefix] b} $B$@$1$GJd40(B -$BF~NO$KF~$k(B (@code{nil}) -@end defvar - -@defvar YaTeX-hilit-pattern-adjustment-private -$B@55,I=8=$H$=$l$K%^%C%A$9$k$b$N$NO@M}E*0UL#$r%7%s%\%k$G$"$i$o$7$?$b$N$N(B -$B%j%9%H!D$N%j%9%H!#(Bhilit19 $B$rAH$_9~$s$G$$$k;~$N$_M-8z!#(B -$B>\$7$/$O(B @code{(assq 'yatex-mode hilit-patterns-alist)} -$B$7$?7k2L$H!"JQ?t(B @code{YaTeX-hilit-pattern-adjustment-default} $B$NCM(B($B$H>l9g(B -$B$K$h$C$F$O(B hilit19 $B$N%I%-%e%a%s%H(B)$B$r;2>H$;$h!#(B -@end defvar - -@defvar YaTeX-sectioning-level -LaTeX$B$N%;%/%7%g%sC10L@k8@%3%^%s%I$H$=$NO@M}E*9b$5$N(Balist$B!#(B -@end defvar - -@defvar YaTeX-hierarchy-ignore-heading-regexp -Hierarchy $B%P%C%U%!$ODL>o%U%!%$%k%X%C%@$H$7$F!"(BLaTeX$B$N%;%/%7%g%s@k8@%3%^%s(B -$B%I$N0z?t$r8!:w$7!"$=$l$,$J$1$l$P%3%a%s%H9T$rC5$9$,!"$=$N:]$K%X%C%@$H$7$F$O(B -$B0UL#$r;}$?$J$$%Q%?!<%s$r$3$NJQ?t$K@_Dj$9$k!#%G%U%)%k%H$G$O(B RCS $B%X%C%@$H%b!<(B -$B%I;XDj9T(B(-*- xxx -*-)$B$,@_Dj$5$l$F$$$k!#(B -@end defvar - -@defvar YaTeX-skip-default-reader -Non-nil $B$K@_Dj$9$k$H(Bsection$B7?%3%^%s%I$N0z?tF~NO;~!"%"%I%$%s4X?t$,$J$1$l$P(B -$B%_%K%P%C%U%!$G$NFI$_9~$_$r$;$:$KF~NO$r40N;$5$;$k(B (@code{nil}) -@end defvar - -@defvar YaTeX-create-file-prefix-g -@code{\include}$B$J$I$G(B @kbd{prefix g}$B$7$?;~$K!"%8%c%s%W@h$,B8:_$7$J$$%U%!%$(B -$B%k$G$"$C$F$b%*!<%W%s$9$k(B (@code{nil}) -@end defvar - -@defvar YaTeX-simple-messages -$B3FH!#(B -@end defvar - -@defvar YaTeX-use-AMS-LaTeX -AMS-LaTeX $B$r;HMQ$9$k>l9g$O(B @code{t} $B$K@_Dj$9$k(B (@code{nil}) -@end defvar - -@defvar YaTeX-use-LaTeX2e -LaTeX2e $B$r;HMQ$9$k>l9g$O(B @code{t} $B$K@_Dj$9$k(B (@code{nil}) -@end defvar - -@defvar YaTeX-template-file -$B?75,%U%!%$%k:n@.;~$K<+F0A^F~$9$k%U%!%$%kL>(B (@code{~/work/template.tex}) -@end defvar - -@defvar YaTeX-search-file-from-top-directory -input$B$9$k%U%!%$%k$rC5$9$H$-$N4p=`%G%#%l%/%H%j$r(Bmain$B%U%!%$%k$N$"$k%G%#%l%/%H(B -$B%j$K$9$k$+(B (@code{t}) -@end defvar -@defvar YaTeX-use-font-lock -$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+$I$&$+(B -(@code{(featurep 'font-lock)} -@end defvar - -@defvar YaTeX-use-hilit19 -$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B -(@code{(featurep 'hilit19)} -@end defvar - -@defvar YaTeX-use-italic-bold -italic, bold$B%U%)%s%H$rLnD;$,C5$9$+$I$&$+(B (Emacs20$B0J9_$J$i(B@code{t}) -font-lock$BMxMQ;~$N$_M-8z!#(B -(@code{(featurep 'hilit19)} -@end defvar - -@node Sample definitions, Hook variables, All customizable variables, Lisp variables -@comment node-name, next, previous, up -@subsection $B%+%9%?%^%$%:JQ?t@_DjNc(B -@cindex $B@_DjNc(B[$B$;$D$F$$$l$$(B] - - $B$?$H$($P!"(Bprefix $B%-!<$H$7$F(B@kbd{ESC}$B$r;HMQ$7!"?7$?$JJd408uJd$r3JG<$9$k%U%!(B -$B%$%k$r!"(B@file{~/src/emacs/yatexrc} $B$K$7!"9TF,$N(B prefix $B$r%?%VJ8;z0l$D$KJQ(B -$B$($?$$$H$-$O!"(B - -@lisp - (setq YaTeX-prefix "\e" - YaTeX-user-completion-table "~/src/emacs/yatexrc" - YaTeX-fill-prefix " ") -@end lisp - -@noindent -$B$r(B @file{~/.emacs} $B$K2C$($^$9!#(B - -@node Hook variables, Hook file, Sample definitions, Lisp variables -@comment node-name, next, previous, up -@subsection hook$BJQ?t(B -@cindex hook$BJQ?t(B[hook$B$X$s$9$&(B] -@cindex yatex-mode-hook -@cindex yatex-mode-load-hook - - $B$^$?!"(Bhook $BJQ?t(B @code{yatex-mode-hook}, @code{yatex-mode-load-hook} $B$rMQ(B -$B0U$7$F$$$^$9!#$9$Y$F$N(B yatex-mode $B$N%P%C%U%!$G:nMQ$5$;$?$$$b$N$O!"(B -@code{yatex-mode-hook} $B$K5-=R$7!"(B@file{yatex.el} $B$r%m!<%I$9$k;~$@$1:nMQ$5(B -$B$;$?$$$b$N$O(B@code{yatex-mode-load-hook} $B$K5-=R$7$^$9!#Nc$($P!"(B -@code{outline-minor-mode} $B$rMxMQ$9$k>l9g!"$=$l$>$l$N%P%C%U%!$G(B -@code{outline-minor-mode} $B$rM-8z$K$7$?$$$N$G!"(B@code{yatex-mode-hook} $B$r(B -$B$b%7%g!<%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"$d%3%^%s%IL>$K1~$8$?$-$a:Y$d$+$JJd40F~NO5!G=$r(B - - $BLnD;$NI8=`$N(B La@TeX{} $B%3%^%s%I$N<-=q$K$O!":n:\Ey$K4X$7$F$O@)8B$$$?(B -$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B -$B$?$@$/$H!":np!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#(B -$BO"Mm$O(B yuuji@@yatex.org $B$^$G(B(2000$BG/(B12$B7n8=:_(B)$B!#(B -$B7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N2q!W$K(B -$B@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B @file{docs/qanda} -$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B - -$B;EMM$O!"M=9p$J$/3Nl9g$K$O%3%a%s%H%"%&%H$r30$9(B!!! -@c @node Variable Index -@c @comment node-name, next, previous, up -@c @unnumbered $B%+%9%?%^%$%:JQ?t:w0z(B -@c @printindex vr - -@contents - -@bye - -@c Local Variables: -@c fill-column: 74 -@c fill-prefix: nil -@c End: - -Tag table: - -End tag table +\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1 +\input texinfo +@setfilename yatexj +@settitle Yet Another tex-mode for Emacs + +@iftex +@c @syncodeindex fn cp +@c ���‚��Y���̂ł����ɏ����Ƃ����B +@c C-l C-c n �Ńm�[�h���� +@c �m�[�h���������� C-l C-u C-n �S���̃m�[�h�X�V C-l C-u C-e +@c ���j���[���₵���� C-l C-u C-m �S���̃��j���[�X�V C-l C-u C-a +@c �t�H�[�}�b�g����Ƃ��� C-l C-e C-b +@c Last modified Fri Feb 2 10:03:49 2001 on firestorm +@syncodeindex vr cp +@end iftex + +@titlepage +@sp 10 +@center +@subtitle Yet Another tex-mode for emacs +@title �w�쒹�x +@subtitle // YaTeX // +@author @copyright{} 1991-2000 by HIROSE, Yuuji [yuuji@@yatex.org] +@end titlepage + +@node Top, Intro, (dir), (dir) +@comment node-name, next, previous, up + +@menu +* Intro:: �͂��߂� +* Terminology:: �}�j���A���Q�Ə�̒��� +* Main features:: ��ȋ@�\ +* Installation:: �C���X�g�[�� +* Invocation:: �v���Z�X�N�� +* %#notation :: %#�L�@ +* Completion:: �⊮���� +* Local dictionary:: ���[�J������ +* Commenting out:: �R�����g�A�E�g +* Cursor jump:: �J�[�\���W�����v +* Modifying/Deleting:: LaTeX�R�}���h�̕ύX/�폜 +* Filling:: ������ +* Includeonly:: ����� includeonly +* What column:: �J�����ʒu�K�C�h +* Intelligent newline:: ���܂������s +* Changing mode of YaTeX:: �쒹���샂�[�h�ύX +* Online help:: LaTeX�I�����C���w���v +* Inclusion hierarchy browser:: �t�@�C�������K�w�\���̕\�� +* Cooperation with other packages:: ���p�b�P�[�W�Ƃ̘A�g +* Customizations:: �J�X�^�}�C�Y +* Etc:: ���̑� +* Copying:: ��舵�� +* Concept Index:: ���� + + --- The Detailed Node Listing --- + +latex�R�}���h�N�� + +* Calling typesetter:: �^�C�v�Z�b�^�N�� +* Calling previewer:: �v�������[�A�N�� +* Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� + +%#�L�@ + +* Changing typesetter:: �^�C�v�Z�b�g�p�R�}���h�̕ύX +* Splitting input files:: ���̓t�@�C������ +* Fix region for typesetting:: �̈�̌Œ� +* lpr format:: �v�����g�A�E�g�R�}���h�p�t�H�[�}�b�g +* Editing %# notation:: %#�L�@�̕ҏW + +�⊮���� + +* begin�^�⊮:: +* section�^�⊮:: +* large�^�⊮:: +* maketitle�^�⊮:: +* Arbitrary completion:: �����⊮ +* end�⊮:: +* Accent mark completion:: �A�N�Z���g�L���⊮ +* Image completion:: �����L���C���[�W�⊮ +* Greek letter completion:: �M���V�������⊮ + +section�^�⊮ + +* 2�ˆȏ�̈������Ƃ� section�^�R�}���h:: +* Enclose section-type command:: ����⊮ +* Recursive completion:: �ċA�⊮ +* view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� + +�J�[�\���W�����v + +* �Ή��I�u�W�F�N�g�ւ̃W�����v:: +* ���G�`���c�[���N��:: +* ���C���t�@�C���ւ̃W�����v:: +* �‹���P�ʂƂ����W�����v:: +* �Ō�̕⊮�ʒu�ւ̃W�����v:: + +�ύX/�폜 + +* Changing LaTeX command:: La@TeX{} �R�}���h�̕ύX +* Killing LaTeX command:: La@TeX{} �R�}���h�̍폜 + +�J�X�^�}�C�Y + +* Lisp variables:: lisp �ϐ� +* Add-in functions:: �t���֐�(�A�h�C���֐�) + +lisp �ϐ� + +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Sample definitions:: �J�X�^�}�C�Y�ϐ��ݒ�� +* Hook variables:: hook�ϐ� +* Hook file:: hook�p�t�@�C�� +@end menu + +@node Intro, Terminology, Top, Top +@comment node-name, next, previous, up +@chapter �͂��߂� +@cindex Demacs +@cindex Mule +@cindex LaTeX +@cindex �₿�傤[�₿�悤] + + �쒹�́AGNU Emacs �� La@TeX{} �p�̕������쐬���鎞�� pLa@TeX{} �Ȃǂ� +�^�C�v�Z�b�g�R�}���h��A�v�������[�A�̋N���� Emacs �ҏW��ʒ����� +�s����悤�ɂ���Ƌ��ɁA�g�����̍�����X�̕⊮�@�\�ɂ��\�[�X�e�L +�X�g�̕ҏW���x�����܂��B����� La@TeX{} �R�}���h�̃I�����C���w���v�� +���}�j���A���𒲂ׂ��Ԃ��y�����܂��B + + English manual @xref{Top, , , yatexe,YaTeX English info}. + +@node Terminology, Main features, Intro, Top +@comment node-name, next, previous, up +@chapter �{�}�j���A���Q�Ə�̒��� + + �{�}�j���A���ł͈ȉ��̕\�L��p���܂��B + +@itemize @bullet +@item +begin�^�R�}���h + +@code{\begin@{�‹�@} �` \end@{�‹�@}}�Ƃ����`����LaTeX�R�}���h���w���܂��B +begin�^�R�}���h��⊮���͂��邱�Ƃ�begin�^�⊮�ƌĂт܂��B + +@item +section�^�R�}���h + +@code{\section@{�^�C�g��@}}��@code{\mbox@{���e@}}�̂悤�� +���������LaTeX�R�}���h���w���܂��B + +@item +maketitle�^�R�}���h + +@code{\maketitle}��@code{\tableofcontents}�̂悤�Ɉ��������Ȃ�LaTeX�R�} +���h���w���܂��B + +@item +large�^�R�}���h + +@code{@{\large ...@}} �� @code{@{\tt ...@}} �̂悤�ȃt�H���g/�T�C�Y�w��q +���w���܂��B + +@item @kbd{[prefix]} + +�쒹�̋@�\���Ăяo�����߂̃v���t�B�N�X�L�[�B�f�t�H���g�ł�@kbd{C-c}�Ɋ��� +���Ă��Ă���̂ŁA���ɕύX���Ă��Ȃ��ꍇ�{�}�j���A���� @kbd{[prefix]} �� +�����\�L�́A@kbd{C-c} �Ɠǂ݊����Ă��������B +@end itemize + +@node Main features, Installation, Terminology, Top +@comment node-name, next, previous, up +@chapter ��ȋ@�\ + +@itemize @bullet +@item �^�C�v�Z�b�^��v�������[�A�Ȃǂ̕ҏW��ʂ���̋N��(@kbd{C-c t}) +@item �J�[�\���ʒu�ɂ��Ȃ��Œ胊�W�����̕����^�C�v�Z�b�g +@item \includeonly�̃����^�b�`�X�V +@item �G���[�ӏ��ւ̎����W�����v(@kbd{C-c '}) +@item @code{\begin@{@}, \end@{@}, \section...} �Ȃǂ� La@TeX{} +�R�}���h�̕⊮���� +(@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m}) +@item ���ɓ��͂����e�L�X�g���‹���R�}���h�����̒��Ɏ�荞�ފ���⊮ +(@kbd{C-u} +�ʏ�⊮�L�[) +@item �Z�N�V������؂���͎��̕����\���A�E�g���C���\�� +@item �Z�N�V�����R�}���h�̈ꊇ�V�t�g (@ref{view-sectioning}) +@item �⊮�����̊w�K +@item La@TeX{} �̊‹���R�}���h�ɉ������K�C�h�t���������� +@item �쒹�ɂȂ��K�C�h�t���������͊֐��̎�������(@file{yatexgen.el}) +@item La@TeX{} �R�}���h�̍폜/�ύX(@kbd{C-c k}, @kbd{C-c c}) +@item �t�@�C���ԁA@code{\begin}<->@code{\end}�ԁA + @code{\ref}<->@code{\label}�ԁA + @code{\cite}<->@code{\bibitem}�W�����v(@kbd{C-c g}) +@item �ꊇ�R�����g�A�E�g/�A���R�����g�A�E�g + (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .}) +@item �A�N�Z���g�L��/�����‹��p�R�}���h/�M���V�������̓��͎x�� + (@kbd{C-c a}, @kbd{;}, @kbd{/}) +@item tabular/array�‹��̃J�����ʒu�K�C�h +@item �W���I La@TeX{} �R�}���h�̃I�����C���w���v(@kbd{C-c ?}, @kbd{C-c /}) +@item �h�L�������g�̃C���N���[�h�\���̎��o�I�\���ƃo�b�t�@�؂�ւ� +(@kbd{C-c d}) +@end itemize + +@node Installation, Invocation, Main features, Top +@comment node-name, next, previous, up +@chapter �N���@ +@cindex Install +@cindex �C���X�g�[��[���񂷂Ƃ���] +@cindex .emacs +@cindex auto-mode-alist +@cindex autoload +@section �쒹�N���̂��߂̐ݒ� + + ~/.emacs�ɉ���2���ڂ������܂��B + +@lisp +(setq auto-mode-alist + (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) +(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) +@end lisp + +���ɖ쒹�� emacs-lisp �t�@�C���Q��u���f�B���N�g���� load-path �ɉ����܂��B +���Ƃ��΁A @file{~/src/emacs/yatex}�ɒu���̂ł���΁A + +@lisp +(setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path)) +@end lisp + +@noindent +�ȂǂƂ��܂��B + + �ȏ�̐ݒ�ɂ��A�g���q�� .tex �ł���t�@�C����ҏW����Ǝ����I�ɖ쒹�� +���[�h����܂��B�쒹������ɋN���ł����Ƃ��̓��[�h���C���̕\�����u��ĂӁv +�ɕς��܂��B + +@section �^�C�v�Z�b�^/�v�������[�A�‹��̐ݒ� + + ���p����O���v���O�����Ɋւ���ȉ��̕ϐ����m�F���A�K�v�Ȃ琳�����l�ɕύX +���܂��B +@table @code +@item tex-command + @dots{} �N������^�C�v�Z�b�^�̃R�}���h�� +@item dvi2-command + @dots{} �N������v�������[�A�̃R�}���h�� +@item NTT-jTeX + @dots{} ���s+�C���f���g�ɂ���āA�^�C�v�Z�b�g��̎��Ԃ��󂢂Ă��� + ���̂�}������ꍇ��t�ɂ���(�Â�NTT-jTeX�Ō����Ɍ����)�B��̓I�ɂ́A + fill����Ƃ��Ɋe�s�̏I����%��t������悤�ɂȂ�B +@item YaTeX-kanji-code + @dots{} �������쐬���鎞�̊����R�[�h +@item dviprint-command-format + @dots{} �t�@�C���̈���Ɏg����R�}���h��̏��� +@item makeindex-command + @dots{} makeindex�R�}���h +@end table + +������ύX����ꍇ�́A��͂�@file{~/.emacs}�ɂāA���Ƃ��� +@lisp +(setq tex-command "bigjlatex") +@end lisp +�̂悤�ɂ��Ă��������B�ǂ̂悤�Ȓl���Z�b�g����Ηǂ����ɂ‚��ẮA +@ref{All customizable variables}���Q�Ƃ��Ă��������B + + +@node Invocation, %#notation , Installation, Top +@comment node-name, next, previous, up +@chapter latex�R�}���h�N�� +@cindex prefix key +@cindex C-c +@cindex �^�C�v�Z�b�^[�����ӂ��‚�] +@cindex �v�������[�A[�ӂ�Ђ䂤��] +@cindex jlatex +@cindex platex +@cindex �v�����g�A�E�g[�ӂ��Ƃ�����] + +LaTeX�\�[�X�̕ҏW���A���̃L�[���͂ɂ��Aplatex �Ȃǂ̃^�C�v�Z�b�g�v���O�� +��(�Ȍ�^�C�v�Z�b�^�ƌĂ�)�A�v�������[�A�Ȃǂ̋N�����ł��܂��B + +@table @kbd +@item [prefix] t j + @dots{} �^�C�v�Z�b�^(platex)�N�� +@item [prefix] t r + @dots{} �^�C�v�Z�b�^�N��(�̈�w��) +@item [prefix] t k + @dots{} ���쒆�̃^�C�v�Z�b�^�̒�~ +@item [prefix] t b + @dots{} jbibtex�N�� +@item [prefix] t p + @dots{} �v�������[�A�N�� +@item [prefix] t l + @dots{} lpr(�v�����g�A�E�g�p)�R�}���h�N�� +@item [prefix] t s + @dots{} xdvi -remote �ł̃T�[�` +@end table + +@menu +* Calling typesetter:: �^�C�v�Z�b�^�N�� +* Calling previewer:: �v�������[�A�N�� +* Print out:: �v�����g�A�E�g�p�R�}���h�̋N�� +@end menu + +@node Calling typesetter, Calling previewer, Invocation, Invocation +@comment node-name, next, previous, up +@section �^�C�v�Z�b�^�N�� +@cindex �^�C�v�Z�b�^�N��[�����ӂ��‚����Ƃ�] +@cindex �^�C�v�Z�b�g�G���[[�����ӂ��‚Ƃ��炠] +@cindex �G���[�C��[���炠���䂤����] + + �^�C�v�Z�b�^���N������ƁA�ҏW�E�B���h�E��2�‚ɕ�������A�Е��̃E�B���h +�E�Ƀ^�C�v�Z�b�g��ʂ��\������܂��B�o�͂���郁�b�Z�[�W�ƘA�����^�C�v�Z�b +�g�o�b�t�@�͎����I�ɃX�N���[�����܂��B�����A�r���ŃG���[���N�����Ď~�܂��� +���܂����ꍇ�ɂ̓^�C�v�Z�b�g�o�b�t�@�Ɉڂ�A(@kbd{C-x o}) �^�C�v�Z�b�^�̏o +���Ă��� ? �v�����v�g�ɑ΂��āA@kbd{x} (�����̒��f)�Ȃǂ̎w���𑗂邱�Ƃ� +�ł��܂��B�G���[���C������ꍇ�́A + +@table @kbd +@item [prefix] ' +@itemx (prefix+�A�|�X�g���t�B) + @dots{} ���O�̃G���[�����s�փW�����v +@end table + +����͂��邱�Ƃɂ��A�^�C�v�Z�b�^���G���[�𔭐������s�Ɉڂ邱�Ƃ��ł��܂��B +�܂��A�^�C�v�Z�b�^�̏o�͂��� overfull hbox �Ȃǂ̃E�H�[�j���O�s�ɂ��Ή��� +�Ă��܂��̂ŁA���� @kbd{[prefix] '} ���������Ƃɂ��A��‘O�̃E�H�[�j���O +�����s�ɃW�����v���Ă����܂��B + + �����A�C�ɂȂ�G���[�s���������ꍇ�́A�^�C�v�Z�b�g�o�b�t�@�ŁA�G +���[�̕\������Ă���s�ɃJ�[�\�������킹�X�y�[�X�L�[�������� La@TeX{} +�\�[�X�̑Ή�����s�ɃW�����v���܂��B + +@subsection �̈�^�C�v�Z�b�g + + �|�C���g�ƃ}�[�N�̊ԁA���邢�̓e�L�X�g���ɖ��ߍ��� @code{%#BEGIN} �� +@code{%#END}�̊Ԃ̗̈�(@ref{%#notation})������؂����ă^�C�v�Z�b�g���邱�Ƃ� +�ł��܂��B���̏ꍇ�� documentclass �́A�P��t�@�C���� La@TeX{} �\�[�X�̕� +�W���ɂ͂��̃t�@�C���� documentclass ���A�ʃt�@�C������ include ���Ă���� +���ɂ̓��C���t�@�C���� documentclass �������I�ɑI������܂��B�w��̈�́A +���C���t�@�C���̂���f�B���N�g����@file{texput.tex}�Ƃ����Վ��t�@�C���ɏo +�͂���܂��̂ŁA�㏑���ɂ͒��ӂ��Ă��������B + +@node Calling previewer, Print out, Calling typesetter, Invocation +@comment node-name, next, previous, up +@section �v�������[�A�N�� + @kbd{[prefix] t p} �ɂ��v�������[�A�̋N�����ł��܂��B����ɁA�������� +�����A-remote �@�\�‚���xdvi�𗘗p���Ă���ꍇ�� @kbd{[prefix] t s} ������ +���Ƃɂ��J�[�\���ʒu�̕�������������Ă��̃y�[�W��\������悤�ɂ��łɋN +������xdvi�ɖ��߂𑗂�܂��B����ɂ��A���ݕҏW���̉ӏ��̃^�C�v�Z�b�g���� +�𑦍��Ɍ��邱�Ƃ��ł��܂��B + +@c �Ȃ��A-remote �@�\�t���� xdvi �� +@c @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote} +@c �Ȃǂ�����肷�邱�Ƃ��ł��܂��B + +@node Print out, , Calling previewer, Invocation +@comment node-name, next, previous, up +@section �v�����g�A�E�g + + @kbd{[prefix] t l}�������ăv�����g�A�E�g���w������ƁA�o�͊J�n/�I���y�[ +�W�𕷂��Ă���̂ŁA���ꂼ��ɓ����܂��B������ȗ����������́A +universal-argument ���‚��A + +@cindex �o�͊J�n�y�[�W[����‚�悭�������ւ���] +@cindex �o�͏I���y�[�W[����‚�悭���䂤��悤�ւ���] + +@table @kbd +@item C-u [prefix] t l + @dots{} �y�[�W�m�F�ȗ�lpr�N�� +@end table +@cindex �y�[�W�m�F�ȗ�lpr�N��[�ւ��������ɂ񂵂悤��₭lpr���Ƃ�] + +@noindent +�̂悤�ɋN�����Ă��������B + +@node %#notation , Completion, Invocation, Top +@comment node-name, next, previous, up +@chapter %#�L�@ + + �{������@code{%#}�ł͂��܂�L�[���[�h�𖄂ߍ��ނ��ƂŃ^�C�v�Z�b�^�N���� +�̐�������邱�Ƃ��ł��܂��B + +@menu +* Changing typesetter:: �^�C�v�Z�b�g�p�R�}���h�̕ύX +* Splitting input files:: ���̓t�@�C������ +* Fix region for typesetting:: �̈�̌Œ� +* lpr format:: �v�����g�A�E�g�R�}���h�p�t�H�[�}�b�g +* Editing %# notation:: %#�L�@�̕ҏW +@end menu + +@node Changing typesetter, Splitting input files, %#notation , %#notation +@comment node-name, next, previous, up +@section �^�C�v�Z�b�g�p�R�}���h�ύX + + �N������R�}���h��ς��������͖{�����Ɏ��̂悤�ȍs�������܂��B + +@cindex �N������R�}���h��ς���[���Ƃ����邱�܂�Ƃ�������] + +@example + %#!jlatex-ntt +@end example + +NTT jTeX �ƁAASCII jTeX ���g�����������悤�ȏꍇ�ɕ֗��ł��傤�B + +@cindex �^�C�v�Z�b�^�̎g������[�����ӂ��‚��̂‚����킯] + +@node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation +@comment node-name, next, previous, up +@section ���̓t�@�C������ + +�܂��A�͖��ɕʃt�@�C���� .tex ���쐬���Ă���ꍇ�ŁA@file{main.tex}���� +@file{sub.tex}�� @code{\include}���Ă���悤�Ȏ��́A@file{sub.tex}�̔C�ӂ� +�ʒu�Ɏ��̂悤�ȍs�𖄂ߍ��݂܂��B + +@example + %#!platex main.tex +@end example + +@cindex ���̓t�@�C������[�ɂ䂤��悭�ӂ�����ӂ񂩂�] + +��̗�̂悤�ɃR�}���h�������łȂ��������������ꍇ�ɂ́A�S�Ă����̂܂� +shell �ɓn���̂Ŏ��̂悤�ɏ����΁Aghostview �Ȃǂ��v�������[�A�Ɏg�����ɕ� +���ł��B + +@cindex ghostview + +@example + %#!platex main ; dvi2ps main.dvi > main +@end example + +�Ȃ��A���̍s�̍Ō�̒P��̃s���I�h�ȑO���u���C���t�@�C���v�̃x�[�X +�l�[���ł���Ɖ��肵�܂�(���2�‚̏ꍇ�ǂ����@file{main})�B + + @kbd{[prefix] g} (@ref{Cursor jump}�Q��) �ł� +�t�@�C���ԃW�����v��L���ɋ@�\�����邽�߁A���̓t�@�C���������ɂ͎��̂��Ƃ� +���ӂ��ĉ������B + +@enumerate +@item +�T�u�f�B���N�g��������āA���̒��ɃT�u�t�@�C����u�����Ƃ͂ł��邪 +�T�u�f�B���N�g���̃T�u�f�B���N�g���ɂ͒u���Ȃ��B +@item +���C���t�@�C������T�u�f�B���N�g�����̃t�@�C���� include +���鎞�ɂ́A���΃p�X�w���p���āA +@code{\include@{chap1/sub@}}�̂悤�ɋL�q�B +@item +���C���t�@�C�������̃f�B���N�g���ɂ���ꍇ���A�T�u�t�@�C���ɂ� +%#!platex main.tex �̂悤�ɋL�q����(../main�ł͂Ȃ�)�B +@end enumerate + + + +@node Fix region for typesetting, lpr format, Splitting input files, %#notation +@comment node-name, next, previous, up +@section �̈�̌Œ� +@cindex �Œ�̈�̃^�C�v�Z�b�g[���Ă���悤�����̂����ӂ��‚�] +@cindex %#BEGIN +@cindex %#END + + @kbd{[prefix] tr} �̗̈�w��̃^�C�v�Z�b�g�ł́A�Ƃ��Ɏw��̂Ȃ�������A +@kbd{C-SPC}�Ń}�[�N�����ʒu�ƁA�|�C���g(�J�[�\���ʒu)�̊Ԃ�̈�Ƃ݂Ȃ��� +�����A�K�����܂����̈���^�C�v�Z�b�g�������ꍇ�́A���̗̈�� + +@example + %#BEGIN + <�n�������̈�> + %#END +@end example + +@noindent +�̂悤��@code{%#BEGIN}��@code{%#END}�ň͂݁A�J�[�\�����u@code{%#BEGIN}�ȍ~�v +�ɒu���Ă��������B���̎��̗̈挈��K�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + + +@enumerate +@item +�J�[�\���ʒu���o�b�t�@�̐擪������@code{%#BEGIN}�Ƃ����L�[���[�h�� +����ꍇ + +@enumerate +@item +@code{%#BEGIN}���o�b�t�@�̖���������@code{%#END}�Ƃ����L�[���[�h�����‚��� +���ꍇ�B +@result{}@code{%#BEGIN} ����A���� @code{%#END} �̂���ʒu�܂ŁB +@item +@code{%#END} �����‚���Ȃ������ꍇ�B +@result{}�o�b�t�@�̍Ō���܂ŁB +@end enumerate +@cindex �̈挈��K��[��悤�������‚Ă�������] + +@item +�J�[�\���ʒu���o�b�t�@�̐擪������ @code{%#BEGIN} �Ƃ����L�[���[�h�� +���‚���Ȃ������ꍇ�B +@result{}�}�[�N(@kbd{C-SPC}�ʒu)�ƃ|�C���g(�J�[�\���ʒu)�̊Ԃ̗̈�B +@end enumerate + + tabular �‹������x�����s���낵�Ă���悤�ȏꍇ�́A@code{\begin}�̑O�̍s +�� @code{%#BEGIN} �Ə����A@code{\end} �̎��̍s�� @code{%#END} �Ə����Ă��� +�ƊȒP�ɍ�\���ʂ��e�X�g���邱�Ƃ��ł��܂��B�܂��A���� .tex �t�@�C���̌㔼 +�� @code{%#BEGIN} �������Ă����΁A�O���̕����͖����ł��܂��B����BEGIN��END +�̏����Y��ɂ͏\�������Ӊ������B +@cindex �����t�@�C���̕ҏW[�Ȃ����ӂ�����̂ւ񂵂䂤] + +@c @node Require, lpr format, Fix region for typesetting, %#notation +@comment node-name, next, previous, up + +@node lpr format, Editing %# notation, Fix region for typesetting, %#notation +@comment node-name, next, previous, up +@section lpr�t�H�[�}�b�g +@cindex lpr�ӂ��[�܂���[lpr�ӂ����܂‚�] +@cindex lpr�t�H�[�}�b�g[lpr�ӂ����܂‚�] +@cindex lpr format + + �܂��A�v�����g�A�E�g�p�R�}���h��̃t�H�[�}�b�g�ɂ‚��Đ������܂��B +�R�}���h��t�H�[�}�b�g�́A3�‚� Lisp �ϐ��ɂ���ĕ\������܂��B�f +�t�H���g�� dvi2ps �p�̃t�H�[�}�b�g���ɐ������܂��B + +@table @code +@item (1)dviprint-command-format +@code{"dvi2ps %f %t %s | lpr"} + +@item (2)dviprint-from-format +@code{"-f %b"} + +@item (3)dviprint-to-format +@code{"-t %e"} +@end table + +���ۂɃv�����g�A�E�g���鎞�́A(1)���� %s ���t�@�C�����ɒu���������A%f �� +(2)�̓��e�A%t ��(3)�̓��e�ɒu���������܂��B���̍ۂ�(2)�̕����񒆂� %b �� +�u�o�͊J�n�y�[�W�v�A(3)�̕����񒆂� %e �́u�o�͏I���y�[�W�v�ɒu��������� +�܂��B�����A�y�[�W���w�肵�Ȃ����ɂ́A%f, %t �����Ƃ���������܂��B + + ���́Adviprint-command-format ��Վ��ɕς��������́ALa@TeX{} �� +�\�[�X�e�L�X�g���̔C�ӂ̏ꏊ�ɁA + +@example + %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 +@end example + +@noindent +�̂悤�ɏ����ĉ������B�v�����g�A�E�g����y�[�W�͈͂����������������Ȃ��悤 +�ɂ��鎞�� + +@example + %#LPR dvi2ps %s | lpr +@end example + +@noindent +�ȂǂƂ���̂��֗���������܂���B + +@node Editing %# notation, , lpr format, %#notation +@comment node-name, next, previous, up +@section %#�L�@���̂̕ҏW +@cindex %#�L�@���̂̕ҏW[%#���ق��������̂ւ񂵂䂤] + +�ȏ�̂悤��@code{%#}�Ŏn�܂�e�퐧��L�@��ҏW���邽�߂ɂ� + +@table @kbd +@item [prefix] % + @dots{} @code{%#}@var{�L�@�ҏW���j���[} +@end table + +@noindent +�������܂��B + +@example + !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR +@end example + +@noindent +�Ƃ������j���[���o�ė���̂ŁA@code{%#!}�ɑ����R�}���h��ύX���������ɂ� +@kbd{!}���A@code{%#LPR}�� lpr �t�H�[�}�b�g��ς���������@kbd{l}���A���炩 +���ߐݒ肵�����W������ @code{%#BEGIN} �` @code{%#END} �Ŋ��肽�����́A +@kbd{b}�������܂��B@kbd{b}��I�񂾎��ɂ́A����܂Ńo�b�t�@���ɒu����Ă��� +@code{%#BEGIN}, @code{%#END} �������I�ɏ�������܂��B +@cindex lpr�t�H�[�}�b�g�̕ύX[lpr�ӂ����܂‚Ƃ̂ւ񂱂�] + +@node Completion, Local dictionary, %#notation , Top +@comment node-name, next, previous, up +@chapter �⊮���� + + La@TeX{} �ł̊‹����Ȃǂ́A�쒹�̕⊮�@�\�𗘗p���Ĕ\���I�ɓ��͂��邱�� +���ł��܂��B + +@menu +* begin�^�⊮:: +* section�^�⊮:: +* large�^�⊮:: +* maketitle�^�⊮:: +* Arbitrary completion:: �����⊮ +* end�⊮:: +* Accent mark completion:: �A�N�Z���g�L���⊮ +* Image completion:: �����L���C���[�W�⊮ +* Greek letter completion:: �M���V�������⊮ +@end menu + +@node begin�^�⊮, section�^�⊮, Completion, Completion +@comment node-name, next, previous, up +@section begin�^�⊮ +@cindex begin�^�⊮[begin�����ق���] +@cindex �‹����̕⊮[���񂫂悤�߂��̂ق���] +@cindex prefix b + + @code{\begin@{env@}...\end@{env@}}�̗l�Ȍ`���̓��͂̕⊮��begin�^�⊮�� +�ĂԂ��Ƃɂ��܂��Bbegin �^�⊮�́A + +@table @kbd +@item [prefix] b + @dots{} begin �^�⊮�J�n(�W���ł� @kbd{C-c b}) +@end table + +@noindent +�Ŏn�܂�܂��B�p�ɂɗp�����鎟�� La@TeX{} �‹��̕⊮�́A[prefix] @kbd{b} +�ɑ�������1��������͂��邾���ŁA@code{\begin@{xxx@}...\end@{xxx@}}������ +�����܂��B + +@table @kbd +@item [prefix] b c + @dots{} @code{\begin@{center@}...\end@{center@}} +@item [prefix] b d + @dots{} @code{\begin@{document@}...\end@{document@}} +@item [prefix] b D + @dots{} @code{\begin@{description@}...\end@{description@}} +@item [prefix] b e + @dots{} @code{\begin@{enumerate@}...\end@{enumerate@}} +@item [prefix] b E + @dots{} @code{\begin@{equation@}...\end@{equation@}} +@item [prefix] b i + @dots{} @code{\begin@{itemize@}...\end@{itemize@}} +@item [prefix] b l + @dots{} @code{\begin@{flushleft@}...\end@{flushleft@}} +@item [prefix] b m + @dots{} @code{\begin@{minipage@}...\end@{minipage@}} +@item [prefix] b t + @dots{} @code{\begin@{tabbing@}...\end@{tabbing@}} +@item [prefix] b T + @dots{} @code{\begin@{tabular@}...\end@{tabular@}} +@item [prefix] b ^T + @dots{} @code{\begin@{table@}...\end@{table@}} +@item [prefix] b p + @dots{} @code{\begin@{picture@}...\end@{picture@}} +@item [prefix] b q + @dots{} @code{\begin@{quote@}...\end@{quote@}} +@item [prefix] b Q + @dots{} @code{\begin@{quotation@}...\end@{quotation@}} +@item [prefix] b r + @dots{} @code{\begin@{flushright@}...\end@{flushright@}} +@item [prefix] b v + @dots{} @code{\begin@{verbatim@}...\end@{verbatim@}} +@item [prefix] b V + @dots{} @code{\begin@{verse@}...\end@{verse@}} +@end table + + ��L�̂��̈ȊO�̊‹����� Emacs �̎��ƒC���N�������^���ȕ⊮�@�\��p���� +���͂��܂�(��L�̊‹������ȉ��̕⊮���͉”\)�B + +@table @kbd +@item [prefix] b @key{SPC} + @dots{} begin �^�⊮���� +@end table + +@kbd{[prefix] b @key{SPC}} �Ɠ��͂���ƁA�ʼn��s�̃~�j�o�b�t�@�� + +@example + Begin environment(default document): +@end example + +@noindent +�ƕ\������܂��B�����ŁA�������ꂸ�Ƀ��^�[���L�[�̂݉����ƁA���ʓ��ɏo�Ă� +��f�t�H���g�̊‹��������͂���܂����A�K���Ȋ‹�������͂���ƁA +@code{\begin@{�‹���@} �c \end@{�‹���@}}���������ɑ}������܂��B�~�j�o�b +�t�@�Ŋ‹�������͂���Ƃ��ɁA�‹����̓���������͂��u�X�y�[�X�v���������ƁA +��v����‹����������e�[�u���ɑ��݂����ꍇ�A�������‹����ɕ⊮�����̂ŁA +���͂̎�Ԃ��Ȃ��܂��B�����e�[�u���ɑ��݂��Ȃ��‹�������͂������̓��[�U�� +�p�̃e�[�u���ɓo�^����A����ɂ��̃e�[�u���������I�ɁA���[�U����(�f�t�H�� +�g�ł� @file{~/.yatexrc})�ɕۑ����܂��B + +����ɁA����̊‹���⊮���͂������ɂ͂��̊‹��ŕK���p������G���g������ +���}�����܂�(��: @code{itemize}�‹��ɂ�����@code{\item}�Ȃ�)�B�}�����ꂽ�G +���g�����s�v�ȏꍇ�ɂ�undo�ɂ���ď������ĉ������B +@cindex ���[�U����[�䂤��������] + +@subsection ���ɏ������e�L�X�g���‹��Ŋ��� + + �Ƃ���ŁA�ŏ��ɏ����Ă��܂����u���b�N���ォ��Aitemize �‹��̒� +�ɕ‚����߂����Ǝv�����Ƃ�����܂����A���̂悤�ȂƂ��́A���炩���� +�‚����߂����i�����}�[�N���āAbegin �^�⊮�̊e�R�}���h�� @kbd{[prefix]} +�̎��́w�������� 'b'�x ���w�啶���x�ɕς��ċN�����ĉ������B(�܂��́A +@kbd{C-u} ���ɑł��Auniversal argument ���‚��Ă��”\�ł�) +@cindex �u���b�N[�ӂ�‚�] +@cindex �‚����߂�[�Ƃ����߂�] + + �Ⴆ�΂���p���O���t�� description �‹��̒��ɓ��ꂽ���Ƃ��́A +���̃p���O���t���}�[�N���Ă���A + +@table @kbd +@item [prefix] B D +@itemx (�܂��� ESC 1 [prefix] b D) +@itemx (�܂��� C-u [prefix] b D �Ȃ�) +@end table + +�ƃ^�C�v���Ă��������B����́A@kbd{[prefix] b SPC}�̕⊮���͂ɂ����Ă͂܂�A +@kbd{b} ��啶���ɕς��āA@kbd{[prefix] B SPC} �ƃ^�C�v����΁A���炩���� +�}�[�N���Ă��������W�������Abegin �� end �̊‹��Ŋ���܂��B + +@node section�^�⊮, large�^�⊮, begin�^�⊮, Completion +@comment node-name, next, previous, up +@section section�^�⊮ +@cindex section�^�⊮[section�����ق���] +@cindex prefix s + + @code{\section@{�ړI@}} �̂悤�Ȍ`���̓��͂̕⊮�� section �^�⊮�ƌĂԂ� +�Ƃɂ��܂��Bsection �^�⊮�́A + +@table @kbd +@item [prefix] s + @dots{} section �^�⊮ +@end table + +@noindent +�Ŏ��s���܂��B@kbd{[prefix] s} ����͂���ƃ~�j�o�b�t�@�ɁA + +@example + (C-v for view-section) \???@{@} (default documentclass): +@end example + +@noindent +�Ƃ����v�����v�g�������̂ŁA������ @samp{section} �̂悤�� La@TeX{} �R�} +���h������͂��܂��B�����ł����^�[���L�[�݂̂Ŋ��ʓ��̃f�t�H���g�l���I���� +���ق��A@samp{chapter}�Ȃǂ̂悤�ȕp�x�̍������̓��͂ɂ̓X�y�[�X�L�[�ɂ� +��⊮�@�\���L���ł��B ���ɁA@{@}�̒��g�̓��͂𑣂��A + +@example + \section@{???@}: +@end example + +@noindent +�Ƃ����v�����v�g�������̂ŁA�Z�N�V�����̃^�C�g���Ȃǂ���͂��܂��B +���Ƃ��΁A + +@example + (C-v for view-section) \???@{@} (default documentclass): section + \section@{???@}: �ړI +@end example + +@noindent +�̂悤�ɓ��͂����ꍇ�́A���͒��� + +@example + \section@{�ړI@} +@end example + +@noindent +���}������A + +@example + (C-v for view-section) \???@{@} (default section): vspace* + \vspace*@{???@}: +@end example + +@noindent +�̂悤��@{@}�̒��g���ȗ������Ƃ��́A + +@example + \vspace*@{@} +@end example + +@noindent +�������}������A���s�͂����J�[�\���͎����I�ɒ����ʂ̓����Ɉړ����܂��B + +@menu +* 2�ˆȏ�̈������Ƃ� section�^�R�}���h:: +* Enclose section-type command:: ����⊮ +* Recursive completion:: �ċA�⊮ +* view-sectioning:: �Z�N�V������؂�̃A�E�g���C���\�� +@end menu + +@node 2�ˆȏ�̈������Ƃ� section�^�R�}���h, Enclose section-type command, section�^�⊮, section�^�⊮ +@comment node-name, next, previous, up +@subsection 2�ˆȏ�̈������Ƃ� section�^�R�}���h +@cindex ����[�Ђ�����] + + �Ƃ���ŁA@samp{\addtolength@{\topmargin@}@{8mm@}} �Ȃǂ̂悤�ɁA�������� +�ȏ��� La@TeX{} �R�}���h������܂��B���̂悤�ȃR�}���h�̕⊮���͂ɂ́A +section �^�⊮�Ăяo���Ɉ�����t���Ă��������B�Ⴆ�Ώ��@samp{addtolength} +�̗�ł���΁A����2���w�肵�܂��B�‚܂�A + +@example + C-u 2 [prefix] s (�܂��́AESC 2 [prefix] s) +@end example + +@noindent +�� section �^�⊮���Ăяo������A + +@example + (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength + \addtolength@{???@}: \topmargin + Argument 2: 8mm +@end example + +@noindent +�̂悤�ɓ��͂��Ă��������B�ŏ��� addtolength �̕����ƁA�������ł��� +\topmargin �̓��͓͂��R�X�y�[�X�ɂ��⊮���͂��”\�ł��B���[�U�����ɓo�^ +����� La@TeX{} �R�}���h�ɂ́A���̈����̐����w�K�����̂ŁA�ŏ��̕⊮�̎� +�����̐����w�肵�ċN�����Ă����΁A�Ȍ�̕⊮���ɂ́A�L�����ꂽ���������� +�𕷂��ė���悤�ɂȂ�܂��B���Ƃň����̌���ς��������́A�Ă� @kbd{C-u} +��p���Ȑ����w�肵�������ƂŁA�����I�Ɏ������̈����̌��̕������X�V���� +���B +@cindex �����̌���ς���[�Ђ������̂�������������] + + +@node Enclose section-type command, Recursive completion, 2�ˆȏ�̈������Ƃ� section�^�R�}���h, section�^�⊮ +@subsection ���ɏ������e�L�X�g������ +@cindex ����[������] + + �܂��A�N���R�}���h��@kbd{s}��啶���ɕς��ċN������ƁA���炩���ߏ� +�������͂� section �^�R�}���h�̑������Ƃ��Ċ���܂��B + +@node Recursive completion, view-sectioning, Enclose section-type command, section�^�⊮ +@comment node-name, next, previous, up +@subsection �ċA�⊮ +@cindex �ċA�⊮[�������ق���] + + ���x�Ȏg�����ɂȂ邩������܂��񂪁Asection�^�⊮�̈����̓��͎��ɂ���� +�⊮���͂𗘗p���邱�Ƃ��ł��܂�(section/large/maketitle�^�Ɍ���)�Bsection +�^�R�}���h�̈����ɍX�� La@TeX{} �R�}���h������ꍇ�ɂ̓~�j�o�b�t�@�Ŗ쒹�� +�⊮�L�[���ċA�I�ɓ��͂��邱�Ƃň����̓��͂������I�ɍs�Ȃ��܂��B + +@node view-sectioning, , Recursive completion, section�^�⊮ +@comment node-name, next, previous, up +@subsection �Z�N�V������؂�̃A�E�g���C���\�� +@cindex �A�E�g���C��[�����Ƃ炢��] + + �ʏ��section�^�⊮�̎��Ƀ~�j�o�b�t�@��@kbd{C-v}�������ƌ��ݑ��݂���Z�N +�V������؂�R�}���h�S�Ă� @code{*Sectioning Lines*}�Ƃ����o�b�t�@�Ɉꗗ�\ +�����܂�(�u<<--�v�̂‚��Ă���s�������Ƃ��߂��Z�N�V������؂�)�B���̎��~�j +�o�b�t�@��@kbd{C-p}, @kbd{C-n} ��������@samp{part}, @samp{chapter}, ..., +@samp{subparagraph} �̃R�}���h���_���K�w�̍����ɂ��������ď㉺���܂��B�܂��A +@kbd{C-v}, @kbd{M-v} �������ƃZ�N�V������؂�ꗗ�o�b�t�@���X�N���[�����A +������@kbd{0}�`@kbd{7}�������Ƃ��鍂���ȏ�̃Z�N�V������؂肾����I��ŕ\ +�����܂�(���ۂɂ���Č���Ε�����܂�)�B + +@code{*Sectioning Lines*}�o�b�t�@�́A + +@table @kbd +@item M-x YaTeX-section-overview + @dots{} �Z�N�V������؂�ꗗ�o�b�t�@�𐶐� +@end table + +@cindex �Z�N�V������؂�ꗗ�o�b�t�@[��������񂭂��肢�����͂‚ӂ�] +�ō쐬���邱�Ƃ��ł��܂��B���̃o�b�t�@��I�����C�ӂ̍s�ŃX�y�[�X�������ƁA +�Y������Z�N�V������؂�̂���{�����̏ꏊ�ɃW�����v���܂��B����ɁA���o�b +�t�@�� @kbd{u} �������ƁA�\�[�X�e�L�X�g�̑Ή�����Z�N�V�����R�}���h����K +�w�オ��(��: subsection �� section �ɕς��)�A@kbd{d}�������ƈ�K�w������ +�܂��B@code{*Sectioning Lines*}�o�b�t�@�ɂ���Z�N�V������؂�̍s���}�[�N +���Ă�����@kbd{U}�������ƃ��W�������̂��̂ɑΉ�����\�[�X�e�L�X�g�̃Z�N�V�� +���R�}���h���ׂĂ���K�w�オ��A@kbd{D}�������Ɖ�����܂��B�Z�N�V������� +��ꗗ�o�b�t�@�ŗ��p�ł���L�[�R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@table @kbd +@item SPC + @dots{} �Ή�����\�[�X�s�փW�����v +@item . + @dots{} �Ή�����\�[�X�s��\�� +@item u + @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w�グ�� +@item d + @dots{} �J�[�\���ʒu�ɑΉ�����Z�N�V�����R�}���h����K�w������ +@item U + @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +@item D + @dots{} �}�[�N�����Z�N�V�����R�}���h����K�w�グ�� +@item 0�`6 + @dots{} ���x�� n �ȉ��̃Z�N�V�����R�}���h���B���ĕ\�� +@end table + +@cindex �_���K�w[���肩������] +@cindex �Z�N�V������؂�[��������񂭂���] +@cindex �W�����v[������] + +@node large�^�⊮, maketitle�^�⊮, section�^�⊮, Completion +@comment node-name, next, previous, up +@section large�^�⊮ +@cindex large�^�⊮[large�����ق���] +@cindex prefix l + + @code{@{\large @}} �̂悤�Ȍ`���̕⊮�� large �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +@table @kbd +@item [prefix] l + @dots{} large �^�⊮�J�n +@end table + +@noindent +��large�^�⊮�̊J�n�ł��B@kbd{[prefix] l} �������ƁA�~�j�o�b�t�@�� + +@example + @{\??? @} (default large): +@end example + +@noindent +�ƕ\�������̂ŁA��L�̂��̂Ɠ����v�̂ŕ⊮���͂��ĉ������B�⊮���ɗp�� +����Ă���̂́A@samp{footnotesize} �� @samp{huge} �̂悤�ȕ����T�C�Y�w�� +�q�ƁA@samp{bf}��@samp{dg}�̂悤�ȃt�H���g�w��q�ł��B +@cindex �����T�C�Y�w��q[�������������Ă���] +@cindex �t�H���g�w��q[�ӂ���Ƃ��Ă���] + +@subsection ���ɏ��������������� +@cindex ����[������] + + �܂��Abegin�^�⊮�̎��Ɠ��l�A��ɏ����Ă��܂�����A�̕��͂̕����̃T�C�Y +��ς������Ǝv����������܂����A���̂悤�Ȏ��́A�T�C�Y��傫����ς������� +���͈̔͂��}�[�N���Ă���A�Ăяo���L�[�� @kbd{[prefix] L} �ƁA�啶���� L +�ɕς��ČĂяo���΁A���̃��W�����S�̂��A�u���[�X�ň͂܂�܂��B + +@node maketitle�^�⊮, Arbitrary completion, large�^�⊮, Completion +@comment node-name, next, previous, up +@section maketitle�^�⊮ +@cindex maketitle�^�⊮[maketitle�����ق���] +@cindex prefix m + + @code{\maketitle} �̌`���̕⊮�� maketitle �^�⊮�ƌĂԂ��Ƃɂ��܂��B + +@table @kbd +@item [prefix] m + @dots{} maketitle �^�⊮�J�n +@end table + +@noindent +�ŁAmaketitle �^�⊮���J�n���܂��B�⊮�̗v�͍̂��܂ł̂��̂Ƃ܂����������� +���BLa@TeX{} �p�̃R�}���h�����⊮���Ƃ��ėp�ӂ���Ă��܂��B + +@node Arbitrary completion, end�⊮, maketitle�^�⊮, Completion +@comment node-name, next, previous, up +@section �����⊮ +@cindex �����⊮[�������ق���] +@cindex prefix SPC + + ���āA���܂ŏq�ׂ��T�^�I�� La@TeX{} �R�}���h�`���̕⊮���͂�p�����ɁA�� +���͂��悤�Ƃ��Ă��� La@TeX{} �R�}���h�𕶏����̔C�ӂ̈ʒu�Ő����⊮���邱 +�Ƃ��ł��܂��BLa@TeX{} �R�}���h(�擪��\�Ŏn�܂�)����͂��Ă���r���ŁA + +@table @kbd +@item [prefix] SPC + @dots{} �����⊮ +@end table + +@noindent +����͂���΁A�S�Ă̕⊮���̒������v������̂��I�΂�J�[�\���ʒu�ɑ}�� +����܂��B + +@node end�⊮, Accent mark completion, Arbitrary completion, Completion +@comment node-name, next, previous, up +@section end�⊮ +@cindex end�⊮[end�ق���] +@cindex prefix e + + ���݊J�����܂܂̊‹����������I�Ɍ��o���A@code{\end@{�‹���@}}��}������ +���Bbegin �^�⊮��p����Ί‹��̕‚��Y��͂Ȃ��̂ł����A���ɂ͂‚��‚���� +@code{\begin@{�‹���@}} �����Ă��܂��A�߂����v�������邱�Ƃ�����܂��B�� +�̂悤�Ȏ��ɂ͋C�ɂ��������ĕ��͂���͂��A������̂��� + +@table @kbd +@item [prefix] e + @dots{} end �⊮ +@end table + +@noindent +�Ƃ��邱�ƂŁA���݊J���Ă���‹����� \end@{@} ������܂��B + +@node Accent mark completion, Image completion, end�⊮, Completion +@comment node-name, next, previous, up +@section �A�N�Z���g�L���⊮ +@cindex �A�N�Z���g�L���⊮[��������Ƃ������ق���] +@cindex prefix a +@cindex ����[�����ӂ�] + + �����̃A�N�Z���g�L��(@code{\`@{o@}}�Ȃ�)����͂��鎞�́A + +@table @kbd +@item [prefix] a + @dots{} �A�N�Z���g�L������ +@end table + +@noindent +�������ƁA�~�j�o�b�t�@�� + +@example + 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b +@end example + +@noindent +�Ƃ������j���[���o�ė���̂ŁA�����A�܂��͑Ή�����L��/�p������� +���ĉ������B����ƕҏW�o�b�t�@�ɁA + +@example + \`@{@} +@end example + +@noindent +��������A�J�[�\����@{@}���Ɉʒu����̂ŁA����Ɉꕶ�����͂��鎖�ŁA + +@example + \`@{o@} +@end example + +@noindent +����������A�J�[�\����@{@}�̊O�ɖ߂�܂��B + +@node Image completion, Greek letter completion, Accent mark completion, Completion +@comment node-name, next, previous, up +@section �����L���C���[�W�⊮ +@cindex �����L���C���[�W�⊮[�����������������߂����ق���] +@cindex �C���[�W�⊮[���߂����ق���] +@cindex ; +@cindex �������[�h[��������������] +@cindex ���[�₵�邵] +@cindex ��[������] +@cindex leftarrow +@cindex ��[�ނ��񂽂�] + + ��ɐ������[�h�Ŏg�p�����A���⃰�Ȃǂ̋L�����[���I�ɕ\������L�[���� +�ŁALa@TeX{} �R�}���h����͂ł��܂��B����͖쒹���g�́u�������[�h�v�ł̂� +���삵�܂��B�쒹�̓J�[�\����@TeX{}�̐����‹��̒��ɂ��鎞��@kbd{;}��A +@kbd{:}�ɓ���ȋ@�\���������܂��B + + ���āA�Ⴆ�΁A��(leftarrow)��ASCII���������ŕ\������ꍇ�A��ʓI�ɂ́u<-�v +�̂悤�ɂ��܂����A����𗘗p���āA�����L���C���[�W���̓��[�h�� +@code{\leftarrow}����͂���ɂ́A@kbd{;}(�Z�~�R����)��ł��Ă���@kbd{<-}�� +���͂��܂��B���l�ɁA�������-(long-leftarrow) ��ASCII���������ŕ\������ +�ꍇ�u<--�v�Ƃ���̂ŁA@code{\longleftarrow}����͂��邽�߂ɂ́A@kbd{;<--} +�Ɠ��͂��܂��B���邢�͖�����L����ASCII���������ŕ\�����鎞�́uoo�v�̂悤 +�ɂ��邱�Ƃ���A@code{\infty} ����͂��鎞�́A@kbd{;oo}�ƃL�[���͂��܂��B + + �����̑�����܂Ƃ߂�Ǝ��̂悤�ɂȂ�܂��B + +@example +INPUT ���͂���� La@TeX{} �R�}���h +; < - @code{\leftarrow} +; < - - @code{\longleftarrow} +; < - - > @code{\longleftrightarrow} +; o @code{\circ} +; o o @code{\infty} +@end example + + +@noindent + ������̏ꍇ���A�C���[�W���͂��s���Ă���r���Ŗ]�݂̂��̂��o�b�t�@ +�ɕ\�����ꂽ�Ȃ�A�����ŃC���[�W���͂��~�߂Ď��̕ҏW����Ɉڂ��Ă� +�\���܂���B + +@cindex ;���g[;������] + �����‹�����@samp{;}���g����͂���ɂ�@kbd{;;}�̂悤�ɂ��܂��B�C���[�W +���͂̓r����TAB�������ƁA����܂œ��͂��������Ŏn�܂���̈ꗗ���\������� +���B�����ŖړI�� La@TeX{} �R�}���h�܂ŃJ�[�\�����ړ����ēxTAB���������Ƃ� +���� La@TeX{} �R�}���h���o�b�t�@�ɑ}������܂��B + + �ǂ̃L�[���͂ɂǂ̋L�����Ή����Ă��邩�S�Ēm�肽�����́A@kbd{;}�������� +�����TAB�������Ă��������B�ȉ��̗�́A@kbd{;<}�Ɖ��������TAB������������ +�ł��B + +@example +KEY LaTeX sequence sign +< \leq �� +<< \ll �s +<- \leftarrow �� +<= \Leftarrow <= +@end example + +������[���̓L�[]�A[�Ή����� La@TeX{} �R�}���h]�A[(�[��)�L���}��]�A�� +�������Ń��j���[���o�ė���̂ŁA�悭�g�����̂��o���Ă����Ɨǂ��ł��� +���B���̂ɂ���Ă�ASCII�����ŕ\�����邱�Ƃ�����Ȃ̂ŁA���܂�o�� +�₷���L�[���тł͂Ȃ����̂�����ł��傤����A���̂悤�ȏꍇ�� +\maketitle �^�⊮�œ��͂��邩�A�ȉ��ɏq�ׂ�Ή��\�̐ݒ���s���ĒP +���ȃL�[���т̂��̂�ݒ肷��Ɨǂ��ł��傤�B + + ���̓L�[�� La@TeX{} �R�}���h�A�L���̑Ή��\���l�I�ɐݒ肵�����ꍇ�� +Emacs-Lisp �ϐ� @code{YaTeX-math-sign-alist-private} �ɒ�`���Ă��������B +���̓��e�ƃf�t�H���g�̂��̂����킹�����̂��Ή��\�Ƃ��Ďg�p����܂�(private +�̕����D�悳���)�B�Ȃ��A���̕ϐ��̍\���ɂ‚��Ă� @file{yatexmth.el} ���Q +�Ƃ��Ă��������B +@cindex YaTeX-math-sign-alist-private + +@node Greek letter completion, , Image completion, Completion +@comment node-name, next, previous, up +@section �M���V�������⊮ +@cindex �M���V�������⊮[���肵������ق���] +@cindex : + + ������A�����‹�����@kbd{:}�������ƃM���V���������̓��[�h�ɓ���܂��B +@kbd{:}�������������@kbd{a}��������@code{\alpha}���A@kbd{g} �������� +@code{\gamma}���A�ȂǃA���t�@�x�b�g�ɑΉ������M���V���������}������܂��B +������@��;�̐����L���⊮�Ƃ܂����������ł��B�܂���@kbd{:}�̒���� +TAB�������Ăǂ̃A���t�@�x�b�g�ɂǂ̃M���V���������Ή����Ă��邩���ׂĂ݂� +���������B + + @kbd{;}��@kbd{:}�𐔎��‹����ʼn����Ă���ɂ�������炸�A�C���[�W�⊮���� +���Ȃ��ꍇ�́A@kbd{C-u ;}�̂悤�� universal-argument ���‚��ăL�[�������� +�Ƃɂ��A�����I�ɃC���[�W�⊮�ɓ��邱�Ƃ��ł��܂��B�܂��A���̎��ɂǂ̂悤 +�ȏ�ԂŐ����‹�������Ɏ��s�����������A���������B + +@node Local dictionary, Commenting out, Completion, Top +@comment node-name, next, previous, up +@chapter ���[�J������ +@cindex ���[�J������[�남���邵����] +@cindex .yatexrc + + �⊮���͗p�̌��͎O��ނ̎�������\������Ă��܂��B��‚� +@file{yatex.el}�ɑg�ݍ��܂ꂽ�u�W�������v�A������‚̓��[�U���l�I�ɏ�p +����R�}���h��ۑ�����u���[�U�����v�A�����Ă����ЂƂ‚͂���f�B���N�g���� +�̂ݗL���ȃR�}���h��ۑ�����u���[�J�������v�ł��B + + �⊮���͎��ɐV�����P�����ꂽ�ꍇ�ɁA���̒P����ǂ̎����ɓ���邩������ +���܂��B + +@example + `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard +@end example + +@noindent +�Ƃ����v�����v�g�ɑ΂��A@kbd{u}�Ɠ�����Ɓu���[�U�����v���A@kbd{l}�Ɠ����� +�ƃ��[�J���������X�V���A@kbd{n}�Ɠ�����Ǝ����t�@�C���͍X�V�������݂�Emacs +�Z�b�V�����̂ݗL���ȒP��Ƃ��A@kbd{d}�Ɠ�����ƐV���ȒP����w�K�����Ɏ̂� +�邱�ƂɂȂ�܂��B + + �����A���[�J�������̋@�\�͂��炸�A�S�ă��[�U�����̍X�V�݂̂ł悢�ƌ����� +���ɂ�@file{~/.emacs}�ȂǂŁA +@cindex YaTeX-nervous + +@lisp + (setq YaTeX-nervous nil) +@end lisp + +@noindent +�Ƃ��ĉ������B + +@node Commenting out, Cursor jump, Local dictionary, Top +@comment node-name, next, previous, up +@chapter �R�����g�A�E�g +@cindex �R�����g�A�E�g[���߂�Ƃ�����] +@cindex prefix < +@cindex prefix > +@cindex prefix . +@cindex prefix , + + + La@TeX{}�̕ҏW�ɂ͎��s���낪�‚����̂ł��B���镔�����ꊇ�ŃR�����g�A�E�g +������A�R�����g���O�����肵�������Ƃ�����܂��B + +@table @kbd +@item [prefix] > + @dots{} ���W������ % �ŃR�����g�A�E�g +@item [prefix] < + @dots{} ���W������ % �̃R�����g���O�� +@end table + +@noindent +�́A���炩���ߐݒ肵�����W�����ɑ΂��Ă̑���A + +@table @kbd +@item [prefix] . + @dots{} ���݂̃p���O���t���R�����g�A�E�g +@item [prefix] , + @dots{} ���݂̃p���O���t�̃R�����g���O�� +@end table + +@noindent +�́A�J�[�\���̈ʒu����p���O���t�S�̂ɑ΂��Ă̑���ł��B�Ȃ��A�����ł��� +�u�p���O���t�v�� (@code{mark-paragraph}) �֐��ɂ��}�[�N�����͈͂��w�� +�܂�(�W���ݒ��@kbd{ESC h}�Ƀo�C���h����Ă���)�B�Ȃ��A����@code{%}�ŃR�� +���g�A�E�g����Ă���p���O���t�ɑ΂��ČJ��Ԃ��p���O���t�̃R�����g���g�p�� +���ꍇ�̓���͕ۏ؂��܂���̂Ō䒍�ӂ��������B + + ���āA���͂ɑ΂��Ă����łȂ��A���ɂ�@code{\begin}, @code{\end} ���̂ɑ� +���Ă��R�����g�A�E�g�̑�����������Ƃ�������܂��B���̂悤�ȂƂ��́A +@code{\begin@{@}} ���邢�� @code{\end@{@}} �̍s�ɃJ�[�\�������킹�A + +@table @kbd +@item [prefix] > + @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g�A�E�g +@item [prefix] < + @dots{} @code{\begin@{@}}�`@code{\end@{@}} �S�ăR�����g���O�� +@end table + +@noindent +�Ƃ��邱�ƂŁA@code{\begin�`\end}�ň͂܂��‹��S�Ăɑ΂��ăR�����g���삵�A + +@table @kbd +@item [prefix] . + @dots{} @code{\begin@{@}} �� @code{\end@{@}} ���R�����g�A�E�g +@item [prefix] , + @dots{} @code{\begin@{@}} �� @code{\end@{@}} �̃R�����g���O�� +@end table + +�́A�Ή����� @code{\begin} �� @code{\end} 2�s�������A�R�����g����̑Ώۂ� +���܂��B���W�������R�����g�A�E�g���悤�Ƃ��āA�}�[�N��ݒ肵���̂��ɃJ�[�\ +�����ړ���@kbd{[preifx] >} �������Ă��J�[�\���� @code{\begin@{@}} �̏�ɂ� +���@code{\begin@{@}}�`@code{\end@{@}}���[�h�ŃR�����g�@�\�������Ă��܂��� +�Œ��ӂ��ĉ������B + +@node Cursor jump, Modifying/Deleting, Commenting out, Top +@comment node-name, next, previous, up +@chapter �J�[�\���W�����v +@cindex �J�[�\���W�����v[�������邵����] +@cindex prefix g + + +@menu +* �Ή��I�u�W�F�N�g�ւ̃W�����v:: +* ���G�`���c�[���N��:: +* ���C���t�@�C���ւ̃W�����v:: +* �‹���P�ʂƂ����W�����v:: +* �Ō�̕⊮�ʒu�ւ̃W�����v:: +@end menu + +@node �Ή��I�u�W�F�N�g�ւ̃W�����v, ���G�`���c�[���N��, Cursor jump, Cursor jump +@comment node-name, next, previous, up +@section �Ή��I�u�W�F�N�g�ւ̃W�����v + + �������̂��낢��ȏꏊ�� + +@table @kbd +@item [prefix] g + @dots{} �Ή�����I�u�W�F�N�g�ɃW�����v +@end table + +@noindent +���������Ƃɂ��A�J�[�\���ʒu��La@TeX{}�R�}���h�ɑΉ�����ꏊ�ɃW�����v +���܂��B�Ή��֌W�����݂���Ɖ��߂����R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@itemize @bullet +@item @code{\begin@{@}} ���� @code{\end@{@}} +@item @code{%#BEGIN} ���� @code{%#END} +@item �摜�t�@�C���̎�荞�݃}�N�� �� �Ή�����viewer/���G�����c�[���N�� +@item @code{\label@{@}} ���� @code{\ref@{@}} +@item @code{\include(\input)} �� �Ή�����t�@�C�� +@item @code{\bibitem@{@}} ���� @code{\cite@{@}} +@end itemize + + @code{\begin@{@}} �� @code{\end@{@}} �̍s��@kbd{[prefix] g}���������Ƃ� +���A�Ή�����@code{end/begin}�̍s�ɃW�����v���܂��B�������Ή�������̂� +�Ȃ��ꍇ�̓G���[�ɂȂ�܂��B�܂�����́A�̈�Œ�̂��߂� @code{%#BEGIN} �� +@code{%#END} �̃y�A�ɑ΂��Ă����l�ɓ��삵�܂��B�Ȃ��A@code{label/ref}�� +@code{cite/bibitem}�Ή�������̂��ʃt�@�C���ɂ��鎞�́A�W�����v��ƂȂ�t�@ +�C�����I�[�v������Ă��Ȃ���΂Ȃ�܂���B@xref{%#notation}. +���C���� .tex �t�@�C���� @code{\include@{chap1@}} �ȂǂɃJ�[�\�������킹�A +@kbd{[prefix] g} �������ƁA@file{chap1.tex} �ɃW�����v���܂��B + +�܂��A + +@table @kbd +@item [prefix] 4 g + @dots{} �ʃE�B���h�E�őΉ��I�u�W�F�N�g�ɃW�����v +@end table + +@noindent +�������ƁA�Ή�����I�u�W�F�N�g�ւ̃W�����v��ʃE�B���h�E�ōs���܂��B�������A +���̋@�\�� @code{begin/end}, @code{%#BEGIN/%#END} �Ԃ̃W�����v�ɑ΂��Ă� +(�Ӗ����Ȃ��Ǝv����̂�)�@�\���Ȃ��̂Œ��ӂ��Ă��������B + +@node ���G�`���c�[���N��, ���C���t�@�C���ւ̃W�����v, �Ή��I�u�W�F�N�g�ւ̃W�����v, Cursor jump +@comment node-name, next, previous, up +@section ���G�`���c�[���N�� +@cindex ���G�`���c�[���N��[���������‚��邫�Ƃ�] + +��L�́u�摜�t�@�C���̎�荞�݃}�N���v�Ƃ́A�Ⴆ�� +@code{\epsfile@{file=foo@}} �̂悤�ȑ}�G��荞�݃R�}���h�̂��ƂŁA���̍s�� +�J�[�\�������킹��@kbd{[prefix] g}�������Ƃ��̉摜�t�@�C���̌��ƂȂ����t�@ +�C����Ή����邨�G�`���c�[�����N�����ăI�[�v�����܂��B�N������c�[���̔��� +�͈ȉ��̂悤�ɂȂ���܂��B + +@enumerate +@item +�J�����g�s���ϐ� @code{YaTeX-processed-file-regexp-alist} �ɒ�`�� +��Ă��鐳�K�\���̂����ꂩ�ƃ}�b�`������A�t�@�C�����ɑ������镔���� +\\(\\)���甲���o���Ċo���Ă���(���Ԗڂ�\\(\\)���͕ϐ��̊e���X�g�� cdr ���� +����Ă���)�B�}�b�`���Ȃ���Ή������Ȃ��B +@item +�s���ɁA�ϐ� @code{YaTeX-file-processor-alist} �ɓo�^����Ă���R�}���h�� +�u%�R�}���h�v �̂悤�ɏ����Ă���΋����I�Ɂu�R�}���h �t�@�C����.�g���q�v�� +�N���B +@item +�Ȃ���΁A�ϐ� @code{YaTeX-file-processor-alist} �̊e���X�g��cdr���ɓ����� +����g���q���u�t�@�C�����v�̌��ɑ������t�@�C�������݂��邩�������ׂāA�� +�݂����ꍇcar���ɓ����Ă���R�}���h���N������B +@item +�ȏ�ǂꂩ�Ƀ}�b�`���Ȃ���΂�����߂�B +@end enumerate + + +�ϐ� @code{YaTeX-file-processor-alist} �ƕϐ� +@code{YaTeX-file-processor-alist} �̐ݒ���@�ɂ‚��Ă͂��ꂼ��̕ϐ��ɂ‚� +�� describe-variable ���Đ�����ǂ�ʼn������B���܂��ݒ肷��ƁA�摜�t�@�C +���ɂ����炸�A�C�ӂ̌`���̃t�@�C����C�ӂ̃v���Z�b�T�ŏ�������R�}���h���� +�P�ɌĂяo�����Ƃ��ł��܂��B + +@node ���C���t�@�C���ւ̃W�����v, �‹���P�ʂƂ����W�����v, ���G�`���c�[���N��, Cursor jump +@comment node-name, next, previous, up +@section ���C���t�@�C���ւ̃W�����v + +@file{chap1.tex}�̂悤�ȃT�u�t�@�C���ŁA + +@table @kbd +@item [prefix] ^ + @dots{} ���C���t�@�C���ɃW�����v +@item [prefix] 4 ^ + @dots{} �ʃE�B���h�E�Ń��C���t�@�C���ɃW�����v +@end table + +@noindent +�������ƁA���C���t�@�C���̕ҏW�o�b�t�@�ɐؑւ��܂��B�����A���C���t�@�C���� +�I�[�v�����Ă��Ȃ��ꍇ�́A�J�����g�f�B���N�g������T���Ď����I�ɃI�[�v���� +�܂��B + +@node �‹���P�ʂƂ����W�����v, �Ō�̕⊮�ʒu�ւ̃W�����v, ���C���t�@�C���ւ̃W�����v, Cursor jump +@comment node-name, next, previous, up +@section �‹���P�ʂƂ����W�����v + +����Ɍ��݂̊‹���P�ʂƂ��ċ@�\����R�}���h�Ɉȉ��̂��̂�����܂��B + +@cindex �‹��̐擪��[���񂫂悤�̂���Ƃ���] +@cindex �‹��̖�����[���񂫂悤�̂܂‚Ђ�] +@cindex �‹����}�[�N[���񂫂悤���܂���] +@cindex M-C-a +@cindex M-C-e +@cindex M-C-@@ +@table @kbd +@item M-C-a + @dots{} �‹��̐擪(@code{\begin})�փW�����v +@item M-C-e + @dots{} �‹��̖���(@code{\end})�փW�����v +@item M-C-@@ + @dots{} �‹��S�̂��}�[�N +@end table + +��L�̃R�}���h�͒ʏ��@kbd{[prefix]}�L�[�ł͂Ȃ�@kbd{META}�L�[���v���t�B�N +�X�Ƃ��ċ@�\����̂ł����Ӊ������B + +@node �Ō�̕⊮�ʒu�ւ̃W�����v, , �‹���P�ʂƂ����W�����v, Cursor jump +@comment node-name, next, previous, up +@section �Ō�̕⊮�ʒu�ւ̃W�����v + +�쒹�͕⊮���͂����ʒu����Ƀ��W�X�^ @code{3}�ɕۑ����Ă��܂��B +���͓r���Ŕ@���Ȃ�t�@�C���̔@���Ȃ�ʒu�ɍs�����Ƃ��Ă��A +@kbd{C-x j 3}(@code{jump-to-register})���g���Ē����ɍŌ�̕⊮���͈ʒu�ɖ� +�邱�Ƃ��ł��܂��B + +@node Modifying/Deleting, Filling, Cursor jump, Top +@comment node-name, next, previous, up +@chapter �ύX/�폜 +@cindex �ύX/�폜[�ւ񂱂�/��������] +@cindex prefix c +@cindex prefix k + + ���ɓ��͂���Ă��� La@TeX{} �R�}���h�̕ύX/�폜�̂��߂Ɉȉ��̋@�\���p�� +����Ă��܂��B + +@table @kbd +@item [prefix] c + @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̕ύX +@item [prefix] k + @dots{} �J�[�\���ʒu�� La@TeX{} �R�}���h�̍폜 +@end table + +@noindent +�����̃R�}���h�́A�R�}���h���N������ꏊ�ɂ���ē�������肷��̂Œ��ӂ� +�ĉ������B + +@menu +* Changing LaTeX command:: La@TeX{} �R�}���h�̕ύX +* Killing LaTeX command:: La@TeX{} �R�}���h�̍폜 +@end menu + +@node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting +@comment node-name, next, previous, up +@section La@TeX{} �R�}���h�̕ύX + +�ύX������ La@TeX{} �R�}���h�ɃJ�[�\�������킹�� @kbd{[prefix] c} +�������Ƃ��̃R�}���h��⊮���͂Ȃǂ�p���Ď�y�ɕς��邱�Ƃ��ł��܂��B +@kbd{[prefix] c} �ŕύX�ł���R�}���h�ɂ͈ȉ��̂��̂�����܂��B + +@itemize +@item @code{begin/end} �̊‹��� +@item section�^�R�}���h�̃R�}���h�� +@item section�^�R�}���h�̈��� +@item section�^�R�}���h�̃I�v�V�����p�����[�^([]�ň͂܂ꂽ����) +@item large�^�R�}���h +@item (�C���[�W�⊮�œ��͉”\��)�������[�h��p��maketitle�^�R�}���h +@end itemize + + �ς�����section�^�R�}���h�̈���������� La@TeX{} �R�}���h���܂ޏꍇ�́A +���̈������͂ޒ����ʂ̏�� @kbd{[prefix] c} ���������ƂŒ��̃R�}���h��ύX +�Ώ۔��肩�珜�O���邱�Ƃ��ł��܂��B + +@cindex �‹����̕ύX[���񂫂悤�߂��̂ւ񂱂�] + +@node Killing LaTeX command, , Changing LaTeX command, Modifying/Deleting +@comment node-name, next, previous, up +@section La@TeX{} �R�}���h�̍폜 + +@kbd{[prefix] k} �͋N������ʒu�ɂ�� +���̂悤�ȓ�����s���܂��B +@cindex �‹��̍폜[���񂫂悤�̂�������] + + +@example +�N���ʒu ���� +\begin, \end�̍s @code{\begin\end}�y�A�̍폜 +%#BEGIN, %#END �̍s %#BEGIN,%#END�y�A�̍폜 +section�^�R�}���h�̏�(��) section�^�R�}���h�̍폜 +�t�H���g�w�芇�ʂ̏� �t�H���g�w��̍폜 +���ʂ̏� �΂��Ȃ����ʂ̍폜 +@end example + +@noindent +@code{\begin, \end} ����� @code{%#BEGIN, %#END} ���폜����ꍇ�A +@code{\begin, \end} �� @code{%#BEGIN, %#END} �̑��݂���s�� +�܂邲�ƍ폜�����̂ŁA�����̈�s�� @code{\begin} �Ȃǂ��ˆȏ�A�˂� +�����Ȃ��悤�ɒ��ӂ��Ă��������B +��L�̂��̂͂��ׂĖ{�����͂��u�e��v���폜����悤�ɓ����܂����A +universal-argument (@kbd{C-u}) ��ł������@kbd{[prefix] k}���^�C�v����ƁA +���ꂼ��́u�e��v�Ɋ܂܂��u���g�v����C�ɍ폜���܂��B�ȉ��̗���Q�l�ɂ� +�ĉ������B + +@example + ���̃e�L�X�g: [prefix] k C-u [prefix] k + �{��\footnote@{�r��@}�ł��B �{���r���ł��B �{���ł��B + ��(�J�[�\���ʒu) +@end example + +@node Filling, Includeonly, Modifying/Deleting, Top +@comment node-name, next, previous, up +@chapter ������ +@cindex ������[�������낦] + +@section item�̌����� +@cindex item�Ȃǂ̌�����[item�ȂƂ̂������낦] +@cindex prefix i + + itemize �‹����ɂ���@code{\item}�̍���(����)�������s�ɓn��ꍇ�ɁA�� +�ڂ̐擪���������������ꍇ�ɂ́A + +@c @table @kbd +@c @item [prefix] i +@c @dots{} item�̌����� +@c @end table + +@table @kbd +@item M-q + @dots{} ������ +@end table + +@cindex NTT-jTeX[���ʂĂ����Ă����������Â�] +@noindent +�ɂ���āA���� item �̃C���f���g�̐[���ɉ����� fill ����܂��B�Ȃ��A�Â� +NTT jTeX ���g�p���Ă���ꍇ�ɂ́ALisp �ϐ�@code{NTT-jTeX}��@code{t}�ɃZ�b +�g���ĉ������B + +@cindex YaTeX-item-regexp + ���̂Ƃ��A�ϐ�@code{YaTeX-item-regexp}�̒l(�W���ł� @code{"\\\\item"})�� +���ڎw��R�}���h�̐��K�\���Ƃ��Č����Ɏg�p���܂��Bitemize �‹��ŁA�Ǝ��̃R +�}���h���`���č��ڂ�񋓂��Ă���ꍇ(�Ⴆ��@code{\underlineitem})�́A +@file{~/.emacs} �Ŏ��̂悤�Ɏw�肵�ĉ������B + +@lisp + (setq YaTeX-item-regexp + "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") +@end lisp + +@noindent +���̕ϐ��̎w��̎d�����悭������Ȃ��ꍇ�́A�Ǝ��̍��ڗ񋓃R�}���h�̖��O�� +@code{@code{"\item"}�Ŏn�܂���̂ɂ��ĉ�����(�Ⴆ��"\itembf"})�B + +�쒹�� @kbd{M-q} �ł� @code{\item} ���‹��ɉ����Ĉȉ��̂悤�Ɂu�n���O�C�� +�f���g�v���܂��B + +@example +itemize, enumerate�‹�: + >\item[�ق��ق�] �p��ł́A���ɈӖ��̂Ȃ��P��� `foo' �ł���킵�� + > �����A����̓��{��łƂ�������P�ꂪ�u�ق��ق��v + > �ł��B +description�‹�: + > \item[�ւ�ւ�] �u�ق��ق��v���ł���߂��P��Ƃ��Ďg�������ɁA�� + > 2�̂ł���߂ȒP��Ƃ��āu�ւ�ւ�v���g���邱�Ƃ��� + > ���悤�ł��B +@end example + +@section �p���O���t�̌����� +@cindex �p���O���t�̌�����[�͂炭��ӂ̂������낦] +@cindex M-q + + itemize�‹��ȊO�ł̃p���O���t�̌�����(fill)�́A��{�I�ɑ��̃��[�h�Ɠ��� +�悤�ɋ@�\���܂����Averbatim�‹���Atabular�‹��Ȃnj�����������ƔߎS�ȏ� +���ɂȂ�悤�Ȋ‹����ł͋@�\���܂���B�܂��A\verb �Ŋ����Ă�����̂͌����� +�s��������܂���(�ϐ� @code{YaTeX-verb-regexp} �Ő���) )�B����ɁA�ꎞ�I�� +�C���f���g�̐[����ς��Ă���ӏ��ł́A���̃C���f���g�̐擪��@kbd{M-q}���� +�����Ƃɂ�� fill-prefix �����������ύX���Ȃ��Č��������ł��܂��B + + +@node Includeonly, What column, Filling, Top +@comment node-name, next, previous, up +@chapter �����includeonly +@cindex �����includeonly[���‚Ă�includeonly] +@cindex includeonly + + �t�@�C���𕪊����ĕ��͂���͂��Ă��鎞�ɂ́A���C���t�@�C������ + +@example + \includeonly@{���ݕҏW���̃t�@�C����@} +@end example + +@noindent +�̂悤�ɏ����Ă������ƂŁA�^�C�v�Z�b�g�̎��Ԃ�ߖ�ł��܂����A������Ƒ��� +�t�@�C�����蒼�����������ɂ� +@cindex ���̃t�@�C���̎蒼��[�ق��̂ӂ�����̂ĂȂ���] + +@example + \includeonly@{������Ǝ蒼���������t�@�C����@} +@end example + +@noindent +�Ə��������Ȃ���΂Ȃ炸��Ԃ�������܂��B�쒹�ł͌��ݕҏW���Ă���t�@�C�� +�������C���t�@�C����@code{\includeonly}�ɂȂ��ꍇ�ɂ͎����I�ɂ�������o���A +���̎w�����‚��܂��B + +@example + A)dd R)eplace %)comment? +@end example + +@noindent +���ݕҏW���̃t�@�C���� @code{\includeonly} �̃��X�g�ɉ����������ɂ�@kbd{a} +���A���ݕҏW���̃t�@�C�������� @code{\includeonly} �ɂ���������@kbd{r}���A +@code{\includeonly} �̍s���R�����g�A�E�g���Ė��������������ɂ́A@kbd{%}�� +���ꂼ�ꉟ���ĉ������B + +@node What column, Intelligent newline, Includeonly, Top +@comment node-name, next, previous, up +@chapter �����͂ǂ�? +@cindex �����͂ǂ�?[�����͂Ƃ�?] +@cindex prefix & +@cindex ���G��tabular[�ӂ����‚�tabular] + + ���ڐ��̑��� tabular �Ȃǂ��������񏑂��Ă���Ɖ��̕��̍s�ŁA���܏����� +���錅���ǂ��ɑΉ�����̂��킩��Ȃ��Ȃ��Ă��܂����Ƃ�����܂��B�Ⴆ�΁A�� +���̂悤�� tabular �ɂ����āA + +@example + \begin@{tabular@}@{|c|c|c|c|c|c|c|c|@}\hline + ����&����&��&�Z��&�d�b&FAX&�A�Ȑ�&�A�Ȑ�d�b\\ \hline + ����Y & 6 & 223 & ���l�s�`�k����g & xxx-yyy & + zzz-www & �g���K & 9876-54321 \\ + ���g���m & 2 & \multicolumn@{2@}@{c|@}@{�����Ȃ�@} + &&&(???) + \\ \hline + \end@{tabular@} +@end example + +@noindent +(???)�̕������ǂ̍��ڂȂ̂������ɔ��f����͓̂���ł��傤�B����Ȏ��́A + +@table @kbd +@item [prefix] & + @dots{} ���݂̃J�����\�� +@end table +@cindex ���݂̃J�����\��[���񂳂��̂���ނЂ悤��] + +�������ƃJ�[�\���ʒu�̃J�������ǂ̍��ڂɊY�����邩���~�j�o�b�t�@�ɕ\������ +���Btabular/array�‹��̑�1�s�ڂ����ږ��̕��тƂ݂Ȃ��đΉ�������̂�T���� +���B�������ږ��Ƃ��ĕʂ̂��̂�\�����ė~�����ꍇ�́A�s����@code{%}�ɂ��ă_ +�~�[�̍��ڕ��т�����Ă����Ɨǂ��ł��傤�B + +@node Intelligent newline, Changing mode of YaTeX, What column, Top +@comment node-name, next, previous, up +@chapter ���܂������s +@cindex ���܂������s[���܂����������悤] +@cindex &����[&�ɂ䂤��悭] + + tabular[*], array, itemize, enumerate, tabbing �‹���begin�^�⊮�œ��͂� +�����A�܂��͊e�‹����� + +@table @kbd +@item ESC RET + @dots{} ���܂������s +@end table + +@noindent +�������ƁA���̊‹��ɉ������s�G���g�������̍s�ɑ}�����܂�(begin�^�⊮���Ɏ� +���}�����ꂽ�G���g�����s�v�ȏꍇ�� undo �ɂ���ď����ł��܂�)�B�Ⴆ�΁A +tabular�‹��ł́A���̊‹��̃J�������ɑΉ��������� @code{&} �ɉ����A�s�� +�� @code{\\} �����܂��B���̎�����ȑO�� @code{\hline} ������΂�����t�� +�����܂��B�‹��Ƃ���ɉ����Ď������͂�����̂̑Ή��͈ȉ��̂悤�ɂȂ�܂��B + +@itemize +@item @code{tabular}, @code{tabular*}, @code{array} + + �J������-1 ������ @code{&} �� @code{\\}�B�K�v�ɉ����� @code{\hline} + +@item @code{tabbing} + + ��s�ڂŒ�`���Ă��� @code{\=} �Ɠ������� @code{\>}�B + +@item @code{itemize}, @code{enumerate}, @code{description}, @code{list} + + @code{\item} �܂��� @code{item[]} +@end itemize + + tabular �‹��̗�̂悤�ɁA�{�@�\�͊e�‹��̈�s�ڂ̓��e���Q�l�ɂ��ē��삷 +��̂ŁA�Ȃ�ׂ���s�ڈȍ~�ŌĂяo���悤�ɂ��Ă��������B + + �����A���̑��̊‹��A�Ⴆ�� @code{foo}�A�ɑ΂���@code{���܂������s}�𓮍� +�����������́A@code{YaTeX-intelligent-newline-foo} �Ƃ������O�̊֐����` +���܂��B��`�����֐��́A���݂̍s�ɉ��s��}����������̍s���̈ʒu�ŌĂ΂�� +���B�֐� @code{YaTeX-indent-line} ���ĂԂƌ��݂̊‹��̃l�X�g�ɉ������[���� +�C���f���g�����̂ŁA������Ă�ł��牽����}������悤�ȃR�[�h�������Ƃ� +���ł��傤�B@file{yatexenv.el}���̊֐� +@code{YaTeX-intelligent-newline-itemize} �̒�`�Ȃǂ��Q�l�ɂ��Ă��������B + +@node Changing mode of YaTeX, Online help, Intelligent newline, Top +@comment node-name, next, previous, up +@chapter �쒹�̓��샂�[�h�؂�ւ� +@cindex ���[�h�؂�ւ�[�����Ƃ��肩��] +@cindex prefix w + +@table @kbd +@item [prefix] w + @dots{} �쒹���샂�[�h�؂�ւ����j���[ +@end table + +@noindent +�Ŗ쒹���g�̓�������肷��ȉ��̃��[�h��؂�ւ��܂��B + +@itemize @bullet +@item �C�����[�h +@item �쒹�������[�h +@end itemize + +�C�����[�h�́A�J�����ʓ��͎��̏������R���g���[�����A�C�����[�hON�̎��͊J�� +���ʂ̓��͂͊J�����ʂ݂̂̓��͂ɂȂ�A�C�����[�hOFF�̎��͊J�����ʂ̓��͂� +���ŕ‚����ʂ܂œ��͂��܂��B�f�t�H���g(�N����)�̐ݒ��@emph{OFF}�ł��B + + �쒹�������[�h�́A�ϐ� @code{YaTeX-auto-math-mode} �� @code{nil} �̎��� +�ݗL���ŁA���̂Ƃ�@kbd{;}��@kbd{:}����������(@ref{Image completion}�Q��)�ɁA +�ǂ̂悤�ȃC���[�W�⊮���@�\�����邩�A�ʏ�̃L�[�Ƃ��ċ@�\�����邩���蓮�� +�؂�ւ��܂��B�������肪�x���}�V���ł�@code{YaTeX-auto-math-mode} +@code{nil}�ɃZ�b�g���A�쒹�������[�h���蓮�Ő؂�ւ���Ɨǂ��ł��傤�B + + +@node Online help, Inclusion hierarchy browser, Changing mode of YaTeX, Top +@comment node-name, next, previous, up +@chapter �I�����C���w���v +@cindex �I�����C���w���v[����炢��ւ��] +@cindex apropos +@cindex �L�[���[�h����[�����킠�Ƃ��񂳂�] +@cindex prefix ? +@cindex prefix / + + �g�����Ƃ��� La@TeX{} �R�}���h�̗p�@���悭������Ȃ����́A�I�����C���w�� +�v���Ђ��܂��傤�B�w���v�Ɋւ���L�[�ɂ͈ȉ��̂��̂�����܂��B + +@table @kbd +@item [prefix] ? + @dots{} �I�����C���w���v +@item [prefix] / + @dots{} �I�����C��apropos +@end table + +@section �I�����C���w���v +@cindex �O���[�o���w���v[���남�͂�ւ��] +@cindex �v���C�x�[�g�w���v[�ӂ炢�ւ��Ƃւ��] +@cindex YaTeX-help-file +@cindex YaTeX-help-file-private + + �u�I�����C���w���v�v�́A��ʓI�� La@TeX{} �R�}���h(�f�t�H���g�ŃJ�[�\�� +�ʒu�̃R�}���h)�ɑ΂��������ׂ̃o�b�t�@�ɕ\�����܂��B���̎��Q�Ƃ����w +���v�p�t�@�C���ɂ́u�O���[�o���w���v�v�Ɓu�v���C�x�[�g�w���v�v�̓��ނ��� +��A�O�҂� La@TeX{} �̕W���R�}���h�̎�Ȃ��̂̐������܂ރt�@�C���ŁA�ϐ� +@code{YaTeX-help-file}�̒l�Ŏw�肳��܂��B���̃t�@�C���͒ʏ�����̏ꏊ(�f +�t�H���g��@code{$EMACSEXECPATH})�ɒu����A�N�������̓��e���X�V�ł���悤�� +�S���ɏ������݌����^������ׂ����̂ł��B��҂́A��W���������͌l�I�ȃ} +�N����`�Ɋւ��������������Ă���t�@�C���ŁA�ϐ� +@code{YaTeX-help-file-private}�̒l�Ŏw�肳��܂��B������̓��[�U�̃z�[���f�B +���N�g���̉��Ȃǂɒu����܂��B + +@section �I�����C��apropos + + �u�I�����C��apropos�v�� GNU Emacs �� apropos �Ɠ��l�A���[�U���w�肵���L�[ +���[�h��������Ɋ܂ލ��ڂ��ׂĂ�ׂ̃o�b�t�@�ɕ\�����܂��B + + �����A���ׂ悤�Ƃ���La@TeX{}�R�}���h�ɑ΂���������w���v�t�@�C�����Ɍ��� +����Ȃ������ꍇ�́A�������̓��͂����߂Ă���̂ŁA�”\�ł���ΎQ�l���Ȃǂ� +���ׂĂ��̃R�}���h�̐�������͂��Ă��������B�����A�Ȃɂ��W���I�ȃR�}���h�� +�΂���������������Ȃ�΂��Ў��܂ł��̐����������艺�����B����̔z�z�Ɋ܂� +�����Ǝv���܂��B + +@node Inclusion hierarchy browser, Cooperation with other packages, Online help, Top +@comment node-name, next, previous, up +@chapter �C���N���[�h�\���u���E�U +@cindex �C���N���[�h�\��[���񂭂邤�Ƃ�������] +@cindex prefix d + +�����̃t�@�C���ɕ������Ă���h�L�������g�������Ă���ꍇ�A + +@table @kbd +@item [prefix] d + @dots{} �C���N���[�h�\���u���E�Y +@end table + +@noindent +�������ƁA���̃h�L�������g�̐e�t�@�C���𕷂��ė��܂��B�����őS�Ẵt�@�C�� +�̐e�ƂȂ�t�@�C��(�f�t�H���g��������Ă���̂ő���RET�̂�)����͂���� +�C���N���[�h���Ă���S�Ẵt�@�C������͂��A�C���N���[�h�󋵂����o�I�ɕ\�� +���܂��B���̃o�b�t�@�ł͈ȉ��̃L�[���삪�L���ł��B + +@table @kbd +@item n + @dots{} ���̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item p + @dots{} ��̍s�Ɉړ����Ή�����t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item N + @dots{} �����C���N���[�h���x���̎��̃t�@�C���Ɉړ� +@item P + @dots{} �����C���N���[�h���x���̑O�̃t�@�C���Ɉړ� +@item j + @dots{} ���̍s�Ɉړ� +@item k + @dots{} ��̍s�Ɉړ� +@item u + @dots{} ���e�ɂ�����t�@�C���Ɉړ� +@item . + @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ɕ\�� +@item SPC + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���A�b�v +@item DEL, b + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C�����X�N���[���_�E�� +@item < + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̐擪��\�� +@item > + @dots{} �ׂ̃o�b�t�@�̑Ή��t�@�C���̖�����\�� +@item ' + @dots{} (@kbd{<}��@kbd{>}�̌��)���̕\���ʒu�ɖ߂� +@item RET, g + @dots{} �J�[�\���ʒu�̃t�@�C����ׂ̃o�b�t�@�ŃI�[�v�� +@item mouse-2 + @dots{} RET�Ɠ���(�E�B���h�E�g�p���̂�) +@item o + @dots{} �ׂ̃E�B���h�E�Ɉړ� +@item 1 + @dots{} ���̃E�B���h�E������ +@item - + @dots{} �u���E�Y�E�B���h�E������������ +@item + + @dots{} �u���E�Y�E�B���h�E��傫������ +@item ? + @dots{} �w���v�\�� +@item q + @dots{} �\���O�̏�Ԃɖ߂� +@end table + + �������A�ׂ̃E�B���h�E�̃t�@�C���̓��e��\������@�\�Ɋւ��ẮA�Ή����� +�t�@�C�����N���[�Y���Ă��܂��Ƃ��܂������܂���̂ł����ӂ��������B + +@node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top +@comment node-name, next, previous, up +@chapter ���p�b�P�[�W�Ƃ̘A�g +@cindex ���p�b�P�[�W�Ƃ̘A�g[���͂‚������Ƃ̂�񂯂�] + +@section gmhist +@cindex gmhist +@cindex �R�}���h�q�X�g��[���܂�ƂЂ��Ƃ�] +@cindex �q�X�g��[�Ђ��Ƃ�] + + @file{gmhist.el}��@file{gmhist-mh.el} �����[�h���Ă���ꍇ�A�v�������[�R +�}���h�̓���(@kbd{[prefix] tp]})�A����R�}���h�̓���(@kbd{[prefix] tl})�� +���ɓƗ������q�X�g���𗘗p�ł��܂��B���ꂼ��̃v�����v�g�ŁA@kbd{M-p} ���� +���ƒ��O�ɗ��p�����R�}���h�����������Ԃ��Ăяo�����Ƃ��ł��܂��B + +@section min-out +@cindex min-out + + @file{min-out.el} (@code{outline-minor-mode}) �Ɩ쒹��g�ݍ��킹�Ďg���� +�Ƃ��������”\�ł��B�ݒ�̕��@�Ɋւ��Ă�@file{yatexm-o.el}���������������B + +@node Customizations, Etc, Cooperation with other packages, Top +@comment node-name, next, previous, up +@chapter �J�X�^�}�C�Y +@cindex �J�X�^�}�C�Y[�������܂���] +@cindex �L�[�A�T�C��[������������] + + �쒹�̓���𐧌䂷���X�̕ϐ���Ǝ��ɐݒ肷�邱�Ƃɂ��A�⊮�� +�͂��N������L�[�A�T�C����ς�����A�‹����̕⊮��������ɏ[���� +���邱�ƂȂǂ��ł��܂��B + +@menu +* Lisp variables:: lisp �ϐ� +* Add-in functions:: �t���֐�(�A�h�C���֐�) +@end menu + +@node Lisp variables, Add-in functions, Customizations, Customizations +@comment node-name, next, previous, up +@section lisp �ϐ� +@cindex prefix�L�[�ύX[prefix�����ւ񂱂�] + + �Ⴆ�� prefix �L�[�� @kbd{C-c} �ȊO�̃L�[�ɂ������ꍇ�́A +@code{YaTeX-prefix}�� prefix �L�[�ɂ������V���{�����`���Ă��������B���� +�ɁA�u@kbd{C-c �p��}�v�Ƃ����L�[�o�C���h�͓Ǝ��̊֐������蓖�ĂĂ���̂Ŏg +�������Ȃ��B���̂悤�Ȏ��́A@code{YaTeX-inhibit-prefix-letter} �� @code{t} +�ɐݒ肷�邱�Ƃɂ��A@kbd{C-c �p���c}�̃o�C���h���S�āA�Ή�����@kbd{C-c +C-�p���c}�ɕς��܂�(�������Abegin�^ large�^�⊮�̑啶���N���ɂ�郊�W�� +���w��͉”\�Ȃ܂܂ł��B����������ɂ������ꍇ��@code{t}�ł͂Ȃ� 1 �ɃZ�b +�g���ĉ������B)�B + +@menu +* All customizable variables:: �J�X�^�}�C�Y�ϐ��ꗗ +* Sample definitions:: �J�X�^�}�C�Y�ϐ��ݒ�� +* Hook variables:: hook�ϐ� +* Hook file:: hook�p�t�@�C�� +@end menu + +@node All customizable variables, Sample definitions, Lisp variables, Lisp variables +@comment node-name, next, previous, up +@subsection �J�X�^�}�C�Y�ϐ��ꗗ +@cindex �J�X�^�}�C�Y�ϐ��ꗗ[�������܂����ւ񂷂��������] + + yatex-mode �ɂ����鎟�̕ϐ����J�X�^�}�C�Y�”\�ł��B@file{~/.emacs} �� +@code{setq} ���Ă����΁A������̒�`���D�悳��܂��B���ʂ̒��̓f�t�H���g�l +�ł��B���ۂɕϐ��̒l��ύX����ꍇ�� @kbd{M-x describe-variable} �� +�ϐ��̏ڍׂȐ������Q�Ƃ��Ă��������B + +@defvar YaTeX-prefix +yatex-mode ���̃v���t�B�N�X�L�[ (@kbd{\C-c}) +@end defvar + +@defvar YaTeX-inhibit-prefix-letter +prefix �L�[�̒���̃L�[�o�C���h�� @kbd{�p��} �̂��̂� @kbd{C-�p��} �ɕύX +(@code{nil}) +@end defvar + +@defvar YaTeX-fill-prefix +�{�����������̍s���ɑ}������ړ������Ȃ킿 fill-prefix (@code{""(nil)}) +@end defvar + +@defvar YaTeX-user-completion-table +�w�K����La@TeX{}�R�}���h�ۑ��t�@�C���� (@code{"~/.yatexrc"}) +@end defvar + +@defvar YaTeX-kanji-code +�������쐬���鎞�̊����R�[�h 1=Shift JIS, 2=JIS, 3=EUC (2 (MS-DOS�ł�1)) +@end defvar + +@defvar tex-command +La@TeX{}�^�C�v�Z�b�^�R�}���h�� (@code{"platex"}) +@end defvar + +@defvar dvi2-command +�v�������[�A�R�}���h�� (@code{"xdvi -geo +0+0 -s 4"}) +@end defvar + +@defvar dviprint-command-format +dvi�t�@�C���̈���Ɏg����R�}���h�� (@code{"dvi2ps %f %t %s | lpr"}) +@end defvar + +@defvar dviprint-from-format +���@code{%f}�ɑ�������J�n�y�[�W�w�菑���A@code{%b} ���J�n�y�[�W�ԍ��ɕ� +��� (@code{"-f %b"}) +@end defvar + +@defvar dviprint-to-format +@code{%t} �ɑ�������I���y�[�W�w�菑���A@code{%e}���I���y�[�W�ԍ��ɕς�� +(@code{"-t %e"}) +@end defvar + +@defvar makeindex-command +makeindex�R�}���h (@code{"makeindex"} (MS-DOS�ł�@code{"makeind"})) +@end defvar + +@defvar YaTeX-need-nonstop +@code{\nonstopmode@{@}}�������I�ɕt�����邩 (@code{nil}) +@end defvar + +@defvar latex-warning-regexp +latex�R�}���h�̏o�͂���E�H�[�j���O�s�̐��K�\�� (@code{"line.* [0-9]*"}) +@end defvar + +@defvar latex-error-regexp +�������G���[�s�̐��K�\�� (@code{"l\\.[1-9][0-9]*"}) +@end defvar + +@defvar latex-dos-emergency-message +MS-DOS��œ��삷�� latex �R�}���h���A�G���[�ɂ���~����Ƃ��o�͂��郁�b +�Z�[�W (@code{"Emergency stop"}) +@end defvar + +@defvar latex-message-kanji-code +�^�C�v�Z�b�^�̏o�͂��郁�b�Z�[�W�̊����R�[�h.�^�C�v�Z�b�g�o�b�t�@ +�̏o�͂������鎞�́A�����ݒ肷�� (2, Nemacs�ł̂ݗL��) +@end defvar + +@defvar NTT-jTeX +�Â�NTT-j@TeX{}�g�p���̂悤�ɃC���f���g�����s�̐擪�ƑO�̍s�� +(�^�C�v�Z�b�g���)���Ԃ��󂢂Ă��܂��̂������ꍇ��@code{t}�ɂ��� +(@code{nil}) +@end defvar + +@defvar YaTeX-item-regexp +item�̌������̎��ɗp����Aitem�̐��K�\�� (@code{"\\\\(sub\\)*item"}) +@end defvar + +@defvar YaTeX-verb-regexp +verb�R�}���h�̐��K�\���B�擪��\\\\�͂‚��Ȃ� (@code{"verb\\*?\\|path"}) +@end defvar + +@defvar YaTeX-nervous +���[�J��������p���鎞 @code{t} (@code{t}) +@end defvar + +@defvar YaTeX-sectioning-regexp +�Z�N�V������؂�ݒ�R�}���h�̐��K�\�� +(@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"}) +@end defvar + +@defvar YaTeX-fill-inhibit-environments +fill ��}�~����‹����̃��X�g +(@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")}) +@end defvar + +@defvar YaTeX-uncomment-once +�̈�uncomment�ōs���̕�����@code{%}��S�č폜���邩 (@code{nil}) +@end defvar + +@defvar YaTeX-close-paren-always +�J�����ʂ̓��͂ŏ�ɕ‚����ʂ���͂��� (@code{t}) +@end defvar + +@defvar YaTeX-auto-math-mode +�������[�h�̐؂�ւ��������I�ɍs�� (@code{t}) +@end defvar + +@defvar YaTeX-math-key-list-private +�����C���[�W�⊮�ŗp���� (�v���t�B�N�X�L�[ . �Ή��⊮�e�[�u��) �� +alist (@code{nil})�B�⊮�e�[�u���̏������ɂ‚��Ă�@file{yatexmth.el}���Q�ƁB +@end defvar + +@defvar YaTeX-default-pop-window-height +1��ʂ̎��Ƀ^�C�v�Z�b�g�o�b�t�@�����߂č쐬���鎞�̍����B���l�ōs���A���� +�������Emacs�E�B���h�E�ɑ΂���S���� (10) +@end defvar + +@defvar YaTeX-help-file +���p�w���v�t�@�C�� (@file{$doc-directory/../../site-lisp/YATEXHLP.jp}) +@end defvar + +@defvar YaTeX-help-file-private +�l�p�w���v�t�@�C�� (@file{"~/YATEXHLP.jp"}) +@end defvar + +@defvar YaTeX-no-begend-shortcut +@kbd{[prefix] b ??} �̃V���[�g�J�b�g���g�킸�A@kbd{[prefix] b} �����ŕ⊮ +���͂ɓ��� (@code{nil}) +@end defvar + +@defvar YaTeX-hilit-pattern-adjustment-private +���K�\���Ƃ���Ƀ}�b�`������̘̂_���I�Ӗ����V���{���ł���킵�����̂� +���X�g�c�̃��X�g�Bhilit19 ��g�ݍ���ł��鎞�̂ݗL���B +�ڂ����� @code{(assq 'yatex-mode hilit-patterns-alist)} +�������ʂƁA�ϐ� @code{YaTeX-hilit-pattern-adjustment-default} �̒l(�Əꍇ +�ɂ���Ă� hilit19 �̃h�L�������g)���Q�Ƃ���B +@end defvar + +@defvar YaTeX-sectioning-level +LaTeX�̃Z�N�V�����P�ʐ錾�R�}���h�Ƃ��̘_���I������alist�B +@end defvar + +@defvar YaTeX-hierarchy-ignore-heading-regexp +Hierarchy �o�b�t�@�͒ʏ�t�@�C���w�b�_�Ƃ��āALaTeX�̃Z�N�V�����錾�R�}�� +�h�̈������������A���ꂪ�Ȃ���΃R�����g�s��T�����A���̍ۂɃw�b�_�Ƃ��Ă� +�Ӗ��������Ȃ��p�^�[�������̕ϐ��ɐݒ肷��B�f�t�H���g�ł� RCS �w�b�_�ƃ��[ +�h�w��s(-*- xxx -*-)���ݒ肳��Ă���B +@end defvar + +@defvar YaTeX-skip-default-reader +Non-nil �ɐݒ肷���section�^�R�}���h�̈������͎��A�A�h�C���֐����Ȃ���� +�~�j�o�b�t�@�ł̓ǂݍ��݂������ɓ��͂����������� (@code{nil}) +@end defvar + +@defvar YaTeX-create-file-prefix-g +@code{\include}�Ȃǂ� @kbd{prefix g}�������ɁA�W�����v�悪���݂��Ȃ��t�@�C +���ł����Ă��I�[�v������ (@code{nil}) +@end defvar + +@defvar YaTeX-simple-messages +�e��⊮���̃��b�Z�[�W�o�͂��ȑf������ (@code{nil}) +@end defvar + +@defvar YaTeX-hilit-sectioning-face +�F�t�����L���Ȏ��� @code{\part} �̐F +(@code{'(yellow/dodgerblue yellow/slateblue)})�B +���X�g�̑��v�f�� @code{hilit-background-mode} �� @code{'light} �̎��́A +���v�f�� @code{'dark} �̎��� @code{\chapter} �̐F�ŁA�����F/�w�i�F �̂� +���Ɏw�肷��B +@end defvar + +@defvar YaTeX-hilit-sectioning-attenuation-rate +�F�t�����L���Ȏ��́A@code{\subparagraph} �̐F�� @code{\chapter} �̔Z�x�̉� +%�����������̂ɂ��邩 (@code{'(15 40)}) @code{YaTeX-hilit-sectioning-face} +�̍��Q�ƁB +@end defvar + +@defvar YaTeX-use-AMS-LaTeX +AMS-LaTeX ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{nil}) +@end defvar + +@defvar YaTeX-use-LaTeX2e +LaTeX2e ���g�p����ꍇ�� @code{t} �ɐݒ肷�� (@code{t}) +@end defvar + +@defvar YaTeX-template-file +�V�K�t�@�C���쐬���Ɏ����}������t�@�C���� (@code{~/work/template.tex}) +@end defvar + +@defvar YaTeX-search-file-from-top-directory +input����t�@�C����T���Ƃ��̊�f�B���N�g����main�t�@�C���̂���f�B���N�g +���ɂ��邩 (@code{t}) +@end defvar +@defvar YaTeX-use-font-lock +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� font-lock �𗘗p���邩�ǂ��� +(@code{(featurep 'font-lock)}) +@end defvar + +@defvar YaTeX-use-hilit19 +�\�[�X�̐F�Â��p�b�P�[�W�Ƃ��� hilit19 �𗘗p���邩�ǂ��� +(@code{(featurep 'hilit19)}) +@end defvar + +@defvar YaTeX-use-italic-bold +italic, bold�t�H���g��쒹���T�����ǂ��� (Emacs20�ȍ~�Ȃ�@code{t}) +font-lock���p���̂ݗL���B +(@code{(featurep 'hilit19)} +@end defvar + +@node Sample definitions, Hook variables, All customizable variables, Lisp variables +@comment node-name, next, previous, up +@subsection �J�X�^�}�C�Y�ϐ��ݒ�� +@cindex �ݒ��[���‚Ă��ꂢ] + + ���Ƃ��΁Aprefix �L�[�Ƃ���@kbd{ESC}���g�p���A�V���ȕ⊮�����i�[����t�@ +�C�����A@file{~/src/emacs/yatexrc} �ɂ��A�s���� prefix ���^�u������‚ɕ� +�������Ƃ��́A + +@lisp + (setq YaTeX-prefix "\e" + YaTeX-user-completion-table "~/src/emacs/yatexrc" + YaTeX-fill-prefix " ") +@end lisp + +@noindent +�� @file{~/.emacs} �ɉ����܂��B + +@node Hook variables, Hook file, Sample definitions, Lisp variables +@comment node-name, next, previous, up +@subsection hook�ϐ� +@cindex hook�ϐ�[hook�ւ񂷂�] +@cindex yatex-mode-hook +@cindex yatex-mode-load-hook + + �܂��Ahook �ϐ� @code{yatex-mode-hook}, @code{yatex-mode-load-hook} ��p +�ӂ��Ă��܂��B���ׂĂ� yatex-mode �̃o�b�t�@�ō�p�����������̂́A +@code{yatex-mode-hook} �ɋL�q���A@file{yatex.el} �����[�h���鎞������p�� +���������̂�@code{yatex-mode-load-hook} �ɋL�q���܂��B�Ⴆ�΁A +@code{outline-minor-mode} �𗘗p����ꍇ�A���ꂼ��̃o�b�t�@�� +@code{outline-minor-mode} ��L���ɂ������̂ŁA@code{yatex-mode-hook} ���� +�̂悤�ɐݒ肵�܂��B + +@lisp + (setq yatex-mode-hook + '(lambda () (outline-minor-mode t))) +@end lisp + +@noindent +�t�ɁA�Ǝ��̃L�[��`���s���������Ȃǂ́A@code{yatex-mode-load-hook} �𗘗p +���܂��B�Ⴆ�΁Abegin �^�⊮�ɂ����āA document ��Aenumerate �ȊO�̊‹��� +���V���[�g�J�b�g�L�[�œ��ꂽ���ȂǂƂ������́A���̂悤�ɂ��܂��B�ȉ��̗�́A +@kbd{[prefix] ba} �� @code{\begin@{abstract@}}, @code{\end@{abstract@}} �� +�}�����܂��B + +@lisp + (setq yatex-mode-load-hook + '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) +@end lisp + +�Ȃ��A�V���ȃL�[�̒�`�ɂ́A�֐� @code{YaTeX-define-key} +@code{YaTeX-define-begend-key}�𗘗p����悤�ɂ��Ă��������B + +@node Hook file, , Hook variables, Lisp variables +@comment node-name, next, previous, up +@subsection hook�p�t�@�C�� + + �ϐ� @code{yatex-mode-load-hook} �Œ�`������e���������́A +@file{yatexhks.el}�Ƃ����t�@�C�������A���̒��ɖ쒹�֘A�̐ݒ���������ŁA +�������̎��Ɏ����I�Ƀ��[�h���܂��B + + +@node Add-in functions, , Lisp variables, Customizations +@comment node-name, next, previous, up +@section �t���֐�(�A�h�C���֐�) + + �e��⊮���ɁA�‹�����R�}���h���ɉ��������ߍׂ₩�ȕ⊮���͋@�\�������� +�邽�߂̊֐����쐬���邱�Ƃ��ł��܂��B���̊֐��̍쐬���@��A�g�ݍ��ݕ��@�� +�ւ��ẮA@code{yatexadd.doc} ���������������B + +@node Etc, Copying, Customizations, Top +@comment node-name, next, previous, up +@chapter ���̑� + + �쒹�̕W���� La@TeX{} �R�}���h�̎����ɂ́A��҂��p�ɂɎg�����̂����o�^�� +��Ă��܂���B����́A�⊮���Ɏg���������Ȃ��R�}���h�����݂��āA�⊮���� +���R�}���h���o���܂ł̃X�g���[�N���𑝂₵�Ă��܂�����h�~���邽�߂ł��B�W +�������ɂȂ��R�}���h���A�ł��邾���⊮���͕����𗘗p���A���[�U�������[���� +���邱�ƂŁA���Ȃ��� La@TeX{} �X�^�C���ɂ������쒹�ւƈ���Ă������Ƃł��� +���B + +@node Copying, Concept Index, Etc, Top +@comment node-name, next, previous, up +@chapter ��舵�� + + �{�v���O�����̓t���[�\�t�g�E�F�A�ł��B�{�v���O�������g�p���Đ����������� +�錋�ʂɑ΂��Ă���҂͐ӔC�𕉂�Ȃ����ƂƂ��܂��B�]�ړ��Ɋւ��Ă͐������� +���܂���B�펯�I�Ɉ����Ă��������B�܂��A�g�p���Ă���|�����C���ł��m�点�� +�������ƁA��҂͊��ŃT�|�[�g�ɗ�ނ��Ƃł��傤�B + + ���A��]�A�o�O�񍐁A���z���͊��}�������܂��B +�A���� yuuji@@yatex.org �܂�(2000�N12������)�B +�p���I�Ɏg�p���Ă���������̓��C�����O���X�g�ufj�쒹�̉�v�� +����������Ă��������B�������@�ɂ‚��Ă͖{�p�b�P�[�W�� @file{docs/qanda} +�t�@�C���́u���̑��v�̏͂��䗗���������B + +�d�l�́A�\���Ȃ��m����(�C�������)�ύX����܂�:-p�B + +@flushright +�L���Y�� +@end flushright + +@node Concept Index, , Copying, Top +@comment node-name, next, previous, up +@unnumbered ���� +@printindex cp + +@c �J�X�^�}�C�Y�ϐ������������ƕ�������ꍇ�ɂ̓R�����g�A�E�g���O��!!! +@c @node Variable Index +@c @comment node-name, next, previous, up +@c @unnumbered �J�X�^�}�C�Y�ϐ����� +@c @printindex vr + +@contents + +@bye + +@c Local Variables: +@c fill-column: 74 +@c fill-prefix: nil +@c buffer-file-coding-system: sjis-dos +@c End: + +Tag table: + +End tag table diff --git a/yahtml.el b/yahtml.el index 4baba7e..537070f 100644 --- a/yahtml.el +++ b/yahtml.el @@ -1,9 +1,9 @@ ;;; -*- Emacs-Lisp -*- -;;; (c ) 1994-2000 by HIROSE Yuuji [yuuji@yatex.org] -;;; Last modified Mon Dec 25 18:56:49 2000 on firestorm +;;; (c ) 1994-2002 by HIROSE Yuuji [yuuji@yatex.org] +;;; Last modified Wed May 22 13:55:01 2002 on firestorm ;;; $Id$ -(defconst yahtml-revision-number "1.69" +(defconst yahtml-revision-number "1.70" "Revision number of running yahtml.el") ;;;[Installation] @@ -246,6 +246,13 @@ (not yahtml-use-font-lock)) "*Non-nil means to Use hilit19 to highlight buffer") +(defvar yahtml-mode-abbrev-table nil + "*Abbrev table in use in yahtml-mode buffers.") +(define-abbrev-table 'yahtml-mode-abbrev-table ()) + +(defvar yahtml-indentation-boundary "^\\s *" + "*Boundary regexp for indentation calculation.") + ;;; --- customizable variable ends here --- (defvar yahtml-prefix-map nil) (defvar yahtml-mode-map nil "Keymap used in yahtml-mode.") @@ -452,7 +459,10 @@ (mapconcat 'car yahtml-env-table "\\|") "\\)\\b") "Regexp of any closable elemnts.") - + +(defvar yahtml-indent-listing-constant t + "*Nil means indentation for listing obeys the column of `>'. +T for static indentation depth") (or (assoc "p" yahtml-env-table) (setq yahtml-env-table (cons '("p") yahtml-env-table))) @@ -540,24 +550,27 @@ (defvar yahtml-mode-old-mode nil) (defun yahtml-mode () (interactive) - (kill-all-local-variables) + (let ((old-mm major-mode)) ;Emacs21.0.95 resets major-mode + (kill-all-local-variables) ;with kill-all-local-variables + (if (not (eq 'yahtml-mode old-mm)) + (set (make-local-variable 'yahtml-mode-old-mode) old-mm))) (let ((coding (or (yahtml-dir-default-charset) yahtml-kanji-code))) (cond ((and YaTeX-emacs-20 (boundp 'buffer-file-coding-system)) (setq buffer-file-coding-system (or (and (fboundp 'set-auto-coding) buffer-file-name - (save-excursion (set-auto-coding buffer-file-name 2000))) + (save-excursion (set-auto-coding buffer-file-name (buffer-size)))) coding))) ((featurep 'mule) (set-file-coding-system coding)) ((boundp 'NEMACS) (make-local-variable 'kanji-fileio-code) (setq kanji-fileio-code coding)))) - (if (not (eq 'yahtml-mode major-mode)) - (set (make-local-variable 'yahtml-mode-old-mode) major-mode)) (setq major-mode 'yahtml-mode mode-name "yahtml" - YaTeX-current-file-name (file-name-nondirectory (buffer-file-name))) + YaTeX-current-file-name (file-name-nondirectory + (or (buffer-file-name) "")) + local-abbrev-table yahtml-mode-abbrev-table) (mapcar (function (lambda (x) (make-local-variable (car x)) @@ -833,14 +846,15 @@ (not (equal last-command-char ?\C-j)) (memq yahtml-current-completion-type '(multiline inline)) (yahtml-make-optional-argument ;should be made generic? - "class" (completing-read "class: " a))) + "class" + (let ((completion-ignore-case t)) + (completing-read "class: " a)))) (if (and (intern-soft addin) (fboundp (intern-soft addin)) (stringp (setq s (funcall (intern addin)))) (string< "" s)) (if (eq (aref s 0) ? ) s (concat " " s)) "")))) - (defvar yahtml-completing-buffer nil) (defun yahtml-collect-labels (&optional file) "Collect current buffers label (). @@ -881,14 +895,15 @@ "Complete external URL from history or local file name." (interactive) (let ((p (point)) initial i2 cmpl path dir file listfunc beg labels - (lim (YaTeX-minibuffer-begin))) + (lim (YaTeX-minibuffer-begin)) + (min (if (fboundp 'field-beginning) (field-beginning) (point-min)))) (setq initial (YaTeX-minibuffer-string)) (cond ((string-match "^http:" initial) (setq cmpl (try-completion initial yahtml-urls) listfunc (list 'lambda nil (list 'all-completions initial 'yahtml-urls)) - beg (point-min))) + beg min)) ((setq beg (string-match "#" initial)) (or (equal beg 0) ;begin with # (progn @@ -901,7 +916,7 @@ listfunc (list 'lambda () (list 'all-completions initial (list 'quote labels))) - beg (+ (point-min) beg))) + beg (+ min beg))) (t (setq path (if (string-match "^/" initial) (or (yahtml-url-to-path initial) initial) @@ -1035,7 +1050,8 @@ ("rev" . yahtml-link-types-alist) ("rel" . yahtml-link-types-alist) ("type" . yahtml-content-types-alist) - ("codetype" . yahtml-content-types-alist))) + ("codetype" . yahtml-content-types-alist) + ("http-equiv" ("Refresh")))) (defvar yahtml-link-types-alist '(("alternate") ("stylesheet") ("start") ("next") ("prev") @@ -1177,7 +1193,7 @@ c3 (char-after 3) c4 (char-after 4)) (cond - ((and (eq c1 255) (eq c2 216)) ; 0xff 0xd8 + ((and (eq c1 ?\377) (eq c2 ?\330)) ; 0xff 0xd8 ;;JPEG images need JPEG markers inspection ;;JPEG markers consist of [ 0xff ID(B) LEN(S) CONTENTS... ] ;; Warning: here seekpoint is measured by Emacs's point value @@ -1186,16 +1202,19 @@ (catch 'exit (while (< seekpoint (- (buffer-size) 4)) (cond - ((not (eq (char-after seekpoint) 255)) + ((not (eq (char-after seekpoint) ?\377)) ;maybe corrupted, exit from loop (throw 'exit t)) - ((memq (char-after (1+ seekpoint)) - '(192 193 194 195 197 198 199 201 202 203 205 206 207)) + ((memq + (char-after (1+ seekpoint)) + '(?\300 ?\301 ?\302 ?\303 + ?\305 ?\306 ?\307 ?\311 ?\312 ?\313 ?\315 ?\316 ?\317)) + ;;'(192 193 194 195 197 198 199 201 202 203 205 206 207 ;;found! (setq height (yahtml-hex-value (+ seekpoint 4) 2) width (yahtml-hex-value (+ seekpoint 6) 2) depth (yahtml-hex-value (+ seekpoint 3) 1))) - ((eq (char-after (1+ seekpoint)) 254) ;0xFE = comment + ((eq (char-after (1+ seekpoint)) ?\376) ;0xFE = comment ;; JPEG comment area (setq beg (+ seekpoint 2 2) end (+ seekpoint @@ -1206,7 +1225,7 @@ (setq seekpoint (+ seekpoint 2) seekpoint (+ seekpoint (yahtml-hex-value (1- seekpoint) 2)))))) - ((and (eq c1 137) ;0x89 + ((and (eq c1 ?\211) ;0x89 (eq c2 ?P) (eq c3 ?N) (eq c4 ?G)) ;;PNG Image data X=@0x10(L), Y=@0x14(L), D=@0x18(B) (setq width (yahtml-hex-value 16 4) @@ -1236,7 +1255,7 @@ (defun yahtml:form () "Add-in function `form' input format" (concat - " " (if yahtml-prefer-upcase-attributes "METHOD" "method=") + " " (if yahtml-prefer-upcase-attributes "METHOD" "method") "=" (completing-read "Method: " '(("POST") ("GET")) nil t) " " (if yahtml-prefer-upcase-attributes "ACTION" "action") "=\"" (read-string "Action: ") "\"" @@ -1249,7 +1268,14 @@ (read-string "name: ") "\"")) (defun yahtml:ol () - (setq yahtml-last-single-cmd "li") "") + "Add-in function for
    " + (setq yahtml-last-single-cmd "li") + (let ((start (read-string "start=")) + (type (completing-read + "type=" '(("1") ("a") ("A") ("i") ("I")) nil t))) + (concat + (yahtml-make-optional-argument "start" start) + (yahtml-make-optional-argument "type" type)))) (defun yahtml:ul () (setq yahtml-last-single-cmd "li") "") (defun yahtml:dl () @@ -1360,6 +1386,44 @@ (t ;;?? )))) +(defvar yahtml:meta-names + '(("name" ("keywords")("author")("copyright")("date")("GENERATOR")))) + +(defun yahtml:meta () + (let ((name (yahtml-make-optional-argument + "name" + (yahtml-read-parameter "name" nil yahtml:meta-names))) + http-equiv content) + (if (string= "" name) + (if (string-match + "Content-type" + (setq http-equiv (yahtml-make-optional-argument + "http-equiv" + (yahtml-read-parameter "http-equiv" nil)))) + (error "It's very bad idea to set Content-type in META. %s" + "See docs/qanda") + (concat http-equiv + (yahtml-make-optional-argument + "content" (yahtml-read-parameter "content")))) + (concat + name + (yahtml-make-optional-argument + "content" + (cond + ((string-match "date" name) + (read-string "Date: " (current-time-string))) + ((string-match "author" name) + (read-string "Author: " + (if (and (user-full-name) (string< "" (user-full-name))) + (user-full-name) + (user-login-name)))) + ((string-match "GENERATOR" name) + (setq content (read-string "Generator: " "User-agent: ")) + (if (string-match "yahtml" content) + (message "Thank you!")) + content) + (t (read-string (concat name ": "))))))))) + (defun yahtml:br () (yahtml-make-optional-argument "clear" (yahtml-read-parameter "clear"))) @@ -1571,7 +1635,8 @@ (if (file-exists-p (concat file f)) (throw 'dirindex (setq file (concat file f)))))) - (yahtml-get-directory-index))) + (yahtml-get-directory-index)) + nil) (setq file (concat file yahtml-directory-index)))) (if (string-match "^/" file) (setq file (yahtml-url-to-path file))) @@ -2173,7 +2238,7 @@ (itemizing-envs "^\\([uod]l\\|menu\\|dir\\)$") (itms "<\\(dt\\|dd\\|li\\|t[rdh]\\|option\\)\\b") (excludes - "\\(a\\|p\\|span\\|tt\\|em\\|u\\|i\\|big\\|small\\|font\\)\\b") + "\\(a\\|p\\|span\\|code\\|tt\\|em\\|u\\|i\\|big\\|small\\|font\\)\\b") inenv p col peol (case-fold-search t)) (save-excursion (beginning-of-line) @@ -2204,12 +2269,15 @@ (goto-char p) (re-search-forward itms op t) (progn - (skip-chars-forward "^>") - (skip-chars-forward ">") - (skip-chars-forward " \t") - (setq col (if (looking-at "$") - (+ col yahtml-environment-indent) - (current-column))))))) + (if yahtml-indent-listing-constant + (setq col (+ (current-column) + (if yahtml-faithful-to-htmllint 1 2))) + (skip-chars-forward "^>") + (skip-chars-forward ">") + (skip-chars-forward " \t") + (setq col (if (looking-at "$") + (+ col yahtml-environment-indent) + (current-column)))))))) col) (t (+ col yahtml-environment-indent))))) @@ -2402,7 +2470,7 @@ (interactive) (let ((case-fold-search t)) (if (save-excursion - (re-search-backward "<\\(\\(dt\\)\\|\\(dd\\)\\)>" + (re-search-backward "<\\(\\(dt\\)\\|\\(dd\\)\\)[ \t>]" (get 'YaTeX-inner-environment 'point) t)) (cond ((match-beginning 2) @@ -2510,12 +2578,12 @@ (setq e (point)) (goto-char b) (while (re-search-forward ;����Ƃ���������REGEXP - "\\([a-z][a-z0-9]*\\)?\\.\\([a-z][a-z0-9]*\\)\\>" e t) + "\\([a-z][-a-z0-9]*\\)?\\.\\([-a-z0-9][-a-z0-9]*\\)\\>" e t) (setq element (YaTeX-match-string 1) class (YaTeX-match-string 2)) ;;if starts with period (match-string 1 is nil), ;;this is global class - (setq element (or element "global")) + (setq element (downcase (or element "global"))) (if (setq a (assoc element alist)) (or (assoc class (cdr a)) (setcdr a (cons (list class) (cdr a)))) @@ -2568,7 +2636,7 @@ (setq yahtml-css-class-alist alist))))) (defun yahtml-css-get-element-completion-alist (element) - (let ((alist (cdr-safe (assoc element yahtml-css-class-alist))) + (let ((alist (cdr-safe (assoc (downcase element) yahtml-css-class-alist))) (global (cdr-safe (assoc "global" yahtml-css-class-alist)))) (and (or alist global) (append alist global)))) @@ -2615,9 +2683,12 @@ (defun yahtml-hilit-region-tag-itself (ptn) "Return list of start/end point of itself." (if (re-search-forward ptn nil t) - (let ((m0 (match-beginning 0))) - (skip-chars-forward "^>") - (cons m0 (1+ (point) ))))) + (let ((m0 (match-beginning 0)) (e0 (match-end 0))) + (skip-chars-forward "^<>") + (if (eq (char-after (point)) ?<) nil + (prog1 + (cons m0 (min (point-max) (1+ (point)))) + (goto-char e0)))))) ;(setq hilit-patterns-alist (delq (assq 'yahtml-mode hilit-patterns-alist) hilit-patterns-alist)) (and yahtml-use-hilit19 @@ -2666,6 +2737,11 @@ (delq 'yahtml-mode hilit-mode-enable-list)))) (yahtml-font-lock-set-default-keywords))) +(defun yahtml-font-lock-recenter (&optional arg) + (interactive "P") + (font-lock-mode -1) ;is stupid, but sure. + (font-lock-mode 1)) + ;; (defun yahtml-fontify-to-tagend (lim) ;; "*Fontify any tag including < and >. ;; This is invalid use of font-lock function. Therefore diff --git a/yatex.el b/yatex.el index 7369fc8..3f6c4cc 100644 --- a/yatex.el +++ b/yatex.el @@ -1,8 +1,8 @@ ;;; -*- Emacs-Lisp -*- ;;; Yet Another tex-mode for emacs - //�쒹// -;;; yatex.el rev. 1.69 -;;; (c )1991-2000 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Dec 25 18:57:10 2000 on firestorm +;;; yatex.el rev. 1.70 +;;; (c )1991-2002 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Wed May 22 13:54:47 2002 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ @@ -24,7 +24,7 @@ (require 'comment) (require 'yatexlib) -(defconst YaTeX-revision-number "1.69" +(defconst YaTeX-revision-number "1.70" "Revision number of running yatex.el") ;---------- Local variables ---------- @@ -218,7 +218,8 @@ "*Use font-lock to fontify buffer or not.") (defvar YaTeX-use-hilit19 (and (featurep 'hilit19) (fboundp 'x-color-values) - (fboundp 'hilit-translate)) + (fboundp 'hilit-translate) + (not YaTeX-use-font-lock)) "*Use hilit19 to highlight buffer or not.") ;;-- Math mode values -- @@ -245,6 +246,12 @@ "*Template TeX source file. This will be inserted to empty file.") (defvar YaTeX-addin-prefix "YaTeX:") + +(defvar yatex-mode-abbrev-table nil + "*Abbrev table in use in yatex-mode buffers.") +(define-abbrev-table 'yatex-mode-abbrev-table ()) + + ;------------ Completion table ------------ ; Set tex-section-like command possible completion (defvar section-table @@ -609,7 +616,7 @@ (setq buffer-file-coding-system (or (and (fboundp 'set-auto-coding) buffer-file-name (save-excursion - (set-auto-coding buffer-file-name 2000))) + (set-auto-coding buffer-file-name (buffer-size)))) YaTeX-coding-system))) ((featurep 'mule) (set-file-coding-system YaTeX-coding-system)) @@ -624,10 +631,7 @@ comment-start YaTeX-comment-prefix comment-end "" comment-start-skip "[^\\\\]%+[ \t]*" - ) - (if (boundp 'kill-buffer-hook) ;For Recent Emacs - (set (make-local-variable 'kill-buffer-hook) - (cons 'YaTeX-kill-buffer-hook kill-buffer-hook))) + local-abbrev-table yatex-mode-abbrev-table) (if (and YaTeX-use-font-lock (featurep 'font-lock)) (progn (YaTeX-font-lock-set-default-keywords) @@ -640,7 +644,7 @@ (set-syntax-table YaTeX-mode-syntax-table) (if YaTeX-dos (setq YaTeX-saved-screen-height (screen-height))) (YaTeX-read-user-completion-table) - (and (fboundp 'YaTeX-19-collect-macros) (YaTeX-19-collect-macros)) + (and (fboundp 'YaTeX-hilit-setup-alist) (YaTeX-hilit-setup-alist)) (makunbound 'inenv) (turn-on-auto-fill) ;1.63 (and (= 0 (buffer-size)) (file-exists-p YaTeX-template-file) @@ -1533,81 +1537,7 @@ (setq search-last-regexp string))) (t nil)))) -(defun YaTeX-goto-corresponding-environment (&optional allow-mismatch noerr) - "Go to corresponding begin/end enclosure. -Optional argument ALLOW-MISMATCH allows mismatch open/clese. Use this -for \left(, \right). -Optional third argument NOERR causes no error for unballanced environment." - (interactive) - (if (not (YaTeX-on-begin-end-p)) nil - (let ((p (match-end 0)) b0 b1 env (nest 0) regexp re-s (op (point)) - (m0 (match-beginning 0)) ;whole matching - (m1 (match-beginning 1)) ;environment in \begin{} - (m2 (match-beginning 2)) ;environment in \end{} - (m3 (match-beginning 3))) ;environment in \[ \] \( \) - ;(setq env (regexp-quote (buffer-substring p (match-beginning 0)))) - (if (cond - (m1 ;if begin{xxx} - (setq env - (if allow-mismatch YaTeX-struct-name-regexp - (regexp-quote (buffer-substring m1 (match-end 1))))) - ; (setq regexp (concat "\\(\\\\end{" env "}\\)\\|" - ; "\\(\\\\begin{" env "}\\)")) - (setq regexp - (concat - "\\(" - (YaTeX-replace-format-args - (regexp-quote YaTeX-struct-end) env "" "") - "\\)\\|\\(" - (YaTeX-replace-format-args - (regexp-quote YaTeX-struct-begin) env "" "") - "\\)")) - (setq re-s 're-search-forward)) - (m2 ;if end{xxx} - (setq env - (if allow-mismatch YaTeX-struct-name-regexp - (regexp-quote (buffer-substring m2 (match-end 2))))) - ; (setq regexp (concat "\\(\\\\begin{" env "}\\)\\|" - ; "\\(\\\\end{" env "}\\)")) - (setq regexp - (concat - "\\(" - (YaTeX-replace-format-args - (regexp-quote YaTeX-struct-begin) env "" "") - "\\)\\|\\(" - (YaTeX-replace-format-args - (regexp-quote YaTeX-struct-end) env "" "") - "\\)")) - (setq re-s 're-search-backward)) - (m3 ;math environment - (setq env (char-after (1+ m3)) - regexp (format "\\(%s%s\\)\\|\\(%s%s\\)" - YaTeX-ec-regexp - (regexp-quote - (cdr (assq env '((?( . ")") (?) . "(") - (?[ . "]") (?] . "["))))) - YaTeX-ec-regexp - (regexp-quote (char-to-string env))) - re-s (if (memq env '(?\( ?\[)) - 're-search-forward - 're-search-backward))) - (t (if noerr nil (error "Corresponding environment not found.")))) - (progn - (while (and (>= nest 0) (funcall re-s regexp nil t)) - (setq b0 (match-beginning 0) b1 (match-beginning 1)) - (if (or (equal b0 m0) - (YaTeX-literal-p b0)) - nil - (setq nest (if (equal b0 b1) - (1- nest) (1+ nest))))) - (if (< nest 0) - (goto-char (match-beginning 0)) ;found. - (goto-char op) - (funcall - (if noerr 'message 'error) - "Corresponding environment `%s' not found." env) - (sit-for 1) - nil)))))) +;;YaTeX-goto-corresponding-environment was moved to yatexlib (defun YaTeX-goto-corresponding-file (&optional other) "Visit or switch buffer of corresponding file, @@ -2533,9 +2463,13 @@ (while (re-search-forward "\\\\\\(\\(page\\)?ref\\|cite\\){" nil t) (if (< (point-end-of-line) (save-excursion (forward-char -1) (forward-list 1) (point))) - (progn (end-of-line) (insert YaTeX-comment-prefix)))) + (progn (end-of-line) + (if (save-excursion + (backward-word 1) + (looking-at "[^0-9A-z!-)]")) + (insert YaTeX-comment-prefix))))) (goto-char (point-min)) - (if (and NTT-jTeX (looking-at "[ \t]")) + (if (and NTT-jTeX (looking-at "[ \t]\\|^$")) (progn (goto-char (point-min)) (while (not (eobp)) @@ -2543,7 +2477,7 @@ (or (bolp) (save-excursion (backward-word 1) - (looking-at "\\sw+")) ;is not japanese string + (looking-at "[0-9A-z!-)]")) ;is not japanese string (progn (setq p (point)) (insert YaTeX-comment-prefix))) (forward-line 1)) (goto-char p) @@ -2775,7 +2709,7 @@ (substitute-all-key-definition 'fill-paragraph 'YaTeX-fill-paragraph YaTeX-mode-map) (substitute-all-key-definition - 'kill-buffer 'YaTeX-kill-buffer yahtml-mode-map) + 'kill-buffer 'YaTeX-kill-buffer YaTeX-mode-map) (run-hooks 'yatex-mode-load-hook) ;; `History' was moved to ChangeLog diff --git a/yatex.new b/yatex.new index 4fb67be..6e20e2d 100644 --- a/yatex.new +++ b/yatex.new @@ -1,6 +1,10 @@ What's new in YaTeX/yahtml �쒹/yahtml - �e�o�[�W�����̕ύX�_�ɂ‚��� +1.70 Emacs21��make-frame���G���[�ɂȂ邱�Ƃ�����̂���� + font-lock �ł� Recenter �������Ȃ��Ȃ�̂��C�� + (���A�ׂ����C�����قƂ��) + 1.69 font-lock �Ή�(XEmacs, Emacs-20, Emacs-21 �̂�)�B hilit19, font-lock�����������Ă���ꍇ YaTeX-use-hilit19 ���A YaTeX-use-font-lock �ǂ��炩����� Non-nil �ɂ���B diff --git a/yatex19.el b/yatex19.el index b6376f0..ee31fe4 100644 --- a/yatex19.el +++ b/yatex19.el @@ -1,14 +1,14 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX facilities for Emacs 19 -;;; (c )1994-2000 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Dec 25 19:16:04 2000 on firestorm +;;; (c )1994-2002 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Wed May 22 13:55:20 2002 on firestorm ;;; $Id$ ;(require 'yatex) -(cond - (YaTeX-use-hilit19 (require 'hilit19)) - (YaTeX-use-font-lock (require 'font-lock))) +(and (boundp 'YaTeX-use-hilit19) + YaTeX-use-hilit19 + (require 'hilit19)) (defvar YaTeX-use-highlighting (or YaTeX-use-font-lock YaTeX-use-hilit19) "*Use highlighting buffer or not.") @@ -18,6 +18,15 @@ ((boundp 'frame-background-mode) frame-background-mode) ((fboundp 'get-frame-background-mode) (get-frame-background-mode (selected-frame))) + (if (face-background 'default) + (if (> (+ 32768 32768 32768) + (apply '+ + (funcall (if (fboundp 'color-rgb-components) + 'color-rgb-components + 'x-color-values) + (face-background 'default)))) + 'dark + 'light)) (t nil))) (defvar YaTeX-mode-menu-map (make-sparse-keymap "YaTeX")) @@ -319,7 +328,8 @@ "\\\\\\(title\\|author\\|date\\|thanks\\)\\>" define) ("\\\\document\\(style\\|class\\)\\(\\[.*\\]\\)?{" "}" decl) - ("\\\\\\(begin\\|end\\|nofiles\\|includeonly\\){" "}" decl) + + ("\\\\\\(begin\\|end\\|nofiles\\|includeonly\\|usepackage\\(\\[.*\\]\\)?\\){" "}" decl) ("\\\\\\(raggedright\\|makeindex\\|makeglossary\\|maketitle\\)\\b" 0 decl) ("\\\\\\(pagestyle\\|thispagestyle\\|pagenumbering\\){" "}" decl) ("\\\\\\(normalsize\\|small\\|footnotesize\\|scriptsize\\|tiny\\|large\\|Large\\|LARGE\\|huge\\|Huge\\)\\b" 0 decl) @@ -488,8 +498,9 @@ (cond ((eq YaTeX-background-mode 'light) (car table)) ((eq YaTeX-background-mode 'dark) (cdr table)) - (t nil))))) - sect single) + ;; Default case equals to 'light mode...is it OK? + (t (car table)))))) + sect single pattern-alist) (YaTeX-19-create-face ;;hilit-translate ;;sectioning (funcall get-face YaTeX-hilit-sectioning-face) 'macro (funcall get-face YaTeX-hilit-singlecmd-face)) @@ -508,53 +519,68 @@ single "\\|") "\\)\\b"))) - (setq hilit-patterns-alist ;Remove at first. - (delq (assq 'yatex-mode hilit-patterns-alist) hilit-patterns-alist) - hilit-patterns-alist - (cons - (cons 'yatex-mode - (append - (list nil) - YaTeX-sectioning-patterns-alist - YaTeX-hilit-pattern-adjustment-private - ;;YaTeX-hilit-pattern-adjustment-default - YaTeX-hilit-patterns-alist - (delq nil - (list - (if sect (list - 'YaTeX-19-region-section-type - sect - 'keyword)) - (if single (list single 0 'macro)))))) - hilit-patterns-alist)))))) + (cons 'yatex-mode + (append + (list nil) + YaTeX-sectioning-patterns-alist + YaTeX-hilit-pattern-adjustment-private + ;;YaTeX-hilit-pattern-adjustment-default + YaTeX-hilit-patterns-alist + (delq nil + (list + (if sect (list + 'YaTeX-19-region-section-type + sect + 'keyword)) + (if single (list single 0 'macro)))))))))) ;;(YaTeX-19-collect-macros) ;causes an error +(defun YaTeX-hilit-setup-alist () + (cond + ((boundp 'hilit-patterns-alist) + (setq hilit-patterns-alist + (delq (assq 'yatex-mode hilit-patterns-alist) hilit-patterns-alist)) + (if YaTeX-use-hilit19 + (setq hilit-patterns-alist + (cons (YaTeX-19-collect-macros) hilit-patterns-alist)))))) + (defun YaTeX-hilit-recenter (arg) "Collect current local macro and hilit-recenter." (interactive "P") - (YaTeX-19-collect-macros) + (YaTeX-hilit-setup-alist) + (if (fboundp 'font-lock-mode) (font-lock-mode -1)) (hilit-recenter arg)) -(defvar YaTeX-19-recenter-function - (cond - (YaTeX-use-hilit19 (cons 'YaTeX-hilit-recenter 'hilit-recenter)) - (YaTeX-use-font-lock (cons 'YaTeX-font-lock-recenter 'recenter)) - (t nil))) -(if YaTeX-19-recenter-function - (let ((k (where-is-internal (cdr YaTeX-19-recenter-function)))) - (while k - (define-key YaTeX-mode-map (car k) (car YaTeX-19-recenter-function)) - (setq k (cdr k))))) +(let ((k (append (where-is-internal 'hilit-recenter) + (where-is-internal 'recenter)))) + (while k + (define-key YaTeX-mode-map (car k) 'YaTeX-19-recenter) + (setq k (cdr k)))) + +(defun YaTeX-19-recenter (&optional arg) + (interactive "P") + (if YaTeX-use-hilit19 + (YaTeX-hilit-recenter arg) + (YaTeX-font-lock-recenter arg))) (defun YaTeX-font-lock-recenter (&optional arg) (interactive "P") + (cond + ((and (boundp 'hilit-patterns-alist) + (assq 'yatex-mode hilit-patterns-alist)) + (if (fboundp 'hilit-unhighlight-region) + (hilit-unhighlight-region (point-min) (point-max))) + (setq hilit-patterns-alist ;ensure to remove + (delq (assq 'yatex-mode hilit-patterns-alist) + hilit-patterns-alist)))) (setq YaTeX-font-lock-keywords (YaTeX-convert-pattern-hilit2fontlock - (cdr (assq 'yatex-mode (YaTeX-19-collect-macros)))) + (cdr (YaTeX-19-collect-macros))) font-lock-keywords nil) ;(save-excursion ; (font-lock-fontify-region (window-start) (window-end))) (font-lock-mode -1) ;is stupid, but sure. - (font-lock-mode 1)) + (font-lock-mode 1) + (recenter arg)) (defvar YaTeX-font-lock-keywords nil "Pattern-face alist of yahtml-mode for font-lock") diff --git a/yatexadd.el b/yatexadd.el index 226238b..dbb0e2e 100644 --- a/yatexadd.el +++ b/yatexadd.el @@ -2,7 +2,7 @@ ;;; YaTeX add-in functions. ;;; yatexadd.el rev.14 ;;; (c )1991-2000 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Dec 25 19:17:09 2000 on firestorm +;;; Last modified Sat Sep 29 23:17:06 2001 on duke ;;; $Id$ ;;; @@ -90,9 +90,17 @@ (defun YaTeX:table () "YaTeX add-in function for table environment." - (setq YaTeX-env-name "tabular" - YaTeX-section-name "caption") - (YaTeX:read-position "htbp")) + (cond + ((eq major-mode 'yatex-mode) + (setq YaTeX-env-name "tabular" + YaTeX-section-name "caption") + (YaTeX:read-position "htbp")) + ((eq major-mode 'texinfo-mode) + (concat " " + (completing-read + "Highlights with: " + '(("@samp")("@kbd")("@code")("@asis")("@file")("@var")) + nil nil "@"))))) (fset 'YaTeX:figure 'YaTeX:table) (fset 'YaTeX:figure* 'YaTeX:table) @@ -273,8 +281,12 @@ (concat "[" label "]")))) (defun YaTeX:item () - (YaTeX-indent-line) - (setq YaTeX-section-name "label") + (cond + ((eq major-mode 'yatex-mode) + (YaTeX-indent-line) + (setq YaTeX-section-name "label")) + ((eq major-mode 'texinfo-mode) + (setq YaTeX-section-name "dots"))) ;?? " ") (fset 'YaTeX:item\[\] 'YaTeX:item) (fset 'YaTeX:subitem 'YaTeX:item) @@ -464,8 +476,11 @@ (defun YaTeX::ref-getset-label (buffer point) "Get label string in the BUFFER near the POINT. Make \\label{xx} if no label." - (let (boundary inspoint cc newlabel (labelholder "label") mathp env) - ;(set-buffer buffer) + ;;Here, we rewrite the LaTeX source. Therefore we should be careful + ;;to decide the location suitable for \label. Do straightforward! + (let (boundary inspoint cc newlabel (labelholder "label") mathp env + (r-escape (regexp-quote YaTeX-comment-prefix))) + ;;(set-buffer buffer) (switch-to-buffer buffer) (save-excursion (goto-char point) @@ -476,29 +491,72 @@ (skip-chars-forward "^{") (forward-list 1) (skip-chars-forward " \t\n") - (setq boundary "[^\\]")) + ;(setq boundary "[^\\]") + (setq boundary + (save-excursion + (if (YaTeX-re-search-active-forward "[^\\]" r-escape nil 1) + (match-beginning 0) + (1- (point)))))) ((looking-at "item\\s ") (setq cc (+ cc 6)) - (setq boundary (concat YaTeX-ec-regexp "\\(item\\|begin\\|end\\)\\b"))) + ;(setq boundary (concat YaTeX-ec-regexp "\\(item\\|begin\\|end\\)\\b")) + (setq boundary + (save-excursion + (if (YaTeX-re-search-active-forward + (concat YaTeX-ec-regexp "\\(item\\|begin\\|end\\)\\b") + r-escape nil 1) + (match-beginning 0) + (1- (point)))))) ((looking-at "bibitem") - (setq labelholder "bibitem")) ; label holder is bibitem itself + (setq labelholder "bibitem") ; label holder is bibitem itself + (setq boundary + (save-excursion + (if (YaTeX-re-search-active-forward + (concat YaTeX-ec-regexp "\\(bibitem\\|end\\)\\b") + r-escape nil 1) + (match-beginning 0) + (1- (point)))))) ((string-match YaTeX::ref-mathenv-regexp (setq env (or (YaTeX-inner-environment t) "document"))) (setq mathp t) - (setq boundary (concat YaTeX-ec-regexp "\\(\\\\\\|end{" env "}\\)"))) + ;;(setq boundary (concat YaTeX-ec-regexp "\\(\\\\\\|end{" env "}\\)")) + (setq boundary + (save-excursion + (if (YaTeX-re-search-active-forward + (concat YaTeX-ec-regexp "\\(\\\\\\|end{" env "}\\)") + r-escape nil 1) + (match-beginning 0) + (1- (point)))))) + ((looking-at "footnote\\s *{") + (skip-chars-forward "^{") ;move onto `{' + (setq boundary + (save-excursion + (condition-case err + (forward-list 1) + (error (error "\\\\footnote at point %s's brace not closed" + (point)))) + (1- (point))))) ((looking-at "caption\\|\\(begin\\)") (skip-chars-forward "^{") (if (match-beginning 1) (forward-list 1)) - (setq boundary (concat YaTeX-ec-regexp "\\(begin\\|end\\)\\b"))) + ;;(setq boundary (concat YaTeX-ec-regexp "\\(begin\\|end\\)\\b")) + (setq boundary + (save-excursion + (if (YaTeX-re-search-active-forward + (concat YaTeX-ec-regexp "\\(begin\\|end\\)\\b") + r-escape nil 1) + (match-beginning 0) + (1- (point)))))) (t )) (if (save-excursion (skip-chars-forward " \t") (looking-at "%")) (forward-line 1)) (if (and (save-excursion (YaTeX-re-search-active-forward - (concat "\\(" labelholder "\\)\\|\\(" boundary "\\)") + ;;(concat "\\(" labelholder "\\)\\|\\(" boundary "\\)") + labelholder (regexp-quote YaTeX-comment-prefix) - nil 1)) - (match-beginning 1)) + boundary 1)) + (match-beginning 0)) ;; if \label{hoge} found, return it (buffer-substring (progn @@ -507,7 +565,8 @@ (progn (forward-sexp 1) (1- (point)))) ;;else make a label - (goto-char (match-beginning 0)) + ;(goto-char (match-beginning 0)) + (goto-char boundary) (skip-chars-backward " \t\n") (save-excursion (setq newlabel (YaTeX::ref-generate-label))) (delete-region (point) (progn (skip-chars-backward " \t") (point))) @@ -555,7 +614,7 @@ (car s)))) YaTeX-sectioning-level)) "\\|") - "\\|caption\\){" + "\\|caption\\|footnote\\){" "\\|\\(begin{\\(" mathenvs "\\|" enums "\\)\\)\\)"))) (regexp (concat "\\(" counter "\\)\\|\\(" YaTeX::ref-labeling-regexp "\\)")) @@ -603,6 +662,7 @@ ;(goto-char (match-beginning 0)) (setq e0 (match-end 0)) (cond + ((YaTeX-literal-p) nil) ((YaTeX-match-string 1) ;;if standard counter commands found (setq cmd (YaTeX-match-string 2)) @@ -1246,6 +1306,27 @@ (format "{%s}[%s]" vmag hmag) (format "{%s}" vmag)))) +(defun YaTeX:includegraphics () + "Add-in for \\includegraphics's option" + (let (width height (scale "") angle str) + (setq width (read-string "Width: ") + height (read-string "Height: ")) + (or (string< width "") (string< "" height) + (setq scale (read-string "Scale: "))) + (setq angle (read-string "Angle(0-359): ")) + (setq str + (mapconcat + 'concat + (delq nil + (mapcar '(lambda (s) + (and (stringp (symbol-value s)) + (string< "" (symbol-value s)) + (format "%s=%s" s (symbol-value s)))) + '(width height scale angle))) + ",")) + (if (string= "" str) "" + (concat "[" str "]")))) + (defun YaTeX::includegraphics (argp) "Add-in for \\includegraphics" (cond diff --git a/yatexenv.el b/yatexenv.el index 8330ad1..a295873 100644 --- a/yatexenv.el +++ b/yatexenv.el @@ -2,7 +2,7 @@ ;;; YaTeX environment-specific functions. ;;; yatexenv.el ;;; (c ) 1994-1997 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Aug 26 18:14:51 1999 on firestorm +;;; Last modified Thu Jan 18 15:21:26 2001 on buell ;;; $Id$ ;;; @@ -230,7 +230,7 @@ (looking-at "\\\\right\\b")) (progn (YaTeX-reindent (save-excursion (YaTeX-goto-corresponding-leftright) - (1- (current-column))))) + (- (current-column) 0)))) (save-excursion (forward-line -1) (while (and (not (bobp)) (YaTeX-on-comment-p)) @@ -285,7 +285,7 @@ is on another line." (let ((YaTeX-struct-begin "\\left%1") (YaTeX-struct-end "\\right%1") - (YaTeX-struct-name-regexp "[][(){}.|]")) + (YaTeX-struct-name-regexp "[][(){}\\.|]")) (YaTeX-goto-corresponding-environment t))) ;;; diff --git a/yatexlib.el b/yatexlib.el index c8b9cb8..8d8d74f 100644 --- a/yatexlib.el +++ b/yatexlib.el @@ -1,8 +1,8 @@ ;;; -*- Emacs-Lisp -*- ;;; YaTeX and yahtml common libraries, general functions and definitions ;;; yatexlib.el -;;; (c )1994-2000 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Dec 25 18:51:11 2000 on firestorm +;;; (c )1994-2002 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Wed May 22 13:55:31 2002 on firestorm ;;; $Id$ ;; General variables @@ -755,6 +755,28 @@ (setq str nil))) (nreverse list))) +;;;###autoload +(defun YaTeX-delete1 (elt list) + "Delete" + (let (e) + (while (setq e (YaTeX-member elt list)) + (setq list (delq (car e) list)))) + list) +(if (fboundp 'delete) + (fset 'YaTeX-delete (symbol-function 'delete)) + (fset 'YaTeX-delete (symbol-function 'YaTeX-delete1))) + +(defun YaTeX-member1 (elt list) + (catch 'found + (while list + (if (equal elt (car list)) + (throw 'found list)) + (setq list (cdr list))))) + +(if (and (fboundp 'member) (subrp (symbol-function 'member))) + (fset 'YaTeX-member (symbol-function 'member)) + (fset 'YaTeX-member (symbol-function 'YaTeX-member1))) + ;;; ;; Interface function for windows.el ;;; @@ -783,6 +805,8 @@ recent sectioning command. Matching point is stored to property 'point of 'YaTeX-inner-environment, which can be referred by (get 'YaTeX-inner-environment 'point)." + (put 'YaTeX-inner-environment 'point (point-min)) + (put 'YaTeX-inner-environment 'indent 0) (let*((nest 0) (beg (YaTeX-replace-format-args (regexp-quote YaTeX-struct-begin) @@ -807,7 +831,8 @@ (save-excursion (if htmlp ;;(re-search-backward YaTeX-sectioning-regexp nil 1) - (goto-char (point-min)) ;Is this enough? 97/6/26 + ;;(goto-char (point-min)) ;Is this enough? 97/6/26 + (re-search-backward yahtml-indentation-boundary nil 1) (YaTeX-re-search-active-backward (concat YaTeX-ec-regexp "\\(" YaTeX-sectioning-regexp "\\)\\*?{") @@ -832,6 +857,82 @@ (progn (skip-chars-forward open) (1+ (point))) (progn (skip-chars-forward close) (point))))))) +(defun YaTeX-goto-corresponding-environment (&optional allow-mismatch noerr) + "Go to corresponding begin/end enclosure. +Optional argument ALLOW-MISMATCH allows mismatch open/clese. Use this +for \left(, \right). +Optional third argument NOERR causes no error for unballanced environment." + (interactive) + (if (not (YaTeX-on-begin-end-p)) nil + (let ((p (match-end 0)) b0 b1 env (nest 0) regexp re-s (op (point)) + (m0 (match-beginning 0)) ;whole matching + (m1 (match-beginning 1)) ;environment in \begin{} + (m2 (match-beginning 2)) ;environment in \end{} + (m3 (match-beginning 3))) ;environment in \[ \] \( \) + ;(setq env (regexp-quote (buffer-substring p (match-beginning 0)))) + (if (cond + (m1 ;if begin{xxx} + (setq env + (if allow-mismatch YaTeX-struct-name-regexp + (regexp-quote (buffer-substring m1 (match-end 1))))) + ; (setq regexp (concat "\\(\\\\end{" env "}\\)\\|" + ; "\\(\\\\begin{" env "}\\)")) + (setq regexp + (concat + "\\(" + (YaTeX-replace-format-args + (regexp-quote YaTeX-struct-end) env "" "") + "\\)\\|\\(" + (YaTeX-replace-format-args + (regexp-quote YaTeX-struct-begin) env "" "") + "\\)")) + (setq re-s 're-search-forward)) + (m2 ;if end{xxx} + (setq env + (if allow-mismatch YaTeX-struct-name-regexp + (regexp-quote (buffer-substring m2 (match-end 2))))) + ; (setq regexp (concat "\\(\\\\begin{" env "}\\)\\|" + ; "\\(\\\\end{" env "}\\)")) + (setq regexp + (concat + "\\(" + (YaTeX-replace-format-args + (regexp-quote YaTeX-struct-begin) env "" "") + "\\)\\|\\(" + (YaTeX-replace-format-args + (regexp-quote YaTeX-struct-end) env "" "") + "\\)")) + (setq re-s 're-search-backward)) + (m3 ;math environment + (setq env (char-after (1+ m3)) + regexp (format "\\(%s%s\\)\\|\\(%s%s\\)" + YaTeX-ec-regexp + (regexp-quote + (cdr (assq env '((?( . ")") (?) . "(") + (?[ . "]") (?] . "["))))) + YaTeX-ec-regexp + (regexp-quote (char-to-string env))) + re-s (if (memq env '(?\( ?\[)) + 're-search-forward + 're-search-backward))) + (t (if noerr nil (error "Corresponding environment not found.")))) + (progn + (while (and (>= nest 0) (funcall re-s regexp nil t)) + (setq b0 (match-beginning 0) b1 (match-beginning 1)) + (if (or (equal b0 m0) + (YaTeX-literal-p b0)) + nil + (setq nest (if (equal b0 b1) + (1- nest) (1+ nest))))) + (if (< nest 0) + (goto-char (match-beginning 0)) ;found. + (goto-char op) + (funcall + (if noerr 'message 'error) + "Corresponding environment `%s' not found." env) + (sit-for 1) + nil)))))) + (defun YaTeX-end-environment () "Close opening environment" (interactive) @@ -994,7 +1095,8 @@ (mapping '((bold . YaTeX-font-lock-bold-face) (italic . YaTeX-font-lock-italic-face) - (define . font-lock-function-name-face) + (defun . font-lock-function-name-face) + (define . font-lock-variable-name-face) (keyword . font-lock-keyword-face) (decl . YaTeX-font-lock-declaration-face) (label . YaTeX-font-lock-label-face) @@ -1014,7 +1116,7 @@ (if (numberp (car (cdr i))) (list (car i) ;regexp (car (cdr i)) ;matching group number - newface t) ;'keep) ;keep is hilit19 taste + newface nil) ;'keep) ;keep is hilit19 taste (list (concat (car i) ;original regexp and.. @@ -1023,7 +1125,7 @@ ;;"]+" ;for shortest match ".*" (car (cdr i))) - 0 (list 'quote newface) t)) ;;'keep)) + 0 (list 'quote newface) nil)) ;;'keep)) flpa))) ((and (symbolp (car i)) (fboundp (car i))) (setq flpa @@ -1034,7 +1136,7 @@ 'lambda (list 'dummy) '(goto-char (match-beginning 0)) '(remove-text-properties - (point) (1+ (point)) + (point) (min (point-max) (1+ (point))) '(face nil font-lock-multiline nil)) (list 'let (list '(e (match-end 0)) @@ -1058,8 +1160,12 @@ (nreverse flpa) flpa))) +(if (and (boundp 'YaTeX-use-font-lock) + YaTeX-use-font-lock) + (require 'font-lock)) + (cond - ((featurep 'font-lock) + ((and (featurep 'font-lock) (fboundp 'defface)) ;; In each defface, '(class static-color) is for Emacs-21 -nw ;; '(class tty) is for XEmacs-21 -nw (defface YaTeX-font-lock-label-face @@ -1121,14 +1227,26 @@ ;; Make sure the 'YaTeX-font-lock-{italic,bold}-face is bound with ;; italic/bold fontsets (if (and (fboundp 'fontset-list) YaTeX-use-italic-bold) - (let ((flist (fontset-list)) fnt italic bold) + (let ((flist (fontset-list)) fnt italic bold + (df (or (and (fboundp 'face-font-name) (face-font-name 'default)) + (face-font 'default) + (face-font 'italic) + (face-font 'bold) + "giveup!")) + sz medium-i bold-r) + (string-match + "^-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\(\\([0-9]+\\)\\)" df) + (setq sz (or (match-string 1 df) "16")) + (setq medium-i (format "-medium-i-[^-]+--%s" sz) + bold-r (format "-bold-r-[^-]+--%s" sz)) (while flist (setq fnt (car flist)) (condition-case err (cond - ((and (string-match "-medium-i-" fnt) (null italic)) + ((and (string-match medium-i fnt) + (null italic)) (set-face-font 'YaTeX-font-lock-italic-face (setq italic fnt))) - ((and (string-match "-bold-r-" fnt) (null bold)) + ((and (string-match bold-r fnt) (null bold)) (set-face-font 'YaTeX-font-lock-bold-face (setq bold fnt)))) (error nil)) (setq flist (cdr flist))))) diff --git a/yatexprc.el b/yatexprc.el index d7a8c61..44d1f4e 100644 --- a/yatexprc.el +++ b/yatexprc.el @@ -2,7 +2,7 @@ ;;; YaTeX process handler. ;;; yatexprc.el ;;; (c )1993-2000 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Dec 25 19:18:19 2000 on firestorm +;;; Last modified Sun Dec 31 21:57:44 2000 on firestorm ;;; $Id$ ;(require 'yatex) @@ -221,8 +221,10 @@ preamble (if (re-search-forward "^[ ]*\\\\begin.*{document}" nil t) (buffer-substring (point-min) (match-end 0)) - (concat "\\documentstyle{" YaTeX-default-document-style "}\n" - "\\begin{document}"))) + (concat + (if YaTeX-use-LaTeX2e "\\documentclass{" "\\documentstyle{") + YaTeX-default-document-style "}\n" + "\\begin{document}"))) (goto-char opoint) ;;(set-buffer buffer) ;for clarity (let ((hilit-auto-highlight nil))