yatex
changeset 208:33c8875f52f9 yatex-1.75
Merged changes to 1.75
author | yuuji@gentei.org |
---|---|
date | Thu, 12 Jan 2012 12:26:35 +0900 |
parents | 127a36f4cd6a cb1906082153 |
children | 5d8f03ba4285 |
files | |
diffstat | 28 files changed, 2160 insertions(+), 996 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/.hgignore Thu Jan 12 12:26:35 2012 +0900 1.3 @@ -0,0 +1,10 @@ 1.4 +syntax: glob 1.5 +*,v 1.6 +RCS 1.7 +CVS 1.8 +.cvsignore 1.9 +[._]win* 1.10 +__emacs 1.11 +docs/* 1.12 +*.swp 1.13 +trashbox
2.1 --- a/.hgtags Mon Sep 28 12:48:28 2009 +0900 2.2 +++ b/.hgtags Thu Jan 12 12:26:35 2012 +0900 2.3 @@ -1,3 +1,4 @@ 2.4 73cba5ddd1114214308f400a1550f64210f15068 v0 2.5 ce2deaceb818dad84bb6a06079cceddeca2f3ef7 yatex-1.74 2.6 801593454c59be43ddc14f725c647ab379b44c32 start-branch-for-1.75 2.7 +6be1692f81cd35d0ea6022840c9f7e28af6c8e66 start-for-1.75
3.1 --- a/docs/qanda Mon Sep 28 12:48:28 2009 +0900 3.2 +++ b/docs/qanda Thu Jan 12 12:26:35 2012 +0900 3.3 @@ -344,8 +344,8 @@ 3.4 └──────────────┘ 3.5 3.6 てな具合になるわけですよ。おおかちょええ。さて、小文字program環 3.7 - 境のマクロ定義を良く見ると環境に渡した foo.c はそのまま 3.8 - \label{#1} でラベルとして自動的に打たれることになる。あ、pLaTeX 3.9 + 境のマクロ定義を良く見ると環境に渡した foo.c はそのまま自動的に 3.10 + \label{#1} でラベルとして打たれることになります。あ、pLaTeX 3.11 のラベルは日本語もOKよ。で、その暗黙のうちに打たれたラベル名を野 3.12 鳥に教えるというのがスマートなやり方です。これを定義するのが変数 3.13 YaTeX::ref-labeling-regexp-alist-private なり。これには 3.14 @@ -682,9 +682,9 @@ 3.15 3.16 のようにメイルを送れば加入できます。手続きは全て自動で行われ、登 3.17 録が完了すると確認とともに、参加/休止/脱会等の制御コマンドの利用 3.18 - 方法が返送されます。是非参加して一緒に野鳥/雷鳥/白鳥/飛鳥を育て 3.19 - てください。なお、自己紹介の文が無い場合一見加入したように見えま 3.20 - すが、自動的に登録解除しますので御注意下さい。 3.21 + 方法が返送されます。是非参加して一緒に野鳥/雷鳥/白鳥/飛鳥/花鳥を 3.22 + 育ててください。なお、自己紹介の文が無い場合一見加入したように見 3.23 + えますが、自動的に登録解除しますので御注意下さい。 3.24 3.25 ・野鳥の最新情報は? 3.26 3.27 @@ -696,6 +696,26 @@ 3.28 があるので、current版の利用はとくに「デバッグに協力する」という 3.29 心構えでの利用をお願いします。 3.30 3.31 + yatex-currentは全ファイルを毎回取得する必要があるので非効率です。 3.32 + YaTeXのソースコードのMercurialリポジトリを利用し、効率的かつ安全 3.33 + に更新を行なって下さい。Mercurialをインストール後、以下のように 3.34 + して開発版に追随します。 3.35 + 3.36 + hg clone http://www.yatex.org:/hgrepos/yatex 3.37 + 3.38 + で、リポジトリ全体を取得します。開発ブランチは dev なので 3.39 + 3.40 + cd yatex 3.41 + hg up -C dev 3.42 + 3.43 + して切り替えます(リリース用ブランチは default)。以後は、同ディレ 3.44 + クトリで定期的に 3.45 + 3.46 + hg pull -uv 3.47 + 3.48 + すれば更新のみを取得します。このディレクトリをEmacsの load-path 3.49 + に加えてしまってもよいでしょう。 3.50 + 3.51 ・とにかくわかりませーん! 3.52 3.53 まず質問の前に yatex-current(上述) を試してみて下さい。既に直面
4.1 --- a/docs/qanda.eng Mon Sep 28 12:48:28 2009 +0900 4.2 +++ b/docs/qanda.eng Thu Jan 12 12:26:35 2012 +0900 4.3 @@ -393,6 +393,22 @@ 4.4 errors. The author cannot respond to your query about 4.5 yatex-current. 4.6 4.7 + If you want to catch up to latest version, using yatex-current 4.8 + is inefficient. Use yatex's mercurial repository instead. 4.9 + 4.10 + hg clone http://www.yatex.org:/hgrepos/yatex 4.11 + cd yatex 4.12 + hg up -C dev 4.13 + 4.14 + Then, getting all updates by `hg pull'. 4.15 + 4.16 + hg pull -uv 4.17 + 4.18 + Okay to set load-path of yatex to local copy of repository. 4.19 + Two branch names are mostly in use. The `default' branch is for 4.20 + release versions, the `dev' branch is for development. 4.21 + 4.22 + 4.23 *Help, help HELP!! 4.24 4.25 Ways of getting answers in fastest order.
5.1 --- a/docs/yahtmle Mon Sep 28 12:48:28 2009 +0900 5.2 +++ b/docs/yahtmle Thu Jan 12 12:26:35 2012 +0900 5.3 @@ -1,7 +1,8 @@ 5.4 Info file: yahtmle, -*-Text-*- 5.5 produced by `texinfo-format-buffer' 5.6 from file `yahtmle.tex' 5.7 -using `texinfmt.el' version 2.32 of 19 November 1993. 5.8 +using `texinfmt.el' version 2.38 of 3 July 1998. 5.9 + 5.10 5.11 5.12 5.13 @@ -22,6 +23,7 @@ 5.14 * Copying:: Copyright 5.15 * Concept Index:: Index 5.16 5.17 + 5.18 5.19 File: yahtmle, Node: Intro, Next: Installation, Prev: Top, Up: Top 5.20 5.21 @@ -35,6 +37,7 @@ 5.22 5.23 (This Info is still incomplete) 5.24 5.25 + 5.26 5.27 File: yahtmle, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top 5.28 5.29 @@ -46,6 +49,7 @@ 5.30 * Setting environments for weblint browsers and image viewers:: 5.31 * Setting environment variables for WWW pages:: 5.32 5.33 + 5.34 5.35 File: yahtmle, Node: Setting up yahtml, Next: Setting environments for weblint browsers and image viewers, Prev: Installation, Up: Installation 5.36 5.37 @@ -71,6 +75,7 @@ 5.38 extensions. "yahtml" will be displayed on the mode line if no errors 5.39 occurred. 5.40 5.41 + 5.42 5.43 File: yahtmle, Node: Setting environments for weblint browsers and image viewers, Next: Setting environment variables for WWW pages, Prev: Setting up yahtml, Up: Installation 5.44 5.45 @@ -89,6 +94,7 @@ 5.46 `yahtml-kanji-code' 5.47 ... kanji code for HTML files 5.48 5.49 + 5.50 5.51 File: yahtmle, Node: Setting environment variables for WWW pages, Prev: Setting environments for weblint browsers and image viewers, Up: Installation 5.52 5.53 @@ -100,8 +106,7 @@ 5.54 ... list of matching path name on file system and URLs 5.55 `yahtml-directory-index' 5.56 ... index file displayed when none is given in URL. Usually 5.57 - `index.html' on NCSA type httpd and `Welcome.html' on 5.58 - CERN types. 5.59 + `index.html' on NCSA type httpd and `Welcome.html' on CERN types. 5.60 5.61 Examples for `yahtml-path-url-alist'. If `/home/yuuji/http/' is 5.62 `http://localhost/~yuuji' at home and `/usr/home/yuuji/www/' is 5.63 @@ -113,6 +118,7 @@ 5.64 5.65 Any number of additions can be made to this list. 5.66 5.67 + 5.68 5.69 File: yahtmle, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top 5.70 5.71 @@ -127,6 +133,7 @@ 5.72 `[prefix] t r' 5.73 ... Reload current page if browser is already running 5.74 5.75 + 5.76 5.77 File: yahtmle, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top 5.78 5.79 @@ -174,6 +181,7 @@ 5.80 for < (<), > (>), & (&), " ("), ' ('), blank 5.81 ( ) is possible. 5.82 5.83 + 5.84 5.85 File: yahtmle, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top 5.86 5.87 @@ -192,6 +200,7 @@ 5.88 * `<a href="link.to.somewhere">' -> move cursor to linked target 5.89 * `<applet code="program">' -> open Java source 5.90 5.91 + 5.92 5.93 File: yahtmle, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top 5.94 5.95 @@ -204,6 +213,7 @@ 5.96 * Changing entities:: 5.97 * URLencoding of strings within region:: 5.98 5.99 + 5.100 5.101 File: yahtmle, Node: Changing tags in pairs, Next: Changing entities, Prev: Changing and Deleting, Up: Changing and Deleting 5.102 5.103 @@ -222,6 +232,7 @@ 5.104 * attributes such as `<img src="image.file" alt="photo">' 5.105 ... change attributes 5.106 5.107 + 5.108 5.109 File: yahtmle, Node: Changing entities, Next: URLencoding of strings within region, Prev: Changing tags in pairs, Up: Changing and Deleting 5.110 5.111 @@ -236,11 +247,12 @@ 5.112 ... convert char to special entity in marked region 5.113 `[prefix] :' 5.114 ... convert special entity to original char in marked region 5.115 - (reverse of [prefix] ;) 5.116 + (reverse of [prefix] ;) 5.117 + 5.118 5.119 5.120 5.121 -File: yahtmle, Node: URLencoding of strings within region, Prev: Changing entities, Up: Changing and Deleting 5.122 +File: yahtmle, Node: URLencoding of strings within region, Next: td-enclosure/tr-enclosure, Prev: Changing entities, Up: Changing and Deleting 5.123 5.124 URLencoding of strings within region 5.125 ==================================== 5.126 @@ -248,6 +260,32 @@ 5.127 `[prefix] #' 5.128 ... encode chars that needs to be URLencoded within region 5.129 5.130 + 5.131 + 5.132 +File: yahtmle, Node: td-enclosure/tr-enclosure, Prev: URLencoding of strings within region, Up: Changing and Deleting 5.133 + 5.134 +td-enclosure/tr-enclosure 5.135 +========================= 5.136 +If you wan to convert series of field into <td>...</td> repetitions for 5.137 +table element, td-enclosure or tr-enclosure is convenient. 5.138 + 5.139 + `[prefix] '} 5.140 + 5.141 + ... Enclose each field in a region into <td>...</td>'s. 5.142 + `[prefix] ]' 5.143 + 5.144 + ... Enclose each line in a region into <tr>...</tr>'s, with every 5.145 +line converted to <td>...</td> repetition. They presume white space as 5.146 +field separator by default. To change this, enter other delimiting 5.147 +character for a query. You can convert CSV, for example, into table by 5.148 +specifying comma(,) as a delimiter. 5.149 + 5.150 +If you want to enclose fields with th, call with universal-argument 5.151 +(`C-u'). Enter `th' to enclose fields with <th>...</th>. The special 5.152 +answer `thd' means that enclose the only first column with th, and the 5.153 +rest with td. 5.154 + 5.155 + 5.156 5.157 File: yahtmle, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top 5.158 5.159 @@ -259,6 +297,7 @@ 5.160 * CSS-class completion:: 5.161 * Reread CSS definition:: 5.162 5.163 + 5.164 5.165 File: yahtmle, Node: CSS-class completion, Next: Reread CSS definition, Prev: CSS Support, Up: CSS Support 5.166 5.167 @@ -281,6 +320,7 @@ 5.168 class name. If this is bothering, typing `C-j' instead of `RET' (or 5.169 `C-m') cancels the next prompt to class name completion. 5.170 5.171 + 5.172 5.173 File: yahtmle, Node: Reread CSS definition, Prev: CSS-class completion, Up: CSS Support 5.174 5.175 @@ -289,6 +329,7 @@ 5.176 If you add some class to your CSS file and you want yahtml to load new 5.177 definitions, type `M-x yahtml-mode RET' to make yahtml do. 5.178 5.179 + 5.180 5.181 File: yahtmle, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top 5.182 5.183 @@ -302,6 +343,7 @@ 5.184 * All customizable variables:: List of customizable variables 5.185 * Hook variables:: hook variables 5.186 5.187 + 5.188 5.189 File: yahtmle, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations 5.190 5.191 @@ -318,9 +360,9 @@ 5.192 Browser to view external pages with `[prefix]g'. (netscape) 5.193 5.194 -- Variable: yahtml-kanji-code 5.195 - Default kanji code. 1=sjis, 2=jis, 3=euc (2) If 5.196 - AddType "text/html; charset=xxx" .html is written in .htaccess, 5.197 - this will override yahtml-kanji-code. 5.198 + Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) If AddType 5.199 + "text/html; charset=xxx" .html is written in .htaccess, this will 5.200 + override yahtml-kanji-code. 5.201 5.202 -- Variable: yahtml-fill-column 5.203 Columns to auto-fill (72) 5.204 @@ -410,6 +452,7 @@ 5.205 -- Variable: yahtml-indentation-boundary 5.206 Boundary regexp for indentation calculation. (`"^\\s *<h[1-3]>"') 5.207 5.208 + 5.209 5.210 File: yahtmle, Node: Hook variables, Prev: All customizable variables, Up: Customizations 5.211 5.212 @@ -417,6 +460,7 @@ 5.213 ============== 5.214 5.215 5.216 + 5.217 5.218 File: yahtmle, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top 5.219 5.220 @@ -440,6 +484,7 @@ 5.221 HIROSE, Yuuji 5.222 5.223 5.224 + 5.225 5.226 File: yahtmle, Node: Concept Index, Prev: Copying, Up: Top 5.227 5.228 @@ -457,3 +502,30 @@ 5.229 5.230 5.231 5.232 + 5.233 + 5.234 +Tag table: 5.235 +Node: Top148 5.236 +Node: Intro725 5.237 +Node: Installation1123 5.238 +Node: Setting up yahtml1404 5.239 +Node: Setting environments for weblint browsers and image viewers2195 5.240 +Node: Setting environment variables for WWW pages2891 5.241 +Node: Command Invocation3862 5.242 +Node: Completion4290 5.243 +Node: Jump5807 5.244 +Node: Changing and Deleting6287 5.245 +Node: Changing tags in pairs6538 5.246 +Node: Changing entities7033 5.247 +Node: URLencoding of strings within region7569 5.248 +Node: td-enclosure/tr-enclosure7870 5.249 +Node: CSS Support8836 5.250 +Node: CSS-class completion9062 5.251 +Node: Reread CSS definition9915 5.252 +Node: Customizations10190 5.253 +Node: All customizable variables10466 5.254 +Node: Hook variables14234 5.255 +Node: Copying14360 5.256 +Node: Concept Index15151 5.257 + 5.258 +End tag table
6.1 --- a/docs/yahtmle.tex Mon Sep 28 12:48:28 2009 +0900 6.2 +++ b/docs/yahtmle.tex Thu Jan 12 12:26:35 2012 +0900 6.3 @@ -5,7 +5,7 @@ 6.4 6.5 @iftex 6.6 @c @syncodeindex fn cp 6.7 -@c Last modified Fri Mar 1 16:16:59 2002 on firestorm 6.8 +@c Last modified Thu Dec 9 16:12:43 2010 on firestorm 6.9 @syncodeindex vr cp 6.10 @end iftex 6.11 6.12 @@ -270,7 +270,7 @@ 6.13 @end table 6.14 6.15 6.16 -@node URLencoding of strings within region, , Changing entities, Changing and Deleting 6.17 +@node URLencoding of strings within region, td-enclosure/tr-enclosure, Changing entities, Changing and Deleting 6.18 @comment node-name, next, previous, up 6.19 @section URLencoding of strings within region 6.20 6.21 @@ -279,6 +279,29 @@ 6.22 @dots{} encode chars that needs to be URLencoded within region 6.23 @end table 6.24 6.25 +@node td-enclosure/tr-enclosure, , URLencoding of strings within region, Changing and Deleting 6.26 +@comment node-name, next, previous, up 6.27 +@section td-enclosure/tr-enclosure 6.28 +If you wan to convert series of field into <td>...</td> repetitions for 6.29 +table element, td-enclosure or tr-enclosure is convenient. 6.30 + 6.31 +@table @kbd 6.32 + @item [prefix] } 6.33 + @dots{} Enclose each field in a region into <td>...</td>'s. 6.34 + @item [prefix] ] 6.35 + @dots{} Enclose each line in a region into <tr>...</tr>'s, with 6.36 + every line converted to <td>...</td> repetition. 6.37 +@end table 6.38 +They presume white space as field separator by default. 6.39 +To change this, enter other delimiting character for a query. 6.40 +You can convert CSV, for example, into table by specifying 6.41 +comma(,) as a delimiter. 6.42 + 6.43 +If you want to enclose fields with th, call with 6.44 +universal-argument (@kbd{C-u}). Enter `th' to enclose fields 6.45 +with <th>...</th>. The special answer `thd' means that 6.46 +enclose the only first column with th, and the rest with td. 6.47 + 6.48 @node CSS Support, Customizations, Changing and Deleting, Top 6.49 @comment node-name, next, previous, up 6.50 @chapter CSS(Style Sheets) Support 6.51 @@ -348,7 +371,7 @@ 6.52 @end defvar 6.53 6.54 @defvar yahtml-kanji-code 6.55 -Default kanji code. 1=sjis, 2=jis, 3=euc (2) 6.56 +Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) 6.57 If 6.58 @quotation 6.59 AddType "text/html; charset=xxx" .html
7.1 --- a/docs/yahtmlj Mon Sep 28 12:48:28 2009 +0900 7.2 +++ b/docs/yahtmlj Thu Jan 12 12:26:35 2012 +0900 7.3 @@ -1,7 +1,8 @@ 7.4 Info file: yahtmlj, -*-Text-*- 7.5 produced by `texinfo-format-buffer' 7.6 from file `yahtmlj.tex' 7.7 -using `texinfmt.el' version 2.32 of 19 November 1993. 7.8 +using `texinfmt.el' version 2.38 of 3 July 1998. 7.9 + 7.10 7.11 7.12 7.13 @@ -11,459 +12,531 @@ 7.14 7.15 * Menu: 7.16 7.17 -* Intro:: $B$O$8$a$K(B 7.18 -* Installation:: $B%$%s%9%H!<%k(B 7.19 -* Command Invocation:: $B30It%3%^%s%I5/F0(B 7.20 -* Completion:: $BJd40F~NO(B 7.21 -* Jump:: $B%+!<%=%k%8%c%s%W(B 7.22 -* Changing and Deleting:: $BJQ99$H:o=|(B 7.23 -* CSS Support:: $B%9%?%$%k%7!<%HJd40(B 7.24 -* Customizations:: $B%+%9%?%^%$%:JQ?t0lMw(B 7.25 -* Copying:: $B$H$j$"$D$+$$(B 7.26 -* Concept Index:: $B:w0z(B 7.27 +* Intro:: $(B$O$8$a$K 7.28 +(B* Installation:: $(B%$%s%9%H!<%k 7.29 +(B* Command Invocation:: $(B30It%3%^%s%I5/F0 7.30 +(B* Completion:: $(BJd40F~NO 7.31 +(B* Jump:: $(B%+!<%=%k%8%c%s%W 7.32 +(B* Changing and Deleting:: $(BJQ99$H:o=| 7.33 +(B* CSS Support:: $(B%9%?%$%k%7!<%HJd40 7.34 +(B* Customizations:: $(B%+%9%?%^%$%:JQ?t0lMw 7.35 +(B* Copying:: $(B$H$j$"$D$+$$ 7.36 +(B* Concept Index:: $(B:w0z 7.37 + 7.38 7.39 7.40 7.41 -File: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top 7.42 +(BFile: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top 7.43 7.44 -$B$O$8$a$K(B 7.45 -******** 7.46 +$(B$O$8$a$K 7.47 +(B******** 7.48 7.49 -yahtml$B$O(B GNU Emacs $B>e$G(B HTML$BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$B%?%0$NF~NO$rJd40(B 7.50 -$B5!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$B$J$I$N9=J8%A%'%C(B 7.51 -$B%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$B%$%a!<%8%t%e!<(B 7.52 -$B%"$N5/F0$J$I$r(B Emacs $BJT=82hLLCf$+$i9T$($k$h$&$K$9$k%Q%C%1!<%8$G$9!#(B 7.53 +yahtml$(B$O (BGNU Emacs $(B>e$G (BHTML$(BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$(B%?%0$NF~NO$rJd40 7.54 +5!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$(B$J$I$N9=J8%A%'%C 7.55 +%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$(B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$(B%$%a!<%8%t%e!< 7.56 +%"$N5/F0$J$I$r (BEmacs $(BJT=82hLLCf$+$i9T$($k$h$&$K$9$k%Q%C%1!<%8$G$9!# 7.57 7.58 -($B$3$N(BInfo$B$OL$40@.$G$9(B(__)$B!D(B) 7.59 +(B($(B$3$N(BInfo$(B$OL$40@.$G$9(B(__)$(B!D(B) 7.60 + 7.61 7.62 7.63 File: yahtmlj, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top 7.64 7.65 -$B%$%s%9%H!<%k(B 7.66 -************ 7.67 +$(B%$%s%9%H!<%k 7.68 +(B************ 7.69 * Menu: 7.70 7.71 -* yahtml$B5/F0$N$?$a$N@_Dj(B:: 7.72 -* lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B:: 7.73 -* WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B:: 7.74 +* yahtml$(B5/F0$N$?$a$N@_Dj(B:: 7.75 +* lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B:: 7.76 +* WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B:: 7.77 + 7.78 7.79 7.80 -File: yahtmlj, Node: yahtml$B5/F0$N$?$a$N@_Dj(B, Next: lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Prev: Installation, Up: Installation 7.81 +File: yahtmlj, Node: yahtml$(B5/F0$N$?$a$N@_Dj(B, Next: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Prev: Installation, Up: Installation 7.82 7.83 -yahtml$B5/F0$N$?$a$N@_Dj(B 7.84 -====================== 7.85 +yahtml$(B5/F0$N$?$a$N@_Dj 7.86 +(B====================== 7.87 7.88 7.89 -`~/.emacs'$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B 7.90 +`~/.emacs'$(B$K2<$N(B2$(B9`L\$r2C$($^$9!# 7.91 7.92 - (setq auto-mode-alist 7.93 + (B(setq auto-mode-alist 7.94 (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) 7.95 (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) 7.96 7.97 -$B<!$K(Byahtml$B$KI,MW$J%U%!%$%k(B(`yahtml.el', `yatexlib.el', `yatexprc.el') $B$rCV(B 7.98 -$B$/%G%#%l%/%H%j$r(B load-path $B$K2C$($^$9!#$?$H$($P!"(B `~/src/emacs/yahtml'$B$KCV(B 7.99 -$B$/$N$G$"$l$P!"(B 7.100 +$(B<!$K(Byahtml$(B$KI,MW$J%U%!%$%k(B(`yahtml.el', `yatexlib.el', `yatexprc.el') $(B$rCV 7.101 +$/%G%#%l%/%H%j$r (Bload-path $(B$K2C$($^$9!#$?$H$($P!" (B`~/src/emacs/yahtml'$(B$KCV 7.102 +$/$N$G$"$l$P!" 7.103 7.104 - (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) 7.105 + (B(setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) 7.106 7.107 -$B$J$I$H$7$^$9!#(B 7.108 +$(B$J$I$H$7$^$9!# 7.109 7.110 - $B0J>e$N@_Dj$K$h$j!"3HD%;R$,(B .html $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$K(B 7.111 -yahtml $B$,%m!<%I$5$l$^$9!#(Byahtml$B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<((B 7.112 -$B$,!V(Byahtml$B!W$KJQ$o$j$^$9!#(B 7.113 + 0J>e$N@_Dj$K$h$j!"3HD%;R$, (B.html $(B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$K 7.114 +(Byahtml $(B$,%m!<%I$5$l$^$9!#(Byahtml$(B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<( 7.115 +$,!V(Byahtml$(B!W$KJQ$o$j$^$9!# 7.116 + 7.117 7.118 7.119 -File: yahtmlj, Node: lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Next: WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: yahtml$B5/F0$N$?$a$N@_Dj(B, Up: Installation 7.120 +(BFile: yahtmlj, Node: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Next: WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: yahtml$(B5/F0$N$?$a$N@_Dj(B, Up: Installation 7.121 7.122 -lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B 7.123 -==================================================== 7.124 +lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj 7.125 +(B==================================================== 7.126 7.127 -$BMxMQ$9$k30It%W%m%0%i%`$J$I$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ(B 7.128 -$B99$7$^$9(B($B3g8LFb$O%G%U%)%k%HCM(B)$B!#(B 7.129 -`yahtml-www-browser' 7.130 - ... $B5/F0$9$k%V%i%&%6$N%3%^%s%IL>(B(netscape) 7.131 +$(BMxMQ$9$k30It%W%m%0%i%`$J$I$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ 7.132 +99$7$^$9(B($(B3g8LFb$O%G%U%)%k%HCM(B)$(B!# 7.133 +(B`yahtml-www-browser' 7.134 + ... $(B5/F0$9$k%V%i%&%6$N%3%^%s%IL>(B(netscape) 7.135 `yahtml-image-viewer' 7.136 - ... $B5/F0$9$k2hA|%S%e!<%"$N%3%^%s%IL>(B(xv) 7.137 + ... $(B5/F0$9$k2hA|%S%e!<%"$N%3%^%s%IL>(B(xv) 7.138 `yahtml-lint-program' 7.139 - ... $B9=J8%A%'%C%/%W%m%0%i%`$N%3%^%s%IL>(B(jweblint) 7.140 + ... $(B9=J8%A%'%C%/%W%m%0%i%`$N%3%^%s%IL>(B(jweblint) 7.141 `yahtml-kanji-code' 7.142 - ... html$B%U%!%$%k$N4A;z%3!<%I(B 7.143 + ... html$(B%U%!%$%k$N4A;z%3!<%I 7.144 + 7.145 7.146 7.147 -File: yahtmlj, Node: WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Up: Installation 7.148 +(BFile: yahtmlj, Node: WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B, Prev: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Up: Installation 7.149 7.150 -WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B 7.151 -========================= 7.152 +WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj 7.153 +(B========================= 7.154 7.155 -$B%[!<%`%Z!<%8$H$J$k%U%!%$%k$,B8:_$9$k(BPATH$BL>$K4X$9$kJQ?t$r@_Dj$7$^$9!#(B 7.156 -`yahtml-path-url-alist' 7.157 - ... $B%U%!%$%k%7%9%F%`>e$N(BPATH$BL>$H!"(BURL$B$NBP1~I=(B 7.158 -`yahtml-directory-index' 7.159 - ... URL$B;XDj$G%U%!%$%kL>$r>JN,$7$?$H$-$KI=<($5$l$k%$%s%G%C%/%9(B 7.160 - $B%U%!%$%kL>(B(NCSA$B7O(Bhttpd$B$J$i(B `index.html', CERN$B7O$J$i(B 7.161 - `Welcome.html'$B$,0lHLE*(B) 7.162 +$(B%[!<%`%Z!<%8$H$J$k%U%!%$%k$,B8:_$9$k(BPATH$(BL>$K4X$9$kJQ?t$r@_Dj$7$^$9!# 7.163 +(B`yahtml-path-url-alist' 7.164 + ... $(B%U%!%$%k%7%9%F%`>e$N(BPATH$(BL>$H!"(BURL$(B$NBP1~I= 7.165 +(B`yahtml-directory-index' 7.166 + ... URL$(B;XDj$G%U%!%$%kL>$r>JN,$7$?$H$-$KI=<($5$l$k%$%s%G%C%/%9 7.167 + %U%!%$%kL>(B(NCSA$(B7O(Bhttpd$(B$J$i (B`index.html', CERN$(B7O$J$i(B`Welcome.html'$(B$,0l 7.168 + HLE*(B) 7.169 7.170 -$BJQ?t(B `yahtml-path-url-alist' $B$N@_DjNc$r<($7$^$9!#Nc$($P!"<+Bp$G$O!"(B 7.171 -`/home/yuuji/http/' $B$,(B `http://localhost/~yuuji' $B$G;2>H$G$-!"?&>l$G$O(B 7.172 -`/usr/home/yuuji/www/' $B$,(B`http://www.keio.ac.jp/~yuuji/' $B$G;2>H$G$-$k$h$&(B 7.173 -$B$K$J$C$F$$$k>l9g$O0J2<$N$h$&$K@_Dj$7$^$9!#(B 7.174 +$(BJQ?t (B`yahtml-path-url-alist' $(B$N@_DjNc$r<($7$^$9!#Nc$($P!"<+Bp$G$O!" 7.175 +(B`/home/yuuji/http/' $(B$, (B`http://localhost/~yuuji' $(B$G;2>H$G$-!"?&>l$G$O 7.176 +(B`/usr/home/yuuji/www/' $(B$,(B`http://www.keio.ac.jp/~yuuji/' $(B$G;2>H$G$-$k$h$& 7.177 +$K$J$C$F$$$k>l9g$O0J2<$N$h$&$K@_Dj$7$^$9!# 7.178 7.179 - (setq yahtml-path-url-alist 7.180 + (B(setq yahtml-path-url-alist 7.181 '(("/home/yuuj/http" . "http://localhost/~yuuji") 7.182 ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) 7.183 7.184 -$B$3$NBP1~AH$O$$$/$i$G$b@_Dj$9$k$3$H$,$G$-$^$9!#(B 7.185 +$(B$3$NBP1~AH$O$$$/$i$G$b@_Dj$9$k$3$H$,$G$-$^$9!# 7.186 + 7.187 7.188 7.189 -File: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top 7.190 +(BFile: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top 7.191 7.192 -$B30It%3%^%s%I5/F0(B 7.193 -**************** 7.194 +$(B30It%3%^%s%I5/F0 7.195 +(B**************** 7.196 7.197 -HTML$B%U%!%$%kJT=8$K$+$+$o$k$$$/$D$+$N%3%^%s%I$rB(:B$K8F$V$3$H$,$G$-$^$9!#(B 7.198 -`[prefix] t j' 7.199 - ... HTML$B9=J8%A%'%C%+(B(jweblint)$B5/F0(B 7.200 -`[prefix] t p' 7.201 - ... $B8=:_$N%Z!<%8$rBP>]$H$7$?%V%i%&%65/F0(B 7.202 -`[prefix] t r' 7.203 - ... $B8=:_$N%Z!<%8$,%V%i%&%6$KI=<($5$l$F$$$k$H$-$N(Breload$B;XDj(B 7.204 +HTML$(B%U%!%$%kJT=8$K$+$+$o$k$$$/$D$+$N%3%^%s%I$rB(:B$K8F$V$3$H$,$G$-$^$9!# 7.205 +(B`[prefix] t j' 7.206 + ... HTML$(B9=J8%A%'%C%+(B(jweblint)$(B5/F0 7.207 +(B`[prefix] t p' 7.208 + ... $(B8=:_$N%Z!<%8$rBP>]$H$7$?%V%i%&%65/F0 7.209 +(B`[prefix] t r' 7.210 + ... $(B8=:_$N%Z!<%8$,%V%i%&%6$KI=<($5$l$F$$$k$H$-$N(Breload$(B;XDj 7.211 + 7.212 7.213 7.214 -File: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top 7.215 +(BFile: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top 7.216 7.217 -$BJd40F~NO(B 7.218 -******** 7.219 +$(BJd40F~NO 7.220 +(B******** 7.221 7.222 -$B!VLnD;!W$GMxMQ$G$-$k!"!V(Bbegin$B7?Jd40!W!"!V(Bsection$B7?Jd40!W!"!V(Blarge$B7?Jd40!W!"(B 7.223 -$B!V(Bmaketitle$B7?Jd40!W!"!V%"%/%;%s%HJd40!W$HA4$/F1$8%-!<A`:n$GBP1~$9$k(BHTML$B%?(B 7.224 -$B%0$NJd40F~NO$,$G$-$^$9!#$=$l$>$l$N7?$NJd40$O=g$K!"!VJ#?t9T$KEO$k%?%0F~NO!W!"(B 7.225 -$B!V6uMWAG%?%0(B(img$B$J$I(B)$B$NJd40!W!"!V0l9TFb$G$N3+;O(B/$B=*N;%?%0$NF~NO!W!"!V6uMWAG(B 7.226 -$B6uB0@-%?%0$NF~NO!W!"!VJ8;z;2>HF~NO!W$KBP1~$7$F$$$^$9!#6qBNE*$K$O(B 7.227 +$(B!VLnD;!W$GMxMQ$G$-$k!"!V(Bbegin$(B7?Jd40!W!"!V(Bsection$(B7?Jd40!W!"!V(Blarge$(B7?Jd40!W!" 7.228 +!V(Bmaketitle$(B7?Jd40!W!"!V%"%/%;%s%HJd40!W$HA4$/F1$8%-!<A`:n$GBP1~$9$k(BHTML$(B%? 7.229 +%0$NJd40F~NO$,$G$-$^$9!#$=$l$>$l$N7?$NJd40$O=g$K!"!VJ#?t9T$KEO$k%?%0F~NO!W!" 7.230 +!V6uMWAG%?%0(B(img$(B$J$I(B)$(B$NJd40!W!"!V0l9TFb$G$N3+;O(B/$(B=*N;%?%0$NF~NO!W!"!V6uMWAG 7.231 +6uB0@-%?%0$NF~NO!W!"!VJ8;z;2>HF~NO!W$KBP1~$7$F$$$^$9!#6qBNE*$K$O 7.232 7.233 -`[prefix] b ($BLnD;$N(Bbegin$BJd40$KBP1~(B)' 7.234 +(B`[prefix] b ($(BLnD;$N(Bbegin$(BJd40$KBP1~(B)' 7.235 ... 7.236 <ul> 7.237 </ul> 7.238 7.239 - $B$N$h$&$K3+;O%?%0$H=*N;%?%0$rFs9T$KEO$C$F=q$-$?$$>l9g$NJd40$r;X$7$^$9!#(B 7.240 - $B$*$b$K%V%m%C%/7?%?%0$,Jd408uJd$K4^$^$l$^$9!#(B 7.241 + $(B$N$h$&$K3+;O%?%0$H=*N;%?%0$rFs9T$KEO$C$F=q$-$?$$>l9g$NJd40$r;X$7$^$9!# 7.242 + $*$b$K%V%m%C%/7?%?%0$,Jd408uJd$K4^$^$l$^$9!# 7.243 7.244 -`[prefix] s ($BLnD;$N(Bsection$B7?Jd40$KBP1~(B)' 7.245 +(B`[prefix] s ($(BLnD;$N(Bsection$(B7?Jd40$KBP1~(B)' 7.246 ... 7.247 <img src="foo.gif" alt="photo"> 7.248 7.249 - $B$N$h$&$K=*N;%?%0$r;}$?$:!"$+$DB0@-CM$N$_$G5!G=$r;XDj$9$k%?%0$rJd40$7(B 7.250 - $B$^$9!#Jd408uJd$H$7$F$O!"(Bimg, input $B$,B8:_$7$^$9!#(B 7.251 + $(B$N$h$&$K=*N;%?%0$r;}$?$:!"$+$DB0@-CM$N$_$G5!G=$r;XDj$9$k%?%0$rJd40$7 7.252 + $^$9!#Jd408uJd$H$7$F$O!"(Bimg, input $(B$,B8:_$7$^$9!# 7.253 7.254 -`[prefix] l ($BLnD;$N(Blarge$B7?Jd40$KBP1~(B)' 7.255 - ... begin$B7?Jd40$H$[$\F1$8$G$9$,!"(B 7.256 +(B`[prefix] l ($(BLnD;$N(Blarge$(B7?Jd40$KBP1~(B)' 7.257 + ... begin$(B7?Jd40$H$[$\F1$8$G$9$,!" 7.258 7.259 - <big> $B!A(B </big> 7.260 + (B<big> $(B!A (B</big> 7.261 7.262 - $B$N$h$&$K0l9TFb$K3+;O(B/$B=*N;%?%0$rF~$l$?$$$H$-$KMxMQ$7$^$9!#(B 7.263 + $(B$N$h$&$K0l9TFb$K3+;O(B/$(B=*N;%?%0$rF~$l$?$$$H$-$KMxMQ$7$^$9!# 7.264 7.265 -`[prefix] m ($BLnD;$N(Bmaketitle$B7?Jd40$KBP1~(B)' 7.266 - ... $BMWAG$bB0@-CM$b;}$?$J$$%?%0$rJd40F~NO$7$^$9!#(B<br> 7.267 - $B$J$I$,Jd408uJd$KAjEv$7$^$9!#(B 7.268 +(B`[prefix] m ($(BLnD;$N(Bmaketitle$(B7?Jd40$KBP1~(B)' 7.269 + ... $(BMWAG$bB0@-CM$b;}$?$J$$%?%0$rJd40F~NO$7$^$9!#(B<br> 7.270 + $(B$J$I$,Jd408uJd$KAjEv$7$^$9!# 7.271 7.272 -`[prefix] a ($BLnD;$N%"%/%;%s%HJd40$KBP1~(B)' 7.273 - ... $B%(%s%F%#%F%#;2>H$K$h$kJ8;zI=5-$rF~NO$9$k$H$-$KMQ$$$^$9!#(B 7.274 - $B%G%U%)%k%H$G$O(B < (<), > (>), & (&), " ("), ' ('), 7.275 - $B%V%i%s%/(B ( ) $B$NJd40F~NO$,9T$($^$9!#(B 7.276 +(B`[prefix] a ($(BLnD;$N%"%/%;%s%HJd40$KBP1~(B)' 7.277 + ... $(B%(%s%F%#%F%#;2>H$K$h$kJ8;zI=5-$rF~NO$9$k$H$-$KMQ$$$^$9!# 7.278 + %G%U%)%k%H$G$O (B< (<), > (>), & (&), " ("), ' ('), 7.279 + $(B%V%i%s%/ (B( ) $(B$NJd40F~NO$,9T$($^$9!# 7.280 + 7.281 7.282 7.283 -File: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top 7.284 +(BFile: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top 7.285 7.286 -$B%+!<%=%k%8%c%s%W(B 7.287 -**************** 7.288 -$BJ8=qCf$N$$$m$$$m$J>l=j$G(B 7.289 +$(B%+!<%=%k%8%c%s%W 7.290 +(B**************** 7.291 +$(BJ8=qCf$N$$$m$$$m$J>l=j$G 7.292 7.293 -`[prefix] g' 7.294 - ... $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B 7.295 +(B`[prefix] g' 7.296 + ... $(BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W 7.297 7.298 -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$KBP1~$9$k>l=j$K%8%c%s%W$7$^$9!#BP(B 7.299 -$B1~4X78$,B8:_$9$k$H2r<a$5$l$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B 7.300 +$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$(B9=J8$KBP1~$9$k>l=j$K%8%c%s%W$7$^$9!#BP 7.301 +1~4X78$,B8:_$9$k$H2r<a$5$l$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!# 7.302 7.303 - * `<TAG>' $B"+"*(B `</TAG>' 7.304 - * `<img src="$B2hA|%U%!%$%k(B">' $B"*(B $BBP1~$9$k(Bviewer$B5/F0(B 7.305 - * `<a href="$B%j%s%/@h(B">' $B"*(B $B%j%s%/@h$X$N%]%$%s%H0\F0(B 7.306 - * `<applet code="$B%W%m%0%i%`(B">' $B"*(B Java$B%=!<%9%W%m%0%i%`$X$N0\F0(B 7.307 + (B* `<TAG>' $(B"+"* (B`</TAG>' 7.308 + * `<img src="$(B2hA|%U%!%$%k(B">' $(B"* BP1~$9$k(Bviewer$(B5/F0 7.309 + (B* `<a href="$(B%j%s%/@h(B">' $(B"* %j%s%/@h$X$N%]%$%s%H0\F0 7.310 + (B* `<applet code="$(B%W%m%0%i%`(B">' $(B"* (BJava$(B%=!<%9%W%m%0%i%`$X$N0\F0 7.311 + 7.312 7.313 7.314 -File: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top 7.315 +(BFile: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top 7.316 7.317 -$BJQ99(B/$B:o=|(B 7.318 -********* 7.319 +$(BJQ99(B/$(B:o=| 7.320 +(B********* 7.321 7.322 * Menu: 7.323 7.324 -* $BBP%?%0$NJQ99(B:: 7.325 -* $BJ8;z;2>H$X$NJQ99(B:: 7.326 -* $B%j%8%g%sFbJ8;z$N(BURLencode:: 7.327 +* $(BBP%?%0$NJQ99(B:: 7.328 +* $(BJ8;z;2>H$X$NJQ99(B:: 7.329 +* $(B%j%8%g%sFbJ8;z$N(BURLencode:: 7.330 +* td$(B3g$j(B/tr$(B3g$j(B:: 7.331 + 7.332 7.333 7.334 -File: yahtmlj, Node: $BBP%?%0$NJQ99(B, Next: $BJ8;z;2>H$X$NJQ99(B, Prev: Changing and Deleting, Up: Changing and Deleting 7.335 +File: yahtmlj, Node: $(BBP%?%0$NJQ99(B, Next: $(BJ8;z;2>H$X$NJQ99(B, Prev: Changing and Deleting, Up: Changing and Deleting 7.336 7.337 -$BBP%?%0$NJQ99(B 7.338 -============ 7.339 -$BJ8=qCf$N$$$m$$$m$J>l=j$G(B 7.340 +$(BBP%?%0$NJQ99 7.341 +(B============ 7.342 +$(BJ8=qCf$N$$$m$$$m$J>l=j$G 7.343 7.344 -`[prefix] c' 7.345 - ... $BBP1~$9$k%?%0Ey$rJQ99(B 7.346 +(B`[prefix] c' 7.347 + ... $(BBP1~$9$k%?%0Ey$rJQ99 7.348 7.349 -$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$K1~$8$?5-=RFbMF$NJQ99$r9T$$$^$9!#(B 7.350 -$B%+!<%=%k0LCV$HJQ99$9$kFbMF$NBP1~$O0J2<$NDL$j$G$9!#(B 7.351 +$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$(B9=J8$K1~$8$?5-=RFbMF$NJQ99$r9T$$$^$9!# 7.352 +%+!<%=%k0LCV$HJQ99$9$kFbMF$NBP1~$O0J2<$NDL$j$G$9!# 7.353 7.354 - * `<TAG>'$B!A(B`</TAG>' 7.355 - ... `TAG' $B$NJQ99(B 7.356 - * `<img src="$B2hA|%U%!%$%k(B" alt="photo">' $B$J$I$NB0@-CM(B 7.357 - ... $BB0@-CM$NJQ99(B 7.358 + (B* `<TAG>'$(B!A(B`</TAG>' 7.359 + ... `TAG' $(B$NJQ99 7.360 + (B* `<img src="$(B2hA|%U%!%$%k(B" alt="photo">' $(B$J$I$NB0@-CM 7.361 + (B... $(BB0@-CM$NJQ99 7.362 + 7.363 7.364 7.365 -File: yahtmlj, Node: $BJ8;z;2>H$X$NJQ99(B, Next: $B%j%8%g%sFbJ8;z$N(BURLencode, Prev: $BBP%?%0$NJQ99(B, Up: Changing and Deleting 7.366 +(BFile: yahtmlj, Node: $(BJ8;z;2>H$X$NJQ99(B, Prev: $(BBP%?%0$NJQ99(B, Up: Changing and Deleting 7.367 7.368 -$BJ8;z;2>H$X$NJQ99(B 7.369 -================ 7.370 -$BJ8;z$H$7$F$N(B < $B$d(B > $B$rI=8=$9$k$H$-$O!"J8;z;2>H$rMQ$$$F(B< $B$d(B > $B$HI=5-(B 7.371 -$B$9$kI,MW$,$"$j$^$9$,!"(BHTML$B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD%(B 7.372 -$B$j9~$s$@>l9g$J$I$K!"$3$l$i$NJ8;z$r0l3g$7$FJ8;z;2>H7A<0$KJQ49$G$-$^$9!#(B 7.373 +$(BJ8;z;2>H$X$NJQ99 7.374 +(B================ 7.375 +$(BJ8;z$H$7$F$N (B< $(B$d (B> $(B$rI=8=$9$k$H$-$O!"J8;z;2>H$rMQ$$$F(B< $(B$d (B> $(B$HI=5- 7.376 +$9$kI,MW$,$"$j$^$9$,!"(BHTML$(B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD% 7.377 +$j9~$s$@>l9g$J$I$K!"$3$l$i$NJ8;z$r0l3g$7$FJ8;z;2>H7A<0$KJQ49$G$-$^$9!# 7.378 7.379 -`[prefix] ;' 7.380 - ... $B;XDj$7$?NN0h$NJ8;z;2>H$KCV$-49$($k$Y$-J8;z$NCV49(B 7.381 -`[prefix] :' 7.382 - ... $B;XDj$7$?NN0h$NJ8;z;2>H$r;2>HJ8;z$=$N$b$N$KCV49(B 7.383 - ([prefix] ; $B$N5UJQ49(B) 7.384 +(B`[prefix] ;' 7.385 + ... $(B;XDj$7$?NN0h$NJ8;z;2>H$KCV$-49$($k$Y$-J8;z$NCV49 7.386 +(B`[prefix] :' 7.387 + ... $(B;XDj$7$?NN0h$NJ8;z;2>H$r;2>HJ8;z$=$N$b$N$KCV49(B([prefix] ; 7.388 + $(B$N5UJQ49(B) 7.389 + 7.390 7.391 7.392 7.393 -File: yahtmlj, Node: $B%j%8%g%sFbJ8;z$N(BURLencode, Prev: $BJ8;z;2>H$X$NJQ99(B, Up: Changing and Deleting 7.394 +File: yahtmlj, Node: $(B%j%8%g%sFbJ8;z$N(BURLencode, Next: td$(B3g$j(B/tr$(B3g$j(B, Prev: $(BJ8;z;2>H$X$NJQ99(B, Up: Changing and Deleting 7.395 7.396 -$B%j%8%g%sFbJ8;z$N(BURLencode 7.397 +$(B%j%8%g%sFbJ8;z$N(BURLencode 7.398 ========================= 7.399 [prefix] # 7.400 7.401 - ... $B;XDj$7$?NN0hFb$K(B URLencode $B$9$Y$-J8;z$,$"$l$P$=$l$i$r(B 7.402 - $B%(%s%3!<%II=5-$KCV49!#(B 7.403 + ... $(B;XDj$7$?NN0hFb$K (BURLencode $(B$9$Y$-J8;z$,$"$l$P$=$l$i$r%(%s 7.404 + %3!<%II=5-$KCV49!# 7.405 + 7.406 7.407 7.408 -File: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top 7.409 +(BFile: yahtmlj, Node: td$(B3g$j(B/tr$(B3g$j(B, Prev: $(B%j%8%g%sFbJ8;z$N(BURLencode, Up: Changing and Deleting 7.410 7.411 -CSS($B%9%?%$%k%7!<%H(B)$B%5%]!<%H(B 7.412 -*************************** 7.413 +td$(B3g$j(B/tr$(B3g$j 7.414 +(B============= 7.415 +$(B6uGr6h@Z$j$G=q$$$?I=7A<0$N9T%l%3!<%I$r (B<td> $(B3g$j$NJB$S!$$"$k$$$O$=$l$i$r$5 7.416 +$i$K (B<tr> $(B$G3g$C$?9TJB$S$KJQ49$G$-$^$9!# 7.417 + (B`[prefix] '} 7.418 + 7.419 + ... $(B8=:_$N%j%8%g%s$K$"$k%G!<%?$r6uGr6h@Z$j$4$H$K 7.420 + (B<td>...</td> $(B$G3g$k 7.421 + (B`[prefix] ]' 7.422 + 7.423 + ... $(B8=:_$N%j%8%g%s$K$"$k9T$r>e5-(Btd$(B3g$j$r$[$I$3$7$F$+$i$5$i$K9T$4$H 7.424 +$K (B<tr>...</tr> $(B$G3g$k%G%U%)%k%H$G$O6uGr6h@Z$j$G$9$,!$$3$l$rJQ$($k$H$-$O 7.425 +(BDelimiter: $(B$NLd$$9g$o$;$K6h@Z$jJ8;z$r;XDj$7$^$9!#$?$H$($P%+%s%^(B(,) $(B$r;XDj 7.426 +$9$k$H(BCSV$(B$+$iI=$r:n$k$3$H$,$G$-$^$9!# 7.427 + 7.428 +(Btd$(B0J30$NMWAG!$6qBNE*$K$O (Bth $(B$G3g$j$?$$>l9g$O (Buniversal-argument (`C-u') $(B$r 7.429 +$D$1$F>e5-(B2$(B$D$N%3%^%s%I$r8F$S$^$9!#$I$NMWAG$G3g$k$+$N<ALd$,A}$($k$N$G$=$l 7.430 +$K (Bth $(B$HF~$l$l$P!$3F%U%#!<%k%I$r (B<th>...</th> $(B$G3g$j$^$9!#$b$7!$Bh(B1$(B%U%#!< 7.431 +%k%I$N$_ (Bth $(B$G!$;D$j$rA4It (Btd $(B3g$j$K$7$?$$$H$-$O (Bthd $(B$HF~NO$7$F2<$5$$!# 7.432 + 7.433 + 7.434 + 7.435 +(BFile: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top 7.436 + 7.437 +CSS($(B%9%?%$%k%7!<%H(B)$(B%5%]!<%H 7.438 +(B*************************** 7.439 7.440 * Menu: 7.441 7.442 * CSS-class completion:: 7.443 * Reread CSS file:: 7.444 7.445 + 7.446 7.447 File: yahtmlj, Node: CSS-class completion, Next: Reread CSS file, Prev: CSS Support, Up: CSS Support 7.448 7.449 -CSS$B%/%i%9L>Jd40(B 7.450 -=============== 7.451 -HTML$B20$O(BCSS(Cascading Style Sheets)$B$N%/%i%9L>$rJd40F~NO$9$k$3$H$,$G$-$^$9!#(B 7.452 -$B%9%?%$%kDj5A$H$7$F(B 7.453 +CSS$(B%/%i%9L>Jd40 7.454 +(B=============== 7.455 +HTML$(B20$O(BCSS(Cascading Style Sheets)$(B$N%/%i%9L>$rJd40F~NO$9$k$3$H$,$G$-$^$9!# 7.456 +%9%?%$%kDj5A$H$7$F 7.457 7.458 - h1.foo, h2.foo { background-color: 0xffffff; } 7.459 + (Bh1.foo, h2.foo { background-color: 0xffffff; } 7.460 h1.bar, h2.bar { font-size: 120%; } 7.461 7.462 -$B$N$h$&$J$b$N$,$"$C$?>l9g$K!"(Bh1$B$^$?$O(Bh2$B%?%0$r(B [prefix] b $B$d(B [prefix] l $B$GJd(B 7.463 -$B40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J(B class $BL>$G$"$k(B foo, bar $B$r8uJd$H$7$FJd40(B 7.464 -$BF~NO$9$k$3$H$,2DG=$G$9!#$^$?(B 7.465 +$(B$N$h$&$J$b$N$,$"$C$?>l9g$K!"(Bh1$(B$^$?$O(Bh2$(B%?%0$r (B[prefix] b $(B$d (B[prefix] l $(B$GJd 7.466 +40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J (Bclass $(BL>$G$"$k (Bfoo, bar $(B$r8uJd$H$7$FJd40 7.467 +F~NO$9$k$3$H$,2DG=$G$9!#$^$? 7.468 7.469 - .caution { font-size: 120%; background-color: 0xc00000;} 7.470 + (B.caution { font-size: 120%; background-color: 0xc00000;} 7.471 7.472 -$B$N$h$&$JA4$F$N%(%l%a%s%H$KF/$/(Bclass$B$,Dj5A$5$l$F$$$?>l9g$O!"A4$F$N%?%0$NJd(B 7.473 -$B40F~NO;~$K(Bclass$B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~(B 7.474 -$BNO3NDj$N$H$-$K%j%?!<%s%-!<(B($B$^$?$O(BC-m)$B$G$O$J$/!"(BC-j$B$r2!$;$P(Bclass$BJd40F~NO$r(B 7.475 -$B%-%c%s%;%k$G$-$^$9!#$?$H$($P(B 7.476 +$(B$N$h$&$JA4$F$N%(%l%a%s%H$KF/$/(Bclass$(B$,Dj5A$5$l$F$$$?>l9g$O!"A4$F$N%?%0$NJd 7.477 +40F~NO;~$K(Bclass$(B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~ 7.478 +NO3NDj$N$H$-$K%j%?!<%s%-!<(B($(B$^$?$O(BC-m)$(B$G$O$J$/!"(BC-j$(B$r2!$;$P(Bclass$(BJd40F~NO$r 7.479 +%-%c%s%;%k$G$-$^$9!#$?$H$($P 7.480 7.481 - `[prefix] l' $B9TFb%?%0Jd40$r5/F0(B 7.482 - ($B$^$?$O(B`[prefix] l SPC') 7.483 - tt <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B 7.484 - `C-m' 7.485 + (B`[prefix] l' $(B9TFb%?%0Jd40$r5/F0 7.486 + (B($(B$^$?$O(B`[prefix] l SPC') 7.487 + tt <tt></tt>$(B$r$$$l$?$$$N$G(Btt$(B$HF~NO 7.488 + (B`C-m' 7.489 7.490 -$B$H$7$?>l9g$OB3$$$F(B class= $B$HJd40%W%m%s%W%H$,=P$^$9$,!"(B 7.491 +$(B$H$7$?>l9g$OB3$$$F (Bclass= $(B$HJd40%W%m%s%W%H$,=P$^$9$,!" 7.492 7.493 - `[prefix] l' $B9TFb%?%0Jd40$r5/F0(B 7.494 - ($B$^$?$O(B`[prefix] l SPC') 7.495 - tt <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B 7.496 - `C-j' 7.497 + (B`[prefix] l' $(B9TFb%?%0Jd40$r5/F0 7.498 + (B($(B$^$?$O(B`[prefix] l SPC') 7.499 + tt <tt></tt>$(B$r$$$l$?$$$N$G(Btt$(B$HF~NO 7.500 + (B`C-j' 7.501 7.502 -$B$H:G8e$r(B `C-j' $B$GF~NO$7$?>l9g$O(B class $BJd40%W%m%s%W%H$O=P$^$;$s!#(B 7.503 +$(B$H:G8e$r (B`C-j' $(B$GF~NO$7$?>l9g$O (Bclass $(BJd40%W%m%s%W%H$O=P$^$;$s!# 7.504 + 7.505 7.506 7.507 -File: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support 7.508 +(BFile: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support 7.509 7.510 -CSS$BDj5A%U%!%$%k$NFI$_D>$7(B 7.511 -========================= 7.512 -html$B%U%!%$%k$rJT=8Cf$K(BCSS$BDj5A%U%!%$%k$r=$@5$7!"DI2C$7$?(Bclass$B$rJd408uJd$H$7(B 7.513 -$B$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B`M-x yahtml-mode' $B$H$7$F:F5/F0$r9T$C$F$/$@$5(B 7.514 -$B$$!#(B 7.515 +CSS$(BDj5A%U%!%$%k$NFI$_D>$7 7.516 +(B========================= 7.517 +html$(B%U%!%$%k$rJT=8Cf$K(BCSS$(BDj5A%U%!%$%k$r=$@5$7!"DI2C$7$?(Bclass$(B$rJd408uJd$H$7 7.518 +$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B`M-x yahtml-mode' $(B$H$7$F:F5/F0$r9T$C$F$/$@$5 7.519 +$$!# 7.520 + 7.521 7.522 7.523 -File: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top 7.524 +(BFile: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top 7.525 7.526 -$B%+%9%?%^%$%:(B 7.527 -************ 7.528 +$(B%+%9%?%^%$%: 7.529 +(B************ 7.530 7.531 -yahtml$B$NF0:n$r@)8f$9$kJQ?t$K$D$$$F@bL@$7$^$9!#(B 7.532 +yahtml$(B$NF0:n$r@)8f$9$kJQ?t$K$D$$$F@bL@$7$^$9!# 7.533 7.534 -* Menu: 7.535 +(B* Menu: 7.536 7.537 -* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B 7.538 -* Hook variables:: hook$BJQ?t(B 7.539 +* All customizable variables:: $(B%+%9%?%^%$%:JQ?t0lMw 7.540 +(B* Hook variables:: hook$(BJQ?t 7.541 + 7.542 7.543 7.544 -File: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations 7.545 +(BFile: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations 7.546 7.547 -$B%+%9%?%^%$%:JQ?t0lMw(B 7.548 -==================== 7.549 +$(B%+%9%?%^%$%:JQ?t0lMw 7.550 +(B==================== 7.551 7.552 -- Variable: yahtml-prefix 7.553 - yahtml-mode $BCf$N%W%j%U%#%/%9%-!<(B (`\C-c') 7.554 + yahtml-mode $(BCf$N%W%j%U%#%/%9%-!< (B(`\C-c') 7.555 7.556 -- Variable: yahtml-image-viewer 7.557 - img$B$G;2>H$7$F$$$k2hA|%U%!%$%k$rI=<($9$k$H$-$K5/F0$9$k%3%^%s%I(B (xv) 7.558 + img$(B$G;2>H$7$F$$$k2hA|%U%!%$%k$rI=<($9$k$H$-$K5/F0$9$k%3%^%s%I (B(xv) 7.559 7.560 -- Variable: yahtml-www-browser 7.561 - `[prefix]g' $B$G30It%Z!<%8$rI=<($9$k$H$-$K5/F0$9$k%V%i%&%6(B (netscape) 7.562 + `[prefix]g' $(B$G30It%Z!<%8$rI=<($9$k$H$-$K5/F0$9$k%V%i%&%6 (B(netscape) 7.563 7.564 -- Variable: yahtml-kanji-code 7.565 - $B%G%U%)%k%H$N4A;z%3!<%I!#(B1=sjis, 2=jis, 3=euc (2) 7.566 - .htaccess $B%U%!%$%k$K(B 7.567 - AddType "text/html; charset=xxx" .html$B$N5-=R$,$"$C$?>l9g$O$=$l(B 7.568 - $B$K=>$&(B 7.569 + $(B%G%U%)%k%H$N4A;z%3!<%I!#(B1=sjis, 2=jis, 3=euc, 4=utf-8 (2) 7.570 + .htaccess $(B%U%!%$%k$K 7.571 + (BAddType "text/html; charset=xxx" .html $(B$N5-=R$,$"$C$?>l9g$O$=$l 7.572 + $K=>$& 7.573 7.574 - -- Variable: yahtml-fill-column 7.575 - auto-fill$B$9$k$H$-$N%+%i%`?t(B (72) 7.576 + (B-- Variable: yahtml-fill-column 7.577 + auto-fill$(B$9$k$H$-$N%+%i%`?t (B(72) 7.578 7.579 -- Variable: yahtml-fill-prefix 7.580 - yahtml-mode $B8GM-$N(Bfill-prefix (`nil') 7.581 + yahtml-mode $(B8GM-$N(Bfill-prefix (`nil') 7.582 7.583 -- Variable: yahtml-path-url-alist 7.584 - OS$B$N%U%!%$%k%7%9%F%`>e$G$N%U%k%Q%9L>$H!"$=$N30It8x3+;~$N(BURL$B$NBP1~I=!#(B 7.585 + OS$(B$N%U%!%$%k%7%9%F%`>e$G$N%U%k%Q%9L>$H!"$=$N30It8x3+;~$N(BURL$(B$NBP1~I=!# 7.586 7.587 - -- Variable: yahtml-directory-index 7.588 - $B%5!<%P%"%/%;%9;~%U%!%$%kL>$r>JN,$7$?$H$-$K%G%U%)%k%H$G3+$+$l$k%$%s%G%C(B 7.589 - $B%/%9%U%!%$%k$NL>A0!#B?$/$N>l9g(B index.html$B!#(B(`"index.html"') 7.590 + (B-- Variable: yahtml-directory-index 7.591 + $(B%5!<%P%"%/%;%9;~%U%!%$%kL>$r>JN,$7$?$H$-$K%G%U%)%k%H$G3+$+$l$k%$%s%G%C 7.592 + %/%9%U%!%$%k$NL>A0!#B?$/$N>l9g (Bindex.html$(B!#(B(`"index.html"') 7.593 7.594 -- Variable: yahtml-lint-program 7.595 - HTML$B9=J8%A%'%C%/%W%m%0%i%`!#(B(`"jweblint"') 7.596 + HTML$(B9=J8%A%'%C%/%W%m%0%i%`!#(B(`"jweblint"') 7.597 7.598 -- Variable: yahtml-hate-too-deep-indentation 7.599 - $B%M%9%H$7$?Ns5s7O4D6-$G$N%$%s%G%s%H$,?<$9$.$k$H$-$K(Bt$B$K$9$k!#(B(`nil') 7.600 + $(B%M%9%H$7$?Ns5s7O4D6-$G$N%$%s%G%s%H$,?<$9$.$k$H$-$K(Bt$(B$K$9$k!#(B(`nil') 7.601 7.602 -- Variable: yahtml-always-/p 7.603 - `<p>' $B$r$$$l$?$iI,$:(B `</p>' $B$7$?$$?M8~$1!#(B`nil' 7.604 + `<p>' $(B$r$$$l$?$iI,$: (B`</p>' $(B$7$?$$?M8~$1!#(B`nil' 7.605 7.606 -- Variable: yahtml-p-prefered-env-regexp 7.607 - $B<+F0E*$K(B `<p>' $B$rF~$l$FM_$7$$4D6-!#(B 7.608 - (`"^\\(body\\|dl\\|blockquote\\)"') 7.609 + $(B<+F0E*$K (B`<p>' $(B$rF~$l$FM_$7$$4D6-!# 7.610 + (B(`"^\\(body\\|dl\\|blockquote\\)"') 7.611 7.612 -- Variable: yahtml-template-file 7.613 - $B?75,(BHTML$B%U%!%$%k:n@.;~$K<+F0E*$KA^F~$7$FM_$7$$%U%!%$%kL>!#(B 7.614 - `"~/http/template.html"' 7.615 + $(B?75,(BHTML$(B%U%!%$%k:n@.;~$K<+F0E*$KA^F~$7$FM_$7$$%U%!%$%kL>!# 7.616 + (B`"~/http/template.html"' 7.617 7.618 -- Variable: yahtml-prefer-upcases 7.619 - $B%?%0$KBgJ8;z$r;H$$$?$$!#(B`nil' 7.620 + $(B%?%0$KBgJ8;z$r;H$$$?$$!#(B`nil' 7.621 7.622 -- Variable: yahtml-prefer-upcase-attributes 7.623 - $BB0@-;XDj;R$KBgJ8;z$r;H$$$?$$!#(B`nil' 7.624 + $(BB0@-;XDj;R$KBgJ8;z$r;H$$$?$$!#(B`nil' 7.625 7.626 -- Variable: yahtml-server-type 7.627 - Apache$B7O$N%5!<%P$rMxMQ$7$F$$$k>l9g$O(B 'apache $B$r%;%C%H$9$k!#(B 7.628 - ./.htaccess $B$r;2>H$9$k$+$I$&$+$r7hDj$9$k!#(B`'apache' 7.629 + Apache$(B7O$N%5!<%P$rMxMQ$7$F$$$k>l9g$O (B'apache $(B$r%;%C%H$9$k!# 7.630 + (B./.htaccess $(B$r;2>H$9$k$+$I$&$+$r7hDj$9$k!#(B`'apache' 7.631 7.632 -- Variable: yahtml-apache-access-file 7.633 - `yahtml-server-type' $B$,(B `'apache' $B$N$H$-$K%"%/%;%9@)8B%U%!%$%kL>$r;X(B 7.634 - $BDj!#(B`".htaccess"' 7.635 + `yahtml-server-type' $(B$, (B`'apache' $(B$N$H$-$K%"%/%;%9@)8B%U%!%$%kL>$r;X 7.636 + Dj!#(B`".htaccess"' 7.637 7.638 -- Variable: yahtml-shell-command-option 7.639 - $B%7%'%k$GJL%3%^%s%I$r5/F0$9$k$H$-$N%*%W%7%g%s!#(B 7.640 + $(B%7%'%k$GJL%3%^%s%I$r5/F0$9$k$H$-$N%*%W%7%g%s!# 7.641 7.642 - -- Variable: yahtml-translate-hyphens-when-comment-region 7.643 - $BNN0h%3%a%s%H%"%&%H$r$9$k$H$-$K4{$KB8:_$9$k%O%$%U%s$r(B `-' $B$KJQ99$9(B 7.644 - $B$k$+$I$&$+!#(B(`t') 7.645 + (B-- Variable: yahtml-translate-hyphens-when-comment-region 7.646 + $(BNN0h%3%a%s%H%"%&%H$r$9$k$H$-$K4{$KB8:_$9$k%O%$%U%s$r (B`-' $(B$KJQ99$9 7.647 + $k$+$I$&$+!#(B(`t') 7.648 7.649 -- Variable: yahtml-entity-reference-chars-alist 7.650 - $B%(%s%F%#%F%#;2>H(B(Entity Reference)$B$G5-=R$9$Y$-J8;z72$r(B 7.651 - `'(?$BJ8;z(B . "$B%(%s%F%#%F%#I=5-(B")' $B$H$$$&7A<0$rNs5s$7$?(Balist$B$GJB$Y$k!#(B 7.652 - $B%G%U%)%k%H$G(B `<', `>', `&', `'', `"' $B$KBP$9$k(Balist$B$,@_Dj$5$l$F$$$k$N(B 7.653 - $B$G!"DI2C$7$?$$J,$@$1$r5-=R$9$l$PNI$$!#(Bcdr$BIt(B `"$B%(%s%F%#%F%#I=5-(B"' $B$O!"(B 7.654 - $B@hF,$N(B `&' $B$H(B $BKvHx$N(B`;'$B$O4^$a$:$K=q$/!#(B 7.655 + $(B%(%s%F%#%F%#;2>H(B(Entity Reference)$(B$G5-=R$9$Y$-J8;z72$r(B`'(?$(BJ8;z (B. "$(B%( 7.656 + %s%F%#%F%#I=5-(B")' $(B$H$$$&7A<0$rNs5s$7$?(Balist$(B$GJB$Y$k!#%G%U%)%k%H$G 7.657 + (B`<', `>', `&', `'', `"' $(B$KBP$9$k(Balist$(B$,@_Dj$5$l$F$$$k$N$G!"DI2C$7$?$$ 7.658 + J,$@$1$r5-=R$9$l$PNI$$!#(Bcdr$(BIt (B`"$(B%(%s%F%#%F%#I=5-(B"' $(B$O!"@hF,$N (B`&' $(B$H 7.659 + KvHx$N(B`;' $(B$O4^$a$:$K=q$/!# 7.660 7.661 - -- Variable: yahtml-faithful-to-htmllint 7.662 - $B9=J8%A%'%C%+$H$7$F(B htmllint $B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I(B 7.663 - $B$KBP$7$F$b7Y9p$r<($9$N$G!"$3$l$r2sHr$9$k$H$-$K$O$3$NJQ?t$r(B`t'$B$K$9$k!#(B 7.664 + (B-- Variable: yahtml-faithful-to-htmllint 7.665 + $(B9=J8%A%'%C%+$H$7$F (Bhtmllint $(B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I 7.666 + $KBP$7$F$b7Y9p$r<($9$N$G!"$3$l$r2sHr$9$k$H$-$K$O$3$NJQ?t$r(B`t'$(B$K$9$k!# 7.667 7.668 - -- Variable: yahtml-use-css 7.669 - CSS$B$NJd405!G=$r;H$&$+$I$&$+(B (`t') 7.670 + (B-- Variable: yahtml-use-css 7.671 + CSS$(B$NJd405!G=$r;H$&$+$I$&$+ (B(`t') 7.672 7.673 -- Variable: yahtml-image-inspection-bytes 7.674 - $B2hA|%U%!%$%k$N%5%$%:$rD4$Y$k$H$-$KFI$_9~$`%P%$%H?t(B (`10000') 7.675 + $(B2hA|%U%!%$%k$N%5%$%:$rD4$Y$k$H$-$KFI$_9~$`%P%$%H?t (B(`10000') 7.676 7.677 -- Variable: yahtml:img-default-alt-format 7.678 - <img src...>$B$N(BALT$BB0@-$N%G%U%)%k%HJ8;zNs$N=q<0!#(B%x$B$O2hA|$NI}!"(B%y$B$O2hA|(B 7.679 - $B$N9b$5!"(B%s$B$O%U%!%$%k%5%$%:$KCV49$5$l$k(B (`"%xx%y(%sbytes)"') 7.680 + <img src...>$(B$N(BALT$(BB0@-$N%G%U%)%k%HJ8;zNs$N=q<0!#(B%x$(B$O2hA|$NI}!"(B%y$(B$O2hA| 7.681 + $N9b$5!"(B%s$(B$O%U%!%$%k%5%$%:$KCV49$5$l$k (B(`"%xx%y(%sbytes)"') 7.682 7.683 -- Variable: yahtml-escape-chars 7.684 - href$BJd40$J$I$N$H$-$KM=LsJ8;z$r(BURL$B%(%s%3!<%I$9$k$+(B; 'ask$B$N$H$-$O3NG'$7(B 7.685 - $B$F$+$iCV49$9$k(B (`'ask') 7.686 + href$(BJd40$J$I$N$H$-$KM=LsJ8;z$r(BURL$(B%(%s%3!<%I$9$k$+(B; 'ask$(B$N$H$-$O3NG'$7 7.687 + $F$+$iCV49$9$k (B(`'ask') 7.688 7.689 -- Variable: yahtml-use-font-lock 7.690 - $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+(B(`(featurep ' 7.691 - font-lock)') 7.692 + $(B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F (Bfont-lock $(B$rMxMQ$9$k$+(B(`(featurep 7.693 + 'font-lock)') 7.694 7.695 -- Variable: yahtml-use-hilit19 7.696 - $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+(B(`(featurep ' 7.697 - hilit19)') 7.698 + $(B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F (Bhilit19 $(B$rMxMQ$9$k$+(B(`(featurep 7.699 + 'hilit19)') 7.700 7.701 -- Variable: yahtml-indentation-boundary 7.702 - $B%$%s%G%s%H7W;;$rBG$A@Z$C$F$h$$6-3&$H$J$k@55,I=8=(B(`"^\\s *<h[1-3]>"') 7.703 + $(B%$%s%G%s%H7W;;$rBG$A@Z$C$F$h$$6-3&$H$J$k@55,I=8=(B(`"^\\s *<h[1-3]>"') 7.704 + 7.705 7.706 7.707 File: yahtmlj, Node: Hook variables, Prev: All customizable variables, Up: Customizations 7.708 7.709 -hook$BJQ?t(B 7.710 -======== 7.711 +hook$(BJQ?t 7.712 +(B======== 7.713 + 7.714 7.715 7.716 7.717 File: yahtmlj, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top 7.718 7.719 -$B<h$j07$$(B 7.720 -******** 7.721 +$(B<h$j07$$ 7.722 +(B******** 7.723 7.724 - $BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!#K\%W%m%0%i%`$r;HMQ$7$F@8$8$?$$$+$J(B 7.725 -$B$k7k2L$KBP$7$F$b:n<T$O@UG$$rIi$o$J$$$3$H$H$7$^$9!#E>:\Ey$K4X$7$F$O@)8B$$$?(B 7.726 -$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B 7.727 -$B$?$@$/$H!":n<T$O4n$s$G%5%]!<%H$KNe$`$3$H$G$7$g$&!#(B 7.728 + $(BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!#K\%W%m%0%i%`$r;HMQ$7$F@8$8$?$$$+$J 7.729 +$k7k2L$KBP$7$F$b:n<T$O@UG$$rIi$o$J$$$3$H$H$7$^$9!#E>:\Ey$K4X$7$F$O@)8B$$$? 7.730 +$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$ 7.731 +$?$@$/$H!":n<T$O4n$s$G%5%]!<%H$KNe$`$3$H$G$7$g$&!# 7.732 7.733 - $B6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O(B yuuji@yatex.org $B$^(B 7.734 -$B$G(B(2000$BG/(B12$B7n8=:_(B)$B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N(B 7.735 -$B2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B `docs/htmlqa' 7.736 -$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B 7.737 + 6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O (Byuuji@yatex.org $(B$^ 7.738 +$G(B(2000$(BG/(B12$(B7n8=:_(B)$(B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$(BLnD;$N 7.739 +2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N (B`docs/htmlqa' 7.740 +$(B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!# 7.741 7.742 -$B;EMM$O!"M=9p$J$/3N<B$K(B($B5$J,<!Bh$G(B)$BJQ99$5$l$^$9(B:-p$B!#(B 7.743 +;EMM$O!"M=9p$J$/3N<B$K(B($(B5$J,<!Bh$G(B)$(BJQ99$5$l$^$9(B:-p$(B!# 7.744 7.745 - $B9-@%M:Fs(B 7.746 + 9-@%M:Fs 7.747 + 7.748 7.749 7.750 7.751 -File: yahtmlj, Node: Concept Index, Prev: Copying, Up: Top 7.752 +(BFile: yahtmlj, Node: Concept Index, Prev: Copying, Up: Top 7.753 7.754 -$B:w0z(B 7.755 -**** 7.756 +$(B:w0z 7.757 +(B**** 7.758 7.759 * Menu: 7.760 7.761 -* $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]: Customizations. 4. 7.762 -* $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]: Customizations. 4. 7.763 +* カスタマイズ[,B)7=\"7(B]: Customizations. 4. 7.764 +* キーアサイン[,B+" 3"q(B]: Customizations. 4. 7.765 * Demacs: Intro. 4. 7.766 -* HTML$B20(B[HTML$B$d(B]: Intro. 4. 7.767 +* HTML(I.(B[HTML,Bb(B]: Intro. 4. 7.768 * LaTeX: Intro. 4. 7.769 * Mule: Intro. 4. 7.770 7.771 7.772 7.773 + 7.774 + 7.775 +Tag table: 7.776 +Node: Top148 7.777 +Node: Intro617 7.778 +Node: Installation896 7.779 +Node: yahtml$(B5/F0$N$?$a$N@_Dj(B1095 7.780 +Node: lint$(B%W%m%0%i%`(B/$(B%V%i%&%6(B/$(B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B1749 7.781 +Node: WWW$(B%Z!<%84D6-MQJQ?t$N@_Dj(B2249 7.782 +Node: Command Invocation3020 7.783 +Node: Completion3347 7.784 +Node: Jump4331 7.785 +Node: Changing and Deleting4730 7.786 +Node: $(BBP%?%0$NJQ99(B4950 7.787 +Node: $(BJ8;z;2>H$X$NJQ99(B5300 7.788 +Node: $(B%j%8%g%sFbJ8;z$N(BURLencode5658 7.789 +Node: td$(B3g$j(B/tr$(B3g$j(B5890 7.790 +Node: CSS Support6519 7.791 +Node: CSS-class completion6738 7.792 +Node: Reread CSS file7734 7.793 +Node: Customizations7956 7.794 +Node: All customizable variables8180 7.795 +Node: Hook variables11178 7.796 +Node: Copying11290 7.797 +Node: Concept Index11793 7.798 + 7.799 +End tag table
8.1 --- a/docs/yahtmlj.tex Mon Sep 28 12:48:28 2009 +0900 8.2 +++ b/docs/yahtmlj.tex Thu Jan 12 12:26:35 2012 +0900 8.3 @@ -5,7 +5,7 @@ 8.4 8.5 @iftex 8.6 @c @syncodeindex fn cp 8.7 -@c Last modified Fri Mar 1 16:16:33 2002 on firestorm 8.8 +@c Last modified Thu Dec 9 15:56:35 2010 on firestorm 8.9 @syncodeindex vr cp 8.10 @end iftex 8.11 8.12 @@ -229,6 +229,7 @@ 8.13 * 対タグの変更:: 8.14 * 文字参照への変更:: 8.15 * リジョン内文字のURLencode:: 8.16 +* td括り/tr括り:: 8.17 @end menu 8.18 8.19 @node 対タグの変更, 文字参照への変更, Changing and Deleting, Changing and Deleting 8.20 @@ -253,7 +254,7 @@ 8.21 @dots{} 属性値の変更 8.22 @end itemize 8.23 8.24 -@node 文字参照への変更, リジョン内文字のURLencode, 対タグの変更, Changing and Deleting 8.25 +@node 文字参照への変更, , 対タグの変更, Changing and Deleting 8.26 @comment node-name, next, previous, up 8.27 @section 文字参照への変更 8.28 文字としての < や > を表現するときは、文字参照を用いて 8.29 @@ -270,7 +271,7 @@ 8.30 @end table 8.31 8.32 8.33 -@node リジョン内文字のURLencode, , 文字参照への変更, Changing and Deleting 8.34 +@node リジョン内文字のURLencode, td括り/tr括り, 文字参照への変更, Changing and Deleting 8.35 @comment node-name, next, previous, up 8.36 @section リジョン内文字のURLencode 8.37 @table 8.38 @@ -279,6 +280,29 @@ 8.39 エンコード表記に置換。 8.40 @end table 8.41 8.42 +@node td括り/tr括り, , リジョン内文字のURLencode, Changing and Deleting 8.43 +@comment node-name, next, previous, up 8.44 +@section td括り/tr括り 8.45 +空白区切りで書いた表形式の行レコードを <td> 括りの並び, 8.46 +あるいはそれらをさらに <tr> で括った行並びに変換できます。 8.47 +@table @kbd 8.48 + @item [prefix] } 8.49 + @dots{} 現在のリジョンにあるデータを空白区切りごとに 8.50 + <td>...</td> で括る 8.51 + @item [prefix] ] 8.52 + @dots{} 現在のリジョンにある行を 8.53 + 上記td括りをほどこしてからさらに行ごとに <tr>...</tr> で括る 8.54 +@end table 8.55 +デフォルトでは空白区切りですが,これを変えるときは 8.56 +Delimiter: の問い合わせに区切り文字を指定します。たとえばカンマ(,) 8.57 +を指定するとCSVから表を作ることができます。 8.58 + 8.59 +td以外の要素,具体的には th で括りたい場合は universal-argument 8.60 +(@kbd{C-u}) をつけて上記2つのコマンドを呼びます。どの要素で括るかの 8.61 +質問が増えるのでそれに th と入れれば,各フィールドを <th>...</th> 8.62 +で括ります。もし,第1フィールドのみ th で,残りを全部 td 括りにしたいとき 8.63 +は thd と入力して下さい。 8.64 + 8.65 @node CSS Support, Customizations, Changing and Deleting, Top 8.66 @comment node-name, next, previous, up 8.67 @chapter CSS(スタイルシート)サポート 8.68 @@ -367,7 +391,7 @@ 8.69 @end defvar 8.70 8.71 @defvar yahtml-kanji-code 8.72 -デフォルトの漢字コード。1=sjis, 2=jis, 3=euc (2) 8.73 +デフォルトの漢字コード。1=sjis, 2=jis, 3=euc, 4=utf-8 (2) 8.74 .htaccess ファイルに 8.75 @quotation 8.76 AddType "text/html; charset=xxx" .html
9.1 --- a/docs/yatex.ref Mon Sep 28 12:48:28 2009 +0900 9.2 +++ b/docs/yatex.ref Thu Jan 12 12:26:35 2012 +0900 9.3 @@ -9,11 +9,6 @@ 9.4 野鳥では、prefix キーをカスタマイズできるため(標準ではC-c)これを 9.5 [prefix] と表記します。C-c のまま変更していない場合、[prefix] a は 9.6 C-c a を表わします。 9.7 - begin型コマンドとは \begin〜\endの形式のコマンド、section型コ 9.8 - マンドとは \section{題}のように引数を取るコマンド、large型コマン 9.9 - ドとは {\tt } のような中括弧で囲まれたフォント/サイズ指定子、 9.10 - maketitle型コマンドとは \maketitle のように引数を伴わないコマン 9.11 - ドを指します。 9.12 9.13 9.14 【補完】 9.15 @@ -31,40 +26,36 @@ 9.16 ◆section型補完(領域指定) [prefix] S 9.17 ◆随時補完 [prefix] SPC 9.18 9.19 - 即時begin型補完の、環境名の頭文字の対応については、Info マニュ 9.20 - アルをご覧ください。領域指定モードでは、マークした位置とポイント 9.21 - の間を\begin{center}…\end{center} や {\large } などで括ります。 9.22 + 即時begin型補完の、環境名の頭文字の対応については、yatex.doc を 9.23 + ご覧ください。領域指定モードでは、マークした位置とポイントの間を 9.24 + \begin{center}…\end{center} や {\large } などで括ります。 9.25 9.26 ◆数式記号イメージ補完 ; 9.27 - ◆ギリシャ文字イメージ補完 : 9.28 + ◆ギリシャ文字イメージ補完 / 9.29 9.30 上の2つはTeXの数式環境の中で押した場合のみ有効です。強制的に補 9.31 - 完機能を使う場合は、C-u を押してから ; や : を押します。 9.32 + 完機能を使う場合は、C-u を押してから ; / を押します。 9.33 9.34 9.35 【プロセス起動】 9.36 9.37 ◆jbibtex起動 [prefix] tb 9.38 ◆jlatex起動 [prefix] tj 9.39 - ◆makeindex起動 [prefix] ti 9.40 - ◆jlatexのkill [prefix] tk ※ 9.41 + ◆jlatex停止 [prefix] tk ※ 9.42 ◆プリントアウト [prefix] tl 9.43 ◆プリントアウト(全ページ) C-u [prefix] tl 9.44 ◆プレビューア起動 [prefix] tp 9.45 - ◆xdvi上で文字列サーチ [prefix] ts ※※ 9.46 - ◆lpq起動 [prefix] tq 9.47 ◆jlatex起動(領域指定) [prefix] tr 9.48 9.49 [prefix] t を押せばメニューが出るので、[prefix] t の次に押すキー 9.50 は覚えなくて構いません。 9.51 9.52 ※は、MS-DOS では無効です。 9.53 - ※※は、-remote 機能付きの xdvi でのみ有効です。 9.54 9.55 - [prefix] tr の領域指定は、文書中の、 %#BEGIN と書いてある行か 9.56 - ら、%#END と書いてある行までです。%#END を省略すると、%#BEGINか 9.57 - ら文書末まで、両方省略するとマークした位置から、ポイントまでが指 9.58 - 定領域となります。 9.59 + [prefix] tr の領域指定は、文書中の、 %#BEGIN と書いてある行から、 9.60 + %#END と書いてある行までです。%#END を省略すると、%#BEGINから文書 9.61 + 末まで、両方省略すると、マークした位置から、ポイントまでが指定領域 9.62 + となります。 9.63 9.64 9.65 【カーソルジャンプ】 9.66 @@ -75,16 +66,13 @@ 9.67 もちろん jlatex でエラーが生じた場合のみ有効です。 9.68 9.69 ◆対応するオブジェクトジャンプ [prefix] g 9.70 - ◆別ウィンドウで 〃 [prefix] 4g 9.71 9.72 カーソルジャンプは、[prefix] g を押す時のカーソルの位置により、 9.73 ジャンプすべき場所を判断します。 9.74 9.75 ・\begin{}, \end{}の上 対応する \end{},\begin{} へ 9.76 ・%#BEGIN, %#END の上 対応する %#BEGIN, %#END へ 9.77 - ・\include(only), \input の上 対応するファイルへ 9.78 - ・\ref, \label の上 対応する \label, \ref へ 9.79 - ・\cite, \bibitem の上 対応する \bibitem, \cite へ 9.80 + ・\include(only), \input の上 対応するファイル 9.81 9.82 ◆メインファイルへジャンプ [prefix] ^ 9.83 ◆別ウィンドウで 〃 [prefix] 4^ 9.84 @@ -118,18 +106,9 @@ 9.85 【その他】 9.86 9.87 ◆itemの桁揃え [prefix] i 9.88 - 9.89 - \item を使う環境中のみ有効です。\item の項目全体をハングインデ 9.90 - ントします。 9.91 - 9.92 ◆LaTeXコマンド変更 [prefix] c 9.93 9.94 - \begin{}, \end{} の行で起動すると環境名を同時に変更します。 9.95 - section型コマンドの上で起動するとコマンドを変更し、コマンドの引 9.96 - 数の位置で起動すると引数を変更します。large型コマンドの上で起動 9.97 - するとフォント/サイズ指定子を変更します。イメージ補完で入力した 9.98 - 数式モードコマンドの上で起動すると確定直前のイメージ補完操作に戻 9.99 - ります。 9.100 + \begin{}, \end{} の環境名を同時に変更します。 9.101 9.102 ◆コマンド削除 [prefix] k 9.103 9.104 @@ -144,23 +123,20 @@ 9.105 9.106 ◆モード切り替え [prefix] w 9.107 9.108 - 新規作成/修正モード、数式モードの切り替えメニューが出ます。 9.109 + 新規作成/更新モード、数式モードの切り替えメニューが出ます。 9.110 9.111 ◆%# 記法の編集 [prefix] % 9.112 ◆tabular/array桁位置表示 [prefix] & 9.113 ◆オンラインヘルプ [prefix] ? 9.114 - ◆オンラインapropos [prefix] / 9.115 + ◆オンラインヘルプ [prefix] / 9.116 ◆おまかせ改行 ESC RET 9.117 9.118 「おまかせ改行」は tabular, array, itemize, enumerate, list, 9.119 - description 環境で有効です。 9.120 - 9.121 - 9.122 - ◆インクルード構造ブラウズ [prefix] d 9.123 - ◆font-lockし直しメニュー [prefix] u 9.124 + description 環境でで有効です。 9.125 9.126 広瀬雄二 9.127 - yuuji@yatex.org 9.128 + yuuji@ae.keio.ac.jp 9.129 + pcs39334@asciinet.or.jp 9.130 9.131 Local variables: 9.132 mode: text
10.1 --- a/docs/yatexe Mon Sep 28 12:48:28 2009 +0900 10.2 +++ b/docs/yatexe Thu Jan 12 12:26:35 2012 +0900 10.3 @@ -1,7 +1,8 @@ 10.4 Info file: yatexe, -*-Text-*- 10.5 produced by `texinfo-format-buffer' 10.6 from file `yatexe.tex' 10.7 -using `texinfmt.el' version 2.32 of 19 November 1993. 10.8 +using `texinfmt.el' version 2.38 of 3 July 1998. 10.9 + 10.10 10.11 10.12 10.13 @@ -34,6 +35,7 @@ 10.14 * Copying:: Redistribution 10.15 10.16 10.17 + 10.18 10.19 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top 10.20 10.21 @@ -47,6 +49,7 @@ 10.22 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi 10.23 Language Enhancement to GNU Emacs), and latex on DOS. 10.24 10.25 + 10.26 10.27 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top 10.28 10.29 @@ -81,6 +84,7 @@ 10.30 * Allow you to forget creating \label{}s, \ref or \cite completion 10.31 automatically generate labels. 10.32 10.33 + 10.34 10.35 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top 10.36 10.37 @@ -106,6 +110,7 @@ 10.38 loaded, mode string on mode line will be turned to "YaTeX". 10.39 10.40 10.41 + 10.42 10.43 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top 10.44 10.45 @@ -121,10 +126,17 @@ 10.46 ... invoke latex 10.47 `[prefix] t r' 10.48 ... invoke latex on region 10.49 +`[prefix] t e' 10.50 + ... invoke latex on current environment or whole 10.51 + portion of current formulas in math-mode. 10.52 `[prefix] t k' 10.53 ... kill current typesetting process 10.54 `[prefix] t b' 10.55 ... invoke bibtex 10.56 +`[prefix] t i' 10.57 + ... invoke makeindex 10.58 +`[prefix] t d' 10.59 + ... invoke latex && dvipdfmx 10.60 `[prefix] t p' 10.61 ... preview 10.62 `[prefix] t l' 10.63 @@ -138,6 +150,7 @@ 10.64 * Calling previewer:: 10.65 * Printing out:: 10.66 10.67 + 10.68 10.69 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting 10.70 10.71 @@ -163,14 +176,29 @@ 10.72 the cursor on the line of error message and type `SPACE' key. This makes 10.73 the cursor move to corresponding source line. 10.74 10.75 - Since `[prefix] tr' pastes the region into the file `texput.tex' in the 10.76 -current directory, you should be careful of overwriting. The method of 10.77 -specification of the region is shown in the section *Note %#notation::. 10.78 + YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for 10.79 +region. The region is specified by standard point and mark, or by 10.80 +`%#BEGIN' and `%#END' marks. Selected region will be copied to the 10.81 +temporary file `texput.tex' with the same preamble as the main file of 10.82 +current editing sources. Be sure to put all local macro settings in 10.83 +preamble, not after `\begin{document}'. The method of specification of 10.84 +the region is shown in the section *Note %#notation::. 10.85 10.86 The documentclass for typeset-region is the same as that of editing file 10.87 if you edit one file, and is the same as main file's if you edit splitting 10.88 files. 10.89 10.90 + The `[prefix] te' key automatically marks current inner environment or 10.91 +inner math mode and then call typeset-region with marked region. This is 10.92 +convenient to quick view of current tabular environment or current editing 10.93 +formulas. Keeping previewer window for `texput.dvi' is handy for 10.94 +debugging. Since `[prefix] te' selects the inner-most environment as 10.95 +region, it is not suitable for partial typesetting of doubly or more 10.96 +composed environment. If you want to do partial typesetting for a nested 10.97 +environment, use `[prefix] tr' for static-region, which is described in 10.98 +the section *Note %#notation::. 10.99 + 10.100 + 10.101 10.102 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting 10.103 10.104 @@ -182,6 +210,7 @@ 10.105 enables you to search current string at the cursor on the running xdvi 10.106 window. 10.107 10.108 + 10.109 10.110 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting 10.111 10.112 @@ -194,6 +223,7 @@ 10.113 10.114 C-u [prefix] tl 10.115 10.116 + 10.117 10.118 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top 10.119 10.120 @@ -211,6 +241,7 @@ 10.121 * Lpr format:: 10.122 * Editing %# notation:: 10.123 10.124 + 10.125 10.126 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation 10.127 10.128 @@ -223,6 +254,7 @@ 10.129 10.130 anywhere in the source text. This is useful for changing typesetter. 10.131 10.132 + 10.133 10.134 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation 10.135 10.136 @@ -249,13 +281,14 @@ 10.137 To make best use of the feature of inter-file jumping by `[prefix] g' 10.138 (see *Note Cursor jump::), take described below into consideration. 10.139 10.140 - * You can put split texts in sub directory, but not in 10.141 - sub directory of sub directory. 10.142 + * You can put split texts in sub directory, but not in sub directory of 10.143 + sub directory. 10.144 * In the main text, specify the child file name with relative path name 10.145 - such as \include{chap1/sub}, when you include the file in 10.146 - a sub-directory. 10.147 - * In a sub-text, write `%#!latex main.tex' even if `main.tex' 10.148 - is in the parent directory(not %#!latex ../main.tex). 10.149 + such as \include{chap1/sub}, when you include the file in a 10.150 + sub-directory. 10.151 + * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the 10.152 + parent directory(not %#!latex ../main.tex). 10.153 + 10.154 10.155 10.156 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation 10.157 @@ -290,6 +323,7 @@ 10.158 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' 10.159 pair. 10.160 10.161 + 10.162 10.163 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation 10.164 10.165 @@ -322,6 +356,7 @@ 10.166 10.167 %#LPR dvi2ps %s | lpr 10.168 10.169 + 10.170 10.171 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation 10.172 10.173 @@ -341,6 +376,7 @@ 10.174 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' 10.175 and `%#END' are automatically erased. 10.176 10.177 + 10.178 10.179 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top 10.180 10.181 @@ -362,13 +398,14 @@ 10.182 * Image completion:: 10.183 * Greek letters completion:: 10.184 10.185 + 10.186 10.187 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion 10.188 10.189 Begin-type completion 10.190 ===================== 10.191 10.192 - "Begin-type completion" completes commands of `\begin{env}' ... 10.193 + "Begin-type completion" completes commands of `\begin{env}' ... 10.194 `\end{env}'. All of the begin-type completions begin with this key 10.195 sequence. 10.196 10.197 @@ -450,6 +487,7 @@ 10.198 `[prefix] B SPC' enclose a region with the environment selected by 10.199 completing-read. 10.200 10.201 + 10.202 10.203 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion 10.204 10.205 @@ -529,6 +567,7 @@ 10.206 10.207 * view-sectioning:: 10.208 10.209 + 10.210 10.211 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion 10.212 10.213 @@ -572,6 +611,7 @@ 10.214 ... Hide sectioning commands whose level is lower than n 10.215 10.216 10.217 + 10.218 10.219 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion 10.220 10.221 @@ -596,6 +636,7 @@ 10.222 prefix key stroke as `[prefix] L'. It encloses the region by braces with 10.223 large-type command. 10.224 10.225 + 10.226 10.227 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion 10.228 10.229 @@ -613,6 +654,7 @@ 10.230 maketitle-completion, and there are LaTeX commands with no arguments in 10.231 completion table. 10.232 10.233 + 10.234 10.235 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion 10.236 10.237 @@ -627,6 +669,7 @@ 10.238 10.239 after the initial string of LaTeX command that is preceded by `\'. 10.240 10.241 + 10.242 10.243 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion 10.244 10.245 @@ -643,6 +686,7 @@ 10.246 10.247 at the end of the opened environment. 10.248 10.249 + 10.250 10.251 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion 10.252 10.253 @@ -670,6 +714,7 @@ 10.254 10.255 will be completed, and the cursor gets out from braces. 10.256 10.257 + 10.258 10.259 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion 10.260 10.261 @@ -720,6 +765,7 @@ 10.262 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also 10.263 `yatexmth.el' for the information of the structure of this variable. 10.264 10.265 + 10.266 10.267 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion 10.268 10.269 @@ -737,6 +783,7 @@ 10.270 `:' after universal-argument(`C-u') which forces `;' and `:' to work as 10.271 math-prefix. 10.272 10.273 + 10.274 10.275 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top 10.276 10.277 @@ -762,6 +809,7 @@ 10.278 10.279 (setq YaTeX-nervous nil) 10.280 10.281 + 10.282 10.283 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top 10.284 10.285 @@ -809,6 +857,7 @@ 10.286 out from `\begin' to `\end'' mode. 10.287 10.288 10.289 + 10.290 10.291 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top 10.292 10.293 @@ -824,6 +873,7 @@ 10.294 * Jumping around the environment:: 10.295 * Jumping to last completion position:: 10.296 10.297 + 10.298 10.299 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump 10.300 10.301 @@ -863,6 +913,7 @@ 10.302 that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs 10.303 because it is meaningless. 10.304 10.305 + 10.306 10.307 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump 10.308 10.309 @@ -890,6 +941,7 @@ 10.310 `YaTeX-file-processor-alist'. If any, call the corresponding image 10.311 viewer or drawing tool. 10.312 10.313 + 10.314 10.315 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump 10.316 10.317 @@ -906,6 +958,7 @@ 10.318 in a sub text switch the buffer to the main text specified by `%#!' 10.319 notation. 10.320 10.321 + 10.322 10.323 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump 10.324 10.325 @@ -921,6 +974,7 @@ 10.326 `M-C-@' 10.327 ... mark environment 10.328 10.329 + 10.330 10.331 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump 10.332 10.333 @@ -933,6 +987,7 @@ 10.334 register-to-point with argument YaTeX-current-position-register, which is 10.335 achieved by typing `C-x j 3'(by default). 10.336 10.337 + 10.338 10.339 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top 10.340 10.341 @@ -952,6 +1007,7 @@ 10.342 * Changing LaTeX commands:: 10.343 * Killing LaTeX commands:: 10.344 10.345 + 10.346 10.347 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting 10.348 10.349 @@ -978,6 +1034,7 @@ 10.350 freely emerge. So keep it mind to put the cursor on a brace when you are 10.351 thinking of changing a complicated argument. 10.352 10.353 + 10.354 10.355 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting 10.356 10.357 @@ -1006,6 +1063,7 @@ 10.358 Main \footnote{note} here. Main note here. Main here. 10.359 ~(cursor) 10.360 10.361 + 10.362 10.363 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top 10.364 10.365 @@ -1061,6 +1119,7 @@ 10.366 putting cursor on the first occurrence of non-whitespace character on a 10.367 line changes the fill-prefix temporarily to the depth of the line. 10.368 10.369 + 10.370 10.371 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top 10.372 10.373 @@ -1085,6 +1144,7 @@ 10.374 `\includeonly' list, `r' to replace \`includeonly' list with the current 10.375 file, and type `%' to comment out the `\includeonly' line. 10.376 10.377 + 10.378 10.379 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top 10.380 10.381 @@ -1115,6 +1175,7 @@ 10.382 column headers, you can create a row of virtual column headers by putting 10.383 them in the first line and commenting that line with `%'. 10.384 10.385 + 10.386 10.387 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top 10.388 10.389 @@ -1136,8 +1197,8 @@ 10.390 10.391 * `tabular', `tabular*', `array' 10.392 10.393 - Corresponding number of `&' and `\\'. 10.394 - And `\hline' if needed. 10.395 + Corresponding number of `&' and `\\'. And `\hline' if 10.396 + needed. 10.397 10.398 * `tabbing' 10.399 10.400 @@ -1160,6 +1221,7 @@ 10.401 useful. See the definition of the function 10.402 `YaTeX-intelligent-newline-itemize' as an example. 10.403 10.404 + 10.405 10.406 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top 10.407 10.408 @@ -1175,6 +1237,7 @@ 10.409 variable `YaTeX-package-alist-private' correctly. Please refere the value 10.410 of `YaTeX-package-alist-default' as an example. 10.411 10.412 + 10.413 10.414 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top 10.415 10.416 @@ -1224,6 +1287,7 @@ 10.417 you describe the help on some standard commands. I might want to include 10.418 it in the next distribution. 10.419 10.420 + 10.421 10.422 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top 10.423 10.424 @@ -1285,6 +1349,7 @@ 10.425 Note that operations on the file contents in the next window do not work 10.426 correctly when you close the corresponding file. 10.427 10.428 + 10.429 10.430 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top 10.431 10.432 @@ -1310,6 +1375,7 @@ 10.433 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as 10.434 an example. 10.435 10.436 + 10.437 10.438 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top 10.439 10.440 @@ -1325,6 +1391,7 @@ 10.441 * Add-in functions:: 10.442 * Add-in generator:: 10.443 10.444 + 10.445 10.446 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations 10.447 10.448 @@ -1351,6 +1418,7 @@ 10.449 * Hook variables:: 10.450 * Hook file:: 10.451 10.452 + 10.453 10.454 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables 10.455 10.456 @@ -1369,8 +1437,8 @@ 10.457 10.458 -- Variable: YaTeX-kanji-code 10.459 Default buffer-file-coding-system for YaTeX modes' buffer. Set this 10.460 - 0 to no language conversion. Nil to preserve original coding-system. 10.461 - (`1 or 2') 10.462 + 0 to no language conversion. Nil to preserve original 10.463 + coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') 10.464 10.465 -- Variable: YaTeX-prefix 10.466 Prefix key stroke (`C-c') 10.467 @@ -1383,7 +1451,7 @@ 10.468 10.469 -- Variable: YaTeX-user-completion-table 10.470 Name of user dictionary where learned completion table will be 10.471 - stored. (`"~/.yatexrc"') 10.472 + stored. (`"~/.yatexrc"') 10.473 10.474 -- Variable: tex-command 10.475 LaTeX typesetter command (`"latex"') 10.476 @@ -1403,6 +1471,9 @@ 10.477 -- Variable: makeindex-command 10.478 Default makeindex command (`"makeindex"' (`"makeind"' on MS-DOS)) 10.479 10.480 + -- Variable: YaTeX-dvipdf-command 10.481 + Default command name to convert .dvi to PDF (`"dvipdfmx"') 10.482 + 10.483 -- Variable: YaTeX-need-nonstop 10.484 Put `\nonstopmode{}' or not (`nil') 10.485 10.486 @@ -1542,13 +1613,10 @@ 10.487 `usepackage' for corresponding macro, when you input that macro with 10.488 completion. If required `usepackage' is not found, YaTeX also 10.489 automatically inserts `\usepackage'. Alist is as follows; 10.490 - '((PackageName1 10.491 - (completionType ListOfMacro) 10.492 - (completionType ListOfMacro)) 10.493 - (PackageName2 10.494 - (completionType ListOfMacro) 10.495 - (completionType ListOfMacro...))....) completionType is 10.496 - one of `env, section, maketitle'. Consult the value of 10.497 + '((PackageName1 (completionType ListOfMacro) (completionType 10.498 + ListOfMacro)) (PackageName2 (completionType ListOfMacro) 10.499 + (completionType ListOfMacro...))....) completionType is one of `env, 10.500 + section, maketitle'. Consult the value of 10.501 `YaTeX-package-alist-default' as an example. 10.502 10.503 -- Variable: YaTeX-tabular-indentation 10.504 @@ -1591,6 +1659,7 @@ 10.505 (YaTeX::ref-generate-label nil nil)))) 10.506 10.507 10.508 + 10.509 10.510 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables 10.511 10.512 @@ -1605,6 +1674,7 @@ 10.513 YaTeX-user-completion-table "~/src/emacs/yatexrc" 10.514 YaTeX-fill-prefix " ") 10.515 10.516 + 10.517 10.518 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables 10.519 10.520 @@ -1623,6 +1693,7 @@ 10.521 You should use functions `YaTeX-define-key', or 10.522 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. 10.523 10.524 + 10.525 10.526 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables 10.527 10.528 @@ -1634,6 +1705,7 @@ 10.529 file at the initialization of itself. Using `yatexhks.el' makes 10.530 `yatex-mode-load-hook' unnecessary. 10.531 10.532 + 10.533 10.534 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations 10.535 10.536 @@ -1667,6 +1739,7 @@ 10.537 * Useful functions for creating add-in:: 10.538 * Contribution:: 10.539 10.540 + 10.541 10.542 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions 10.543 10.544 @@ -1731,6 +1804,7 @@ 10.545 * Defining argument-add-in:: 10.546 * Defining enclosing-add-in:: 10.547 10.548 + 10.549 10.550 File: yatexe, Node: Defining option-add-in, Next: Defining argument-add-in, Prev: How the add-in function works, Up: How the add-in function works 10.551 10.552 @@ -1752,6 +1826,7 @@ 10.553 (defun YaTeX:tabular () 10.554 (concat "{" (read-string "Rule: ") "}")) 10.555 10.556 + 10.557 10.558 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works 10.559 10.560 @@ -1775,6 +1850,7 @@ 10.561 Note that when the `argument add-in' function return `nil', normal 10.562 argument reader will be called. 10.563 10.564 + 10.565 10.566 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works 10.567 10.568 @@ -1798,6 +1874,7 @@ 10.569 (throw 'done (replace-match "}{"))) 10.570 (goto-char (match-end 0))))) 10.571 10.572 + 10.573 10.574 File: yatexe, Node: How the function is called, Next: Useful functions for creating add-in, Prev: How the add-in function works, Up: Add-in functions 10.575 10.576 @@ -1812,6 +1889,7 @@ 10.577 been inserted. `Argument add-in' functions are called at each entry of 10.578 arguments for section-type commands. 10.579 10.580 + 10.581 10.582 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions 10.583 10.584 @@ -1851,6 +1929,7 @@ 10.585 if not. The variable `YaTeX-current-completion-type' holds the symbol 10.586 according to the current completion type. 10.587 10.588 + 10.589 10.590 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions 10.591 10.592 @@ -1860,6 +1939,7 @@ 10.593 If you make your own pretty function and you let it be in public, please 10.594 send me the function. I'm going to include it in the next release. 10.595 10.596 + 10.597 10.598 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations 10.599 10.600 @@ -1890,12 +1970,11 @@ 10.601 Simple generator 10.602 ---------------- 10.603 10.604 - The latter generator is invoked by the next sequence. 10.605 - `M-x YaTeX-generate-simple' 10.606 -This generator can make both "option add-in" and "argument add-in" 10.607 -(*refer the section add-in functions* 10.608 -*Note How the add-in function works::), whereas `YaTeX-generate' 10.609 -cannot make "argument addin". 10.610 + The latter generator is invoked by the next sequence. `M-x 10.611 +YaTeX-generate-simple' This generator can make both "option add-in" and 10.612 +"argument add-in" (*refer the section add-in functions* *Note How the 10.613 +add-in function works::), whereas `YaTeX-generate' cannot make "argument 10.614 +addin". 10.615 10.616 For example, assume you have the LaTeX command as follows. 10.617 10.618 @@ -2030,6 +2109,7 @@ 10.619 steel yourself in the happy atmosphere and do not send me the function. I 10.620 do know it is not fine because it is generated by yatexgen:-p. 10.621 10.622 + 10.623 10.624 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top 10.625 10.626 @@ -2046,6 +2126,7 @@ 10.627 The package name `Wild Bird' is the English translation of Japanese 10.628 title `Yachou', which is a trick on words of Japanese. 10.629 10.630 + 10.631 10.632 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top 10.633 10.634 @@ -2070,68 +2151,69 @@ 10.635 10.636 10.637 HIROSE Yuuji 10.638 + 10.639 10.640 Tag table: 10.641 -Node: Top153 10.642 -Node: What is YaTeX?1493 10.643 -Node: Main features1865 10.644 -Node: Installation3456 10.645 -Node: Typesetting4232 10.646 -Node: Calling typesetter5061 10.647 -Node: Calling previewer6406 10.648 -Node: Printing out6766 10.649 -Node: %#notation7057 10.650 -Node: Changing typesetter7432 10.651 -Node: Splitting input files7795 10.652 -Node: Static region for typesetting9222 10.653 -Node: Lpr format10350 10.654 -Node: Editing %# notation11406 10.655 -Node: Completion11924 10.656 -Node: Begin-type completion12483 10.657 -Node: Section-type completion15526 10.658 -Node: view-sectioning17960 10.659 -Node: Large-type completion19539 10.660 -Node: Maketitle-type completion20269 10.661 -Node: Arbitrary completion20820 10.662 -Node: End completion21209 10.663 -Node: Accent completion21678 10.664 -Node: Image completion22294 10.665 -Node: Greek letters completion24550 10.666 -Node: Local dictionaries25276 10.667 -Node: Commenting out26212 10.668 -Node: Cursor jump27670 10.669 -Node: Jump to corresponding object27981 10.670 -Node: Invoking image processor29381 10.671 -Node: Jump to main file30723 10.672 -Node: Jumping around the environment31087 10.673 -Node: Jumping to last completion position31504 10.674 -Node: Changing and Deleting32012 10.675 -Node: Changing LaTeX commands32403 10.676 -Node: Killing LaTeX commands33579 10.677 -Node: Filling34763 10.678 -Node: Updation of includeonly36613 10.679 -Node: What column37409 10.680 -Node: Intelligent newline38493 10.681 -Node: Usepackage checker40153 10.682 -Node: Online help40743 10.683 -Node: Browsing file hierarchy42417 10.684 -Node: Cooperation with other packages44153 10.685 -Node: Customizations44857 10.686 -Node: Lisp variables45190 10.687 -Node: All customizable variables46193 10.688 -Node: Sample definitions55941 10.689 -Node: Hook variables56453 10.690 -Node: Hook file57156 10.691 -Node: Add-in functions57494 10.692 -Node: How the add-in function works58353 10.693 -Node: Defining option-add-in60551 10.694 -Node: Defining argument-add-in61272 10.695 -Node: Defining enclosing-add-in62153 10.696 -Node: How the function is called63006 10.697 -Node: Useful functions for creating add-in63681 10.698 -Node: Contribution65085 10.699 -Node: Add-in generator65358 10.700 -Node: Etcetera70751 10.701 -Node: Copying71355 10.702 +Node: Top146 10.703 +Node: What is YaTeX?1487 10.704 +Node: Main features1860 10.705 +Node: Installation3452 10.706 +Node: Typesetting4229 10.707 +Node: Calling typesetter5298 10.708 +Node: Calling previewer7502 10.709 +Node: Printing out7863 10.710 +Node: %#notation8155 10.711 +Node: Changing typesetter8531 10.712 +Node: Splitting input files8895 10.713 +Node: Static region for typesetting10319 10.714 +Node: Lpr format11448 10.715 +Node: Editing %# notation12505 10.716 +Node: Completion13024 10.717 +Node: Begin-type completion13584 10.718 +Node: Section-type completion16627 10.719 +Node: view-sectioning19062 10.720 +Node: Large-type completion20642 10.721 +Node: Maketitle-type completion21373 10.722 +Node: Arbitrary completion21925 10.723 +Node: End completion22315 10.724 +Node: Accent completion22785 10.725 +Node: Image completion23402 10.726 +Node: Greek letters completion25659 10.727 +Node: Local dictionaries26386 10.728 +Node: Commenting out27323 10.729 +Node: Cursor jump28782 10.730 +Node: Jump to corresponding object29094 10.731 +Node: Invoking image processor30495 10.732 +Node: Jump to main file31838 10.733 +Node: Jumping around the environment32203 10.734 +Node: Jumping to last completion position32621 10.735 +Node: Changing and Deleting33130 10.736 +Node: Changing LaTeX commands33522 10.737 +Node: Killing LaTeX commands34699 10.738 +Node: Filling35884 10.739 +Node: Updation of includeonly37735 10.740 +Node: What column38532 10.741 +Node: Intelligent newline39617 10.742 +Node: Usepackage checker41271 10.743 +Node: Online help41862 10.744 +Node: Browsing file hierarchy43537 10.745 +Node: Cooperation with other packages45274 10.746 +Node: Customizations45979 10.747 +Node: Lisp variables46313 10.748 +Node: All customizable variables47317 10.749 +Node: Sample definitions57116 10.750 +Node: Hook variables57629 10.751 +Node: Hook file58333 10.752 +Node: Add-in functions58672 10.753 +Node: How the add-in function works59532 10.754 +Node: Defining option-add-in61731 10.755 +Node: Defining argument-add-in62453 10.756 +Node: Defining enclosing-add-in63335 10.757 +Node: How the function is called64189 10.758 +Node: Useful functions for creating add-in64865 10.759 +Node: Contribution66270 10.760 +Node: Add-in generator66544 10.761 +Node: Etcetera71916 10.762 +Node: Copying72521 10.763 10.764 End tag table
11.1 --- a/docs/yatexe.tex Mon Sep 28 12:48:28 2009 +0900 11.2 +++ b/docs/yatexe.tex Thu Jan 12 12:26:35 2012 +0900 11.3 @@ -5,7 +5,7 @@ 11.4 11.5 @iftex 11.6 @c @syncodeindex fn cp 11.7 -@c Last modified Wed Jul 20 21:27:50 2005 on firestorm 11.8 +@c Last modified Thu May 27 18:04:10 2010 on firestorm 11.9 @syncodeindex vr cp 11.10 @end iftex 11.11 11.12 @@ -145,10 +145,17 @@ 11.13 @dots{} invoke latex 11.14 @item [prefix] t r 11.15 @dots{} invoke latex on region 11.16 +@item [prefix] t e 11.17 + @dots{} invoke latex on current environment or whole 11.18 + portion of current formulas in math-mode. 11.19 @item [prefix] t k 11.20 @dots{} kill current typesetting process 11.21 @item [prefix] t b 11.22 @dots{} invoke bibtex 11.23 +@item [prefix] t i 11.24 + @dots{} invoke makeindex 11.25 +@item [prefix] t d 11.26 + @dots{} invoke latex && dvipdfmx 11.27 @item [prefix] t p 11.28 @dots{} preview 11.29 @item [prefix] t l 11.30 @@ -188,15 +195,29 @@ 11.31 the cursor on the line of error message and type @kbd{SPACE} key. This 11.32 makes the cursor move to corresponding source line. 11.33 11.34 - Since @kbd{[prefix] tr} pastes the region into the file 11.35 -@file{texput.tex} in the current directory, you should be careful of 11.36 -overwriting. The method of specification of the region is shown in the 11.37 + YaTeX-typeset-region invoked by @kbd{[prefix] tr} call typesetter 11.38 +for region. The region is specified by standard point and mark, or 11.39 +by @code{%#BEGIN} and @code{%#END} marks. Selected region will be 11.40 +copied to the temporary file @file{texput.tex} with the same preamble 11.41 +as the main file of current editing sources. Be sure to put 11.42 +all local macro settings in preamble, not after @code{\begin{document}}. 11.43 + The method of specification of the region is shown in the 11.44 section @xref{%#notation}. 11.45 11.46 The documentclass for typeset-region is the same as that of editing 11.47 file if you edit one file, and is the same as main file's if you 11.48 edit splitting files. 11.49 11.50 + The @kbd{[prefix] te} key automatically marks current inner environment 11.51 +or inner math mode and then call typeset-region with marked region. This 11.52 +is convenient to quick view of current tabular environment or current 11.53 +editing formulas. Keeping previewer window for @file{texput.dvi} is handy 11.54 +for debugging. Since @kbd{[prefix] te} selects the inner-most environment 11.55 +as region, it is not suitable for partial typesetting of doubly or more 11.56 +composed environment. If you want to do partial typesetting for a nested 11.57 +environment, use @kbd{[prefix] tr} for static-region, which is described 11.58 +in the section @xref{%#notation}. 11.59 + 11.60 @node Calling previewer, Printing out, Calling typesetter, Typesetting 11.61 @comment node-name, next, previous, up 11.62 @section Calling previewer 11.63 @@ -1594,7 +1615,7 @@ 11.64 @defvar YaTeX-kanji-code 11.65 Default buffer-file-coding-system for YaTeX modes' buffer. 11.66 Set this 0 to no language conversion. Nil to preserve original 11.67 -coding-system. (@code{1 or 2}) 11.68 +coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (@code{1 or 2}) 11.69 @end defvar 11.70 11.71 @defvar YaTeX-prefix 11.72 @@ -1638,6 +1659,10 @@ 11.73 Default makeindex command (@code{"makeindex"} (@code{"makeind"} on MS-DOS)) 11.74 @end defvar 11.75 11.76 +@defvar YaTeX-dvipdf-command 11.77 +Default command name to convert .dvi to PDF (@code{"dvipdfmx"}) 11.78 +@end defvar 11.79 + 11.80 @defvar YaTeX-need-nonstop 11.81 Put @code{\nonstopmode@{@}} or not (@code{nil}) 11.82 @end defvar
12.1 --- a/docs/yatexj Mon Sep 28 12:48:28 2009 +0900 12.2 +++ b/docs/yatexj Thu Jan 12 12:26:35 2012 +0900 12.3 @@ -1,7 +1,8 @@ 12.4 Info file: yatexj, -*-Text-*- 12.5 produced by `texinfo-format-buffer' 12.6 from file `yatexj.tex' 12.7 -using `texinfmt.el' version 2.32 of 19 November 1993. 12.8 +using `texinfmt.el' version 2.38 of 3 July 1998. 12.9 + 12.10 12.11 12.12 12.13 @@ -37,6 +38,7 @@ 12.14 * Concept Index:: $B:w0z(B 12.15 12.16 12.17 + 12.18 12.19 File: yatexj, Node: Intro, Next: Terminology, Prev: Top, Up: Top 12.20 12.21 @@ -51,6 +53,7 @@ 12.22 12.23 English manual *Note Top: (yatexe)Top. 12.24 12.25 + 12.26 12.27 File: yatexj, Node: Terminology, Next: Main features, Prev: Intro, Up: Top 12.28 12.29 @@ -84,6 +87,7 @@ 12.30 $BEv$F$i$l$F$$$k$N$G!"FC$KJQ99$7$F$$$J$$>l9gK\%^%K%e%"%k$N(B `[prefix]' 12.31 $B$H$$$&I=5-$O!"(B`C-c' $B$HFI$_49$($F$/$@$5$$!#(B 12.32 12.33 + 12.34 12.35 File: yatexj, Node: Main features, Next: Installation, Prev: Terminology, Up: Top 12.36 12.37 @@ -94,7 +98,7 @@ 12.38 * $B%+!<%=%k0LCV$K$h$i$J$$8GDj%j%8%g%s$NItJ,%?%$%W%;%C%H(B 12.39 * \includeonly$B$N%o%s%?%C%A99?7(B 12.40 * $B%(%i!<2U=j$X$N<+F0%8%c%s%W(B(`C-c '') 12.41 - * `\begin{}, \end{}, \section...' $B$J$I$N(B LaTeX$B%3%^%s%I$NJd40F~NO(B(`C-c 12.42 + * `\begin{}, \end{}, \section...' $B$J$I$N(B LaTeX $B%3%^%s%I$NJd40F~NO(B(`C-c 12.43 b', `C-c s', `C-c l', `C-c m') 12.44 * $B4{$KF~NO$7$?%F%-%9%H$r4D6-$d%3%^%s%I0z?t$NCf$K<h$j9~$`3g$jJd40(B(`C-u' 12.45 +$BDL>oJd40%-!<(B) 12.46 @@ -104,13 +108,12 @@ 12.47 * LaTeX $B$N4D6-$d%3%^%s%I$K1~$8$?%,%$%IIU$-0z?tF~NO(B 12.48 * $BLnD;$K$J$$%,%$%IIU$-0z?tF~NO4X?t$N<+F0@8@.(B(`yatexgen.el') 12.49 * LaTeX $B%3%^%s%I$N:o=|(B/$BJQ99(B(`C-c k', `C-c c') 12.50 - * $B%U%!%$%k4V!"(B`\begin'<->`\end'$B4V!"(B 12.51 - `\ref'<->`\label'$B4V!"(B 12.52 - `\cite'<->`\bibitem'$B%8%c%s%W(B(`C-c g') 12.53 - * $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B 12.54 - (`C-c >', `C-c <', `C-c ,', `C-c .') 12.55 - * $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B 12.56 - (`C-c a', `;', `/') 12.57 + * $B%U%!%$%k4V!"(B`\begin'<->`\end'$B4V!"(B`\ref'<->`\label'$B4V!"(B 12.58 + `\cite'<->`\bibitem'$B%8%c%s%W(B(`C-c g') 12.59 + * $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B(`C-c >', `C-c <', `C-c ,', `C-c 12.60 + .') 12.61 + * $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B(`C-c a', 12.62 + `;', `/') 12.63 * tabular/array$B4D6-$N%+%i%`0LCV%,%$%I(B 12.64 * $BI8=`E*(B LaTeX $B%3%^%s%I$N%*%s%i%$%s%X%k%W(B(`C-c ?', `C-c /') 12.65 * $B%I%-%e%a%s%H$N%$%s%/%k!<%I9=B$$N;k3PE*I=<($H%P%C%U%!@Z$jBX$((B(`C-c d') 12.66 @@ -118,6 +121,7 @@ 12.67 userpackage 12.68 * \label$B$rBG$D$3$H$O$b$&K:$l$h$&(B! ref$B$d(Bcite$BJd40F~NO$G<+F0@8@.$7$^$9(B 12.69 12.70 + 12.71 12.72 File: yatexj, Node: Installation, Next: Invocation, Prev: Main features, Up: Top 12.73 12.74 @@ -156,9 +160,8 @@ 12.75 ... $B5/F0$9$k%W%l%t%e!<%"$N%3%^%s%IL>(B 12.76 `NTT-jTeX' 12.77 ... $B2~9T(B+$B%$%s%G%s%H$K$h$C$F!"%?%$%W%;%C%H8e$N;z4V$,6u$$$F$7$^(B 12.78 - $B$&$N$rM^@)$9$k>l9g$K(Bt$B$K$9$k(B($B8E$$(BNTT-jTeX$B$G82Cx$K8=$l$k(B)$B!#6qBN(B 12.79 - $BE*$K$O!"(B 12.80 - fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B 12.81 + $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 12.82 + fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B 12.83 `YaTeX-kanji-code' 12.84 ... $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B 12.85 `dviprint-command-format' 12.86 @@ -166,10 +169,10 @@ 12.87 `makeindex-command' 12.88 ... makeindex$B%3%^%s%I(B 12.89 12.90 -$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B`~/.emacs'$B$K$F!"$?$H$($P(B 12.91 - (setq tex-command "bigjlatex") 12.92 -$B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$$F$O!"(B 12.93 -*Note All customizable variables::$B$r;2>H$7$F$/$@$5$$!#(B 12.94 +$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B`~/.emacs'$B$K$F!"$?$H$($P(B(setq tex-command 12.95 +"bigjlatex") $B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$(B 12.96 +$B$F$O!"(B*Note All customizable variables::$B$r;2>H$7$F$/$@$5$$!#(B 12.97 + 12.98 12.99 12.100 12.101 @@ -185,10 +188,17 @@ 12.102 ... $B%?%$%W%;%C%?(B(platex)$B5/F0(B 12.103 `[prefix] t r' 12.104 ... $B%?%$%W%;%C%?5/F0(B($BNN0h;XDj(B) 12.105 +`[prefix] t e' 12.106 + ... $B%?%$%W%;%C%?5/F0(B($B%]%$%s%H0LCV$N4D6-$^$?$O?t<0%b!<%I$N$_BP(B 12.107 + $B>N(B) 12.108 `[prefix] t k' 12.109 ... $BF0:nCf$N%?%$%W%;%C%?$NDd;_(B 12.110 `[prefix] t b' 12.111 ... jbibtex$B5/F0(B 12.112 +`[prefix] t i' 12.113 + ... makeindex$B5/F0(B 12.114 +`[prefix] t d' 12.115 + ... $B%?%$%W%;%C%?$H(Bdvipdfmx$B5/F0(B 12.116 `[prefix] t p' 12.117 ... $B%W%l%t%e!<%"5/F0(B 12.118 `[prefix] t l' 12.119 @@ -202,6 +212,7 @@ 12.120 * Calling previewer:: $B%W%l%t%e!<%"5/F0(B 12.121 * Print out:: $B%W%j%s%H%"%&%HMQ%3%^%s%I$N5/F0(B 12.122 12.123 + 12.124 12.125 File: yatexj, Node: Calling typesetter, Next: Calling previewer, Prev: Invocation, Up: Invocation 12.126 12.127 @@ -234,11 +245,25 @@ 12.128 12.129 $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B `%#BEGIN' $B$H(B`%#END' 12.130 $B$N4V$NNN0h(B(*Note %#notation::)$B$@$1$r@Z$j<h$C$F%?%$%W%;%C%H$9$k$3$H$,$G$-$^(B 12.131 -$B$9!#$3$N>l9g$N(B documentclass $B$O!"C10l%U%!%$%k$N(B LaTeX $B%=!<%9$NJT=8;~$K$O$=(B 12.132 -$B$N%U%!%$%k$N(B documentclass $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l9g$K$O%a%$(B 12.133 -$B%s%U%!%$%k$N(B documentclass $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"%a%$%s%U%!(B 12.134 -$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&NW;~%U%!%$%k$K=PNO$5$l$^$9$N$G!"(B 12.135 -$B>e=q$-$K$OCm0U$7$F$/$@$5$$!#(B 12.136 +$B$9!#$3$N>l9g%a%$%s%U%!%$%k$N%W%j%"%s%V%k$,0l;~%U%!%$%k$N%W%j%"%s%V%k$H$7$F(B 12.137 +$B;H$o$l$^$9!#$7$?$,$C$F%W%j%"%s%V%k$K$J$$%^%/%mDj5A$,NN0hFb$K$"$k$H%(%i!<$K(B 12.138 +$B$J$j$^$9!#NN0h%?%$%W%;%C%H$r;H$&>l9g!"I,$:%^%/%mDj5A$O%W%j%"%s%V%k(B 12.139 +(`\begin{document}'$B$h$jA0(B)$B$KCV$/$h$&$K$7$F2<$5$$!#0l;~%U%!%$%k$O%a%$%s%U%!(B 12.140 +$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&L>A0$G=PNO$5$l$k$N$G!">e=q$-$K$O(B 12.141 +$BCm0U$7$F$/$@$5$$!#(B 12.142 + 12.143 + 12.144 +$B4D6-%?%$%W%;%C%H(B 12.145 +---------------- 12.146 + 12.147 + 12.148 + `[prefix] te' $B$r2!$9$H!"%]%$%s%H0LCV$N:G$bFbB&$N4D6-!"$^$?$O?t<0%b!<%IFb(B 12.149 +$B$N>l9g$O$=$N?t<0%b!<%IA4BN$,<+F0E*$KNN0hA*Br$5$l$F!"NN0h%?%$%W%;%C%H$r8F$S(B 12.150 +$B=P$7$^$9!#(Btabular$B4D6-$d?t<0%b!<%I$GJ#;($J$b$N$r:n$C$F$$$k>l9g$O3N$+$a$?$$(B 12.151 +$BItJ,$@$1$r3NG'$G$-$k$N$GJXMx$G$9!#$3$l$b(B `texput.tex' $B$K3:EvItJ,$r=q$-=P$7(B 12.152 +$B$^$9!#%W%l%t%e!<%"$G(B `texput.dvi' $B$r3+$$$?$^$^$K$7$F$*$1$P=$@5$H3NG'$,AGAa(B 12.153 +$B$/$G$-$k$G$7$g$&!#(B 12.154 + 12.155 12.156 12.157 File: yatexj, Node: Calling previewer, Next: Print out, Prev: Calling typesetter, Up: Invocation 12.158 @@ -252,6 +277,7 @@ 12.159 $B$k$3$H$,$G$-$^$9!#(B 12.160 12.161 12.162 + 12.163 12.164 File: yatexj, Node: Print out, Prev: Calling previewer, Up: Invocation 12.165 12.166 @@ -268,6 +294,7 @@ 12.167 12.168 $B$N$h$&$K5/F0$7$F$/$@$5$$!#(B 12.169 12.170 + 12.171 12.172 File: yatexj, Node: %#notation, Next: Completion, Prev: Invocation, Up: Top 12.173 12.174 @@ -285,6 +312,7 @@ 12.175 * lpr format:: $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B 12.176 * Editing %# notation:: %#$B5-K!$NJT=8(B 12.177 12.178 + 12.179 12.180 File: yatexj, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation 12.181 12.182 @@ -299,6 +327,7 @@ 12.183 NTT jTeX $B$H!"(BASCII jTeX $B$r;H$$J,$1$?$$$h$&$J>l9g$KJXMx$G$7$g$&!#(B 12.184 12.185 12.186 + 12.187 12.188 File: yatexj, Node: Splitting input files, Next: Fix region for typesetting, Prev: Changing typesetter, Up: %#notation 12.189 12.190 @@ -330,13 +359,14 @@ 12.191 12.192 1. $B%5%V%G%#%l%/%H%j$r:n$C$F!"$=$NCf$K%5%V%U%!%$%k$rCV$/$3$H$O$G$-$k$,%5(B 12.193 $B%V%G%#%l%/%H%j$N%5%V%G%#%l%/%H%j$K$OCV$1$J$$!#(B 12.194 - 2. $B%a%$%s%U%!%$%k$+$i%5%V%G%#%l%/%H%jFb$N%U%!%$%k$r(B include$B$9$k;~$K$O!"(B 12.195 + 2. $B%a%$%s%U%!%$%k$+$i%5%V%G%#%l%/%H%jFb$N%U%!%$%k$r(B include $B$9$k;~$K$O!"(B 12.196 $BAjBP%Q%9;XDj$rMQ$$$F!"(B`\include{chap1/sub}'$B$N$h$&$K5-=R!#(B 12.197 3. $B%a%$%s%U%!%$%k$,0l$D>e$N%G%#%l%/%H%j$K$"$k>l9g$b!"%5%V%U%!%$%k$K$O(B 12.198 %#!platex main.tex $B$N$h$&$K5-=R$9$k(B(../main$B$G$O$J$$(B)$B!#(B 12.199 12.200 12.201 12.202 + 12.203 12.204 File: yatexj, Node: Fix region for typesetting, Next: lpr format, Prev: Splitting input files, Up: %#notation 12.205 12.206 @@ -370,8 +400,9 @@ 12.207 tabular $B4D6-$r2?EY$b;n9T:x8m$7$F$$$k$h$&$J>l9g$O!"(B`\begin'$B$NA0$N9T$K(B 12.208 `%#BEGIN' $B$H=q$-!"(B`\end' $B$N<!$N9T$K(B `%#END' $B$H=q$$$F$*$/$H4JC1$K:nI=7k2L$r(B 12.209 $B%F%9%H$9$k$3$H$,$G$-$^$9!#$^$?!"D9$$(B .tex $B%U%!%$%k$N8eH>$K(B `%#BEGIN' $B$r=q(B 12.210 -$B$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND$B$N>C$7K:$l$K$O==J,$4Cm(B 12.211 -$B0U2<$5$$!#(B 12.212 +$B$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND $B$N>C$7K:$l$K$O==J,$4(B 12.213 +$BCm0U2<$5$$!#(B 12.214 + 12.215 12.216 12.217 12.218 @@ -410,6 +441,7 @@ 12.219 12.220 $B$J$I$H$9$k$N$bJXMx$+$b$7$l$^$;$s!#(B 12.221 12.222 + 12.223 12.224 File: yatexj, Node: Editing %# notation, Prev: lpr format, Up: %#notation 12.225 12.226 @@ -430,6 +462,7 @@ 12.227 $B$r(B `%#BEGIN' $B!A(B `%#END' $B$G3g$j$?$$;~$O!"(B`b'$B$r2!$7$^$9!#(B`b'$B$rA*$s$@;~$K$O!"(B 12.228 $B$=$l$^$G%P%C%U%!Cf$KCV$+$l$F$$$?(B `%#BEGIN', `%#END' $B$,<+F0E*$K>C5n$5$l$^$9!#(B 12.229 12.230 + 12.231 12.232 File: yatexj, Node: Completion, Next: Local dictionary, Prev: %#notation, Up: Top 12.233 12.234 @@ -451,6 +484,7 @@ 12.235 * Image completion:: $B?t<05-9f%$%a!<%8Jd40(B 12.236 * Greek letter completion:: $B%.%j%7%cJ8;zJd40(B 12.237 12.238 + 12.239 12.240 File: yatexj, Node: begin$B7?Jd40(B, Next: section$B7?Jd40(B, Prev: Completion, Up: Completion 12.241 12.242 @@ -463,7 +497,7 @@ 12.243 `[prefix] b' 12.244 ... begin $B7?Jd403+;O(B($BI8=`$G$O(B `C-c b') 12.245 12.246 -$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$k<!$N(B LaTeX $B4D6-$NJd40$O!"(B[prefix] `b'$B$KB3$/(B 12.247 +$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$k<!$N(B LaTeX $B4D6-$NJd40$O!"(B[prefix] `b' $B$KB3$/(B 12.248 $B<!$N(B1$BJ8;z$rF~NO$9$k$@$1$G!"(B`\begin{xxx}...\end{xxx}'$B$r40@.$5$;$^$9!#(B 12.249 12.250 `[prefix] b c' 12.251 @@ -530,7 +564,7 @@ 12.252 12.253 $B$H$3$m$G!":G=i$K=q$$$F$7$^$C$?%V%m%C%/$r8e$+$i!"(Bitemize $B4D6-$NCf$KJD$8$3(B 12.254 $B$a$?$$$H;W$&$3$H$,$"$j$^$9$,!"$=$N$h$&$J$H$-$O!"$"$i$+$8$aJD$8$3$a$?$$CJMn(B 12.255 -$B$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B `[prefix]'$B$N<!$N!X>.J8;z$N(B 'b'$B!Y(B 12.256 +$B$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B `[prefix]' $B$N<!$N!X>.J8;z$N(B 'b'$B!Y(B 12.257 $B$r!XBgJ8;z!Y$KJQ$($F5/F0$7$F2<$5$$!#(B($B$^$?$O!"(B`C-u' $B$r@h$KBG$A!"(Buniversal 12.258 argument $B$r$D$1$F$b2DG=$G$9(B) 12.259 12.260 @@ -545,6 +579,7 @@ 12.261 `b' $B$rBgJ8;z$KJQ$($F!"(B`[prefix] B SPC' $B$H%?%$%W$9$l$P!"$"$i$+$8$a%^!<%/$7(B 12.262 $B$F$*$$$?%j%8%g%s$r!"(Bbegin $B$H(B end $B$N4D6-$G3g$j$^$9!#(B 12.263 12.264 + 12.265 12.266 File: yatexj, Node: section$B7?Jd40(B, Next: large$B7?Jd40(B, Prev: begin$B7?Jd40(B, Up: Completion 12.267 12.268 @@ -597,6 +632,7 @@ 12.269 * view-sectioning:: $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B 12.270 * label-generation:: $B%i%Y%k<+F0@8@.(B 12.271 12.272 + 12.273 12.274 File: yatexj, Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Next: Enclose section-type command, Prev: section$B7?Jd40(B, Up: section$B7?Jd40(B 12.275 12.276 @@ -624,6 +660,7 @@ 12.277 $B$$$F8D?t$r;XDj$7D>$9$3$H$G!"<+F0E*$K<-=qCf$N0z?t$N8D?t$NItJ,$r99?7$7$^$9!#(B 12.278 12.279 12.280 + 12.281 12.282 File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Up: section$B7?Jd40(B 12.283 12.284 @@ -633,6 +670,7 @@ 12.285 $B$^$?!"5/F0%3%^%s%I$N(B`s'$B$rBgJ8;z$KJQ$($F5/F0$9$k$H!"$"$i$+$8$a=q$$$?J8>O(B 12.286 $B$r(B section $B7?%3%^%s%I$NBh0l0z?t$H$7$F3g$j$^$9!#(B 12.287 12.288 + 12.289 12.290 File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section$B7?Jd40(B 12.291 12.292 @@ -640,10 +678,11 @@ 12.293 -------- 12.294 12.295 $B9bEY$J;H$$J}$K$J$k$+$b$7$l$^$;$s$,!"(Bsection$B7?Jd40$N0z?t$NF~NO;~$K$5$i$K(B 12.296 -$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection 12.297 +$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection 12.298 $B7?%3%^%s%I$N0z?t$K99$K(B LaTeX $B%3%^%s%I$,Mh$k>l9g$K$O%_%K%P%C%U%!$GLnD;$NJd(B 12.299 $B40%-!<$r:F5"E*$KF~NO$9$k$3$H$G0z?t$NF~NO$b8zN(E*$K9T$J$($^$9!#(B 12.300 12.301 + 12.302 12.303 File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section$B7?Jd40(B 12.304 12.305 @@ -688,6 +727,7 @@ 12.306 ... $B%l%Y%k(B n $B0J2<$N%;%/%7%g%s%3%^%s%I$r1#$7$FI=<((B 12.307 12.308 12.309 + 12.310 12.311 File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section$B7?Jd40(B 12.312 12.313 @@ -701,6 +741,7 @@ 12.314 $B$F$N%+%&%s%?$K%i%Y%k$r$D$1$k$N$b$?$$$X$s$G$9!#$b$&%i%Y%kL>$K2?$r$D$1$k$+!"(B 12.315 $B%i%Y%k$r$D$1$k$+$D$1$^$$$+!"$J$I$H$$$&$3$H$OK:$l$^$7$g$&(B! 12.316 12.317 + 12.318 12.319 File: yatexj, Node: large$B7?Jd40(B, Next: maketitle$B7?Jd40(B, Prev: section$B7?Jd40(B, Up: Completion 12.320 12.321 @@ -729,6 +770,7 @@ 12.322 $B;z$NHO0O$r%^!<%/$7$F$+$i!"8F$S=P$7%-!<$r(B `[prefix] L' $B$H!"BgJ8;z$N(B L $B$KJQ(B 12.323 $B$($F8F$S=P$;$P!"$=$N%j%8%g%sA4BN$,!"%V%l!<%9$G0O$^$l$^$9!#(B 12.324 12.325 + 12.326 12.327 File: yatexj, Node: maketitle$B7?Jd40(B, Next: Arbitrary completion, Prev: large$B7?Jd40(B, Up: Completion 12.328 12.329 @@ -743,6 +785,7 @@ 12.330 $B$G!"(Bmaketitle $B7?Jd40$r3+;O$7$^$9!#Jd40$NMWNN$O:#$^$G$N$b$N$H$^$C$?$/F1$8$G(B 12.331 $B$9!#(BLaTeX $BMQ$N%3%^%s%IL>$,Jd408uJd$H$7$FMQ0U$5$l$F$$$^$9!#(B 12.332 12.333 + 12.334 12.335 File: yatexj, Node: Arbitrary completion, Next: end$BJd40(B, Prev: maketitle$B7?Jd40(B, Up: Completion 12.336 12.337 @@ -759,6 +802,7 @@ 12.338 $B$rF~NO$9$l$P!"A4$F$NJd408uJd$NCf$+$i0lCW$9$k$b$N$,A*$P$l%+!<%=%k0LCV$KA^F~(B 12.339 $B$5$l$^$9!#(B 12.340 12.341 + 12.342 12.343 File: yatexj, Node: end$BJd40(B, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion 12.344 12.345 @@ -775,6 +819,7 @@ 12.346 12.347 $B$H$9$k$3$H$G!"8=:_3+$$$F$$$k4D6-L>$G(B \end{} $B$,Jd$o$l$^$9!#(B 12.348 12.349 + 12.350 12.351 File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end$BJd40(B, Up: Completion 12.352 12.353 @@ -801,6 +846,7 @@ 12.354 12.355 $B$,40@.$5$l!"%+!<%=%k$O(B{}$B$N30$KLa$j$^$9!#(B 12.356 12.357 + 12.358 12.359 File: yatexj, Node: Image completion, Next: Greek letter completion, Prev: Accent mark completion, Up: Completion 12.360 12.361 @@ -816,8 +862,8 @@ 12.362 $B$N$h$&$K$7$^$9$,!"$3$l$rMxMQ$7$F!"?t<05-9f%$%a!<%8F~NO%b!<%I$G(B 12.363 `\leftarrow'$B$rF~NO$9$k$K$O!"(B`;'($B%;%_%3%m%s(B)$B$rBG$C$F$+$i(B`<-'$B$HF~NO$7$^$9!#(B 12.364 $BF1MM$K!"D9$$Lp0u"+(B-(long-leftarrow) $B$r(BASCII$BJ8;z$@$1$GI=8=$9$k>l9g!V(B<--$B!W$H(B 12.365 -$B$9$k$N$G!"(B`\longleftarrow'$B$rF~NO$9$k$?$a$K$O!"(B`;<--'$B$HF~NO$7$^$9!#$"$k$$$O(B 12.366 -$BL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&$K$9$k$3$H$+$i!"(B 12.367 +$B$9$k$N$G!"(B`\longleftarrow'$B$rF~NO$9$k$?$a$K$O!"(B`;<--' $B$HF~NO$7$^$9!#$"$k$$(B 12.368 +$B$OL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&$K$9$k$3$H$+$i!"(B 12.369 `\infty' $B$rF~NO$9$k;~$O!"(B`;oo'$B$H%-!<F~NO$7$^$9!#(B 12.370 12.371 $B$3$l$i$NA`:n$r$^$H$a$k$H<!$N$h$&$K$J$j$^$9!#(B 12.372 @@ -855,9 +901,10 @@ 12.373 12.374 $BF~NO%-!<$H(B LaTeX $B%3%^%s%I!"5-9f$NBP1~I=$r8D?ME*$K@_Dj$7$?$$>l9g$O(B 12.375 Emacs-Lisp $BJQ?t(B `YaTeX-math-sign-alist-private' $B$KDj5A$7$F$/$@$5$$!#$=$NFb(B 12.376 -$BMF$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}$,(B 12.377 -$BM%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B `yatexmth.el' $B$r;2>H$7$F$/$@$5(B 12.378 -$B$$!#(B 12.379 +$BMF$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}(B 12.380 +$B$,M%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B `yatexmth.el' $B$r;2>H$7$F$/$@(B 12.381 +$B$5$$!#(B 12.382 + 12.383 12.384 12.385 File: yatexj, Node: Greek letter completion, Prev: Image completion, Up: Completion 12.386 @@ -876,6 +923,7 @@ 12.387 $B@)E*$K%$%a!<%8Jd40$KF~$k$3$H$,$G$-$^$9!#$^$?!"$3$N;~$K$I$N$h$&$J>uBV$G?t<0(B 12.388 $B4D6-FbH=Dj$K<:GT$7$?$+$r$4O"Mm2<$5$$!#(B 12.389 12.390 + 12.391 12.392 File: yatexj, Node: Local dictionary, Next: Commenting out, Prev: Completion, Up: Top 12.393 12.394 @@ -893,8 +941,9 @@ 12.395 `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard 12.396 12.397 $B$H$$$&%W%m%s%W%H$KBP$7!"(B`u'$B$HEz$($k$H!V%f!<%6<-=q!W$r!"(B`l'$B$HEz$($k$H%m!<%+(B 12.398 -$B%k<-=q$r99?7$7!"(B`n'$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs$B%;%C%7%g%s$N(B 12.399 -$B$_M-8z$JC18l$H$7!"(B`d'$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$K<N$F$k$3$H$K$J$j$^$9!#(B 12.400 +$B%k<-=q$r99?7$7!"(B`n'$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs $B%;%C%7%g%s(B 12.401 +$B$N$_M-8z$JC18l$H$7!"(B`d'$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$K<N$F$k$3$H$K$J$j$^(B 12.402 +$B$9!#(B 12.403 12.404 $B$b$7!"%m!<%+%k<-=q$N5!G=$O$$$i$:!"A4$F%f!<%6<-=q$N99?7$N$_$G$h$$$H8@$&>l(B 12.405 $B9g$K$O(B`~/.emacs'$B$J$I$G!"(B 12.406 @@ -903,6 +952,7 @@ 12.407 12.408 $B$H$7$F2<$5$$!#(B 12.409 12.410 + 12.411 12.412 File: yatexj, Node: Commenting out, Next: Cursor jump, Prev: Local dictionary, Up: Top 12.413 12.414 @@ -952,6 +1002,7 @@ 12.415 `[preifx] >' $B$r2!$7$F$b%+!<%=%k$,(B `\begin{}' $B$N>e$K$"$k$H(B`\begin{}'$B!A(B 12.416 `\end{}'$B%b!<%I$G%3%a%s%H5!G=$,F/$$$F$7$^$&$N$GCm0U$7$F2<$5$$!#(B 12.417 12.418 + 12.419 12.420 File: yatexj, Node: Cursor jump, Next: Modifying/Deleting, Prev: Commenting out, Up: Top 12.421 12.422 @@ -967,6 +1018,7 @@ 12.423 * $B4D6-$rC10L$H$7$?%8%c%s%W(B:: 12.424 * $B:G8e$NJd400LCV$X$N%8%c%s%W(B:: 12.425 12.426 + 12.427 12.428 File: yatexj, Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Next: $B$*3(IA$-%D!<%k5/F0(B, Prev: Cursor jump, Up: Cursor jump 12.429 12.430 @@ -1005,6 +1057,7 @@ 12.431 $B$3$N5!G=$O(B `begin/end', `%#BEGIN/%#END' $B4V$N%8%c%s%W$KBP$7$F$O(B($B0UL#$,$J$$(B 12.432 $B$H;W$o$l$k$N$G(B)$B5!G=$7$J$$$N$GCm0U$7$F$/$@$5$$!#(B 12.433 12.434 + 12.435 12.436 File: yatexj, Node: $B$*3(IA$-%D!<%k5/F0(B, Next: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Prev: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Up: Cursor jump 12.437 12.438 @@ -1034,6 +1087,7 @@ 12.439 $B2<$5$$!#$&$^$/@_Dj$9$k$H!"2hA|%U%!%$%k$K$+$.$i$:!"G$0U$N7A<0$N%U%!%$%k$rG$(B 12.440 $B0U$N%W%m%;%C%5$G=hM}$9$k%3%^%s%I$r4JC1$K8F$S=P$9$3$H$,$G$-$^$9!#(B 12.441 12.442 + 12.443 12.444 File: yatexj, Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Next: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Prev: $B$*3(IA$-%D!<%k5/F0(B, Up: Cursor jump 12.445 12.446 @@ -1051,6 +1105,7 @@ 12.447 $B%*!<%W%s$7$F$$$J$$>l9g$O!"%+%l%s%H%G%#%l%/%H%j$+$iC5$7$F<+F0E*$K%*!<%W%s$7(B 12.448 $B$^$9!#(B 12.449 12.450 + 12.451 12.452 File: yatexj, Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Next: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Up: Cursor jump 12.453 12.454 @@ -1069,6 +1124,7 @@ 12.455 $B>e5-$N%3%^%s%I$ODL>o$N(B`[prefix]'$B%-!<$G$O$J$/(B`META'$B%-!<$r%W%j%U%#%/%9$H$7$F(B 12.456 $B5!G=$9$k$N$G$4Cm0U2<$5$$!#(B 12.457 12.458 + 12.459 12.460 File: yatexj, Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Up: Cursor jump 12.461 12.462 @@ -1079,6 +1135,7 @@ 12.463 $B$k%U%!%$%k$NG!2?$J$k0LCV$K9T$C$?$H$7$F$b!"(B`C-x j 3'(`jump-to-register')$B$r(B 12.464 $B;H$C$FD>$A$K:G8e$NJd40F~NO0LCV$KLa$k$3$H$,$G$-$^$9!#(B 12.465 12.466 + 12.467 12.468 File: yatexj, Node: Modifying/Deleting, Next: Filling, Prev: Cursor jump, Up: Top 12.469 12.470 @@ -1101,6 +1158,7 @@ 12.471 * Changing LaTeX command:: LaTeX $B%3%^%s%I$NJQ99(B 12.472 * Killing LaTeX command:: LaTeX $B%3%^%s%I$N:o=|(B 12.473 12.474 + 12.475 12.476 File: yatexj, Node: Changing LaTeX command, Next: Killing LaTeX command, Prev: Modifying/Deleting, Up: Modifying/Deleting 12.477 12.478 @@ -1123,6 +1181,7 @@ 12.479 $B$+$i=|30$9$k$3$H$,$G$-$^$9!#(B 12.480 12.481 12.482 + 12.483 12.484 File: yatexj, Node: Killing LaTeX command, Prev: Changing LaTeX command, Up: Modifying/Deleting 12.485 12.486 @@ -1150,6 +1209,7 @@ 12.487 $BK\J8(B\footnote{$B5SCm(B}$B$G$9!#(B $BK\J85SCm$G$9!#(B $BK\J8$G$9!#(B 12.488 $B",(B($B%+!<%=%k0LCV(B) 12.489 12.490 + 12.491 12.492 File: yatexj, Node: Filling, Next: Includeonly, Prev: Modifying/Deleting, Up: Top 12.493 12.494 @@ -1206,6 +1266,7 @@ 12.495 $B$h$j(B fill-prefix $B$r$$$A$$$AJQ99$7$J$/$F7eB7$($,$G$-$^$9!#(B 12.496 12.497 12.498 + 12.499 12.500 File: yatexj, Node: Includeonly, Next: What column, Prev: Filling, Up: Top 12.501 12.502 @@ -1227,10 +1288,11 @@ 12.503 12.504 A)dd R)eplace %)comment? 12.505 12.506 -$B8=:_JT=8Cf$N%U%!%$%k$r(B `\includeonly' $B$N%j%9%H$K2C$($?$$;~$K$O(B`a'$B$r!"8=:_(B 12.507 +$B8=:_JT=8Cf$N%U%!%$%k$r(B `\includeonly' $B$N%j%9%H$K2C$($?$$;~$K$O(B`a' $B$r!"8=:_(B 12.508 $BJT=8Cf$N%U%!%$%k$@$1$r(B `\includeonly' $B$K$7$?$$;~$O(B`r'$B$r!"(B`\includeonly' $B$N(B 12.509 $B9T$r%3%a%s%H%"%&%H$7$FL58z2=$7$?$$;~$K$O!"(B`%'$B$r$=$l$>$l2!$7$F2<$5$$!#(B 12.510 12.511 + 12.512 12.513 File: yatexj, Node: What column, Next: Intelligent newline, Prev: Includeonly, Up: Top 12.514 12.515 @@ -1260,6 +1322,7 @@ 12.516 $B$9!#$b$79`L\L>$H$7$FJL$N$b$N$rI=<($7$FM_$7$$>l9g$O!"9TF,$r(B`%'$B$K$7$F%@%_!<(B 12.517 $B$N9`L\JB$S$r:n$C$F$*$/$HNI$$$G$7$g$&!#(B 12.518 12.519 + 12.520 12.521 File: yatexj, Node: Intelligent newline, Next: Usepackage cheker, Prev: What column, Up: Top 12.522 12.523 @@ -1302,6 +1365,7 @@ 12.524 $B$K$7$F$/$@$5$$!#(B 12.525 12.526 12.527 + 12.528 12.529 File: yatexj, Node: Usepackage cheker, Next: Changing mode of YaTeX, Prev: Intelligent newline, Up: Top 12.530 12.531 @@ -1317,6 +1381,7 @@ 12.532 $B72$r(Balist$B$N7A<0$GJQ?t(B `YaTeX-package-alist-private' $B$K@_Dj$7$F$*$/I,MW$,$"(B 12.533 $B$j$^$9!#(B 12.534 12.535 + 12.536 12.537 File: yatexj, Node: Changing mode of YaTeX, Next: Online help, Prev: Usepackage cheker, Up: Top 12.538 12.539 @@ -1342,6 +1407,7 @@ 12.540 $B%I$r<jF0$G@Z$jBX$($k$HNI$$$G$7$g$&!#(B 12.541 12.542 12.543 + 12.544 12.545 File: yatexj, Node: Online help, Next: Inclusion hierarchy browser, Prev: Changing mode of YaTeX, Up: Top 12.546 12.547 @@ -1383,6 +1449,7 @@ 12.548 $B$9$k@bL@$r=q$$$?$J$i$P$<$R;d$^$G$=$N@bL@$r$*Aw$j2<$5$$!#<!2s$NG[I[$K4^$a$?(B 12.549 $B$$$H;W$$$^$9!#(B 12.550 12.551 + 12.552 12.553 File: yatexj, Node: Inclusion hierarchy browser, Next: Cooperation with other packages, Prev: Online help, Up: Top 12.554 12.555 @@ -1445,6 +1512,7 @@ 12.556 $B$?$@$7!"NY$N%&%#%s%I%&$N%U%!%$%k$NFbMF$rI=<($9$k5!G=$K4X$7$F$O!"BP1~$9$k(B 12.557 $B%U%!%$%k$r%/%m!<%:$7$F$7$^$&$H$&$^$/F/$-$^$;$s$N$G$4Cm0U$/$@$5$$!#(B 12.558 12.559 + 12.560 12.561 File: yatexj, Node: Cooperation with other packages, Next: Customizations, Prev: Inclusion hierarchy browser, Up: Top 12.562 12.563 @@ -1467,6 +1535,7 @@ 12.564 `min-out.el' (`outline-minor-mode') $B$HLnD;$rAH$_9g$o$;$F;H$&$3$H$b$b$A$m(B 12.565 $B$s2DG=$G$9!#@_Dj$NJ}K!$K4X$7$F$O(B`yatexm-o.el'$B$r$4Mw$/$@$5$$!#(B 12.566 12.567 + 12.568 12.569 File: yatexj, Node: Customizations, Next: Etc, Prev: Cooperation with other packages, Up: Top 12.570 12.571 @@ -1482,6 +1551,7 @@ 12.572 * Lisp variables:: lisp $BJQ?t(B 12.573 * Add-in functions:: $BIU2C4X?t(B($B%"%I%$%s4X?t(B) 12.574 12.575 + 12.576 12.577 File: yatexj, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations 12.578 12.579 @@ -1503,6 +1573,7 @@ 12.580 * Hook variables:: hook$BJQ?t(B 12.581 * Hook file:: hook$BMQ%U%!%$%k(B 12.582 12.583 + 12.584 12.585 File: yatexj, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables 12.586 12.587 @@ -1528,8 +1599,8 @@ 12.588 $B3X=,$7$?(BLaTeX$B%3%^%s%IJ]B8%U%!%$%kL>(B (`"~/.yatexrc"') 12.589 12.590 -- Variable: YaTeX-kanji-code 12.591 - $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(Bnil=$B4{B8$N%3!<%I$N$^$^(B 12.592 - 0=no-conversion1=Shift JIS, 2=JIS, 3=EUC (2 (MS-DOS$B$G$O(B1)) 12.593 + $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(Bnil=$B4{B8$N%3!<%I$N$^$^(B 0=no-conversion 12.594 + 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS$B$G$O(B1)) 12.595 12.596 -- Variable: tex-command 12.597 LaTeX$B%?%$%W%;%C%?%3%^%s%IL>(B (`"platex"') 12.598 @@ -1551,6 +1622,9 @@ 12.599 -- Variable: makeindex-command 12.600 makeindex$B%3%^%s%I(B (`"makeindex"' (MS-DOS$B$G$O(B`"makeind"')) 12.601 12.602 + -- Variable: YaTeX-dvipdf-command 12.603 + dvi$B$r(BPDF$B$KJQ49$9$k%3%^%s%I(B (`"dvipdfmx"') 12.604 + 12.605 -- Variable: YaTeX-need-nonstop 12.606 `\nonstopmode{}'$B$r<+F0E*$KIU2C$9$k$+(B (`nil') 12.607 12.608 @@ -1652,7 +1726,7 @@ 12.609 12.610 -- Variable: YaTeX-hilit-sectioning-attenuation-rate 12.611 $B?'IU$1$,M-8z$J;~$N!"(B`\subparagraph' $B$N?'$r(B `\chapter' $B$NG;EY$N2?(B%$BGv$/(B 12.612 - $B$7$?$b$N$K$9$k$+(B (`'(15 40)') `YaTeX-hilit-sectioning-face'$B$N9`;2>H!#(B 12.613 + $B$7$?$b$N$K$9$k$+(B (`'(15 40)') `YaTeX-hilit-sectioning-face' $B$N9`;2>H!#(B 12.614 12.615 -- Variable: YaTeX-use-AMS-LaTeX 12.616 AMS-LaTeX $B$r;HMQ$9$k>l9g$O(B `t' $B$K@_Dj$9$k(B (`nil') 12.617 @@ -1671,8 +1745,8 @@ 12.618 (`(featurep 'font-lock)') 12.619 12.620 -- Variable: YaTeX-use-hilit19 12.621 - $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B(`(featurep ' 12.622 - hilit19)') 12.623 + $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B(`(featurep 12.624 + 'hilit19)') 12.625 12.626 -- Variable: YaTeX-use-italic-bold 12.627 italic, bold$B%U%)%s%H$rLnD;$,C5$9$+$I$&$+(B (Emacs20$B0J9_$J$i(B`t') 12.628 @@ -1686,15 +1760,12 @@ 12.629 LaTeX2e$B$N%Q%C%1!<%8L>$H$=$NCf$K4^$^$l$k%^%/%m$N%j%9%H!#E,@Z$K@_Dj$7$F(B 12.630 $B$*$/$HK\J8F~NO;~$K%^%/%m$rJd40F~NO$9$k$H$=$N%^%/%m$KI,MW$J%Q%C%1!<%8(B 12.631 $B$r(B usepackage $B$9$k$+<+F0E*$K8!::$7$F$/$l$k!#$7$F$$$J$1$l$P(B 12.632 - \usepackage $B$r<+F0DI2C$9$k$3$H$b$G$-$k!#%j%9%H$O(B 12.633 - '(($B%Q%C%1!<%8L>(B1 12.634 - ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) 12.635 - ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B)) 12.636 - ($B%Q%C%1!<%8L>(B2 12.637 - ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) 12.638 - ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B))$B!D!D!D(B)$B$H$$$&7A<0$K$9$k!#(B 12.639 - $BJd40%?%$%W$O(B `env, section, maketitle' $B$N$I$l$+!#6qBNNc$OJQ?t(B 12.640 - `YaTeX-package-alist-default'$B$NCM;2>H!#(B 12.641 + \usepackage $B$r<+F0DI2C$9$k$3$H$b$G$-$k!#%j%9%H$O(B'(($B%Q%C%1!<%8L>(B1 ($BJd(B 12.642 + $B40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B)) ($B%Q%C%1!<(B 12.643 + $B%8L>(B2 ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) ($BJd40%?%$%W(B $B%^%/%m$N%j%9(B 12.644 + $B%H!D!D(B))$B!D!D!D(B) $B$H$$$&7A<0$K$9$k!#Jd40%?%$%W$O(B `env, section, 12.645 + maketitle' $B$N$I$l$+!#6qBNNc$OJQ?t(B `YaTeX-package-alist-default' $B$NCM(B 12.646 + $B;2>H!#(B 12.647 12.648 -- Variable: YaTeX-tabular-indentation 12.649 tabular/array $B4D6-$G8=:_9T$N@hF,0LCV$,I=$NBh(BN$B%+%i%`$N$H$-$OI8=`%$%s%G(B 12.650 @@ -1731,6 +1802,7 @@ 12.651 (concat command ":" value) 12.652 (YaTeX::ref-generate-label nil nil)))) 12.653 12.654 + 12.655 12.656 File: yatexj, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables 12.657 12.658 @@ -1747,6 +1819,7 @@ 12.659 12.660 $B$r(B `~/.emacs' $B$K2C$($^$9!#(B 12.661 12.662 + 12.663 12.664 File: yatexj, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables 12.665 12.666 @@ -1764,8 +1837,8 @@ 12.667 '(lambda () (outline-minor-mode t))) 12.668 12.669 $B5U$K!"FH<+$N%-!<Dj5A$r9T$$$?$$;~$J$I$O!"(B`yatex-mode-load-hook' $B$rMxMQ$7$^(B 12.670 -$B$9!#Nc$($P!"(Bbegin $B7?Jd40$K$*$$$F!"(B document $B$d!"(Benumerate $B0J30$N4D6-L>$b%7%g!<(B 12.671 -$B%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"<!$N$h$&$K$7$^$9!#0J2<$NNc$O!"(B 12.672 +$B$9!#Nc$($P!"(Bbegin $B7?Jd40$K$*$$$F!"(B document $B$d!"(Benumerate $B0J30$N4D6-L>$b(B 12.673 +$B%7%g!<%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"<!$N$h$&$K$7$^$9!#0J2<$NNc$O!"(B 12.674 `[prefix] ba' $B$G(B `\begin{abstract}', `\end{abstract}' $B$rA^F~$7$^$9!#(B 12.675 12.676 (setq yatex-mode-load-hook 12.677 @@ -1774,6 +1847,7 @@ 12.678 $B$J$*!"?7$?$J%-!<$NDj5A$K$O!"4X?t(B `YaTeX-define-key' 12.679 `YaTeX-define-begend-key'$B$rMxMQ$9$k$h$&$K$7$F$/$@$5$$!#(B 12.680 12.681 + 12.682 12.683 File: yatexj, Node: Hook file, Prev: Hook variables, Up: Lisp variables 12.684 12.685 @@ -1785,6 +1859,7 @@ 12.686 $B%I$7$^$9!#(B 12.687 12.688 12.689 + 12.690 12.691 File: yatexj, Node: Add-in functions, Prev: Lisp variables, Up: Customizations 12.692 12.693 @@ -1795,6 +1870,7 @@ 12.694 $B$k$?$a$N4X?t$r:n@.$9$k$3$H$,$G$-$^$9!#$3$N4X?t$N:n@.J}K!$d!"AH$_9~$_J}K!$K(B 12.695 $B4X$7$F$O!"(B`yatexadd.doc' $B$r$4Mw$/$@$5$$!#(B 12.696 12.697 + 12.698 12.699 File: yatexj, Node: Etc, Next: Copying, Prev: Customizations, Up: Top 12.700 12.701 @@ -1807,6 +1883,7 @@ 12.702 $B<-=q$K$J$$%3%^%s%I$b!"$G$-$k$@$1Jd40F~NOJ}<0$rMxMQ$7!"%f!<%6<-=q$r=<<B$5$;(B 12.703 $B$k$3$H$G!"$"$J$?$N(B LaTeX $B%9%?%$%k$K$"$C$?LnD;$X$H0i$C$F$$$/$3$H$G$7$g$&!#(B 12.704 12.705 + 12.706 12.707 File: yatexj, Node: Copying, Next: Concept Index, Prev: Etc, Up: Top 12.708 12.709 @@ -1824,13 +1901,14 @@ 12.710 12.711 $B6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O(B yuuji@yatex.org $B$^(B 12.712 $B$G(B(2004$BG/(B1$B7n8=:_(B)$B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N(B 12.713 -$B2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B `docs/qanda' 12.714 +$B2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B `docs/qanda' 12.715 $B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B 12.716 12.717 $B;EMM$O!"M=9p$J$/3N<B$K(B($B5$J,<!Bh$G(B)$BJQ99$5$l$^$9(B:-p$B!#(B 12.718 12.719 $B9-@%M:Fs(B 12.720 12.721 + 12.722 12.723 File: yatexj, Node: Concept Index, Prev: Copying, Up: Top 12.724 12.725 @@ -1841,117 +1919,114 @@ 12.726 12.727 * :: Greek letter completion. 4. 12.728 * ;: Image completion. 4. 12.729 +* ,C0(B[,B5-\(B]: Image completion. 4. 12.730 +* 括,Bi(B[,B--i(B]: Enclose section-type command. 4. 12.731 +* 括,Bi(B[,B--i(B]: large型補(J.(B. 21. 12.732 +* ,Hx数(B[,BP+7$(B]: 2,LB,HH(B上,BL,Hx数,BpFi(B section型コマンド. 4. 12.733 +* (I"(Bカ[,B($Sq(B]: Accent mark completion. 4. 12.734 +* ;自身[;,B55q(B]: Image completion. 31. 12.735 +* ∞[,B^/q="(B]: Image completion. 4. 12.736 +* 矢,Hs(B[,Bb5i5(B]: Image completion. 4. 12.737 +* ブロック[,BSkB-(B]: begin型補(J.(B. 81. 12.738 +* ヒストリ[,BP7Fh(B]: Cooperation with other packages. 8. 12.739 +* 桁揃,B&(B[,B/=;k&(B]: Filling. 4. 12.740 +* ,Bb?e$(B[,Bb?f$(B]: Intro. 4. 12.741 +* ジャンプ[,B5bqS(B]: view-sectioning. 42. 12.742 +* &入力[&,BId$hf-(B]: Intelligent newline. 4. 12.743 +* 設定例[,B9BD"j"(B]: Sample definitions. 4. 12.744 +* 随時補(J.(B[,B7"5Y)q(B]: Arbitrary completion. 4. 12.745 +* 閉,B6(B,B_i(B[,BF51_i(B]: begin型補(J.(B. 81. 12.746 +* ,MD(B帰補(J.(B[,B3"+Y)q(B]: Recursive completion. 4. 12.747 +* ユーザ辞書[,Bd$355f(B]: begin型補(J.(B. 71. 12.748 +* 論理階層[,Bkqh)";$(B]: view-sectioning. 42. 12.749 +* ,B11MG1(B?[,B11MF1(B?]: What column. 4. 12.750 +* ,B((BG描,B+(Bcール起動[,B(&)+B$i+F$(B]: ,B((BG描,B+(Bcール起動. 4. 12.751 +* (JB(B境,BL(B謫ェ,BV(B[,B)q+f$L9qF$V(B]: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.752 +* (JB(B境,BL末(B,BV(B[,B)q+f$L\BPV(B]: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.753 +* (JB(B境,Bp(B}ーク[,B)q+f$p\ -(B]: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.754 +* カスタマイズ[,B)7=\"7(B]: Customizations. 4. 12.755 +* キーアサイン[,B+" 3"q(B]: Customizations. 4. 12.756 +* 数式モード[,B7$5+`(F(B]: Image completion. 4. 12.757 +* インストール[,B"q7F(i(B]: Installation. 4. 12.758 +* タイプセッタ[,B="S9B=(B]: Invocation. 4. 12.759 +* プレヴューア[,BSjPd$ (B]: Invocation. 4. 12.760 +* アウトライン[,B $Fg"q(B]: view-sectioning. 4. 12.761 +* ,Hx数,BL,LB数,Bp(Bマ,B&i(B[,BP+7$L17$p)&i(B]: 2,LB,HH(B上,BL,Hx数,BpFi(B section型コマンド. 24. 12.762 +* アクセント記号補(J.(B[,B -9qF+1$Y)q(B]: Accent mark completion. 4. 12.763 +* カスタマイズ変数,Hj(B覧[,B)7=\"7Vq7$"?gq(B]: All customizable variables. 4. 12.764 +* (JB(B境名,BL(B(J.(B[,B)q+f$_"LY)q(B]: begin型補(J.(B. 4. 12.765 +* エラー修正[,B&g 5d$9"(B]: Calling typesetter. 4. 12.766 +* タイプセッタ起動[,B="S9B=+F$(B]: Calling typesetter. 4. 12.767 +* タイプセットエラー[,B="S9BF&g (B]: Calling typesetter. 4. 12.768 +* (JB(B境名,BL(Bマ更[,B)q+f$_"LVq1$(B]: Changing LaTeX command. 20. 12.769 +* モード切,Bh(Bヨ,B&(B[,B`$F+h)&(B]: Changing mode of YaTeX. 4. 12.770 +* タイプセッタ,BL(B使,B"(Bェ,B/(B[,B="S9B=LB)"m/(B]: Changing typesetter. 12. 12.771 +* 起動,B7i(BRマンド,Bp(Bマ,B&i(B[,B+F$7i1\qFp)&i(B]: Changing typesetter. 7. 12.772 +* コメントアウト[,B1_qF $F(B]: Commenting out. 4. 12.773 +* 他パッケージ,BFL(BA携[,B=MB/&5FLjq/"(B]: Cooperation with other packages. 4. 12.774 +* コマンドヒストリ[,B1\qFP7Fh(B]: Cooperation with other packages. 8. 12.775 +* カーソルジャンプ[,B) ;i5bqS(B]: Cursor jump. 4. 12.776 +* %#記法自体,BL(Bメ集[%#,B+Y$5="LVq5d$(B]: Editing %# notation. 4. 12.777 +* パラグラフ,BL桁(Bオ,B&(B[,BMg-gSL/=;k&(B]: Filling. 46. 12.778 +* 領,Hf決(B闍K則[,Bhf$"+/BD"+;-(B]: Fix region for typesetting. 25. 12.779 +* 長,B"(Btァイル,BL(Bメ集[,BH)"S "iLVq5d$(B]: Fix region for typesetting. 34. 12.780 +* ,LE(B阯フ,Hf,BL(B^イプセット[,B1D"hf$"+L="S9BF(B]: Fix region for typesetting. 4. 12.781 +* ギリシャ文字補(J.(B[,B+h5b`5Y)q(B]: Greek letter completion. 4. 12.782 +* イメージ補(J.(B[,B"_&5Y)q(B]: Image completion. 4. 12.783 +* 数式記号イメージ補(J.(B[,B7$5++1$"_&5Y)q(B]: Image completion. 4. 12.784 +* 他,BL(Btァイル,BL(B手直,B5(B[,BY)LS "iLDH(5(B]: Includeonly. 11. 12.785 +* インクルード構造[,B"q-i$F1$;$(B]: Inclusion hierarchy browser. 4. 12.786 +* ,B(\)9(I|(Bs[,B(\)9)"+f$(B]: Intelligent newline. 4. 12.787 +* プリントアウト[,BShqF $F(B]: Invocation. 4. 12.788 +* (JB(B境,BL,Mm(B除[,B)q+f$L3-5f(B]: Killing LaTeX command. 6. 12.789 +* ラベル自動生成[,BgVi5F$9"9"(B]: label-generation. 4. 12.790 +* フォント指定子[,BS(qF5D"5(B]: large型補(J.(B. 17. 12.791 +* 文字サイズ指定子[,B`53"75D"5(B]: large型補(J.(B. 17. 12.792 +* ローカル辞書[,Bk()i55f(B]: Local dictionary. 4. 12.793 +* 変更/,Mm(B除[,BVq1$(B/,B3-5f(B]: Modifying/Deleting. 4. 12.794 +* グローバルヘルプ[,B-k(MiViS(B]: Online help. 16. 12.795 +* オンラインヘルプ[,B(qg"qViS(B]: Online help. 4. 12.796 +* キーワード検,Mu(B[,B+"m F/q3-(B]: Online help. 4. 12.797 +* プライベートヘルプ[,BSg"V&FViS(B]: Online help. 16. 12.798 +* 入力ファイル分割[,BId$hf-S "iSq)B(B]: Splitting input files. 11. 12.799 +* セクション区切,Bh,Hj(B覧バッファ[,B9-5fq-+h"?gqMBS (B]: view-sectioning. 18. 12.800 +* セクション区切,Bh(B[,B9-5fq-+h(B]: view-sectioning. 42. 12.801 +* ,L;,M],BL(BJラム表示[,B/q3"L)g^Pf$5(B]: What column. 22. 12.802 * apropos: Online help. 4. 12.803 * autoload: Installation. 4. 12.804 * auto-mode-alist: Installation. 4. 12.805 -* $B%0%m!<%P%k%X%k%W(B[$B$/$m$*$O$k$X$k$U(B]: Online help. 16. 12.806 -* $B0z?t(B[$B$R$-$9$&(B]: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 4. 12.807 -* $B0z?t$N8D?t$rJQ$($k(B[$B$R$-$9$&$N$3$9$&$r$+$($k(B]: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 24. 12.808 -* $B$*$^$+$;2~9T(B[$B$*$^$+$;$+$$$-$h$&(B]: Intelligent newline. 4. 12.809 -* $B&2(B[$B$7$/$^(B]: Image completion. 4. 12.810 -* $B2$J8(B[$B$*$&$U$s(B]: Accent mark completion. 4. 12.811 -* $B$3$3$O$I$3(B?[$B$3$3$O$H$3(B?]: What column. 4. 12.812 -* $B%3%a%s%H%"%&%H(B[$B$3$a$s$H$"$&$H(B]: Commenting out. 4. 12.813 -* $B3g$k(B[$B$/$/$k(B]: Enclose section-type command. 4. 12.814 -* $B3g$k(B[$B$/$/$k(B]: large$B7?Jd40(B. 21. 12.815 -* $B$*3(IA$-%D!<%k5/F0(B[$B$*$($+$-$D$&$k$-$H$&(B]: $B$*3(IA$-%D!<%k5/F0(B. 4. 12.816 -* $B%3%^%s%I%R%9%H%j(B[$B$3$^$s$H$R$9$H$j(B]: Cooperation with other packages. 8. 12.817 -* $B4D6-L>$NJd40(B[$B$+$s$-$h$&$a$$$N$[$+$s(B]: begin$B7?Jd40(B. 4. 12.818 -* $B4D6-L>$NJQ99(B[$B$+$s$-$h$&$a$$$N$X$s$3$&(B]: Changing LaTeX command. 20. 12.819 -* $B4D6-$N@hF,$X(B[$B$+$s$-$h$&$N$;$s$H$&$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.820 -* $B4D6-$NKvHx$X(B[$B$+$s$-$h$&$N$^$D$R$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.821 -* $B4D6-$N:o=|(B[$B$+$s$-$h$&$N$5$/$7$h(B]: Killing LaTeX command. 6. 12.822 -* $B4D6-$r%^!<%/(B[$B$+$s$-$h$&$r$^$"$/(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.823 -* $B5/F0$9$k%3%^%s%I$rJQ$($k(B[$B$-$H$&$9$k$3$^$s$H$r$+$($k(B]: Changing typesetter. 7. 12.824 -* %#$B5-K!<+BN$NJT=8(B[%#$B$-$[$&$7$?$$$N$X$s$7$f$&(B]: Editing %# notation. 4. 12.825 -* $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]: Customizations. 4. 12.826 -* $B7eB7$((B[$B$1$?$=$m$((B]: Filling. 4. 12.827 -* $B%;%/%7%g%s6h@Z$j0lMw%P%C%U%!(B[$B$;$/$7$h$s$/$-$j$$$A$i$s$O$D$U$"(B]: view-sectioning. 18. 12.828 -* $B%;%/%7%g%s6h@Z$j(B[$B$;$/$7$h$s$/$-$j(B]: view-sectioning. 42. 12.829 -* $B%8%c%s%W(B[$B$7$d$s$U(B]: view-sectioning. 42. 12.830 -* $B8GDjNN0h$N%?%$%W%;%C%H(B[$B$3$F$$$j$h$&$$$-$N$?$$$U$;$D$H(B]: Fix region for typesetting. 4. 12.831 -* $B8=:_$N%+%i%`I=<((B[$B$1$s$5$$$N$+$i$`$R$h$&$7(B]: What column. 22. 12.832 -* $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]: Customizations. 4. 12.833 -* $B%+%9%?%^%$%:JQ?t0lMw(B[$B$+$9$?$^$$$9$X$s$9$&$$$A$i$s(B]: All customizable variables. 4. 12.834 -* $B%$%a!<%8Jd40(B[$B$$$a$($7$[$+$s(B]: Image completion. 4. 12.835 -* $B%b!<%I@Z$jBX$((B[$B$b$&$H$-$j$+$((B]: Changing mode of YaTeX. 4. 12.836 -* $BB>$N%U%!%$%k$N<jD>$7(B[$B$[$+$N$U$"$$$k$N$F$J$*$7(B]: Includeonly. 11. 12.837 -* $BB>%Q%C%1!<%8$H$NO"7H(B[$B$?$O$D$1$($7$H$N$l$s$1$$(B]: Cooperation with other packages. 4. 12.838 -* $BD9$$%U%!%$%k$NJT=8(B[$B$J$+$$$U$"$$$k$N$X$s$7$f$&(B]: Fix region for typesetting. 34. 12.839 -* $B$d$A$g$&(B[$B$d$A$h$&(B]: Intro. 4. 12.840 -* $B@_DjNc(B[$B$;$D$F$$$l$$(B]: Sample definitions. 4. 12.841 * %#BEGIN: Fix region for typesetting. 4. 12.842 -* begin$B7?Jd40(B[begin$B$+$?$[$+$s(B]: begin$B7?Jd40(B. 4. 12.843 -* $B:F5"Jd40(B[$B$5$$$-$[$+$s(B]: Recursive completion. 4. 12.844 -* $B%f!<%6<-=q(B[$B$f$&$5$7$7$h(B]: begin$B7?Jd40(B. 71. 12.845 -* &$BF~NO(B[&$B$K$f$&$j$h$/(B]: Intelligent newline. 4. 12.846 -* $BF~NO%U%!%$%kJ,3d(B[$B$K$f$&$j$h$/$U$"$$$k$U$s$+$D(B]: Splitting input files. 11. 12.847 -* $B!g(B[$B$`$1$s$?$$(B]: Image completion. 4. 12.848 -* $B@h2s$j(Busepackage[$B$5$-$^$o$j(B]: Usepackage cheker. 4. 12.849 -* ;$B<+?H(B[;$B$7$7$s(B]: Image completion. 31. 12.850 -* $B%"%&%H%i%$%s(B[$B$"$&$H$i$$$s(B]: view-sectioning. 4. 12.851 -* $B%(%i!<=$@5(B[$B$($i$"$7$f$&$;$$(B]: Calling typesetter. 4. 12.852 -* $B%i%Y%k<+F0@8@.(B[$B$i$X$k$7$H$&$;$$$;$$(B]: label-generation. 4. 12.853 -* $B%.%j%7%cJ8;zJd40(B[$B$-$j$7$d$b$7$[$+$s(B]: Greek letter completion. 4. 12.854 -* $BJ8;z%5%$%:;XDj;R(B[$B$b$7$5$$$9$7$F$$$7(B]: large$B7?Jd40(B. 17. 12.855 -* $BJD$89~$a$k(B[$B$H$7$3$a$k(B]: begin$B7?Jd40(B. 81. 12.856 -* $BJ#;($J(Btabular[$B$U$/$5$D$J(Btabular]: What column. 4. 12.857 -* $B>!<j$K(Bincludeonly[$B$+$D$F$K(Bincludeonly]: Includeonly. 4. 12.858 -* $BJQ99(B/$B:o=|(B[$B$X$s$3$&(B/$B$5$/$7$h(B]: Modifying/Deleting. 4. 12.859 -* $B%+!<%=%k%8%c%s%W(B[$B$+$"$=$k$7$d$s$U(B]: Cursor jump. 4. 12.860 -* $BLp0u(B[$B$d$7$k$7(B]: Image completion. 4. 12.861 -* $B%m!<%+%k<-=q(B[$B$m$*$+$k$7$7$h(B]: Local dictionary. 4. 12.862 -* $BNN0h7hDj5,B'(B[$B$j$h$&$$$-$1$D$F$$$-$=$/(B]: Fix region for typesetting. 25. 12.863 -* $B%-!<%o!<%I8!:w(B[$B$-$$$o$"$H$1$s$5$/(B]: Online help. 4. 12.864 -* $B?o;~Jd40(B[$B$9$$$7$[$+$s(B]: Arbitrary completion. 4. 12.865 -* $BO@M}3,AX(B[$B$m$s$j$+$$$=$&(B]: view-sectioning. 42. 12.866 -* $B=PNO3+;O%Z!<%8(B[$B$7$f$D$j$h$/$+$$$7$X$($7(B]: Print out. 9. 12.867 -* $B=PNO=*N;%Z!<%8(B[$B$7$f$D$j$h$/$7$f$&$j$h$&$X$($7(B]: Print out. 9. 12.868 -* $B%Q%i%0%i%U$N7eB7$((B[$B$O$i$/$i$U$N$1$?$=$m$((B]: Filling. 46. 12.869 -* $B%R%9%H%j(B[$B$R$9$H$j(B]: Cooperation with other packages. 8. 12.870 -* $B%$%s%9%H!<%k(B[$B$$$s$9$H$*$k(B]: Installation. 4. 12.871 -* $B%"%/%;%s%H5-9fJd40(B[$B$"$/$;$s$H$-$3$&$[$+$s(B]: Accent mark completion. 4. 12.872 -* $B%*%s%i%$%s%X%k%W(B[$B$*$s$i$$$s$X$k$U(B]: Online help. 4. 12.873 -* $B%$%s%/%k!<%I9=B$(B[$B$$$s$/$k$&$H$3$&$=$&(B]: Inclusion hierarchy browser. 4. 12.874 -* $B?t<05-9f%$%a!<%8Jd40(B[$B$9$&$7$-$-$3$&$$$a$($7$[$+$s(B]: Image completion. 4. 12.875 -* $B?t<0%b!<%I(B[$B$9$&$7$-$b$*$H(B]: Image completion. 4. 12.876 -* $B%U%)%s%H;XDj;R(B[$B$U$*$s$H$7$F$$$7(B]: large$B7?Jd40(B. 17. 12.877 -* $B%V%m%C%/(B[$B$U$m$D$/(B]: begin$B7?Jd40(B. 81. 12.878 -* $B%?%$%W%;%C%?5/F0(B[$B$?$$$U$;$D$?$-$H$&(B]: Calling typesetter. 4. 12.879 -* $B%?%$%W%;%C%?(B[$B$?$$$U$;$D$?(B]: Invocation. 4. 12.880 -* $B%?%$%W%;%C%H%(%i!<(B[$B$?$$$U$;$D$H$($i$"(B]: Calling typesetter. 4. 12.881 -* $B%?%$%W%;%C%?$N;H$$J,$1(B[$B$?$$$U$;$D$?$N$D$+$$$o$1(B]: Changing typesetter. 12. 12.882 -* $B%W%i%$%Y!<%H%X%k%W(B[$B$U$i$$$X$($H$X$k$U(B]: Online help. 16. 12.883 -* $B%W%j%s%H%"%&%H(B[$B$U$j$s$H$"$&$H(B]: Invocation. 4. 12.884 -* $B%W%l%t%e!<%"(B[$B$U$l$R$f$&$"(B]: Invocation. 4. 12.885 -* $B%Z!<%83NG'>JN,(Blpr$B5/F0(B[$B$X$($7$+$/$K$s$7$h$&$j$d$/(Blpr$B$-$H$&(B]: Print out. 12. 12.886 +* begin型補(J.(B[begin,B)=Y)q(B]: begin型補(J.(B. 4. 12.887 * C-c: Invocation. 4. 12.888 * Demacs: Intro. 4. 12.889 * .emacs: Installation. 4. 12.890 * %#END: Fix region for typesetting. 4. 12.891 -* end$BJd40(B[end$B$[$+$s(B]: end$BJd40(B. 4. 12.892 +* end補(J.(B[end,BY)q(B]: end補(J.(B. 4. 12.893 * ghostview: Splitting input files. 16. 12.894 * gmhist: Cooperation with other packages. 8. 12.895 -* hook$BJQ?t(B[hook$B$X$s$9$&(B]: Hook variables. 4. 12.896 +* hook変数[hook,BVq7$(B]: Hook variables. 4. 12.897 +* 出力終了ページ[,B5dBhf-5d$hf$V&5(B]: Print out. 9. 12.898 * includeonly: Includeonly. 4. 12.899 * Install: Installation. 4. 12.900 -* item$B$J$I$N7eB7$((B[item$B$J$H$N$1$?$=$m$((B]: Filling. 8. 12.901 +* item,BHGL桁(Bオ,B&(B[item,BHFL/=;k&(B]: Filling. 8. 12.902 +* 出力開始ページ[,B5dBhf-)"5V&5(B]: Print out. 9. 12.903 * jlatex: Invocation. 4. 12.904 -* large$B7?Jd40(B[large$B$+$?$[$+$s(B]: large$B7?Jd40(B. 4. 12.905 +* large型補(J.(B[large,B)=Y)q(B]: large型補(J.(B. 4. 12.906 * LaTeX: Intro. 4. 12.907 * leftarrow: Image completion. 4. 12.908 * lpr format: lpr format. 4. 12.909 -* lpr$B$U$)!<$^$C$H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. 12.910 -* lpr$B%U%)!<%^%C%H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. 12.911 -* lpr$B%U%)!<%^%C%H$NJQ99(B[lpr$B$U$*$*$^$D$H$N$X$s$3$&(B]: Editing %# notation. 18. 12.912 -* maketitle$B7?Jd40(B[maketitle$B$+$?$[$+$s(B]: maketitle$B7?Jd40(B. 4. 12.913 -* M-C-@: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.914 -* M-C-a: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.915 -* M-C-e: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. 12.916 +* lprフォーマット,BL(Bマ更[lpr,BS((\BFLVq1$(B]: Editing %# notation. 18. 12.917 +* lpr,BS'(B[,B\AF(B[lpr,BS((\BF(B]: lpr format. 4. 12.918 +* lprフォーマット[lpr,BS((\BF(B]: lpr format. 4. 12.919 +* maketitle型補(J.(B[maketitle,B)=Y)q(B]: maketitle型補(J.(B. 4. 12.920 +* M-C-@: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.921 +* M-C-a: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.922 +* M-C-e: (JB(B境,Bp(BP,HJ,BF5=(BWャンプ. 7. 12.923 * min-out: Cooperation with other packages. 17. 12.924 * M-q: Filling. 46. 12.925 * Mule: Intro. 4. 12.926 -* NTT-jTeX[$B$($L$F$$$$$F$$$$$7$($$$F$D$/(B]: Filling. 16. 12.927 +* 勝手,BI(Bincludeonly[,B)BDI(Bincludeonly]: Includeonly. 4. 12.928 +* NTT-jTeX[,B&JD""D""5&"DB-(B]: Filling. 16. 12.929 * platex: Invocation. 4. 12.930 * prefix ,: Commenting out. 4. 12.931 * prefix .: Commenting out. 4. 12.932 @@ -1961,93 +2036,97 @@ 12.933 * prefix ?: Online help. 4. 12.934 * prefix &: What column. 4. 12.935 * prefix a: Accent mark completion. 4. 12.936 -* prefix b: begin$B7?Jd40(B. 4. 12.937 +* prefix b: begin型補(J.(B. 4. 12.938 * prefix c: Modifying/Deleting. 4. 12.939 * prefix d: Inclusion hierarchy browser. 4. 12.940 -* prefix e: end$BJd40(B. 4. 12.941 +* prefix e: end補(J.(B. 4. 12.942 * prefix g: Cursor jump. 4. 12.943 * prefix i: Filling. 8. 12.944 * prefix k: Modifying/Deleting. 4. 12.945 * prefix key: Invocation. 4. 12.946 -* prefix l: large$B7?Jd40(B. 4. 12.947 -* prefix m: maketitle$B7?Jd40(B. 4. 12.948 -* prefix s: section$B7?Jd40(B. 4. 12.949 +* prefix l: large型補(J.(B. 4. 12.950 +* prefix m: maketitle型補(J.(B. 4. 12.951 +* prefix s: section型補(J.(B. 4. 12.952 * prefix SPC: Arbitrary completion. 4. 12.953 * prefix w: Changing mode of YaTeX. 4. 12.954 -* prefix$B%-!<JQ99(B[prefix$B$-$$$X$s$3$&(B]: Lisp variables. 4. 12.955 -* section$B7?Jd40(B[section$B$+$?$[$+$s(B]: section$B7?Jd40(B. 4. 12.956 +* prefixキー変更[prefix,B+"Vq1$(B]: Lisp variables. 4. 12.957 +* ページ確認省略lpr起動[,BV&5)-Iq5f$hb-(Blpr,B+F$(B]: Print out. 12. 12.958 +* section型補(J.(B[section,B)=Y)q(B]: section型補(J.(B. 4. 12.959 +* 複雑,BH(Btabular[,BS-3BH(Btabular]: What column. 4. 12.960 +* 先(Iq,Bh(Busepackage[,B3+\mh(B]: Usepackage cheker. 4. 12.961 * YaTeX-help-file: Online help. 16. 12.962 * YaTeX-help-file-private: Online help. 16. 12.963 * YaTeX-item-regexp: Filling. 20. 12.964 * YaTeX-math-sign-alist-private: Image completion. 56. 12.965 * yatex-mode-hook: Hook variables. 4. 12.966 * yatex-mode-load-hook: Hook variables. 4. 12.967 -* YaTeX-nervous: Local dictionary. 21. 12.968 +* YaTeX-nervous: Local dictionary. 22. 12.969 * .yatexrc: Local dictionary. 4. 12.970 12.971 12.972 12.973 + 12.974 12.975 Tag table: 12.976 -Node: Top153 12.977 -Node: Intro1496 12.978 -Node: Terminology2066 12.979 -Node: Main features3186 12.980 -Node: Installation5035 12.981 -Node: Invocation7121 12.982 -Node: Calling typesetter8100 12.983 -Node: Calling previewer10257 12.984 -Node: Print out10854 12.985 -Node: %#notation11299 12.986 -Node: Changing typesetter11866 12.987 -Node: Splitting input files12255 12.988 -Node: Fix region for typesetting14160 12.989 -Node: lpr format15905 12.990 -Node: Editing %# notation17305 12.991 -Node: Completion18057 12.992 -Node: begin$B7?Jd40(B18701 12.993 -Node: section$B7?Jd40(B22831 12.994 -Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B24617 12.995 -Node: Enclose section-type command26115 12.996 -Node: Recursive completion26515 12.997 -Node: view-sectioning27067 12.998 -Node: label-generation29528 12.999 -Node: large$B7?Jd40(B30273 12.1000 -Node: maketitle$B7?Jd40(B31400 12.1001 -Node: Arbitrary completion31882 12.1002 -Node: end$BJd40(B32488 12.1003 -Node: Accent mark completion33125 12.1004 -Node: Image completion33856 12.1005 -Node: Greek letter completion37390 12.1006 -Node: Local dictionary38385 12.1007 -Node: Commenting out39625 12.1008 -Node: Cursor jump41857 12.1009 -Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B42231 12.1010 -Node: $B$*3(IA$-%D!<%k5/F0(B44128 12.1011 -Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B46093 12.1012 -Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B46762 12.1013 -Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B47426 12.1014 -Node: Modifying/Deleting47904 12.1015 -Node: Changing LaTeX command48558 12.1016 -Node: Killing LaTeX command49574 12.1017 -Node: Filling51007 12.1018 -Node: Includeonly53476 12.1019 -Node: What column54565 12.1020 -Node: Intelligent newline55914 12.1021 -Node: Usepackage cheker57849 12.1022 -Node: Changing mode of YaTeX58630 12.1023 -Node: Online help59777 12.1024 -Node: Inclusion hierarchy browser61920 12.1025 -Node: Cooperation with other packages64375 12.1026 -Node: Customizations65133 12.1027 -Node: Lisp variables65619 12.1028 -Node: All customizable variables66653 12.1029 -Node: Sample definitions77680 12.1030 -Node: Hook variables78259 12.1031 -Node: Hook file79619 12.1032 -Node: Add-in functions79954 12.1033 -Node: Etc80372 12.1034 -Node: Copying81013 12.1035 -Node: Concept Index82458 12.1036 +Node: Top146 12.1037 +Node: Intro1200 12.1038 +Node: Terminology1503 12.1039 +Node: Main features2138 12.1040 +Node: Installation3171 12.1041 +Node: Invocation4390 12.1042 +Node: Calling typesetter5214 12.1043 +Node: Calling previewer6452 12.1044 +Node: Print out6768 12.1045 +Node: %#notation7034 12.1046 +Node: Changing typesetter7408 12.1047 +Node: Splitting input files7666 12.1048 +Node: Fix region for typesetting8615 12.1049 +Node: lpr format9516 12.1050 +Node: Editing %# notation10309 12.1051 +Node: Completion10742 12.1052 +Node: begin$B7?Jd40(B11215 12.1053 +Node: section$B7?Jd40(B13800 12.1054 +Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B14895 12.1055 +Node: Enclose section-type command15712 12.1056 +Node: Recursive completion15949 12.1057 +Node: view-sectioning16255 12.1058 +Node: label-generation17451 12.1059 +Node: large$B7?Jd40(B17801 12.1060 +Node: maketitle$B7?Jd40(B18381 12.1061 +Node: Arbitrary completion18680 12.1062 +Node: end$BJd40(B18993 12.1063 +Node: Accent mark completion19335 12.1064 +Node: Image completion19761 12.1065 +Node: Greek letter completion21578 12.1066 +Node: Local dictionary22038 12.1067 +Node: Commenting out22643 12.1068 +Node: Cursor jump23802 12.1069 +Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B24039 12.1070 +Node: $B$*3(IA$-%D!<%k5/F0(B25027 12.1071 +Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B25947 12.1072 +Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B26283 12.1073 +Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B26640 12.1074 +Node: Modifying/Deleting26877 12.1075 +Node: Changing LaTeX command27282 12.1076 +Node: Killing LaTeX command27833 12.1077 +Node: Filling28703 12.1078 +Node: Includeonly30031 12.1079 +Node: What column30590 12.1080 +Node: Intelligent newline31368 12.1081 +Node: Usepackage cheker32400 12.1082 +Node: Changing mode of YaTeX32826 12.1083 +Node: Online help33402 12.1084 +Node: Inclusion hierarchy browser34378 12.1085 +Node: Cooperation with other packages35656 12.1086 +Node: Customizations36111 12.1087 +Node: Lisp variables36408 12.1088 +Node: All customizable variables37015 12.1089 +Node: Sample definitions44315 12.1090 +Node: Hook variables44749 12.1091 +Node: Hook file45642 12.1092 +Node: Add-in functions45848 12.1093 +Node: Etc46075 12.1094 +Node: Copying46359 12.1095 +Node: Concept Index46990 12.1096 12.1097 End tag table
13.1 --- a/docs/yatexj.tex Mon Sep 28 12:48:28 2009 +0900 13.2 +++ b/docs/yatexj.tex Thu Jan 12 12:26:35 2012 +0900 13.3 @@ -10,7 +10,7 @@ 13.4 @c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e 13.5 @c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a 13.6 @c フォーマットするときは C-l C-e C-b 13.7 -@c Last modified Wed Jul 20 21:25:48 2005 on firestorm 13.8 +@c Last modified Thu May 27 18:24:30 2010 on firestorm 13.9 @syncodeindex vr cp 13.10 @end iftex 13.11 13.12 @@ -224,10 +224,17 @@ 13.13 @dots{} タイプセッタ(platex)起動 13.14 @item [prefix] t r 13.15 @dots{} タイプセッタ起動(領域指定) 13.16 +@item [prefix] t e 13.17 + @dots{} タイプセッタ起動 13.18 + (ポイント位置の環境または数式モードのみ対称) 13.19 @item [prefix] t k 13.20 @dots{} 動作中のタイプセッタの停止 13.21 @item [prefix] t b 13.22 @dots{} jbibtex起動 13.23 +@item [prefix] t i 13.24 + @dots{} makeindex起動 13.25 +@item [prefix] t d 13.26 + @dots{} タイプセッタとdvipdfmx起動 13.27 @item [prefix] t p 13.28 @dots{} プレヴューア起動 13.29 @item [prefix] t l 13.30 @@ -275,11 +282,22 @@ 13.31 13.32 ポイントとマークの間、あるいはテキスト中に埋め込んだ @code{%#BEGIN} と 13.33 @code{%#END}の間の領域(@ref{%#notation})だけを切り取ってタイプセットすることが 13.34 -できます。この場合の documentclass は、単一ファイルの La@TeX{} ソースの編 13.35 -集時にはそのファイルの documentclass が、別ファイルから include している場 13.36 -合にはメインファイルの documentclass が自動的に選択されます。指定領域は、 13.37 -メインファイルのあるディレクトリの@file{texput.tex}という臨時ファイルに出 13.38 -力されますので、上書きには注意してください。 13.39 +できます。この場合メインファイルのプリアンブルが一時ファイルの 13.40 +プリアンブルとして使われます。したがってプリアンブルにないマクロ定義が 13.41 +領域内にあるとエラーになります。領域タイプセットを使う場合、 13.42 +必ずマクロ定義はプリアンブル(@code{\begin{document}}より前)に置くよう 13.43 +にして下さい。一時ファイルはメインファイルのある 13.44 +ディレクトリの@file{texput.tex}という名前で出力されるので、 13.45 +上書きには注意してください。 13.46 + 13.47 +@subsection{環境タイプセット} 13.48 + 13.49 + @kbd{[prefix] te} を押すと、ポイント位置の最も内側の環境、または数式モー 13.50 +ド内の場合はその数式モード全体が自動的に領域選択されて、領域タイプセットを 13.51 +呼び出します。tabular環境や数式モードで複雑なものを作っている場合は確かめた 13.52 +い部分だけを確認できるので便利です。これも @file{texput.tex} に該当部分を 13.53 +書き出します。プレヴューアで @file{texput.dvi} を開いたままにしておけば 13.54 +修正と確認が素早くできるでしょう。 13.55 13.56 @node Calling previewer, Print out, Calling typesetter, Invocation 13.57 @comment node-name, next, previous, up 13.58 @@ -1821,8 +1839,8 @@ 13.59 13.60 @defvar YaTeX-kanji-code 13.61 文書を作成する時の漢字コード 13.62 -nil=既存のコードのまま 0=no-conversion1=Shift JIS, 13.63 -2=JIS, 3=EUC (2 (MS-DOSでは1)) 13.64 +nil=既存のコードのまま 0=no-conversion 1=Shift JIS, 13.65 +2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOSでは1)) 13.66 @end defvar 13.67 13.68 @defvar tex-command 13.69 @@ -1851,6 +1869,10 @@ 13.70 makeindexコマンド (@code{"makeindex"} (MS-DOSでは@code{"makeind"})) 13.71 @end defvar 13.72 13.73 +@defvar YaTeX-dvipdf-command 13.74 +dviをPDFに変換するコマンド (@code{"dvipdfmx"}) 13.75 +@end defvar 13.76 + 13.77 @defvar YaTeX-need-nonstop 13.78 @code{\nonstopmode@{@}}を自動的に付加するか (@code{nil}) 13.79 @end defvar
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/hg2cvsci.sh Thu Jan 12 12:26:35 2012 +0900 14.3 @@ -0,0 +1,15 @@ 14.4 +#!/bin/sh 14.5 +# This script does not support automatic "cvs add". 14.6 +# If new file is added by "hg add", don't forget to "cvs add" in 14.7 +# CVS working dir. 14.8 +# 14.9 +# This script should be called via incoming hook in .hg/hgrc as below. 14.10 +# [hooks] 14.11 +# incoming.cvsci = ./hg2cvsci.sh 14.12 + 14.13 +node=${HG_NODE:-tip} 14.14 +hg=${HG:-hg} 14.15 +msg=`hg log -r $node --template '{desc}\n'` 14.16 +cd `dirname $0` 14.17 +$hg up -r $node 14.18 +cvs ci -m "$msg"
15.1 --- a/install Mon Sep 28 12:48:28 2009 +0900 15.2 +++ b/install Thu Jan 12 12:26:35 2012 +0900 15.3 @@ -61,20 +61,20 @@ 15.4 About yahtml / yahtmlについて 15.5 ***************************** 15.6 15.7 -Yahtml is a brand new package for writing HTML files with Emacs. It is 15.8 +Yahtml is a different package for writing HTML files with Emacs. It is 15.9 very far from html-mode, html-helper-mode or other existing HTML modes. 15.10 It is a good successor of YaTeX in HTML world. Do not want it to behave 15.11 as modes you used. Yahtml doesn't lessen the number of initial typing 15.12 not so much. But it lessens your effort of polishing/debugging your 15.13 source, tracing links between file or URL, and browsing the result with 15.14 -Netscape. If you had not used YaTeX, the concept of `C-c g', `C-c k', 15.15 +browsers. If you had not used YaTeX, the concept of `C-c g', `C-c k', 15.16 and `C-c c' are very new to you. If you are interested in the 15.17 philosophy of YaTeX, please take a look at the info file of YaTeX. 15.18 15.19 yahtml.el は html-mode とか html-helper-mode とかとはじぇえ〜〜んじぇん 15.20 違います。「html-helper-mode でいうところのあの機能はないの〜」とかそう 15.21 いう気持で使うと、すげー調子悪いです。逆に、野鳥のインタフェースを知って 15.22 -使っているとかなり調子良いです。古いものに拘る人にはお薦めしません。 15.23 +使っているとかなり調子良いです。 15.24 15.25 Installation of yahtml / yahtmlのインストール 15.26 ********************************************* 15.27 @@ -102,7 +102,8 @@ 15.28 directory name. If you're not sure of 15.29 this, ask it to WWW administrator. 15.30 Typically `index.html' if your site is 15.31 - running NCSA httpd, and `Welcome.html' 15.32 - if CERN httpd. 15.33 + running apache, or `Welcome.html' if 15.34 + CERN httpd. 15.35 URLでファイル名を省略した時にオープンさ 15.36 れるファイル。WWW管理者に聞いて下さい。 15.37 + たいてい index.html でしょう。
16.1 --- a/makefile Mon Sep 28 12:48:28 2009 +0900 16.2 +++ b/makefile Thu Jan 12 12:26:35 2012 +0900 16.3 @@ -1,16 +1,16 @@ 16.4 # 16.5 -# Makefile for YaTeX 16.6 +# Makefile for YaTeX/yahtml 16.7 # 16.8 16.9 # Edit these variables to be suitable for your site 16.10 PREFIX = /usr/local 16.11 16.12 ## mule2 16.13 -EMACS = mule 16.14 -EMACSDIR= ${PREFIX}/lib/${EMACS} 16.15 -## emacs20 16.16 -#EMACS = emacs 16.17 -#EMACSDIR= ${PREFIX}/share/${EMACS} 16.18 +#EMACS = mule 16.19 +#EMACSDIR= ${PREFIX}/lib/${EMACS} 16.20 +## emacs20 or later 16.21 +EMACS = emacs 16.22 +EMACSDIR= ${PREFIX}/share/${EMACS} 16.23 ## XEmacs 16.24 #EMACS = xemacs 16.25 #EMACSDIR= ${PREFIX}/lib/${EMACS} 16.26 @@ -49,7 +49,7 @@ 16.27 # make clean to delete all producted files 16.28 # make ci to check in all 16.29 # make co to check out all 16.30 -MVER = 1.74 16.31 +MVER = 1.75 16.32 LISP = ${LISP18} ${LISP19} 16.33 YAHTML = yahtml.el 16.34 COMMON = yatexlib.el yatexprc.el 16.35 @@ -68,11 +68,11 @@ 16.36 DOCOBJ = docs/yatexj docs/yatexe docs/yahtmlj docs/yahtmle 16.37 HELP = help/YATEXHLP.jp help/YATEXHLP.eng 16.38 MANIFEST= manifest 16.39 -EXTRA = dir install 00readme makefile readme.meadow.j 16.40 +EXTRA = dir install 00readme makefile readme.meadow.j newpage.rb 16.41 DISTRIB = ${EXTRA} ${LISP} ${DOCS} ${MANIFEST} ${HELP} 16.42 RCSFILE = ${LISP} ${NEWS} ${DOCSRC} ${HELP} 16.43 YAHTMLLISP = ${YAHTML} ${COMMON} 16.44 -YAHTMLDIST = ${YAHTMLLISP} install 00readme makefile 16.45 +YAHTMLDIST = ${YAHTMLLISP} install 00readme makefile newpage.rb 16.46 PACK = `ls ${DISTRIB}` 16.47 TMPDIR = /tmp 16.48 VERSION = `head yatex.el|awk '/rev\./{print $$4}'` 16.49 @@ -206,9 +206,9 @@ 16.50 -x '*RCS/*' -x 'texinfo/*' 16.51 16.52 RSYNCDIR = ${HOME}/http/yatex/rsync/yatex 16.53 -sync: 16.54 - @-mkdir ${PACKDIR} 16.55 - @tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -) 16.56 - syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} 16.57 - (cd ${RSYNCDIR}; cvs ci -m '') 16.58 - rm -rf ${PACKDIR} 16.59 +#sync: 16.60 +# @-mkdir ${PACKDIR} 16.61 +# @tar cf - ${PACK} | (cd ${PACKDIR}; tar xf -) 16.62 +# syncdir -A -x CVS ${PACKDIR} ${RSYNCDIR} 16.63 +# (cd ${RSYNCDIR}; cvs ci -m '') 16.64 +# rm -rf ${PACKDIR}
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/newpage.rb Thu Jan 12 12:26:35 2012 +0900 17.3 @@ -0,0 +1,128 @@ 17.4 +#!/usr/bin/env ruby 17.5 +# THIS is very very tentative. Insufficient examination of function. 17.6 +# Create new HTML file referring other HTML file in the same directory. 17.7 +# (C)2010 by HIROSE Yuuji [yuuji@yatex.org] 17.8 +# Last modified Mon Sep 6 16:16:33 2010 on firestorm 17.9 +# $Id$ 17.10 +# http://www.yatex.org 17.11 +# Example: 17.12 +# newpage.rb Create new index.html by copying template. 17.13 +# newpage.rb foo.html Create new foo.html whose by copying header 17.14 +# and footer from index.html. 17.15 +# newpage.rb d/sub.html Create new directory d (if necessary) and 17.16 +# d/sub.html by copying header/footer from 17.17 +# index.html in a same directory or parent 17.18 +# directory rewriting href to css file 17.19 +# considering relative path. 17.20 +# newpage.rb -o [file] Forcibly overwrite existing file. 17.21 +# newpage.rb -c cssfile Set `cssfile' as defualt css. 17.22 +# newpage.rb -t template Set `template' as HTML template. 17.23 +require 'fileutils' 17.24 + 17.25 +mydir=File.dirname($0) 17.26 +myname=File.basename($0, ".rb") 17.27 + 17.28 + 17.29 +index = 'index.html' 17.30 +cssdefault = nil 17.31 +overwrite = nil 17.32 +template = __FILE__ #File.expand_path(myname+".html", mydir) 17.33 + 17.34 +def guesscss(dir) 17.35 + 17.36 +end 17.37 + 17.38 +while ARGV[0] && /^-/ =~ (a0=ARGV[0].dup) && ARGV.shift 17.39 + break if /^--$/ =~ a0 17.40 + while /^-[A-Za-z]/ =~ a0 17.41 + case a0 17.42 + when "-c" # css 17.43 + ARGV.shift; cssdefault = ARGV[0] 17.44 + when "-t" # template 17.45 + ARGV.shift; cssdefault = ARGV[0] 17.46 + when "-o" # overwrite 17.47 + overwrite = true 17.48 + end 17.49 + a0.sub!(/-.(.*)/, '-\\1') 17.50 + end 17.51 +end 17.52 + 17.53 +outfile = ARGV[0]||index 17.54 +if !overwrite && test(?s, outfile) then 17.55 + STDERR.printf("File \`%s' exists. Use -o option to overwrite.\n", outfile) 17.56 + exit 1 17.57 +end 17.58 + 17.59 +# set css default file 17.60 +dots = 0 17.61 +of = outfile 17.62 +dots+=1 while "." != (of=File.dirname(of)) 17.63 +cssdir = "../"*dots 17.64 + 17.65 +# set copy source 17.66 +outdir = File.dirname(outfile) 17.67 +if "index.html" == File.basename(outfile) 17.68 + src = (dots == 0 ? template : "index.html") 17.69 +elsif test(?s, outdir+"/index.html") 17.70 + src = outdir+"/index.html" 17.71 +else 17.72 + src = template 17.73 +end 17.74 + 17.75 +FileUtils.mkdir_p(outdir) 17.76 + 17.77 +cssfile = cssdir+"main.css" 17.78 +name = File.basename(outfile, ".html") 17.79 +begin 17.80 + open(outfile, "w") do |out| 17.81 + #IO.foreach(src) do |line| 17.82 + if src == __FILE__ 17.83 + input = DATA 17.84 + else 17.85 + input = open(src, "r") 17.86 + end 17.87 + begin 17.88 + html = input.readlines.join 17.89 + html.sub!(%r|^<h1.*<\/h1>|i, sprintf("<h1>%s</h1>\n", name)) 17.90 + if !html.gsub!("__CSSFILE__", cssfile) 17.91 + html.gsub!(/href=(['\"])(.*\.css)\1/, 'href="'+cssdir+'\2"') 17.92 + end 17.93 + html.gsub!("__TITLE__", name) 17.94 + out.print html 17.95 + ensure 17.96 + input.close 17.97 + end 17.98 + end 17.99 + printf(<<_EOS_, outfile, name) 17.100 +<a href="%s">%s</a> 17.101 +_EOS_ 17.102 +rescue 17.103 + p $! 17.104 + STDERR.printf(<<'_EOS_', outfile, outfile) 17.105 +Cannot output to [%s]. Do 17.106 + chmod +w %s 17.107 +or 17.108 + chmod +w . 17.109 +or change output directory. 17.110 +_EOS_ 17.111 + exit 1 17.112 +end 17.113 + 17.114 +__END__ 17.115 +<html> 17.116 +<head> 17.117 +<title>__TITLE__</title> 17.118 +<style type="text/css"> 17.119 +<!-- 17.120 +/* Local CSS here */ 17.121 +--> 17.122 +</style> 17.123 +<link rel="stylesheet" type="text/css" href="__CSSFILE__"> 17.124 +</head> 17.125 + 17.126 +<body> 17.127 +<h1>__TITLE__</h1> 17.128 + 17.129 +<!--#include virtual="/~yuuji/signature.html"--> 17.130 +</body> 17.131 +</html>
18.1 --- a/yahtml.el Mon Sep 28 12:48:28 2009 +0900 18.2 +++ b/yahtml.el Thu Jan 12 12:26:35 2012 +0900 18.3 @@ -1,9 +1,9 @@ 18.4 ;;; -*- Emacs-Lisp -*- 18.5 -;;; (c) 1994-2009 by HIROSE Yuuji [yuuji@yatex.org] 18.6 -;;; Last modified Mon Sep 28 10:45:04 2009 on firestorm 18.7 +;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org] 18.8 +;;; Last modified Thu Jan 12 11:40:53 2012 on firestorm 18.9 ;;; $Id$ 18.10 18.11 -(defconst yahtml-revision-number "1.72" 18.12 +(defconst yahtml-revision-number "1.75" 18.13 "Revision number of running yahtml.el") 18.14 18.15 ;;;[Installation] 18.16 @@ -14,8 +14,8 @@ 18.17 ;;; (setq auto-mode-alist 18.18 ;;; (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) 18.19 ;;; (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) 18.20 -;;; (setq yahtml-www-browser "netscape") 18.21 -;;; ;Write your favorite browser. But netscape is advantageous. 18.22 +;;; (setq yahtml-www-browser "firefox") 18.23 +;;; ;Write your favorite browser. But firefox is advantageous. 18.24 ;;; (setq yahtml-path-url-alist 18.25 ;;; '(("/home/yuuji/public_html" . "http://www.mynet/~yuuji") 18.26 ;;; ("/home/staff/yuuji/html" . "http://www.othernet/~yuuji"))) 18.27 @@ -30,8 +30,8 @@ 18.28 ;;; (setq auto-mode-alist 18.29 ;;; (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) 18.30 ;;; (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) 18.31 -;;; (setq yahtml-www-browser "netscape") 18.32 -;;; ;お気に入りのブラウザを書いて下さい。netscapeが便利です。 18.33 +;;; (setq yahtml-www-browser "firefox") 18.34 +;;; ;お気に入りのブラウザを書いて下さい。firefoxが便利です。 18.35 ;;; (setq yahtml-path-url-alist 18.36 ;;; '(("/home/yuuji/public_html" . "http://www.mynet/~yuuji") 18.37 ;;; ("/home/staff/yuuji/html" . "http://www.othernet/~yuuji"))) 18.38 @@ -43,10 +43,12 @@ 18.39 ;;; AddType "text/html; charset=Shift_JIS" .html (SJISの場合) 18.40 ;;; AddType "text/html; charset=iso2022-jp" .html (JISの場合) 18.41 ;;; AddType "text/html; charset=EUC-JP" .html (EUCの場合) 18.42 +;;; AddType "text/html; charset=utf-8" .html (UTF-8の場合) 18.43 ;;; 18.44 ;;; .htaccess が作れない場合は 18.45 ;;; (setq yahtml-kanji-code 2) 18.46 -;;; ;HTMLファイルの漢字コードを変更する場合は 1=SJIS、2=JIS、3=EUC 18.47 +;;; ;HTMLファイルの漢字コードを変更する場合は 18.48 +;;; ;1=SJIS、2=JIS、3=EUC 4=UTF-8 18.49 ;;; ;で設定して下さい。デフォルトは 2 です。 18.50 ;;; 18.51 ;;; を適切に書き換えて ~/.emacs に足して下さい。 18.52 @@ -89,7 +91,7 @@ 18.53 ;;; * [prefix] t p View current html with WWW browser 18.54 ;;; (To activate this, never fail to set the lisp 18.55 ;;; variable yahtml-www-browser. Recommended value 18.56 -;;; is "netscape") 18.57 +;;; is "firefox") 18.58 ;;; * [prefix] a YaTeX's accent mark's equivalent of yahtml. 18.59 ;;; This function can input $lt, $gt or so. 18.60 ;;; * [prefix] ; Translate chars of `>', `<', `&', and `"' to 18.61 @@ -139,12 +141,12 @@ 18.62 ;;; 参照しているリンクを補完機能を使いながら変更で 18.63 ;;; きます。 18.64 ;;; * [prefix] t j カレントファイルに対して jweblint を呼び出しま 18.65 -;;; す。 18.66 +;;; す。ファイル先頭付近に 18.67 +;;; <!-- #lint コマンド --> 18.68 +;;; と書いておくとそのコマンドを呼びます。 18.69 ;;; * [prefix] t p WWW ブラウザでカレントファイルを表示します。 18.70 ;;; (lisp変数 yahtml-www-browser の設定をお忘れな 18.71 -;;; く。お推めは "netscape" で、ねすけの場合既にねす 18.72 -;;; けが起動されていた場合そのねすけに Reload 命令を 18.73 -;;; 送るという芸当が出来ます) 18.74 +;;; く。お推めは "firefox" です) 18.75 ;;; * [prefix] a YaTeX のアクセント記号補完と同じです。 18.76 ;;; < > 等が入力できます。 18.77 ;;; * [prefix] ; 指定したリジョン中の > < & " をそれぞれ 18.78 @@ -152,6 +154,13 @@ 18.79 ;;; * [prefix] : 指定したリジョン中で上と逆の変換をします。 18.80 ;;; * [prefix] # 指定したリジョン中で%エンコードの必要な文字が 18.81 ;;; あればそれらをエンコードします。 18.82 +;;; * [prefix] } リジョン内の特定文字区切りのレコードを <td> 並びに 18.83 +;;; 変換します。C-u (universal-argument) 付きで起動 18.84 +;;; するとtd以外の任意要素で括ります。thdを指定する 18.85 +;;; と最初の1つだけth,残りすべてをtdで括ります。 18.86 +;;; * [prefix] ] リジョン内のすべての行をフィールドごとにtdで括り, 18.87 +;;; さらに各行をtrで括ります。universal-argument を 18.88 +;;; 付けるとフィールド括りをtd以外に指定できます。 18.89 ;;; * [prefix] ESC yahtml-mode を抜け yahtml-mode に入る前に動作し 18.90 ;;; ていたメジャーモードに戻ります。 18.91 ;;; 18.92 @@ -168,7 +177,6 @@ 18.93 ;;; 18.94 18.95 18.96 -;(require 'yatex) 18.97 (require 'yatexlib) 18.98 ;;; --- customizable variable starts here --- 18.99 (defvar yahtml-prefix "\C-c" 18.100 @@ -235,14 +243,16 @@ 18.101 18.102 (defvar yahtml-use-css t "*Use stylesheet or not") 18.103 18.104 -(defvar yahtml-image-inspection-bytes 50000 ;256 18.105 +(defvar yahtml-image-inspection-bytes 500000 18.106 "*Number of bytes to inspect the image for geometry information") 18.107 (defvar yahtml:img-default-alt-format "%xx%y(%sbytes)" 18.108 "*Default format of img entity's ALT attributes. 18.109 %x: width, %y: height, %s: size in bytes, %c: first comment string, 18.110 %f: filename") 18.111 18.112 -(defvar yahtml-faithful-to-htmllint nil) 18.113 +(defvar yahtml-faithful-to-htmllint yahtml-always-/li 18.114 + "*Non-nil doesn't put space after opening tags.") 18.115 + 18.116 (defvar yahtml-error-line-regexp 18.117 "^\\(.*\\)(\\([0-9]+\\)):\\|^line \\([0-9]+\\)" 18.118 "*Regexp of error position which is produced by lint program.") 18.119 @@ -357,8 +367,7 @@ 18.120 (yahtml-define-begend-key "bS" "span" map) 18.121 (yahtml-define-begend-key "bp" "pre" map) 18.122 (YaTeX-define-key "b " 'yahtml-insert-begend map) 18.123 - (YaTeX-define-key "B " 'yahtml-insert-begend-region map) 18.124 - ) 18.125 + (YaTeX-define-key "B " 'yahtml-insert-begend-region map)) 18.126 (YaTeX-define-key "e" 'YaTeX-end-environment map) 18.127 (YaTeX-define-key ">" 'yahtml-comment-region map) 18.128 (YaTeX-define-key "<" 'yahtml-uncomment-region map) 18.129 @@ -371,9 +380,10 @@ 18.130 (YaTeX-define-key ";" 'yahtml-translate-region map) 18.131 (YaTeX-define-key ":" 'yahtml-translate-reverse-region map) 18.132 (YaTeX-define-key "#" 'yahtml-escape-chars-region map) 18.133 + (YaTeX-define-key "}" 'yahtml-td-region map) 18.134 + (YaTeX-define-key "]" 'yahtml-tr-region map) 18.135 ;;;;;(YaTeX-define-key "i" 'yahtml-fill-item map) 18.136 - (YaTeX-define-key "\e" 'yahtml-quit map) 18.137 - ) 18.138 + (YaTeX-define-key "\e" 'yahtml-quit map)) 18.139 (substitute-all-key-definition 18.140 'fill-paragraph 'yahtml-fill-paragraph yahtml-mode-map) 18.141 (substitute-all-key-definition 18.142 @@ -400,8 +410,8 @@ 18.143 (make-syntax-table (standard-syntax-table))) 18.144 (modify-syntax-entry ?\< "(>" yahtml-syntax-table) 18.145 (modify-syntax-entry ?\> ")<" yahtml-syntax-table) 18.146 - (modify-syntax-entry ?\n " " yahtml-syntax-table) 18.147 -) 18.148 + (modify-syntax-entry ?\n " " yahtml-syntax-table)) 18.149 + 18.150 (defvar yahtml-command-regexp "[A-Za-z0-9]+" 18.151 "Regexp of constituent of html commands.") 18.152 18.153 @@ -420,7 +430,7 @@ 18.154 ("DefinitionList" . "dl") 18.155 ("Preformatted" . "pre") 18.156 ("table") ("thead") ("tbody") ("tfoot") ("tr") ("th") ("td") 18.157 - ("address") 18.158 + ("address") ("button") 18.159 ("h1") ("h2") ("h3") ("h4") ("h5") ("h6") 18.160 ;; ("p") ;This makes indentation screwed up! 18.161 ("style") ("script") ("noscript") ("div") ("object") ("ins") ("del") 18.162 @@ -485,8 +495,6 @@ 18.163 (defvar yahtml-current-completion-type nil 18.164 "Has current completion type. This may be used in yahtml addin functions.") 18.165 18.166 -;(defvar yahtml-struct-name-regexp 18.167 -; "\\<\\(h[1-6]\\|[uod]l\\|html\\|body\\|title\\|head\\|table\\|t[rhd]\\|pre\\|a\\|form\\|select\\|center\\|blockquote\\)\\b") 18.168 (defvar yahtml-struct-name-regexp 18.169 (concat 18.170 "\\<\\(" 18.171 @@ -541,10 +549,8 @@ 18.172 (setq ldir dir 18.173 dir (substring dir 0 (string-match "/$" dir)) 18.174 dir (file-name-directory dir)))) 18.175 - line 18.176 - )) 18.177 - (t nil)) 18.178 - ) 18.179 + line)) 18.180 + (t nil))) 18.181 18.182 (defun yahtml-dir-default-charset () 18.183 (let*((fn (file-name-nondirectory (or buffer-file-name ""))) 18.184 @@ -586,8 +592,7 @@ 18.185 (setq index-list (cons (substring line 0 x) index-list) 18.186 line (substring line (match-end 1))) 18.187 (setq index-list (cons line index-list) 18.188 - line "")) 18.189 - ) 18.190 + line ""))) 18.191 (or (nreverse index-list) 18.192 (if (listp yahtml-directory-index) 18.193 yahtml-directory-index 18.194 @@ -651,9 +656,7 @@ 18.195 ;;(font-lock-mode -1) 18.196 (font-lock-mode 1) ;;Why should I fontify again??? 18.197 ;; in yatex-mode, there's no need to refontify... 18.198 - (font-lock-fontify-buffer) 18.199 - )) 18.200 - )) 18.201 + (font-lock-fontify-buffer))))) 18.202 (set-syntax-table yahtml-syntax-table) 18.203 (use-local-map yahtml-mode-map) 18.204 (YaTeX-read-user-completion-table) 18.205 @@ -754,32 +757,29 @@ 18.206 (strong "Strong" . 18.207 (lambda () (interactive) (yahtml-insert-tag nil "STRONG"))) 18.208 (VAR "Variable notation" . 18.209 - (lambda () (interactive) (yahtml-insert-tag nil "VAR"))) 18.210 - ))) 18.211 + (lambda () (interactive) (yahtml-insert-tag nil "var")))))) 18.212 (setq yahtml-menu-map-typeface (make-sparse-keymap "typeface tags")) 18.213 (YaTeX-define-menu 18.214 'yahtml-menu-map-typeface 18.215 (nreverse 18.216 '((b "Bold" . 18.217 - (lambda () (interactive) (yahtml-insert-tag nil "B"))) 18.218 + (lambda () (interactive) (yahtml-insert-tag nil "b"))) 18.219 (i "Italic" . 18.220 - (lambda () (interactive) (yahtml-insert-tag nil "I"))) 18.221 + (lambda () (interactive) (yahtml-insert-tag nil "i"))) 18.222 (tt "Typewriter" . 18.223 - (lambda () (interactive) (yahtml-insert-tag nil "TT"))) 18.224 + (lambda () (interactive) (yahtml-insert-tag nil "tt"))) 18.225 (u "Underlined" . 18.226 - (lambda () (interactive) (yahtml-insert-tag nil "U"))) 18.227 - ))) 18.228 + (lambda () (interactive) (yahtml-insert-tag nil "u")))))) 18.229 (setq yahtml-menu-map-listing (make-sparse-keymap "listing")) 18.230 (YaTeX-define-menu 18.231 'yahtml-menu-map-listing 18.232 (nreverse 18.233 '((ul "Unordered" . 18.234 - (lambda () (interactive) (yahtml-insert-begend nil "UL"))) 18.235 + (lambda () (interactive) (yahtml-insert-begend nil "ul"))) 18.236 (ol "Ordered" . 18.237 - (lambda () (interactive) (yahtml-insert-begend nil "OL"))) 18.238 + (lambda () (interactive) (yahtml-insert-begend nil "ol"))) 18.239 (dl "Definition" . 18.240 - (lambda () (interactive) (yahtml-insert-begend nil "DL"))) 18.241 - ))) 18.242 + (lambda () (interactive) (yahtml-insert-begend nil "dl")))))) 18.243 (setq yahtml-menu-map-item (make-sparse-keymap "item")) 18.244 (YaTeX-define-menu 18.245 'yahtml-menu-map-item 18.246 @@ -789,8 +789,7 @@ 18.247 (dt "Define term" . 18.248 (lambda () (interactive) (yahtml-insert-single "dt"))) 18.249 (dd "Description of term" . 18.250 - (lambda () (interactive) (yahtml-insert-single "dd"))) 18.251 - ))) 18.252 + (lambda () (interactive) (yahtml-insert-single "dd")))))) 18.253 (define-key yahtml-mode-map [menu-bar yahtml] 18.254 (cons "yahtml" yahtml-menu-map)) 18.255 (YaTeX-define-menu 18.256 @@ -806,16 +805,14 @@ 18.257 (cons (list 'logi "Logical tags") 18.258 (cons "logical" yahtml-menu-map-logical)) 18.259 (cons (list 'type "Typeface tags") 18.260 - (cons "typeface" yahtml-menu-map-typeface)) 18.261 - ))) 18.262 + (cons "typeface" yahtml-menu-map-typeface))))) 18.263 (if (featurep 'xemacs) 18.264 (add-hook 'yahtml-mode-hook 18.265 '(lambda () 18.266 (or (assoc "yahtml" current-menubar) 18.267 (progn 18.268 (set-buffer-menubar (copy-sequence current-menubar)) 18.269 - (add-submenu nil yahtml-menu-map)))))) 18.270 - )) 18.271 + (add-submenu nil yahtml-menu-map)))))))) 18.272 18.273 ;;; ----------- Completion ---------- 18.274 (defvar yahtml-last-begend "html") 18.275 @@ -837,7 +834,7 @@ 18.276 (or (cdr (assoc yahtml-last-begend yahtml-env-table)) 18.277 yahtml-last-begend)) 18.278 (setq cmd yahtml-last-begend) 18.279 - (if yahtml-prefer-upcases (setq cmd (upcase cmd))) 18.280 + (setq cmd (funcall (if yahtml-prefer-upcases 'upcase 'downcase) cmd)) 18.281 (if region 18.282 ;; We want to keep region effective for new tagged environment 18.283 ;; to enable continuous regioning by another environment 18.284 @@ -896,6 +893,25 @@ 18.285 "class(or class list delimited by \\[quoted-insert] SPC): ")) 18.286 nil YaTeX-minibuffer-completion-map nil))) 18.287 18.288 +(defvar yahtml-newpage-command "newpage.rb" 18.289 + "*Command name to create new HTML file referring to index.html. 18.290 +This command should create new HTML file named argument 1 and 18.291 +output string like `<a href=\"newfile.html\">anchor tag</a>'. 18.292 +This program should take -o option to overwrite existing HTML file.") 18.293 +(defun yahtml-newpage (file ov) 18.294 + "Create newpage via newpage script" 18.295 + (interactive 18.296 + (list 18.297 + (let (insert-default-directory) 18.298 + (read-file-name "New webpage file name: " "")) 18.299 + current-prefix-arg)) 18.300 + (if (and (file-exists-p file) (not ov)) 18.301 + (error "%s already exists. Call this with universal argument to force overwrite." file)) 18.302 + (insert (substring 18.303 + (YaTeX-command-to-string 18.304 + (concat yahtml-newpage-command " " (if ov "-o ") file)) 18.305 + 0 -1))) 18.306 + 18.307 ;;; ---------- Add-in ---------- 18.308 (defun yahtml-addin (form) 18.309 "Check add-in function's existence and call it if exists." 18.310 @@ -904,6 +920,7 @@ 18.311 (and (setq a (yahtml-css-get-element-completion-alist form)) 18.312 (not (equal last-command-char ?\C-j)) 18.313 (memq yahtml-current-completion-type '(multiline inline)) 18.314 + (not (string-match "#" form)) 18.315 (yahtml-make-optional-argument ;should be made generic? 18.316 "class" (yahtml-read-css a))) 18.317 (if (and (intern-soft addin) (fboundp (intern-soft addin)) 18.318 @@ -937,16 +954,14 @@ 18.319 (setq list (cons 18.320 (list (concat "#" (YaTeX-match-string 1))) 18.321 list)))) 18.322 - list))) 18.323 - ) 18.324 + list)))) 18.325 18.326 (defvar yahtml-url-completion-map nil "Key map used in URL completion buffer") 18.327 (if yahtml-url-completion-map nil 18.328 (setq yahtml-url-completion-map 18.329 (copy-keymap minibuffer-local-completion-map)) 18.330 (define-key yahtml-url-completion-map "\t" 'yahtml-complete-url) 18.331 - (define-key yahtml-url-completion-map " " 'yahtml-complete-url) 18.332 -) 18.333 + (define-key yahtml-url-completion-map " " 'yahtml-complete-url)) 18.334 18.335 (defun yahtml-complete-url () 18.336 "Complete external URL from history or local file name." 18.337 @@ -1007,8 +1022,8 @@ 18.338 18.339 ; 18.340 ; Subject: [yatex:02849] Re: [yahtml] tilda in href tag 18.341 -; From: Masayasu Ishikawa <mimasa@sfc.keio.ac.jp> 18.342 -; To: yatex@arcadia.jaist.ac.jp 18.343 +; From: Masayasu Ishikawa <mimasa<at>sfc.keio.ac.jp> 18.344 +; To: yatex<at>arcadia.jaist.ac.jp 18.345 ; Date: Mon, 31 May 1999 21:09:31 +0900 18.346 ; RFC 2396 の "2.4.3. Excluded US-ASCII Characters" によると、以下の文字 18.347 ; は必ずエスケープしないといけません。 18.348 @@ -1049,6 +1064,21 @@ 18.349 (setq str (substring str (1+ p)))) 18.350 (concat target str))))) 18.351 18.352 +(defun yahtml-unescape-string (str) 18.353 + "Untranslate reserved URL-encoded string." 18.354 + (let ((p 0) c (target "") (md (match-data)) (case-fold-search nil)) 18.355 + (unwind-protect 18.356 + (progn 18.357 + (while (string-match "%\\([0-9a-f][0-9a-f]\\)" str p) 18.358 + (setq target (concat target 18.359 + (substring str p (1- (match-beginning 1)))) 18.360 + p (match-end 0) 18.361 + c (YaTeX-hex (substring 18.362 + str (match-beginning 1) (match-end 1))) 18.363 + target (concat target (format "%c" c)))) 18.364 + (concat target (substring str p))) 18.365 + (store-match-data md)))) 18.366 + 18.367 (defun yahtml-escape-chars-region (beg end) 18.368 "Translate reserved chars to encoded string in the region." 18.369 (interactive "r") 18.370 @@ -1094,8 +1124,7 @@ 18.371 (null (assoc href yahtml-urls-local))) 18.372 (YaTeX-update-table 18.373 (list href) 18.374 - 'yahtml-urls-private 'yahtml-urls-private 'yahtml-urls-local)) 18.375 - ))) 18.376 + 'yahtml-urls-private 'yahtml-urls-private 'yahtml-urls-local))))) 18.377 18.378 (defvar yahtml-parameters-completion-alist 18.379 '(("align" ("top") ("middle") ("bottom") ("left") ("right") ("center")) 18.380 @@ -1135,6 +1164,10 @@ 18.381 ((eq alist 'file) 18.382 (let ((insert-default-directory)) 18.383 (read-file-name prompt "" default nil ""))) 18.384 + ((eq alist 'command) 18.385 + (if (fboundp 'read-shell-command) 18.386 + (read-shell-command prompt) 18.387 + (read-string prompt))) 18.388 ((and alist (symbolp alist)) 18.389 (completing-read prompt (symbol-value alist) nil nil default)) 18.390 (alist 18.391 @@ -1340,8 +1373,7 @@ 18.392 height (yahtml-hex-value 22 4 t))) 18.393 (t 18.394 (setq width (yahtml-hex-value 18 2 t) 18.395 - height (yahtml-hex-value 20 2 t))))) 18.396 - )) 18.397 + height (yahtml-hex-value 20 2 t))))))) 18.398 (message "") 18.399 (kill-buffer tmpbuf)) 18.400 (list width height bytes depth (nreverse comment))))) 18.401 @@ -1349,11 +1381,16 @@ 18.402 (defun yahtml:form () 18.403 "Add-in function `form' input format" 18.404 (concat 18.405 - " " (if yahtml-prefer-upcase-attributes "METHOD" "method") "=" 18.406 + " " (if yahtml-prefer-upcase-attributes "METHOD" "method") "=\"" 18.407 (completing-read "Method: " '(("POST") ("GET")) nil t) 18.408 + "\"" 18.409 + (yahtml-make-optional-argument 18.410 + (if yahtml-prefer-upcase-attributes "ENCTYPE" "enctype") 18.411 + (completing-read 18.412 + "Enctype: " 18.413 + '(("application/x-www-form-urlencoded") ("multipart/form-data")))) 18.414 " " (if yahtml-prefer-upcase-attributes "ACTION" "action") "=\"" 18.415 - (read-string "Action: ") "\"" 18.416 - )) 18.417 + (read-string "Action: ") "\"")) 18.418 18.419 (defun yahtml:select () 18.420 "Add-in function for `select' input format" 18.421 @@ -1402,8 +1439,7 @@ 18.422 (yahtml-make-optional-argument "type" type) 18.423 (yahtml-make-optional-argument "value" value) 18.424 (yahtml-make-optional-argument "size" size) 18.425 - (yahtml-make-optional-argument "maxlength" maxlength) 18.426 - ))) 18.427 + (yahtml-make-optional-argument "maxlength" maxlength)))) 18.428 18.429 (defun yahtml:textarea () 18.430 "Add-in function for `textarea'" 18.431 @@ -1515,8 +1551,8 @@ 18.432 (yahtml-make-optional-argument 18.433 "type" (yahtml-read-parameter "type" "text/css")) 18.434 (yahtml-make-optional-argument 18.435 - "href" (read-from-minibuffer "href: " "" yahtml-url-completion-map)) 18.436 - ))))) 18.437 + "href" 18.438 + (read-from-minibuffer "href: " "" yahtml-url-completion-map))))))) 18.439 18.440 (defvar yahtml:meta-names 18.441 '(("name" ("keywords")("author")("copyright")("date")("GENERATOR")))) 18.442 @@ -1577,16 +1613,24 @@ 18.443 (yahtml-make-optional-argument 18.444 "height" (yahtml-read-parameter "height")) 18.445 (yahtml-make-optional-argument 18.446 - "align" (yahtml-read-parameter "align")) 18.447 - )) 18.448 + "align" (yahtml-read-parameter "align")))) 18.449 (t 18.450 - "" 18.451 - )))) 18.452 + "")))) 18.453 18.454 (defun yahtml:abbr () 18.455 "Add-in function for abbr." 18.456 (yahtml-make-optional-argument "title" (yahtml-read-parameter "title"))) 18.457 18.458 +(defun yahtml:button () 18.459 + (concat 18.460 + (yahtml-make-optional-argument 18.461 + "name" (yahtml-read-parameter "name")) 18.462 + (yahtml-make-optional-argument 18.463 + "type" (yahtml-read-parameter 18.464 + "type" "button" '(("submit")("reset")("button")))) 18.465 + (yahtml-make-optional-argument 18.466 + "value" (yahtml-read-parameter "value")))) 18.467 + 18.468 ;;; ---------- Simple tag ---------- 18.469 (defun yahtml-insert-tag (region-mode &optional tag) 18.470 "Insert <TAG> </TAG> and put cursor inside of them." 18.471 @@ -1620,7 +1664,6 @@ 18.472 (interactive) 18.473 (yahtml-insert-tag t tag)) 18.474 18.475 - 18.476 (defvar yahtml-need-single-closer nil) ;for test 18.477 (defun yahtml-insert-single (cmd) 18.478 "Insert <CMD>." 18.479 @@ -1681,7 +1724,8 @@ 18.480 (format "%s=\"%s\"--" (if (string-match "/" file) "virtual" "file") file))) 18.481 18.482 (defun yahtml:!--\#exec () 18.483 - (format "cmd=\"%s\"--" (yahtml-read-parameter "cmd" "" '(("cmd" . file))))) 18.484 + (format "cmd=\"%s\"--" 18.485 + (yahtml-read-parameter "cmd" "" '(("cmd" . command))))) 18.486 18.487 ;;; ---------- Jump ---------- 18.488 (defun yahtml-on-href-p () 18.489 @@ -1701,8 +1745,7 @@ 18.490 (skip-chars-forward " \t\n") 18.491 (looking-at "\"?\\([^\"> \t\n]+\\)\"?")) 18.492 (< p (match-end 0)) 18.493 - (YaTeX-match-string 1) 18.494 - )))) 18.495 + (yahtml-unescape-string (YaTeX-match-string 1)))))) 18.496 18.497 (defun yahtml-netscape-sentinel (proc mes) 18.498 (cond 18.499 @@ -1813,8 +1856,7 @@ 18.500 (if (and (re-search-backward "<" nil t) 18.501 (looking-at 18.502 ;(concat "<\\(/?" yahtml-struct-name-regexp "\\)\\b") 18.503 - "<\\(/?[A-Z][A-Z0-9]*\\)\\b" 18.504 - ) 18.505 + "<\\(/?[A-Z][A-Z0-9]*\\)\\b") 18.506 (condition-case nil 18.507 (forward-list 1) 18.508 (error nil)) 18.509 @@ -1881,7 +1923,8 @@ 18.510 (let ((tag (yahtml-current-tag)) image (p (point)) (case-fold-search t)) 18.511 (if (and tag 18.512 (string-match "img" tag) 18.513 - (setq image (yahtml-get-attrvalue "src"))) 18.514 + (setq image 18.515 + (yahtml-unescape-string (yahtml-get-attrvalue "src")))) 18.516 (progn 18.517 (message "Invoking %s %s..." yahtml-image-viewer image) 18.518 (start-process 18.519 @@ -1895,7 +1938,7 @@ 18.520 (let ((env (yahtml-current-tag)) s (p (point))) 18.521 (cond 18.522 ((string-match "applet" env) 18.523 - (if (setq s (yahtml-get-attrvalue "code")) 18.524 + (if (setq s (yahtml-unescape-string (yahtml-get-attrvalue "code"))) 18.525 (progn 18.526 (setq s (YaTeX-match-string 1) 18.527 s (concat 18.528 @@ -1947,8 +1990,7 @@ 18.529 ((yahtml-goto-corresponding-img)) 18.530 ((yahtml-goto-corresponding-source other)) 18.531 ((yahtml-goto-corresponding-begend)) 18.532 - (t (message "I don't know where to go.")) 18.533 - )) 18.534 + (t (message "I don't know where to go.")))) 18.535 18.536 (defun yahtml-goto-corresponding-*-other-window () 18.537 "Go to corresponding object." 18.538 @@ -2012,8 +2054,7 @@ 18.539 "Kill current position's HTML tag (set)." 18.540 (interactive "P") 18.541 (cond 18.542 - ((yahtml-kill-begend whole)) 18.543 - )) 18.544 + ((yahtml-kill-begend whole)))) 18.545 18.546 18.547 ;;; ---------- changing ---------- 18.548 @@ -2161,8 +2202,7 @@ 18.549 (interactive) 18.550 (cond 18.551 ((yahtml-change-begend)) 18.552 - ((yahtml-change-command)) 18.553 - )) 18.554 + ((yahtml-change-command)))) 18.555 18.556 ;;; ---------- commenting ---------- 18.557 18.558 @@ -2184,7 +2224,7 @@ 18.559 (beginning-of-line) 18.560 (forward-line 1)) 18.561 (set-marker e (point)) 18.562 - ;(comment-region beg (point) (if uncom (list 4))) 18.563 + ;(comment-region beg (point) (if uncom (list 4))))) 18.564 )) 18.565 (t ;(comment-region (region-beginning) (region-end) (if uncom (list 4))) 18.566 (setq beg (region-beginning)) 18.567 @@ -2277,6 +2317,92 @@ 18.568 (goto-char (get 'YaTeX-inner-environment 'point)))) 18.569 e)) 18.570 18.571 +(defun yahtml-untranslate-string (str) 18.572 + "Untranslate entity reference." 18.573 + (let ((md (match-data)) (left "") (right str) b0 ch 18.574 + (ct (append yahtml-entity-reference-chars-alist 18.575 + yahtml-entity-reference-chars-alist-default)) 18.576 + (revrex yahtml-entity-reference-chars-reverse-regexp)) 18.577 + (unwind-protect 18.578 + (progn 18.579 + (while (string< "" right) 18.580 + (cond 18.581 + ((string-match revrex right) 18.582 + (setq ch (YaTeX-rassoc 18.583 + (substring right (match-beginning 1) (match-end 1))) 18.584 + b0 (substring right 0 (match-beginning 0)) 18.585 + right (substring right (match-end 0)) 18.586 + left (concat left 18.587 + (substring right 0 (match-beginning 0)) 18.588 + (char-to-string ch)))) 18.589 + ((string-match "\\&#\\(x\\)?\\([0-9a-f]+\\);" right) 18.590 + (setq ch (substring right (match-beginning 2) (match-end 2)) 18.591 + b0 (substring right 0 (match-beginning 0)) 18.592 + right (substring right (match-end 0)) 18.593 + left (concat left 18.594 + b0 18.595 + (char-to-string 18.596 + (if (match-beginning 1) 18.597 + (YaTeX-hex ch) 18.598 + (string-to-number ch)))))) 18.599 + (t (setq left (concat left right) 18.600 + right "")))) 18.601 + left) 18.602 + (store-match-data md)))) 18.603 + 18.604 +;;; ---------- table-ize region ---------- 18.605 +(defun yahtml-td-region (e delim beg end) 18.606 + "Enclose each item in a region with <td>..</td>. 18.607 +Interactive prefix argument consults enclosing element other than td." 18.608 + (interactive "P\nsDelimiter(s): \nr") 18.609 + (let ((e (cond 18.610 + ((null e) "td") 18.611 + ((stringp e) e) 18.612 + (t (read-string "Enclose with(`thd' means th td td..): " "th")))) 18.613 + (ws "[ \t]") 18.614 + elm p i) 18.615 + (if (string= delim "") (setq delim " \t\n")) 18.616 + (setq delim (concat "[" delim "]+") 18.617 + elm (if (string= "thd" e) 18.618 + (cons "th" "td") 18.619 + (cons e e))) 18.620 + (save-excursion 18.621 + (save-restriction 18.622 + (narrow-to-region beg end) 18.623 + (goto-char (setq p (point-min))) 18.624 + (setq i 0 e (car elm)) 18.625 + (while (re-search-forward delim nil t) 18.626 + (setq e (if (= (setq i (1+ i)) 1) (car elm) (cdr elm))) 18.627 + (goto-char (match-beginning 0)) 18.628 + (insert "</" e ">") 18.629 + (save-excursion 18.630 + (goto-char p) 18.631 + (insert "<" e ">")) 18.632 + (setq p (point)) 18.633 + (while (and (not (eobp)) (looking-at ws)) 18.634 + (delete-char 1)) 18.635 + (if (looking-at delim) (delete-char 1))) 18.636 + (insert "<" e ">") 18.637 + (goto-char (point-max)) 18.638 + (insert "</" e ">"))))) 18.639 + 18.640 +(defun yahtml-tr-region (e delim beg end) 18.641 + "Enclose lines in a form tab-sv/csv with <tr><td>..</td></tr>." 18.642 + (interactive "P\nsDelimiter(s): \nr") 18.643 + (setq e (if (and e (listp e)) 18.644 + (read-string "Enclose with(td or th, `thd' -> th td td td...: " 18.645 + "th"))) 18.646 + (save-excursion 18.647 + (save-restriction 18.648 + (narrow-to-region (point) (mark)) 18.649 + (goto-char (point-min)) 18.650 + (while (not (eobp)) 18.651 + (insert "<tr>") 18.652 + (yahtml-td-region e delim (point) (point-end-of-line)) 18.653 + (end-of-line) 18.654 + (insert "</tr>") 18.655 + (forward-line 1))))) 18.656 + 18.657 ;;; ---------- filling ---------- 18.658 (defvar yahtml-saved-move-to-column (symbol-function 'move-to-column)) 18.659 (defun yahtml-move-to-column (col &optional force) 18.660 @@ -2385,11 +2511,11 @@ 18.661 (yahtml-indent-line-real)))) 18.662 18.663 (defun yahtml-this-indent () 18.664 - (let ((envs "[uod]l\\|table\\|[ht][rhd0-6]\\|select\\|blockquote\\|center\\|menu\\|dir\\|font") 18.665 - (itemizing-envs "^\\([uod]l\\|menu\\|dir\\)$") 18.666 + (let ((envs "[uod]l\\|table\\|[ht][rhd0-6]\\|select\\|blockquote\\|center\\|menu\\|dir\\|d[td]\\|li") 18.667 + (itemizing-envs "^\\([uod]l\\|menu\\|dir\\|li\\|d[td]\\)$") 18.668 (itms "<\\(dt\\|dd\\|li\\|t[rdh]\\|option\\)\\b") 18.669 (excludes 18.670 - "\\(a\\|p\\|span\\|code\\|tt\\|em\\|u\\|i\\|big\\|small\\|font\\)\\b") 18.671 + "\\b\\(a\\|p\\|span\\|code\\|tt\\|em\\|u\\|i\\|big\\|small\\|font\\)\\b") 18.672 inenv p col peol (case-fold-search t)) 18.673 (save-excursion 18.674 (beginning-of-line) 18.675 @@ -2483,9 +2609,9 @@ 18.676 ;;; ---------- Lint and Browsing ---------- 18.677 ;;; 18.678 (defun yahtml-browse-menu () 18.679 - "Browsing menu" 18.680 + "Browsing or other external process invokation menu." 18.681 (interactive) 18.682 - (message "J)weblint p)Browse R)eload...") 18.683 + (message "J)weblint p)Browse R)eload N)ewpage...") 18.684 (let ((c (char-to-string (read-char)))) 18.685 (cond 18.686 ((string-match "j" c) 18.687 @@ -2493,7 +2619,9 @@ 18.688 ((string-match "[bp]" c) 18.689 (yahtml-browse-current-file)) 18.690 ((string-match "r" c) 18.691 - (yahtml-browse-reload))))) 18.692 + (yahtml-browse-reload)) 18.693 + ((string-match "n" c) 18.694 + (call-interactively 'yahtml-newpage))))) 18.695 18.696 (if (fboundp 'wrap-function-to-control-ime) 18.697 (wrap-function-to-control-ime 'yahtml-browse-menu t nil)) 18.698 @@ -2506,10 +2634,12 @@ 18.699 (interactive "bCall lint on buffer: ") 18.700 (setq buf (get-buffer buf)) 18.701 (YaTeX-save-buffers) 18.702 - (YaTeX-typeset 18.703 - (concat yahtml-lint-program " " 18.704 - (file-name-nondirectory (buffer-file-name buf))) 18.705 - yahtml-lint-buffer "lint" "lint")) 18.706 + (let ((bcmd (YaTeX-get-builtin "lint"))) 18.707 + (and bcmd (setq bcmd (yahtml-untranslate-string bcmd))) 18.708 + (YaTeX-typeset 18.709 + (concat (or bcmd yahtml-lint-program) 18.710 + " " (file-name-nondirectory (buffer-file-name buf))) 18.711 + yahtml-lint-buffer "lint" "lint"))) 18.712 18.713 (defun yahtml-file-to-url (file) 18.714 "Convert local unix file name to URL. 18.715 @@ -2572,7 +2702,7 @@ 18.716 (yahtml-browse-html (yahtml-file-to-url (buffer-file-name)))) 18.717 18.718 (defun yahtml-browse-reload () 18.719 - "Send `reload' event to netzscape." 18.720 + "Send `reload' event to netscape." 18.721 (let ((pb "* WWW Browser *") (cb (current-buffer))) 18.722 (cond 18.723 ((string-match "[Nn]etscape" yahtml-www-browser) 18.724 @@ -2632,7 +2762,8 @@ 18.725 (yahtml-insert-single "dt") 18.726 (or yahtml-always-/dt yahtml-faithful-to-htmllint (insert " ")) 18.727 (setq yahtml-last-single-cmd "dd"))) 18.728 - (insert (if yahtml-prefer-upcases "<DT> " "<dt> ")) 18.729 + (yahtml-insert-single "dt") 18.730 + (or yahtml-always-/li yahtml-faithful-to-htmllint (insert " ")) 18.731 (setq yahtml-last-single-cmd "dd")) 18.732 (yahtml-indent-line) 18.733 (and (string-match yahtml-p-prefered-env-regexp "dl") 18.734 @@ -2714,7 +2845,7 @@ 18.735 (cond 18.736 ((and (> cols 0) 18.737 (memq (read-char) '(?d ?D))) ;Duplication mode 18.738 - (setq line (YaTeX-buffer-substring (point) cp))) 18.739 + (setq line (YaTeX-buffer-substring (point) (1- cp)))) 18.740 (t ;empty cells 18.741 (setq line "<tr>" i 0) 18.742 (if (> cols 0) 18.743 @@ -2828,7 +2959,7 @@ 18.744 (setcdr a (cons (list class) (cdr a)))) 18.745 (setq alist (cons (list element (list class)) alist)))) 18.746 (goto-char (1- e)) 18.747 - (search-forward "}" nil t) 18.748 + (search-forward "}" nil 1) ;1=move to limit when not found. 18.749 (setq b (point)))) 18.750 alist)))) 18.751 18.752 @@ -2987,17 +3118,6 @@ 18.753 (font-lock-mode -1) ;is stupid, but sure. 18.754 (font-lock-mode 1)) 18.755 18.756 -;; (defun yahtml-fontify-to-tagend (lim) 18.757 -;; "*Fontify any tag including < and >. 18.758 -;; This is invalid use of font-lock function. Therefore 18.759 -;; this fontifying will loose effectiveness soon or later." 18.760 -;; (let ((start (match-beginning 0)) 18.761 -;; (end (progn (skip-chars-forward "^>") (1+ (point))))) 18.762 -;; (or nil; (font-lock-any-faces-p start end) 18.763 -;; (font-lock-fillin-text-property 18.764 -;; start end 'face 'font-lock font-lock-keyword-face))) 18.765 -;; nil) 18.766 - 18.767 (run-hooks 'yahtml-load-hook) 18.768 (provide 'yahtml) 18.769
19.1 --- a/yatex.el Mon Sep 28 12:48:28 2009 +0900 19.2 +++ b/yatex.el Thu Jan 12 12:26:35 2012 +0900 19.3 @@ -1,15 +1,15 @@ 19.4 ;;; -*- Emacs-Lisp -*- 19.5 ;;; Yet Another tex-mode for emacs - //野鳥// 19.6 -;;; yatex.el rev. 1.74 19.7 -;;; (c)1991-2009 by HIROSE Yuuji.[yuuji@yatex.org] 19.8 -;;; Last modified Mon Sep 28 10:44:35 2009 on firestorm 19.9 +;;; yatex.el rev. 1.75 19.10 +;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] 19.11 +;;; Last modified Thu Jan 12 11:40:38 2012 on firestorm 19.12 ;;; $Id$ 19.13 ;;; The latest version of this software is always available at; 19.14 ;;; http://www.yatex.org/ 19.15 19.16 (require 'comment) 19.17 (require 'yatexlib) 19.18 -(defconst YaTeX-revision-number "1.74" 19.19 +(defconst YaTeX-revision-number "1.75" 19.20 "Revision number of running yatex.el") 19.21 19.22 ;---------- Local variables ---------- 19.23 @@ -82,6 +82,10 @@ 19.24 (if YaTeX-dos "%e" "-t %e") 19.25 "*`To' page format of dvi filter. %e will turn to end page number.") 19.26 19.27 +(defvar YaTeX-dvipdf-command 19.28 + "dvipdfmx" 19.29 + "*Command name to convert dvi file to PDF.") 19.30 + 19.31 (defvar YaTeX-default-document-style 19.32 (concat (if YaTeX-japan "j") "article") 19.33 "*Default LaTeX Documentstyle for YaTeX-typeset-region.") 19.34 @@ -147,7 +151,7 @@ 19.35 for YaTeX-uncomment-paragraph.") 19.36 19.37 (defvar YaTeX-verbatim-environments 19.38 - '("verbatim" "verbatim*") 19.39 + '("verbatim" "verbatim*" "alltt") 19.40 "*Assume these environments of this variable disable LaTeX commands.") 19.41 (defvar YaTeX-verb-regexp "verb\\*?\\|path" 19.42 "*Regexp of verb family. Do not contain preceding \\\\ nor \\(\\).") 19.43 @@ -363,7 +367,7 @@ 19.44 19.45 (defvar singlecmd-table 19.46 (append 19.47 - '(("maketitle") ("makeindex") ("sloppy") ("protect") 19.48 + '(("maketitle") ("makeindex") ("sloppy") ("protect") ("par") 19.49 ("LaTeX") ("TeX") ("item") ("item[]") ("appendix") ("hline") ("kill") 19.50 ;;("rightarrow") ("Rightarrow") ("leftarrow") ("Leftarrow") 19.51 ("pagebreak") ("nopagebreak") ("tableofcontents") 19.52 @@ -455,8 +459,9 @@ 19.53 (YaTeX-define-key ")" 'YaTeX-insert-parens-region) 19.54 (YaTeX-define-key "$" 'YaTeX-insert-dollars-region) 19.55 (YaTeX-define-key "i" 'YaTeX-fill-item) 19.56 - (YaTeX-define-key 19.57 - "\\" '(lambda () (interactive) (insert "$\\backslash$"))) 19.58 + (YaTeX-define-key "\\" 19.59 + '(lambda () (interactive) 19.60 + (insert (if (YaTeX-in-math-mode-p) "\\backslash" "\\textbackslash")))) 19.61 (if YaTeX-no-begend-shortcut 19.62 (progn 19.63 (YaTeX-define-key "B" 'YaTeX-make-begin-end-region) 19.64 @@ -505,7 +510,7 @@ 19.65 (if YaTeX-dos 19.66 (define-key YaTeX-prefix-map "\C-r" 19.67 '(lambda () (interactive) 19.68 - (set-screen-height YaTeX-saved-screen-height) (recenter))))) 19.69 + (YaTeX-set-screen-height YaTeX-saved-screen-height) (recenter))))) 19.70 19.71 (defvar YaTeX-section-completion-map nil 19.72 "*Key map used at YaTeX completion in the minibuffer.") 19.73 @@ -687,7 +692,7 @@ 19.74 )) 19.75 (use-local-map YaTeX-mode-map) 19.76 (set-syntax-table YaTeX-mode-syntax-table) 19.77 - (if YaTeX-dos (setq YaTeX-saved-screen-height (screen-height))) 19.78 + (if YaTeX-dos (setq YaTeX-saved-screen-height (YaTeX-screen-height))) 19.79 (YaTeX-read-user-completion-table) 19.80 (and (fboundp 'YaTeX-hilit-setup-alist) (YaTeX-hilit-setup-alist)) 19.81 (makunbound 'inenv) 19.82 @@ -746,6 +751,7 @@ 19.83 (autoload 'YaTeX-goto-open-paren "yatexmth" "Goto opening paren" t) 19.84 (autoload 'YaTeX-change-parentheses "yatexmth" "Change corresponding parens" t) 19.85 (autoload 'YaTeX-goto-corresponding-paren "yatexmth" "\bigl\bigr jumps" t) 19.86 +(autoload 'YaTeX-typeset-math-region "yatexmth" "Typeset math-region" t) 19.87 19.88 ;;autoload from yatexhlp.el 19.89 (autoload 'YaTeX-help "yatexhlp" "YaTeX helper with LaTeX commands." t) 19.90 @@ -823,7 +829,15 @@ 19.91 (insert "\n") 19.92 (or exchange (exchange-point-and-mark))) 19.93 (goto-char beg2) 19.94 - (YaTeX-intelligent-newline nil) 19.95 + (if (intern-soft (concat "YaTeX-intelligent-newline-" env)) 19.96 + (progn 19.97 + (YaTeX-intelligent-newline nil) 19.98 + (message 19.99 + (cond 19.100 + (YaTeX-japan "%s で次の行の入力に進みます。") 19.101 + (t "`%s' produces the next line's template.")) 19.102 + (key-description 19.103 + (car (where-is-internal 'YaTeX-intelligent-newline)))))) 19.104 (YaTeX-indent-line)) 19.105 (YaTeX-package-auto-usepackage env 'env) 19.106 (if YaTeX-current-position-register 19.107 @@ -977,9 +991,11 @@ 19.108 'section-table 'user-section-table 'tmp-section-table) 19.109 (if YaTeX-current-position-register 19.110 (point-to-register YaTeX-current-position-register)) 19.111 - (if (string= (buffer-substring (- (point) 2) (point)) "{}") 19.112 - (forward-char -1)) 19.113 - (while (string= (buffer-substring (- (point) 3) (1- (point))) "{}") 19.114 + (if (string= (YaTeX-buffer-substring (- (point) 2) (point)) 19.115 + "{}") 19.116 + (forward-char -1)) 19.117 + (while (string= (YaTeX-buffer-substring (- (point) 3) (1- (point))) 19.118 + "{}") 19.119 (forward-char -2)) 19.120 (YaTeX-package-auto-usepackage section 'section)) 19.121 (if (<= (minibuffer-depth) 0) (use-global-map global-map)) 19.122 @@ -1100,7 +1116,7 @@ 19.123 (t 19.124 (mapcar 'YaTeX-sync-local-table 19.125 '(tmp-section-table tmp-env-table tmp-singlecmd-table)) 19.126 - (let*((pattern (buffer-substring begin end)) 19.127 + (let*((pattern (YaTeX-buffer-substring begin end)) 19.128 (all-table 19.129 (append 19.130 section-table user-section-table tmp-section-table 19.131 @@ -1114,8 +1130,9 @@ 19.132 ;; Next, 19.133 ;; search completion with backslash 19.134 (setq completion 19.135 - (try-completion (buffer-substring (1- begin) end) 19.136 - all-table nil) 19.137 + (try-completion 19.138 + (YaTeX-buffer-substring (1- begin) end) 19.139 + all-table nil) 19.140 begin (1- begin))) 19.141 (cond 19.142 ((null completion) 19.143 @@ -1189,13 +1206,51 @@ 19.144 (interactive "r") 19.145 (save-excursion 19.146 (goto-char end) 19.147 - (insert (or close "}")) 19.148 + (YaTeX-insert-inherit (or close "}")) 19.149 (goto-char beg) 19.150 - (insert (or open "{")))) 19.151 + (YaTeX-insert-inherit (or open "{")))) 19.152 + 19.153 +(defun YaTeX-get-macro-at-point (&optional p) 19.154 + "Get (La)TeX macro around point P." 19.155 + (interactive "d") 19.156 + (save-excursion 19.157 + (goto-char (setq p (or p (point)))) 19.158 + (let ((token (substring (substring YaTeX-TeX-token-regexp 1) 0 -2)) 19.159 + bsend) 19.160 + (and (not (bobp)) 19.161 + (or (looking-at YaTeX-TeX-token-regexp) 19.162 + (string-match 19.163 + YaTeX-TeX-token-regexp (char-to-string (preceding-char)))) 19.164 + (progn 19.165 + (skip-chars-backward token) 19.166 + (equal (preceding-char) ?\\)) 19.167 + (save-excursion 19.168 + (setq bsend (point)) 19.169 + (skip-chars-backward "\\\\") ;emacs18 doesn't return distance 19.170 + (/= (% (- bsend (point)) 2) 0)) ;consider \\ 19.171 + (looking-at YaTeX-TeX-token-regexp) 19.172 + (YaTeX-match-string 0))))) 19.173 19.174 (defun YaTeX-insert-braces (arg &optional open close) 19.175 (interactive "p") 19.176 - (let (env) 19.177 + (let ((begend-guide 19.178 + (function 19.179 + (lambda () 19.180 + (if (equal (get 'YaTeX-insert-braces 'begend-guide) 2) 19.181 + nil ;if triggered thrice, do nothing 19.182 + (momentary-string-display 19.183 + (format 19.184 + (cond 19.185 + (YaTeX-japan "begin/end入力には %s を使いましょう") 19.186 + (t "You don't understand Zen of `%s'!")) 19.187 + (key-description 19.188 + (car (where-is-internal 'YaTeX-make-begin-end)))) 19.189 + (point)) 19.190 + (put 'YaTeX-insert-braces 'begend-guide 19.191 + (+ 1 (string-to-int ;increment counter of beg-end guidance 19.192 + (prin1-to-string 19.193 + (get 'YaTeX-insert-braces 'begend-guide))))))))) 19.194 + env macro not-literal b e) 19.195 (cond 19.196 ((YaTeX-jmode) (YaTeX-self-insert arg)) 19.197 ((not (YaTeX-closable-p)) (YaTeX-self-insert arg)) 19.198 @@ -1205,7 +1260,7 @@ 19.199 (looking-at "\\\\left\\\\")) 19.200 (insert "{\\right\\}") 19.201 (forward-char -8)) 19.202 - ((save-excursion ;from matsu@math.s.chiba-u.ac.jp 19.203 + ((save-excursion ;from matsu<at>math.s.chiba-u.ac.jp 19.204 (and (> (- (point) (point-min)) 6) (forward-char -6)) 19.205 (looking-at "\\\\[bB]igl\\\\")) 19.206 (insert 19.207 @@ -1223,49 +1278,93 @@ 19.208 ((= (preceding-char) ?\\ ) 19.209 (insert "{\\}") 19.210 (forward-char -2)) ;matsu's hack ends here 19.211 - ((and (> (point) (+ (point-min) 4)) 19.212 - (save-excursion (backward-char 4) (looking-at "\\\\end")) 19.213 - (not (YaTeX-literal-p)) 19.214 + ((and (setq not-literal (not (YaTeX-literal-p))) 19.215 + (equal "end" (setq macro (YaTeX-get-macro-at-point))) 19.216 (setq env (YaTeX-inner-environment))) 19.217 - (momentary-string-display 19.218 - (concat 19.219 - "{" 19.220 - (cond 19.221 - (YaTeX-japan 19.222 - (format "今度からはちゃんと %s b を使いましょう" YaTeX-prefix)) 19.223 - (t (format "You don't understand Zen of `%s b':p" YaTeX-prefix))) 19.224 - "}") 19.225 - (point)) 19.226 - (insert (or open "{") env (or close "}"))) 19.227 + (funcall begend-guide) 19.228 + (insert "{" env "}")) 19.229 + ((and not-literal (equal "begin" macro)) 19.230 + (insert "{") 19.231 + (save-excursion 19.232 + (indent-to (prog1 (- (current-column) 7) (insert "}\n"))) 19.233 + (insert "\\end{}") 19.234 + (setq e (point))) 19.235 + (setq env 19.236 + (YaTeX-read-environment 19.237 + (format "Begin environment(default %s): " YaTeX-env-name))) 19.238 + (if (string= "" env) (setq env YaTeX-env-name)) 19.239 + (setq YaTeX-env-name env) 19.240 + (funcall begend-guide) 19.241 + (delete-region (- (point) 7) e) 19.242 + (YaTeX-insert-begin-end env nil)) 19.243 (t 19.244 (insert (or open "{") (or close "}")) 19.245 (forward-char -1) 19.246 - (if (and (eq (char-after (point)) ?\}) 19.247 + (if (and (eq (char-after (point)) ?\}) ;; the case `\\{}' 19.248 (eq (char-after (- (point) 2)) ?\\ )) 19.249 (progn (insert "\\") (forward-char -1))) 19.250 )))) 19.251 19.252 (defun YaTeX-jmode () 19.253 (or (and (boundp 'canna:*japanese-mode*) canna:*japanese-mode*) 19.254 - (and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*))) 19.255 + (and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*) 19.256 + (and (boundp 'skk-mode) skk-mode (not skk-latin-mode)) 19.257 + (and (boundp 'default-input-method) default-input-method 19.258 + current-input-method))) 19.259 19.260 (defun YaTeX-jmode-off () 19.261 + (if (cond 19.262 + ((and (boundp 'canna:*japanese-mode*) canna:*japanese-mode*) 19.263 + (canna-toggle-japanese-mode) t) 19.264 + ((and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*) 19.265 + (egg:toggle-egg-mode-on-off) t) 19.266 + ((and (fboundp 'skk-mode) (boundp 'skk-mode) skk-mode) 19.267 + (cond 19.268 + ((fboundp 'skk-latin-mode) 19.269 + (or (and (boundp 'skk-henkan-mode) skk-henkan-mode) 19.270 + (and (boundp 'skk-henkan-on) 19.271 + (or skk-henkan-mode skk-henkan-active)) 19.272 + (and (boundp 'j-henkan-on) 19.273 + (or j-henkan-on j-henkan-active)) 19.274 + ;; Deactivate jmode if henkan-mode is not running. 19.275 + ;; Suggested by tt.tetsuo.tsukamoto. 19.276 + (progn 19.277 + (put 'YaTeX-jmode-on 'skkkata skk-katakana) 19.278 + (skk-latin-mode t)))) 19.279 + ((fboundp 'skk-mode-off) (skk-mode-off)) 19.280 + (t (j-mode-off))) 19.281 + t) 19.282 + ((and (fboundp 'toggle-input-method) current-input-method) 19.283 + (toggle-input-method) t) 19.284 + ((and (fboundp 'fep-force-off) (fep-force-off)))) 19.285 + (put 'YaTeX-jmode 'jmode t))) 19.286 + 19.287 +(defun YaTeX-jmode-on () 19.288 (cond 19.289 - ((and (boundp 'canna:*japanese-mode*) canna:*japanese-mode*) 19.290 - (canna-toggle-japanese-mode)) 19.291 - ((and (boundp 'egg:*mode-on*) egg:*mode-on* egg:*input-mode*) 19.292 - (egg:toggle-egg-mode-on-off)) 19.293 - ((and (fboundp 'skk-mode) (boundp 'skk-mode) skk-mode) 19.294 - (cond 19.295 - ((fboundp 'skk-latin-mode) (skk-latin-mode t)) 19.296 - ((fboundp 'skk-mode-off) (skk-mode-off)) 19.297 - (t (j-mode-off)))) 19.298 - ((and (fboundp 'toggle-input-method) current-input-method) 19.299 - (toggle-input-method)) 19.300 - ((and (fboundp 'fep-force-off) (fep-force-off))))) 19.301 + ((boundp 'canna:*japanese-mode*) 19.302 + (if (not canna:*japanese-mode*) (canna-toggle-japanese-mode))) 19.303 + ((boundp 'egg:*mode-on*) 19.304 + (and (not egg:*mode-on*) (not egg:*input-mode*) 19.305 + (egg:toggle-egg-mode-on-off))) 19.306 + ((and (fboundp 'skk-mode) (boundp 'skk-mode)) 19.307 + (if (get 'YaTeX-jmode-on 'skkkata) 19.308 + (skk-j-mode-on t) 19.309 + (skk-mode 1)) 19.310 + (put 'YaTeX-jmode-on 'skkkata nil)) 19.311 + ((fboundp 'toggle-input-method) 19.312 + (if (not current-input-method) (toggle-input-method))) 19.313 + ((and (fboundp 'fep-force-on) (fep-force-on))))) 19.314 + 19.315 +(defun YaTeX-jmode-back () 19.316 + (if (get 'YaTeX-jmode 'jmode) 19.317 + (YaTeX-jmode-on)) 19.318 + (setplist 'YaTeX-jmode nil)) 19.319 19.320 (defun YaTeX-self-insert (arg) 19.321 (call-interactively (global-key-binding (char-to-string last-command-char)))) 19.322 +(defun YaTeX-insert-inherit (&rest args) 19.323 + (apply (if (fboundp 'insert-and-inherit) 'insert-and-inherit 'insert) 19.324 + args)) 19.325 19.326 (defun YaTeX-insert-brackets (arg) 19.327 "Insert Kagi-kakko or \\ [ \\] pair or simply \[." 19.328 @@ -1278,35 +1377,35 @@ 19.329 ((save-excursion 19.330 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.331 (looking-at "\\\\left")) 19.332 - (insert "[\\right]") 19.333 + (YaTeX-insert-inherit "[\\right]") 19.334 (forward-char -7)) 19.335 - ((save-excursion ;from matsu@math.s.chiba-u.ac.jp 19.336 + ((save-excursion ;from matsu<at>math.s.chiba-u.ac.jp 19.337 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.338 (looking-at "\\\\[bB]igl")) 19.339 - (insert 19.340 + (YaTeX-insert-inherit 19.341 (concat 19.342 "[" (buffer-substring (match-beginning 0) (- (match-end 0) 1)) "r]")) 19.343 (forward-char -6)) 19.344 ((save-excursion 19.345 (and (> (- (point) (point-min)) 6) (forward-char -6)) 19.346 (looking-at "\\\\[bB]iggl")) 19.347 - (insert 19.348 + (YaTeX-insert-inherit 19.349 (concat 19.350 "[" (buffer-substring (match-beginning 0) (- (match-end 0) 1)) "r]")) 19.351 (forward-char -7)) ;matsu's hack ends here 19.352 ((and (= (preceding-char) ?\\ ) 19.353 (/= (char-after (- (point) 2)) ?\\ ) 19.354 (not (YaTeX-in-math-mode-p))) 19.355 - (insert last-command-char "\n") 19.356 + (YaTeX-insert-inherit last-command-char "\n") 19.357 (indent-to (max 0 col)) 19.358 - (insert "\\]") 19.359 + (YaTeX-insert-inherit "\\]") 19.360 (beginning-of-line) 19.361 (open-line 1) 19.362 (delete-region (point) (progn (beginning-of-line) (point))) 19.363 (indent-to (+ YaTeX-environment-indent (max 0 col))) 19.364 (or YaTeX-auto-math-mode YaTeX-math-mode (YaTeX-toggle-math-mode 1))) 19.365 ((YaTeX-closable-p) 19.366 - (insert "[]") 19.367 + (YaTeX-insert-inherit "[]") 19.368 (backward-char 1)) 19.369 (t (YaTeX-self-insert arg))))) 19.370 19.371 @@ -1323,27 +1422,27 @@ 19.372 ((save-excursion 19.373 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.374 (looking-at "\\\\left")) 19.375 - (insert "(\\right)") 19.376 + (YaTeX-insert-inherit "(\\right)") 19.377 (forward-char -7)) 19.378 - ((save-excursion ;from matsu@math.s.chiba-u.ac.jp 19.379 + ((save-excursion ;from matsu<at>math.s.chiba-u.ac.jp 19.380 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.381 (looking-at "\\\\[bB]igl")) 19.382 - (insert 19.383 + (YaTeX-insert-inherit 19.384 (concat 19.385 "(" (buffer-substring (match-beginning 0) (- (match-end 0) 1)) "r)")) 19.386 (forward-char -6)) 19.387 ((save-excursion 19.388 (and (> (- (point) (point-min)) 6) (forward-char -6)) 19.389 (looking-at "\\\\[bB]iggl")) 19.390 - (insert 19.391 + (YaTeX-insert-inherit 19.392 (concat 19.393 "(" (buffer-substring (match-beginning 0) (- (match-end 0) 1)) "r)")) 19.394 (forward-char -7)) 19.395 ((= (preceding-char) ?\\ ) ;matsu's hack ends here 19.396 - (insert "(\\)") 19.397 + (YaTeX-insert-inherit "(\\)") 19.398 (backward-char 2)) 19.399 ((YaTeX-closable-p) 19.400 - (insert "()") 19.401 + (YaTeX-insert-inherit "()") 19.402 (backward-char 1)) 19.403 (t (YaTeX-self-insert arg)))) 19.404 19.405 @@ -1360,9 +1459,9 @@ 19.406 ((save-excursion 19.407 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.408 (looking-at "\\\\left")) 19.409 - (insert "|\\right|") 19.410 + (YaTeX-insert-inherit "|\\right|") 19.411 (forward-char -7)) 19.412 - ((save-excursion ;from matsu@math.s.chiba-u.ac.jp 19.413 + ((save-excursion ;from matsu<at>math.s.chiba-u.ac.jp 19.414 (and (> (- (point) (point-min)) 5) (forward-char -5)) 19.415 (looking-at "\\\\[bB]igl")) 19.416 (insert 19.417 @@ -1376,10 +1475,10 @@ 19.418 (concat 19.419 "|" (buffer-substring (match-beginning 0) (- (match-end 0) 1)) "r|")) 19.420 (forward-char -7)) 19.421 - ((save-excursion ; added by Jin <MAF01011@nifty.ne.jp> 19.422 + ((save-excursion ; added by Jin <MAF01011<at>nifty.ne.jp> 19.423 (and (> (- (point) (point-min)) 6) (forward-char -6)) 19.424 (looking-at "\\\\left\\\\")) 19.425 - (insert "|\\right\\|") 19.426 + (YaTeX-insert-inherit "|\\right\\|") 19.427 (forward-char -8)) 19.428 ((save-excursion 19.429 (and (> (- (point) (point-min)) 6) (forward-char -6)) 19.430 @@ -1396,15 +1495,63 @@ 19.431 "|" (buffer-substring (match-beginning 0) (- (match-end 0) 2)) "r\\|")) 19.432 (forward-char -8)) ; added by Jin up to here. 19.433 ((= (preceding-char) ?\\ ) 19.434 - (insert "|\\|") 19.435 + (YaTeX-insert-inherit "|\\|") 19.436 (backward-char 2)) 19.437 ; ((and (YaTeX-closable-p) 19.438 ; (/= (preceding-char) ?|) 19.439 ; (/= (following-char) ?|)) 19.440 -; (insert "||") 19.441 +; (YaTeX-insert-inherit "||") 19.442 ; (backward-char 1)) 19.443 (t (YaTeX-self-insert arg)))) 19.444 19.445 +(defvar YaTeX-use-jmode-hook (not (and (fboundp 'skk-mode) (boundp 'skk-mode))) 19.446 + "*Non-nil means activate automatic jmode switcher within/out math mode. 19.447 +Hopefully, change default to t in the next version of 1.75.") 19.448 +(defun YaTeX-jmode-hook (old new) 19.449 + "A hook controling jmode on/off." 19.450 + ;; This function is called via point-entered/leave hook, so that 19.451 + ;; codes in it is evaluated on such emacsen as having text-properties. 19.452 + (let ((inhibit-point-motion-hooks t) 19.453 + (oldp (plist-get (text-properties-at old) 'point-left)) 19.454 + (newp (plist-get (text-properties-at new) 'point-left)) 19.455 + (lnew (plist-get (text-properties-at new) 'last-new)) 19.456 + (mjmode (plist-get (text-properties-at new) 'mjmode)) 19.457 + (bmp (buffer-modified-p)) 19.458 + (jm (YaTeX-jmode)) b e) 19.459 + (unwind-protect 19.460 + (cond 19.461 + ((eq lnew new) nil) ;Do nothing if continuous entry 19.462 + ((and (not (eq newp 'YaTeX-jmode-hook)) 19.463 + (eq oldp 'YaTeX-jmode-hook) 19.464 + (plist-get (text-properties-at old) 'entered)) 19.465 + ;; leave 19.466 + (remove-text-properties 19.467 + (setq b (1+ (or (previous-single-property-change old 'point-left) 19.468 + (1- (point))))) 19.469 + (setq e (1- (or (next-single-property-change old 'point-left) 19.470 + (1+ (point))))) 19.471 + (list 'last-new nil 'entered nil)) 19.472 + (add-text-properties b e (list 'mjmode jm)) 19.473 + (if (boundp 'skk-katakana) 19.474 + (put 'YaTeX-jmode-on 'skkkata skk-katakana)) 19.475 + (if (plist-get (text-properties-at old) 'jmode) 19.476 + (YaTeX-jmode-on))) 19.477 + ((and (not (eq oldp 'YaTeX-jmode-hook)) 19.478 + (eq newp 'YaTeX-jmode-hook) 19.479 + (not (plist-get (text-properties-at new) 'entered))) 19.480 + ;; enter 19.481 + (add-text-properties 19.482 + (1+ (or (previous-single-property-change new 'point-left) 19.483 + (1- (point)))) 19.484 + (1- (or (next-single-property-change new 'point-left) 19.485 + (1+ (point)))) 19.486 + (list 'jmode jm 'last-new new 'entered t)) 19.487 + (if (boundp 'skk-katakana) ;care for skk katakana mode 19.488 + (put 'YaTeX-jmode-on 'skkkata skk-katakana)) 19.489 + (if mjmode (YaTeX-jmode-on) (YaTeX-jmode-off)))) 19.490 + ;;unwind job 19.491 + (set-buffer-modified-p bmp)))) 19.492 + 19.493 (defun YaTeX-insert-dollar () 19.494 (interactive) 19.495 (if (or (not (YaTeX-closable-p)) 19.496 @@ -1414,6 +1561,16 @@ 19.497 (insert "$") 19.498 (insert "$$") 19.499 (forward-char -1) 19.500 + (and YaTeX-use-jmode-hook 19.501 + (fboundp 'add-text-properties) 19.502 + (add-text-properties 19.503 + (1- (point)) (1+ (point)) 19.504 + (list 'point-left 'YaTeX-jmode-hook 19.505 + 'point-entered 'YaTeX-jmode-hook 19.506 + 'front-sticky t 19.507 + 'rear-nonsticky t 19.508 + 'mjmode nil 19.509 + 'jmode (YaTeX-jmode)))) 19.510 (YaTeX-jmode-off) 19.511 (or YaTeX-auto-math-mode YaTeX-math-mode (YaTeX-toggle-math-mode 1)))) 19.512 19.513 @@ -1445,17 +1602,19 @@ 19.514 Optional second argument CHAR is for non-interactive call from menu." 19.515 (interactive "P") 19.516 (message 19.517 - (concat "J)latex R)egion B)ibtex mk(I)ndex " 19.518 - (if (fboundp 'start-process) "K)ill-latex ") 19.519 + (concat "J)latex R)egion E)nv B)ibtex mk(I)dx " 19.520 + "latex+p(D)f " 19.521 + (if (fboundp 'start-process) "K)ill ") 19.522 "P)review " 19.523 (and (boundp 'window-system) window-system "S)earch ") 19.524 - "V)iewerr L)pr")) 19.525 + "V)iewErr L)pr")) 19.526 (let ((sw (selected-window)) (c (or char (read-char)))) 19.527 (require 'yatexprc) ;for Nemacs's bug 19.528 (select-window sw) 19.529 (cond 19.530 ((= c ?j) (YaTeX-typeset-buffer)) 19.531 ((= c ?r) (YaTeX-typeset-region)) 19.532 + ((= c ?e) (YaTeX-typeset-environment)) 19.533 ((= c ?b) (YaTeX-call-command-on-file 19.534 bibtex-command "*YaTeX-bibtex*" YaTeX-parent-file)) 19.535 ((= c ?i) (YaTeX-call-command-on-file 19.536 @@ -1463,6 +1622,7 @@ 19.537 ((= c ?k) (YaTeX-kill-typeset-process YaTeX-typeset-process)) 19.538 ((= c ?p) (call-interactively 'YaTeX-preview)) 19.539 ((= c ?q) (YaTeX-system "lpq" "*Printer queue*")) 19.540 + ((= c ?d) (YaTeX-typeset-buffer YaTeX-dvipdf-command)) 19.541 ((= c ?v) (YaTeX-view-error)) 19.542 ((= c ?l) (YaTeX-lpr arg)) 19.543 ((= c ?m) (YaTeX-switch-mode-menu arg)) 19.544 @@ -1488,7 +1648,8 @@ 19.545 ((= c ?l) "%#LPR"))) 19.546 (if (re-search-forward key nil t) 19.547 (progn 19.548 - (setq string (buffer-substring (point) (point-end-of-line))) 19.549 + (setq string (YaTeX-buffer-substring 19.550 + (point) (point-end-of-line))) 19.551 (delete-region (point) (progn (end-of-line) (point)))) 19.552 (open-line 1) 19.553 (delete-region (point) (progn (beginning-of-line)(point)));for 19 :-< 19.554 @@ -1515,6 +1676,29 @@ 19.555 (set-marker e nil)) 19.556 )))) 19.557 19.558 +(defvar YaTeX-refcommand-def-regexp-default 19.559 + "label\\|bibitem") 19.560 +(defvar YaTeX-refcommand-def-regexp-private nil 19.561 + "*Regexp of defining label commands") 19.562 +(defvar YaTeX-refcommand-def-regexp 19.563 + (concat (if YaTeX-refcommand-def-regexp-private 19.564 + (concat YaTeX-refcommand-def-regexp-private "\\|")) 19.565 + YaTeX-refcommand-def-regexp-default)) 19.566 + 19.567 +(defvar YaTeX-refcommand-ref-regexp-default 19.568 + "\\(page\\|eq\\|fig\\)?ref\\|cite") 19.569 +(defvar YaTeX-refcommand-ref-regexp-private nil 19.570 + "*Regexp of referring label commands") 19.571 +(defvar YaTeX-refcommand-ref-regexp 19.572 + (concat (if YaTeX-refcommand-ref-regexp-private 19.573 + (concat YaTeX-refcommand-ref-regexp-private "\\|")) 19.574 + YaTeX-refcommand-ref-regexp-default)) 19.575 + 19.576 +(defvar YaTeX-refcommand-regexp 19.577 + (concat YaTeX-refcommand-def-regexp 19.578 + "\\|" YaTeX-refcommand-ref-regexp) 19.579 + "Regexp of label defining/referring command name.") 19.580 + 19.581 (defun YaTeX-goto-corresponding-label (reverse &optional otherwin) 19.582 "Jump to corresponding \\label{} and \\ref{} or \\cite and \\bibitem. 19.583 The default search direction depends on the command at the cursor position. 19.584 @@ -1530,7 +1714,7 @@ 19.585 If optional second argument OTHERWIN is non-nil, move to other window." 19.586 19.587 (let ((scmd "") label direc string blist (p (point)) (cb (current-buffer)) 19.588 - (refcommands "label\\|\\(page\\|eq\\)?ref\\|cite\\|bibitem") 19.589 + (refcommands YaTeX-refcommand-regexp) 19.590 (foundmsg (format "Type %s %c to return to original position." 19.591 (key-description 19.592 (car 19.593 @@ -1557,7 +1741,7 @@ 19.594 "\\\\bibitem\\(\\[[^]]+\\]\\)?{%k}\\|^\\s *@[a-z]+{%k,") 19.595 ("bibitem" . "\\\\cite\\(\\[[^]]+\\]\\)?"))))) 19.596 (goto-char (match-end 0)) 19.597 - (let ((label (buffer-substring 19.598 + (let ((label (YaTeX-buffer-substring 19.599 (1- (point)) (progn (backward-list 1) (1+ (point))))) 19.600 (fp (make-marker))fl fn 19.601 (goother (function (lambda (buffer point) 19.602 @@ -1647,7 +1831,7 @@ 19.603 19.604 (defun YaTeX-goto-corresponding-file (&optional other) 19.605 "Visit or switch buffer of corresponding file, 19.606 -looking at \\input or \\include or \includeonly on current line." 19.607 +looking at \\input or \\include or \\includeonly on current line." 19.608 (if (not (YaTeX-on-includes-p)) nil 19.609 (let ((parent buffer-file-name) input-file b) 19.610 (save-excursion 19.611 @@ -1656,7 +1840,7 @@ 19.612 nil 19.613 (skip-chars-backward "^,{")) 19.614 (setq input-file 19.615 - (buffer-substring 19.616 + (YaTeX-buffer-substring 19.617 (point) (progn (skip-chars-forward "^ ,}") (point)))) 19.618 (if (not (string-match "\\.\\(tex\\|sty\\)$" input-file)) 19.619 (setq input-file (concat input-file ".tex")))) 19.620 @@ -2205,7 +2389,8 @@ 19.621 19.622 (defun YaTeX-read-section-with-overview () 19.623 "Read sectioning command with overview. 19.624 -This function refers a local variable `source-window' in YaTeX-make-section" 19.625 +This function refers a local variable `source-window' in YaTeX-make-section, 19.626 +because this function is called with no argument." 19.627 (interactive) 19.628 (require 'yatexsec) ;some case needs this 19.629 (if (> (minibuffer-depth) 1) 19.630 @@ -2238,9 +2423,9 @@ 19.631 (interactive) 19.632 (if (not (YaTeX-on-begin-end-p)) nil 19.633 (save-excursion 19.634 - (let (p env (m1 (match-beginning 1)) (m2 (match-beginning 2))) 19.635 - (setq env (if m1 (buffer-substring m1 (match-end 1)) 19.636 - (buffer-substring m2 (match-end 2)))) 19.637 + (let (p env newenv (m1 (match-beginning 1)) (m2 (match-beginning 2))) 19.638 + (setq env (if m1 (YaTeX-buffer-substring m1 (match-end 1)) 19.639 + (YaTeX-buffer-substring m2 (match-end 2)))) 19.640 (goto-char (match-beginning 0)) 19.641 (set-mark-command nil) 19.642 (YaTeX-goto-corresponding-environment) 19.643 @@ -2265,14 +2450,15 @@ 19.644 (beg (make-marker)) (end (make-marker)) old new) 19.645 (if (null where) nil 19.646 (unwind-protect 19.647 - (progn 19.648 + (let ((source-window (selected-window))) 19.649 (cond 19.650 ((equal where 0);;if point is on section command 19.651 (set-marker beg (match-beginning 1)) 19.652 (set-marker end (match-end 1)) 19.653 (goto-char beg) ;beginning of the command 19.654 (setq new (YaTeX-read-section 19.655 - (format "Change `%s' to: " cmd) nil))) 19.656 + (format "Change `%s' to: " cmd) nil) 19.657 + old cmd)) 19.658 19.659 ((= where -1);;if point is on a optional parameter 19.660 (set-marker beg (match-beginning 2)) 19.661 @@ -2283,9 +2469,10 @@ 19.662 (if (fboundp (intern-soft (concat YaTeX-addin-prefix cmd))) 19.663 (YaTeX-addin cmd) 19.664 (concat "[" 19.665 - (read-string (format "Change `%s' to: " 19.666 - (buffer-substring 19.667 - (1+ beg) (1- end)))) 19.668 + (read-string 19.669 + (format "Change `%s' to: " 19.670 + (setq old (YaTeX-buffer-substring 19.671 + (1+ beg) (1- end))))) 19.672 "]")))) 19.673 19.674 ((> where 0);;if point is in arguments' braces 19.675 @@ -2295,7 +2482,7 @@ 19.676 (forward-list 1) 19.677 (forward-char -1) 19.678 (set-marker end (point)) 19.679 - (setq old (buffer-substring beg end)) 19.680 + (setq old (YaTeX-buffer-substring beg end)) 19.681 (goto-char p) 19.682 (if (> (length old) 40) 19.683 (setq old (concat (substring old 0 12) "..." 19.684 @@ -2305,9 +2492,11 @@ 19.685 (funcall (intern-soft (concat "YaTeX::" cmd)) where) 19.686 (read-string (format "Change `%s' to: " old))))) 19.687 ) ;cond 19.688 - (delete-region beg end) 19.689 - (goto-char beg) 19.690 - (insert-before-markers new)) 19.691 + (if (string= old new) 19.692 + nil ;do not replace 19.693 + (delete-region beg end) 19.694 + (goto-char beg) 19.695 + (insert-before-markers new))) 19.696 (set-marker beg nil) 19.697 (set-marker end nil)) 19.698 ;;(goto-char (marker-position p)) 19.699 @@ -2422,7 +2611,8 @@ 19.700 nil 19.701 (goto-char (match-end 2)) 19.702 (skip-chars-forward 19.703 - (concat "^" (buffer-substring (match-beginning 2) (match-end 2)))) 19.704 + (concat "^" (YaTeX-buffer-substring 19.705 + (match-beginning 2) (match-end 2)))) 19.706 (and (< (match-beginning 2) point) (< (1- point) (point)))) 19.707 (store-match-data md))))) 19.708 19.709 @@ -2464,7 +2654,8 @@ 19.710 (if (match-beginning 2) 19.711 (setq nest (1+ nest)) 19.712 (setq nest (1- nest))) 19.713 - (if (< nest 0) (throw 'open t))))))) 19.714 + (if (< nest 0) 19.715 + (throw 'open (cons env (match-beginning 0))))))))) 19.716 ((listp env) 19.717 (setq p 19.718 (or (YaTeX-in-environment-p (car env)) 19.719 @@ -2478,21 +2669,25 @@ 19.720 ENV is given in the form of environment's name or its list. 19.721 This function returns correct result only if ENV is NOT nested." 19.722 (save-excursion 19.723 - (let ((md (match-data)) (p (point)) rc clfound) 19.724 + (let ((md (match-data)) m0 (p (point)) rc clfound) 19.725 (cond 19.726 ((listp env) 19.727 (or (YaTeX-quick-in-environment-p (car env)) 19.728 (and (cdr env) (YaTeX-quick-in-environment-p (cdr env))))) 19.729 (t 19.730 - (if (YaTeX-search-active-backward 19.731 - (YaTeX-replace-format-args YaTeX-struct-begin env "" "") 19.732 - YaTeX-comment-prefix nil t) 19.733 - (setq rc (not (YaTeX-search-active-forward 19.734 - (YaTeX-replace-format-args 19.735 - YaTeX-struct-end env) 19.736 - YaTeX-comment-prefix p t nil)))) 19.737 - (store-match-data md) 19.738 - rc))))) 19.739 + (unwind-protect 19.740 + (if (prog1 19.741 + (YaTeX-search-active-backward 19.742 + (YaTeX-replace-format-args YaTeX-struct-begin env "" "") 19.743 + YaTeX-comment-prefix nil t) 19.744 + (setq m0 (match-beginning 0))) 19.745 + (if (YaTeX-search-active-forward 19.746 + (YaTeX-replace-format-args 19.747 + YaTeX-struct-end env) 19.748 + YaTeX-comment-prefix p t nil) 19.749 + nil ;if \end{env} found, return nil 19.750 + (cons env m0))) ;else, return meaningful values 19.751 + (store-match-data md))))))) 19.752 19.753 ;; Filling \item 19.754 (defun YaTeX-remove-trailing-comment (start end) 19.755 @@ -2576,7 +2771,7 @@ 19.756 (newline) 19.757 (indent-to col) 19.758 (setq fill-prefix 19.759 - (buffer-substring (point-beginning-of-line)(point))) 19.760 + (YaTeX-buffer-substring (point-beginning-of-line)(point))) 19.761 (beginning-of-line) 19.762 (delete-region (point) (progn (forward-line 1) (point))) 19.763 (re-search-forward item-term nil 1) 19.764 @@ -2622,7 +2817,7 @@ 19.765 (setq end (point)) ;non-whitespace char 19.766 (skip-chars-forward " \t") 19.767 (equal (point) p)) 19.768 - (setq fill-prefix (buffer-substring p end))) 19.769 + (setq fill-prefix (YaTeX-buffer-substring p end))) 19.770 ((and ;;(not YaTeX-emacs-19) 19.771 (string-match YaTeX-itemizing-env-regexp inenv) 19.772 (setq ii (YaTeX-get-item-info))) 19.773 @@ -2630,7 +2825,7 @@ 19.774 (beginning-of-line) 19.775 (indent-to-column (car (cdr ii))) 19.776 (setq fill-prefix 19.777 - (buffer-substring (point) (point-beginning-of-line))) 19.778 + (YaTeX-buffer-substring (point) (point-beginning-of-line))) 19.779 (delete-region (point) (progn (beginning-of-line) (point)))))) 19.780 (cond 19.781 ((string-match "tabular" inenv)
20.1 --- a/yatex.new Mon Sep 28 12:48:28 2009 +0900 20.2 +++ b/yatex.new Thu Jan 12 12:26:35 2012 +0900 20.3 @@ -1,6 +1,25 @@ 20.4 What's new in YaTeX/yahtml 20.5 野鳥/yahtml - 各バージョンの変更点について 20.6 20.7 +1.75 === yatex === 20.8 + [prefix] t e でポイント位置を含む環境か数式環境をタイプセット。 20.9 + M-C-SPC で環境だけでなく数式環境もマークする。 20.10 + [prefix] t d でタイプセッタ起動成功のあと dvipdfmx を起動。 20.11 + \label{}でラベル名を入れたときは \ref{NAME} を自動的にkill-ringに追加。 20.12 + [prefix] t c で\label{NAME} の NAME を変えたら \ref のNAMEも変える。 20.13 + 同上のことを \cite/\bibitem にも。 20.14 + \bibitem{}を入れたときは \cite{TAG} を自動的にkill-ringに追加。 20.15 + \end 補完のお節介検査の精度を少し上げた。 20.16 + jsarticle, jsbook をデフォルト補完辞書に入れた。 20.17 + \begin の直後の { で自動的に \end 込みで環境補完(modify-modeと連動)。 20.18 + === yahtml === 20.19 + [prefix] t ブラウザメニューに「n:新規ページ作成」を追加(実験)。 20.20 + [prefix] t j のlintコマンドを <!-- #lint CmdLine --> 行で指定可。 20.21 + [prefix] } でリジョンを td 要素で括る(デフォルトは空白区切り)。 20.22 + [prefix] ] でリジョンを tr, td 要素で括る(1行1レコード)。 20.23 + 閉じ括弧のないCSSファイル解析が終われない問題を修正。 20.24 + li, dt, dd のインデント計算を環境型的に深さを変えるようにした。 20.25 + 20.26 1.74 === yatex === 20.27 YaTeX-kanji-code が 4 のときは UTF-8 とした。 20.28 Previewファイルの拡張子が.dviであるという仮定を弱くした(pdf等)。
21.1 --- a/yatexadd.el Mon Sep 28 12:48:28 2009 +0900 21.2 +++ b/yatexadd.el Thu Jan 12 12:26:35 2012 +0900 21.3 @@ -1,8 +1,8 @@ 21.4 ;;; -*- Emacs-Lisp -*- 21.5 ;;; YaTeX add-in functions. 21.6 -;;; yatexadd.el rev.18 21.7 -;;; (c)1991-2006 by HIROSE Yuuji.[yuuji@yatex.org] 21.8 -;;; Last modified Fri Sep 21 11:44:42 2007 on firestorm 21.9 +;;; yatexadd.el rev.19 21.10 +;;; (c)1991-2011 by HIROSE Yuuji.[yuuji@yatex.org] 21.11 +;;; Last modified Mon Mar 7 12:12:11 2011 on firestorm 21.12 ;;; $Id$ 21.13 21.14 ;;; 21.15 @@ -198,12 +198,16 @@ 21.16 21.17 (defun YaTeX:parbox () 21.18 (YaTeX:read-position "tbc")) 21.19 +(defun YaTeX::parbox (argp) 21.20 + (cond 21.21 + ((= argp 1) (read-string "Width: ")) 21.22 + ((= argp 2) (read-string "Text: ")))) 21.23 21.24 -(defun YaTeX:dashbox () 21.25 +(defun YaTeX::dashbox () 21.26 (concat "{" (read-string "Dash dimension: ") "}" 21.27 (YaTeX:read-coordinates "Dimension"))) 21.28 21.29 -(defun YaTeX:savebox (argp) 21.30 +(defun YaTeX::savebox (argp) 21.31 (cond 21.32 ((= argp 1) (read-string "Saved into name: " "\\")) 21.33 ((= argp 2) (read-string "Text: ")))) 21.34 @@ -738,7 +742,7 @@ 21.35 "Alist of labeling regexp vs. its group number points to label string. 21.36 This alist is used in \\ref's argument's completion.") 21.37 (defvar YaTeX::ref-labeling-regexp-alist-private nil 21.38 - "*Private extesion to YaTeX::ref-labeling-regexp-alist. 21.39 + "*Private extension to YaTeX::ref-labeling-regexp-alist. 21.40 See the documetation of YaTeX::ref-labeling-regexp-alist.") 21.41 (defvar YaTeX::ref-labeling-regexp-alist 21.42 (append YaTeX::ref-labeling-regexp-alist-default 21.43 @@ -1115,6 +1119,108 @@ 21.44 (bury-buffer YaTeX-label-buffer))) 21.45 label))))) 21.46 21.47 +(defun YaTeX::label-rename-refs (old new &optional def ref) 21.48 + "Rename reference tag from OLD to NEW. 21.49 +Optional arguments DEF and REF specify defining command and 21.50 +referring command respectively. 21.51 +--------------------------------------------------------- 21.52 +CONTROL KEYS - キーの説明 21.53 + y Replace 置換する 21.54 + n Do not replace 置換しない 21.55 + ! Replace All w/o query 残る全部を確認なしで置換 21.56 + r Enter Recursive-edit 再帰編集モードへ 21.57 + q Quit from replacing ここまでで置換をやめる 21.58 + 21.59 +Don't forget to exit from recursive edit by typing \\[exit-recursive-edit] 21.60 +再帰編集に入ったら \\[exit-recursive-edit] で抜け忘れなきよう。" 21.61 + (save-window-excursion 21.62 + (catch 'exit 21.63 + (let*((bufs (YaTeX-yatex-buffer-list)) buf b e 21.64 + (oldptn (regexp-quote old)) 21.65 + (sw (selected-window)) 21.66 + (ptn (concat 21.67 + "\\(" YaTeX-refcommand-ref-regexp "\\)" 21.68 + "\\s *{" oldptn "}")) 21.69 + (repface (and (fboundp 'make-overlay) 21.70 + (fboundp 'internal-find-face) 21.71 + (if (internal-find-face 'isearch) 'isearch 'region))) 21.72 + ov 21.73 + (qmsg "Replace to `%s'? [yn!rq?]") 21.74 + continue ch) 21.75 + (while bufs 21.76 + (set-buffer (setq buf (car bufs))) 21.77 + (save-excursion 21.78 + (goto-char (point-min)) 21.79 + (while (re-search-forward ptn nil t) 21.80 + (goto-char (match-end 1)) 21.81 + (skip-chars-forward " \t\n{") 21.82 + (unwind-protect 21.83 + (if (and 21.84 + (looking-at oldptn) 21.85 + (setq b (match-beginning 0) 21.86 + e (match-end 0)) 21.87 + (or continue 21.88 + (catch 'query 21.89 + (if repface 21.90 + (if ov (move-overlay ov b e) 21.91 + (overlay-put 21.92 + (setq ov (make-overlay b e)) 21.93 + 'face repface))) 21.94 + (switch-to-buffer buf) 21.95 + (while t 21.96 + (message qmsg new) 21.97 + (setq ch (read-char)) 21.98 + (cond 21.99 + ((= ch ?q) (throw 'exit t)) 21.100 + ((= ch ?r) 21.101 + (message 21.102 + "Don't forget to exit recursive-edit by `%s'" 21.103 + (key-description 21.104 + (where-is-internal 21.105 + 'exit-recursive-edit '(keymap) t))) 21.106 + (sleep-for 2) 21.107 + (recursive-edit)) 21.108 + ((= ch ?y) (throw 'query t)) 21.109 + ((= ch ?!) (throw 'query (setq continue t))) 21.110 + ((= ch ??) 21.111 + (describe-function 21.112 + 'YaTeX::label-rename-refs) 21.113 + (select-window (get-buffer-window "*Help*")) 21.114 + (search-forward "----") 21.115 + (forward-line 1) 21.116 + (set-window-start (selected-window) (point)) 21.117 + (sit-for 0) 21.118 + (select-window sw)) 21.119 + ((= ch ?n) (throw 'query nil))))))) 21.120 + (replace-match new)) 21.121 + (and ov (delete-overlay ov))))) 21.122 + (setq bufs (cdr bufs))))))) 21.123 + 21.124 +(defun YaTeX::label (argp &optional labname refname) 21.125 + "Read label name and return it with copying \\ref{LABEL-NAME} to kill-ring." 21.126 + (cond 21.127 + ((= argp 1) 21.128 + (let*((chmode (boundp (intern-soft "old"))) 21.129 + (dlab (if chmode old ;if called via YaTeX-change-section (tricky...) 21.130 + (YaTeX::ref-default-label))) 21.131 + (label (read-string 21.132 + (format "New %s name: " (or labname "label")) 21.133 + (cons dlab 1)))) 21.134 + (if (string< "" label) 21.135 + (let ((refstr (format "\\%s{%s}" (or refname "ref") label)) 21.136 + (key (key-description (where-is-internal 'yank nil t))) 21.137 + (msg 21.138 + (if YaTeX-japan 21.139 + "をkill-ringに入れました。yank(%s)で取り出せます。" 21.140 + " is stored into kill-ring. Paste it by yank(%s)."))) 21.141 + (kill-new refstr) 21.142 + (and chmode 21.143 + (not (equal old label)) 21.144 + (YaTeX::label-rename-refs old label)) 21.145 + (message (concat "`%s'" msg) refstr key))) 21.146 + label)))) 21.147 + 21.148 + 21.149 (fset 'YaTeX::pageref 'YaTeX::ref) 21.150 (defun YaTeX::tabref (argp) ; For the style file of IPSJ journal 21.151 (YaTeX::ref 21.152 @@ -1282,6 +1388,10 @@ 21.153 21.154 (t nil))) 21.155 21.156 +(defun YaTeX::bibitem (argp) 21.157 + "Add-in function to insert argument of \\bibitem." 21.158 + (YaTeX::label argp "label" "cite")) 21.159 + 21.160 ;;; for AMS-LaTeX 21.161 (and YaTeX-use-AMS-LaTeX (fset 'YaTeX::eqref 'YaTeX::ref)) 21.162 ;;; for Harvard citation style 21.163 @@ -1292,13 +1402,6 @@ 21.164 (fset 'YaTeX::citep 'YaTeX::cite) 21.165 (fset 'YaTeX::citet 'YaTeX::cite) 21.166 21.167 -(defun YaTeX-yatex-buffer-list () 21.168 - (save-excursion 21.169 - (delq nil (mapcar (function (lambda (buf) 21.170 - (set-buffer buf) 21.171 - (if (eq major-mode 'yatex-mode) buf))) 21.172 - (buffer-list))))) 21.173 - 21.174 (defun YaTeX-select-other-yatex-buffer () 21.175 "Select buffer from all yatex-mode's buffers interactivelly." 21.176 (interactive) 21.177 @@ -1587,6 +1690,7 @@ 21.178 ("latterpaper") ("legalpaper") ("executivepaper") ("landscape") 21.179 ("oneside") ("twoside") ("draft") ("final") ("leqno") ("fleqn") ("openbib") 21.180 ("tombow") ("titlepage") ("notitlepage") ("dvips") 21.181 + ("mingoth") ;for jsarticle 21.182 ("clock") ;for slides class only 21.183 ) 21.184 "Default options list for documentclass") 21.185 @@ -1624,6 +1728,7 @@ 21.186 21.187 (defvar YaTeX:documentclasses-default 21.188 '(("article") ("jarticle") ("report") ("jreport") ("book") ("jbook") 21.189 + ("jsarticle") ("jsbook") 21.190 ("j-article") ("j-report") ("j-book") 21.191 ("letter") ("slides") ("ltxdoc") ("ltxguide") ("ltnews") ("proc")) 21.192 "Default documentclass alist") 21.193 @@ -1661,7 +1766,7 @@ 21.194 ("Emerald") ("JungleGreen") ("SeaGreen") ("Green") ("ForestGreen") 21.195 ("PineGreen") ("LimeGreen") ("YellowGreen") ("SpringGreen") ("OliveGreen") 21.196 ("RawSienna") ("Sepia") ("Brown") ("Tan") ("Gray") ("Black") ("White")) 21.197 - "Colors defined in $TEXMF/tex/plain/colordvi.tex") 21.198 + "Colors defined in $TEXMF/tex/plain/dvips/colordvi.tex") 21.199 21.200 (defvar YaTeX:latex2e-basic-color-alist 21.201 '(("black") ("white") ("red") ("blue") ("yellow") ("green") ("cyan")
22.1 --- a/yatexhie.el Mon Sep 28 12:48:28 2009 +0900 22.2 +++ b/yatexhie.el Thu Jan 12 12:26:35 2012 +0900 22.3 @@ -1,8 +1,8 @@ 22.4 ;;; -*- Emacs-Lisp -*- 22.5 ;;; YaTeX hierarchy browser. 22.6 ;;; yatexhie.el 22.7 -;;; (c)1995 by HIROSE Yuuji [yuuji@yatex.org] 22.8 -;;; Last modified Fri Jun 27 12:09:49 2003 on firestorm 22.9 +;;; (c)1995-2012 by HIROSE Yuuji [yuuji@yatex.org] 22.10 +;;; Last modified Mon Jan 9 20:19:06 2012 on firestorm 22.11 ;;; $Id$ 22.12 22.13 ;; ----- Customizable variables -----
23.1 --- a/yatexinf.el Mon Sep 28 12:48:28 2009 +0900 23.2 +++ b/yatexinf.el Thu Jan 12 12:26:35 2012 +0900 23.3 @@ -1,7 +1,7 @@ 23.4 ;;; -*- Emacs-Lisp -*- 23.5 ;;; YaTeX interfaces for Texinfo mode. 23.6 -;;; (c)1994,1998,2001 by HIROSE, Yuuji [yuuji@yatex.org] 23.7 -;;; Last modified Fri Jun 27 12:10:03 2003 on firestorm 23.8 +;;; (c)1994-2012 by HIROSE, Yuuji [yuuji@yatex.org] 23.9 +;;; Last modified Mon Jan 9 20:19:55 2012 on firestorm 23.10 23.11 (require 'yatex) 23.12 (or (boundp 'texinfo-mode-map)
24.1 --- a/yatexlib.el Mon Sep 28 12:48:28 2009 +0900 24.2 +++ b/yatexlib.el Thu Jan 12 12:26:35 2012 +0900 24.3 @@ -1,8 +1,8 @@ 24.4 ;;; -*- Emacs-Lisp -*- 24.5 ;;; YaTeX and yahtml common libraries, general functions and definitions 24.6 ;;; yatexlib.el 24.7 -;;; (c)1994-2009 by HIROSE Yuuji.[yuuji@yatex.org] 24.8 -;;; Last modified Mon Sep 28 10:46:39 2009 on firestorm 24.9 +;;; (c)1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] 24.10 +;;; Last modified Mon Jan 9 20:20:09 2012 on firestorm 24.11 ;;; $Id$ 24.12 24.13 ;; General variables 24.14 @@ -465,13 +465,12 @@ 24.15 ;;;###autoload 24.16 (defun rindex (string char) 24.17 (let ((pos (1- (length string)))(index -1)) 24.18 - (while (>= pos 0) 24.19 - (cond 24.20 - ((= (aref string pos) char) 24.21 - (setq index pos) (setq pos -1)) 24.22 - (t (setq pos (1- pos)))) 24.23 - ) 24.24 - index)) 24.25 + (catch 'rindex 24.26 + (while (>= pos 0) 24.27 + (cond 24.28 + ((= (aref string pos) char) 24.29 + (throw 'rindex pos)) 24.30 + (t (setq pos (1- pos)))))))) 24.31 24.32 ;;;###autoload 24.33 (defun point-beginning-of-line () 24.34 @@ -531,11 +530,15 @@ 24.35 (cond 24.36 ((fboundp 'screen-height) 24.37 (fset 'YaTeX-screen-height 'screen-height) 24.38 - (fset 'YaTeX-screen-width 'screen-width)) 24.39 + (fset 'YaTeX-screen-width 'screen-width) 24.40 + (fset 'YaTeX-set-screen-height 'set-screen-height) 24.41 + (fset 'YaTeX-set-screen-width 'set-screen-width)) 24.42 ((fboundp 'frame-height) 24.43 (fset 'YaTeX-screen-height 'frame-height) 24.44 - (fset 'YaTeX-screen-width 'frame-width)) 24.45 - (t (error "I don't know how to run windows.el on this Emacs..."))) 24.46 + (fset 'YaTeX-screen-width 'frame-width) 24.47 + (fset 'YaTeX-set-screen-height 'set-frame-height) 24.48 + (fset 'YaTeX-set-screen-width 'set-frame-width)) 24.49 + (t (error "I don't know how to run YaTeX on this Emacs..."))) 24.50 24.51 ;;;###autoload 24.52 (defun split-window-calculate-height (height) 24.53 @@ -665,6 +668,13 @@ 24.54 (self-insert-command 1) 24.55 (YaTeX-minibuffer-complete))) 24.56 24.57 +(defun YaTeX-yatex-buffer-list () 24.58 + (save-excursion 24.59 + (delq nil (mapcar (function (lambda (buf) 24.60 + (set-buffer buf) 24.61 + (if (eq major-mode 'yatex-mode) buf))) 24.62 + (buffer-list))))) 24.63 + 24.64 (defun foreach-buffers (pattern job) 24.65 "For each buffer which matches with PATTERN, do JOB." 24.66 (let ((list (buffer-list))) 24.67 @@ -822,6 +832,21 @@ 24.68 (win-switch-to-window 1 (- last-command-char win:base-key))) 24.69 24.70 ;;;###autoload 24.71 +(defun YaTeX-command-to-string (cmd) 24.72 + (if (fboundp 'shell-command-to-string) 24.73 + (funcall 'shell-command-to-string cmd) 24.74 + (let ((tbuf " *tmpout*")) 24.75 + (if (get-buffer-create tbuf) (kill-buffer tbuf)) 24.76 + (let ((standard-output (get-buffer-create tbuf))) 24.77 + (unwind-protect 24.78 + (save-excursion 24.79 + (call-process 24.80 + shell-file-name nil tbuf nil YaTeX-shell-command-option cmd) 24.81 + (set-buffer tbuf) 24.82 + (buffer-string)) 24.83 + (kill-buffer tbuf)))))) 24.84 + 24.85 +;;;###autoload 24.86 (defun YaTeX-reindent (col) 24.87 "Remove current indentation and reindento to COL column." 24.88 (save-excursion 24.89 @@ -887,7 +912,7 @@ 24.90 (goto-char m0) 24.91 (put 'YaTeX-inner-environment 'indent (current-column)) 24.92 (throw 'begin t))))) 24.93 - (buffer-substring 24.94 + (YaTeX-buffer-substring 24.95 (progn (skip-chars-forward open) (1+ (point))) 24.96 (progn (skip-chars-forward close) (point))))))) 24.97 24.98 @@ -973,9 +998,16 @@ 24.99 (let ((env (YaTeX-inner-environment))) 24.100 (if (not env) (error "No premature environment") 24.101 (save-excursion 24.102 - (if (YaTeX-search-active-forward 24.103 - (YaTeX-replace-format-args YaTeX-struct-end env "" "") 24.104 - YaTeX-comment-prefix nil t) 24.105 + (if (and 24.106 + (YaTeX-re-search-active-forward 24.107 + (concat 24.108 + "\\(" (YaTeX-replace-format-args 24.109 + YaTeX-struct-end env "" "") 24.110 + "\\)\\|\\(" (YaTeX-replace-format-args 24.111 + YaTeX-struct-begin env "" "") 24.112 + "\\)") 24.113 + YaTeX-comment-prefix nil t) 24.114 + (match-beginning 1)) ;is closing struc. 24.115 (if (y-or-n-p 24.116 (concat "Environment `" env 24.117 "' may be already closed. Force close?")) 24.118 @@ -1015,28 +1047,31 @@ 24.119 (defun YaTeX-mark-environment () 24.120 "Mark current position and move point to end of environment." 24.121 (interactive) 24.122 + (require 'yatexmth) 24.123 (let ((curp (point))) 24.124 - (if (and (YaTeX-on-begin-end-p) (match-beginning 1)) ;if on \\begin 24.125 - (progn (goto-char (match-end 0))) 24.126 - (if (= (char-after (point)) ?\\) nil ;if on \\end 24.127 - (skip-chars-backward "^\n\\\\") 24.128 - (or (bolp) (forward-char -1)))) 24.129 - (if (not (YaTeX-end-of-environment)) ;arg1 turns to match-beginning 1 24.130 - (progn 24.131 - (goto-char curp) 24.132 - (error "Cannot found the end of current environment.")) 24.133 - (YaTeX-goto-corresponding-environment) 24.134 - (beginning-of-line) ;for confirmation 24.135 - (if (< curp (point)) 24.136 + (if (YaTeX-in-math-mode-p) 24.137 + (YaTeX-mark-mathenv) 24.138 + (if (and (YaTeX-on-begin-end-p) (match-beginning 1)) ;if on \\begin 24.139 + (progn (goto-char (match-end 0))) 24.140 + (if (= (char-after (point)) ?\\) nil ;if on \\end 24.141 + (skip-chars-backward "^\n\\\\") 24.142 + (or (bolp) (forward-char -1)))) 24.143 + (if (not (YaTeX-end-of-environment)) ;arg1 turns to match-beginning 1 24.144 (progn 24.145 - (message "Mark this environment?(y or n): ") 24.146 - (if (= (read-char) ?y) nil 24.147 - (goto-char curp) 24.148 - (error "Abort. Please call again at more proper position.")))) 24.149 - (set-mark-command nil) 24.150 - (YaTeX-goto-corresponding-environment) 24.151 - (end-of-line) 24.152 - (if (eobp) nil (forward-char 1))))) 24.153 + (goto-char curp) 24.154 + (error "Cannot found the end of current environment.")) 24.155 + (YaTeX-goto-corresponding-environment) 24.156 + (beginning-of-line) ;for confirmation 24.157 + (if (< curp (point)) 24.158 + (progn 24.159 + (message "Mark this environment?(y or n): ") 24.160 + (if (= (read-char) ?y) nil 24.161 + (goto-char curp) 24.162 + (error "Abort. Please call again at more proper position.")))) 24.163 + (set-mark-command nil) 24.164 + (YaTeX-goto-corresponding-environment) 24.165 + (end-of-line) 24.166 + (if (eobp) nil (forward-char 1)))))) 24.167 24.168 (defun YaTeX-kill-buffer (buffer) 24.169 "Make effort to show parent buffer after kill." 24.170 @@ -1049,6 +1084,37 @@ 24.171 (get-file-buffer pf) 24.172 (switch-to-buffer (get-file-buffer pf))))) 24.173 24.174 +(defun YaTeX-get-builtin (key) 24.175 + "Read source built-in command of %# usage." 24.176 + (catch 'builtin 24.177 + (let ((bl (delq nil (list (current-buffer) 24.178 + (and YaTeX-parent-file 24.179 + (get-file-buffer YaTeX-parent-file))))) 24.180 + (leader (or (cdr-safe (assq major-mode 24.181 + '((yatex-mode . "%#") 24.182 + (yahtml-mode . "<!-- #")))) 24.183 + ""))) 24.184 + (save-excursion 24.185 + (while bl 24.186 + (set-buffer (car bl)) 24.187 + (save-excursion 24.188 + (goto-char (point-min)) 24.189 + (if (and (re-search-forward 24.190 + (concat "^" (regexp-quote (concat leader key))) nil t) 24.191 + (not (eolp))) 24.192 + (throw 'builtin 24.193 + (YaTeX-buffer-substring 24.194 + (progn 24.195 + (skip-chars-forward " \t" (point-end-of-line)) 24.196 + (point)) 24.197 + (if (string< "" comment-end) 24.198 + (progn 24.199 + (search-forward 24.200 + comment-end (point-end-of-line) t) 24.201 + (match-beginning 0)) 24.202 + (point-end-of-line)))))) 24.203 + (setq bl (cdr bl))))))) 24.204 + 24.205 ;;;VER2 24.206 (defun YaTeX-insert-struc (what env) 24.207 (cond 24.208 @@ -1070,6 +1136,24 @@ 24.209 ((fboundp 'truncate-string) (truncate-string str width)) 24.210 (t (substring str 0 width)))) 24.211 24.212 +(defun YaTeX-hex (str) 24.213 + "Return int expressed by hexadecimal string STR." 24.214 + (if (string< "20" emacs-version) 24.215 + (string-to-number str 16) 24.216 + (let ((md (match-data))) 24.217 + (unwind-protect 24.218 + (if (string-match "[^0-9a-f]" str) 24.219 + (error "Non hexadecimal character in %s" str) 24.220 + (let ((i 0) d) 24.221 + (setq str (downcase str)) 24.222 + (while (string< "" str) 24.223 + (setq d (+ 0 (string-to-char str)) ; + 0 for XEmacs 24.224 + i (+ (* 16 i) (- d (if (<= d ?9) ?0 (- ?a 10)))) 24.225 + str (substring str 1))) 24.226 + i)) 24.227 + (store-match-data md))))) 24.228 + 24.229 + 24.230 ;;; Function for menu support 24.231 (defun YaTeX-define-menu (keymap bindlist) 24.232 "Define KEYMAP(symbol)'s menu-bindings according to BINDLIST.
25.1 --- a/yatexmth.el Mon Sep 28 12:48:28 2009 +0900 25.2 +++ b/yatexmth.el Thu Jan 12 12:26:35 2012 +0900 25.3 @@ -1,8 +1,8 @@ 25.4 ;;; -*- Emacs-Lisp -*- 25.5 ;;; YaTeX math-mode-specific functions. 25.6 ;;; yatexmth.el 25.7 -;;; (c)1993-2006 by HIROSE Yuuji [yuuji@yatex.org] 25.8 -;;; Last modified Sun Dec 24 15:13:15 2006 on firestorm 25.9 +;;; (c)1993-2012 by HIROSE Yuuji [yuuji@yatex.org] 25.10 +;;; Last modified Mon Jan 9 20:14:02 2012 on firestorm 25.11 ;;; $Id$ 25.12 25.13 ;;; [Customization guide] 25.14 @@ -152,7 +152,7 @@ 25.15 ("\\\\" "setminus" "\\") 25.16 (")(" "wr" " )\n(") 25.17 ("<>" "diamond" "<>") 25.18 - ("/\-" "bigtriangleup" ("/\\\n~~" "△")) 25.19 + ("/\\-" "bigtriangleup" ("/\\\n~~" "△")) 25.20 ("-\\/" "bigtriangledown" ("__\n\\/" "▽")) 25.21 ("<|" "triangleleft" "<|") 25.22 ("|>" "triangleright" "|>") 25.23 @@ -171,8 +171,11 @@ 25.24 ("II" "amalg" "II") 25.25 ; : 25.26 ;;relational operators 25.27 - ("<" "leq" ("<\n-" "≦")) 25.28 - (">" "geq" (">\n-" "≧")) 25.29 + ("<" "leq" ("<\n-" "<\n-")) 25.30 + ("=<" "leqq" ("<\n=" "≦")) 25.31 + (">" "geq" (">\n-" ">\n-")) 25.32 + (">=" "geqq" (">\n=" "≧")) 25.33 + ("=:" "fallingdotseq" (".\n==\n ." "≒")) 25.34 ("-=" "equiv" ("=\n-" YaTeX-image-equiv)) 25.35 ("=-" "equiv" ("=\n-" YaTeX-image-equiv)) 25.36 ("---" "equiv" ("=\n-" YaTeX-image-equiv)) 25.37 @@ -207,7 +210,9 @@ 25.38 ("-<" "prec" ("-<" "く")) 25.39 ("-<=" "preceq" ("-<\n-" "く\n=")) 25.40 ("<<" "ll" ("<<" "《")) 25.41 + ("<<" "lll" "<<<") 25.42 (">>" "gg" (">>" "》")) 25.43 + (">>>" "ggg" ">>>") 25.44 ; : 25.45 ;;arrows 25.46 ("<-" "leftarrow" ("<-" "←")) 25.47 @@ -428,10 +433,12 @@ 25.48 (list 'nth 1 list)) 25.49 25.50 (defvar YaTeX-math-cmd-regexp (concat (regexp-quote YaTeX-ec) "[A-z|]")) 25.51 -(defvar YaTeX-math-verbatim-environments 25.52 - '("alltt") 25.53 - "*List of environments in which LaTeX math mode is disabled. 25.54 -This value is appended with YaTeX-verbatim-environments.") 25.55 + 25.56 +;;; alltt goes into YaTeX-verbatim-environments 2011/3/16 25.57 +;;(defvar YaTeX-math-verbatim-environments 25.58 +;; '("alltt") 25.59 +;; "*List of environments in which LaTeX math mode is disabled. 25.60 +;;This value is appended with YaTeX-verbatim-environments.") 25.61 25.62 ;;; 25.63 ;;YaTeX math-mode functions 25.64 @@ -506,7 +513,7 @@ 25.65 ;; "alignat*" "xalignat" "xalignat*" "xxalignat" "xxalignat*" 25.66 YaTeX-math-begin-list 25.67 ))) 25.68 - (let*((p (point)) (nest 0) me0 r 25.69 + (let*((p (point)) (nest 0) me0 r firstp dollar 25.70 (delim (concat YaTeX-sectioning-regexp "\\|^$\\|^\C-l")) 25.71 (boundary 25.72 (save-excursion 25.73 @@ -530,8 +537,8 @@ 25.74 (setq nest (1+ nest)) 25.75 (if (= (preceding-char) ?\\ ) nil ;;\\[5pt] 25.76 (setq nest (1- nest)))))) 25.77 - (if (< nest 0) (throw 'open t)))) 25.78 - t) 25.79 + (if (< nest 0) 25.80 + (throw 'open (cons (YaTeX-match-string 0) (point))))))) 25.81 ((and (setq r (YaTeX-on-section-command-p 25.82 YaTeX-math-section-type-regexp)) 25.83 (numberp r) 25.84 @@ -541,20 +548,48 @@ 25.85 (while ;(search-backward "$" boundary t);little bit fast. 25.86 (YaTeX-re-search-active-backward ;;;;;; Too slow??? 25.87 "\\$" (concat "[^\\\\]" YaTeX-comment-prefix) boundary t) 25.88 + (setq dollar "$") 25.89 (cond 25.90 ((equal (char-after (1- (point))) ?$) ; $$ equation $$ 25.91 + (setq dollar "$$") 25.92 (backward-char 1) 25.93 (setq nest (1+ nest))) 25.94 - ((let ((YaTeX-verbatim-environments 25.95 - (append YaTeX-math-verbatim-environments 25.96 - YaTeX-verbatim-environments))) 25.97 - (YaTeX-literal-p)) 25.98 + ((YaTeX-literal-p) 25.99 nil) 25.100 ((and (equal (char-after (1- (point))) ?\\ ) 25.101 (not (equal (char-after (- (point) 3)) ?\\ ))) 25.102 nil) ;\$ 25.103 - (t (setq nest (1+ nest))))) 25.104 - (if (= (% nest 2) 1) (throw 'dollar t)))))))))) 25.105 + (t (setq nest (1+ nest)))) 25.106 + (if (and (= nest 1) (null firstp)) 25.107 + (setq firstp (cons dollar (point))))) 25.108 + (if (= (% nest 2) 1) 25.109 + (throw 'dollar firstp)))))))))) 25.110 + 25.111 +(defun YaTeX-mark-mathenv () 25.112 + "Mark current mathematic environment." 25.113 + (interactive) 25.114 + (let ((mmp (YaTeX-in-math-mode-p)) type bpt) 25.115 + (if (or (null mmp) (not (stringp (setq type (car mmp))))) 25.116 + nil ;if nil or not string, do nothing 25.117 + (setq bpt (cdr mmp)) 25.118 + (goto-char bpt) 25.119 + (cond 25.120 + ((string-match "\\$" type) 25.121 + (set-mark-command nil) 25.122 + (skip-chars-forward "$") 25.123 + (YaTeX-search-active-forward 25.124 + type YaTeX-comment-prefix nil) ;if it cause error, obey it 25.125 + (goto-char (match-end 0))) 25.126 + ;; 25.127 + ((string-match "^\\\\[\\[(]" type) 25.128 + (set-mark-command nil) 25.129 + (YaTeX-goto-corresponding-leftright) 25.130 + (skip-chars-forward "])\\\\")) 25.131 + ;; 25.132 + ((string-match "^[a-z]" type) ; \begin\end type math 25.133 + (set-mark-command nil) 25.134 + (YaTeX-goto-corresponding-environment) 25.135 + (goto-char (match-end 0))))))) 25.136 25.137 (defun YaTeX-math-display-list (list cols) 25.138 (goto-char (point-max)) 25.139 @@ -600,7 +635,7 @@ 25.140 (progn (YaTeX-math-display-list (car list) cols) 25.141 (setq cols (% (1+ cols) maxcols)))) 25.142 (setq list (cdr list))) 25.143 - (goto-line 4) 25.144 + (goto-char (point-min)) (forward-line 3) 25.145 (use-local-map YaTeX-math-menu-map) 25.146 (setq buffer-read-only t) 25.147 (unwind-protect 25.148 @@ -767,7 +802,7 @@ 25.149 (setq list (cdr list))) 25.150 (setq lists (cdr lists)))))) 25.151 25.152 -;;; ----- for AMS LaTeX (by matsu@math.s.chiba-u.ac.jp) ----- 25.153 +;;; ----- for AMS LaTeX (by matsu<at>math.s.chiba-u.ac.jp) ----- 25.154 (defvar YaTeX-ams-paren-modifier 25.155 '(("Biggl" . "Biggr") ("biggl" . "biggr") 25.156 ("Bigl" . "Bigr") ("bigl" . "bigr")
26.1 --- a/yatexpkg.el Mon Sep 28 12:48:28 2009 +0900 26.2 +++ b/yatexpkg.el Thu Jan 12 12:26:35 2012 +0900 26.3 @@ -1,20 +1,20 @@ 26.4 ;;; -*- Emacs-Lisp -*- 26.5 ;;; YaTeX package manager 26.6 ;;; yatexpkg.el 26.7 -;;; (c)2003-2006 by HIROSE, Yuuji [yuuji@yatex.org] 26.8 -;;; Last modified Sun Dec 24 15:13:29 2006 on firestorm 26.9 +;;; (c)2003-2012 by HIROSE, Yuuji [yuuji@yatex.org] 26.10 +;;; Last modified Mon Jan 9 20:13:53 2012 on firestorm 26.11 ;;; $Id$ 26.12 26.13 (defvar YaTeX-package-ams-envs 26.14 (mapcar 'car YaTeX-ams-env-table)) 26.15 26.16 (defvar YaTeX-package-alist-default 26.17 - '(("version" (env "comment") ;by tsuchiya@pine.kuee.kyoto-u.ac.jp 26.18 + '(("version" (env "comment") ;by tsuchiya<at>pine.kuee.kyoto-u.ac.jp 26.19 (section "includeversion" "excludeversion")) 26.20 26.21 - ("plext" (section "bou")) ;by yas.axis@ma.mni.ne.jp 26.22 + ("plext" (section "bou")) ;by yas.axis<at>ma.mni.ne.jp 26.23 26.24 - ("url" (section "url")) ;by fujieda@jaist.ac.jp 26.25 + ("url" (section "url")) ;by fujieda<at>jaist.ac.jp 26.26 26.27 ("fancybox" (section "shadowbox" "doublebox" "ovalbox" "Ovalbox")) 26.28 ("slashbox" (section "slashbox" "backslashbox")) 26.29 @@ -23,7 +23,7 @@ 26.30 ("ascmac" (env "screen" "boxnote" "shadebox" "itembox") 26.31 (maketitle "return" "Return" "yen") 26.32 (section "keytop") ("mask") ("maskbox")) 26.33 - ("bm" (section "bm")) ;by aoyama@le.chiba-u.ac.jp 26.34 + ("bm" (section "bm")) ;by aoyama<at>le.chiba-u.ac.jp 26.35 26.36 ("alltt" (env "alltt")) 26.37 ("misc" (section "verbfile" "listing")) 26.38 @@ -31,6 +31,9 @@ 26.39 ("supertabular" (env "supertabular")) 26.40 ("amsmath" (env . YaTeX-package-ams-envs) 26.41 (section "tag" "tag*")) 26.42 + ("amssymb" (maketitle "leqq" "geqq" "mathbb" "mathfrak" 26.43 + "fallingdotseq" 26.44 + "lll" "ggg")) ;very few. Please tell us! 26.45 ("graphicx" (section "includegraphics" 26.46 "rotatebox" "scalebox" "resizebox" "reflectbox") 26.47 (option . YaTeX-package-graphics-driver-alist)) 26.48 @@ -192,6 +195,7 @@ 26.49 (format "%s{%s}\t%% required for `\\%s' (yatex added)\n" 26.50 option pkg macro)) 26.51 (funcall register)) 26.52 + (funcall register) 26.53 (message "Don't forget to put \\usepackage{%s} yourself later" 26.54 (car (car pkglist)))) ;doing car car is negligence... 26.55 ))))))
27.1 --- a/yatexprc.el Mon Sep 28 12:48:28 2009 +0900 27.2 +++ b/yatexprc.el Thu Jan 12 12:26:35 2012 +0900 27.3 @@ -1,8 +1,8 @@ 27.4 ;;; -*- Emacs-Lisp -*- 27.5 ;;; YaTeX process handler. 27.6 ;;; yatexprc.el 27.7 -;;; (c)1993-2009 by HIROSE Yuuji.[yuuji@yatex.org] 27.8 -;;; Last modified Mon Sep 28 10:47:11 2009 on firestorm 27.9 +;;; (c)1993-2012 by HIROSE Yuuji.[yuuji@yatex.org] 27.10 +;;; Last modified Mon Jan 9 20:20:24 2012 on firestorm 27.11 ;;; $Id$ 27.12 27.13 ;(require 'yatex) 27.14 @@ -55,7 +55,7 @@ 27.15 (modify-syntax-entry ?\[ "w" YaTeX-typeset-buffer-syntax) 27.16 (modify-syntax-entry ?\] "w" YaTeX-typeset-buffer-syntax)) 27.17 27.18 -(defun YaTeX-typeset (command buffer &optional prcname modename) 27.19 +(defun YaTeX-typeset (command buffer &optional prcname modename ppcmd) 27.20 "Execute jlatex (or other) to LaTeX typeset." 27.21 (interactive) 27.22 (save-excursion 27.23 @@ -91,7 +91,12 @@ 27.24 (start-process prcname buffer shell-file-name 27.25 YaTeX-shell-command-option command)) 27.26 (get-buffer buffer)) 27.27 - (set-process-sentinel YaTeX-typeset-process 'YaTeX-typeset-sentinel))) 27.28 + (set-process-sentinel YaTeX-typeset-process 'YaTeX-typeset-sentinel) 27.29 + (let ((ppprop (get 'YaTeX-typeset-process 'ppcmd))) 27.30 + (setq ppprop (delq (assq YaTeX-typeset-process ppprop) ppprop)) 27.31 + (if ppcmd 27.32 + (setq ppprop (cons (cons YaTeX-typeset-process ppcmd) ppprop))) 27.33 + (put 'YaTeX-typeset-process 'ppcmd ppprop)))) 27.34 (message (format "Calling `%s'..." command)) 27.35 (setq YaTeX-current-TeX-buffer (buffer-name)) 27.36 (use-local-map map) ;map may be localized 27.37 @@ -150,7 +155,6 @@ 27.38 (insert ?\n mode-name " " mes) 27.39 (forward-char -1) 27.40 (insert " at " (substring (current-time-string) 0 -5) "\n") 27.41 - (forward-char 1) 27.42 (setq mode-line-process 27.43 (concat ": " 27.44 (symbol-name (process-status proc)))) 27.45 @@ -161,8 +165,27 @@ 27.46 ;; is dead, we can delete it now. Otherwise it 27.47 ;; will stay around until M-x list-processes. 27.48 (delete-process proc) 27.49 - ) 27.50 - (setq YaTeX-typeset-process nil) 27.51 + ;; If ppcmd is active, call it. 27.52 + (let* ((ppprop (get 'YaTeX-typeset-process 'ppcmd)) 27.53 + (ppcmd (cdr (assq proc ppprop)))) 27.54 + (put 'YaTeX-typeset-process 'ppcmd ;erase ppcmd 27.55 + (delq (assq proc ppprop) ppprop)) 27.56 + (cond 27.57 + ((and ppcmd (string-match "finish" mes)) 27.58 + (insert (format "=======> Success! Calling %s\n" ppcmd)) 27.59 + (setq mode-name ; set process name 27.60 + (substring ppcmd 0 (string-match " " ppcmd))) 27.61 + ; to reach here, 'start-process exists on this emacsen 27.62 + (set-process-sentinel 27.63 + (start-process 27.64 + mode-name 27.65 + pbuf ; Use this buffer twice. 27.66 + shell-file-name YaTeX-shell-command-option 27.67 + ppcmd) 27.68 + 'YaTeX-typeset-sentinel)))) 27.69 + 27.70 + (forward-char 1)) 27.71 + (setq YaTeX-typeset-process nil) 27.72 ;; Force mode line redisplay soon 27.73 (set-buffer-modified-p (buffer-modified-p)) 27.74 ) 27.75 @@ -236,7 +259,8 @@ 27.76 "\\begin{document}"))) 27.77 (goto-char opoint) 27.78 ;;(set-buffer buffer) ;for clarity 27.79 - (let ((hilit-auto-highlight nil)) 27.80 + (let ((hilit-auto-highlight nil) (auto-mode-alist nil) 27.81 + (magic-mode-alist nil)) ;Do not activate yatex-mode here 27.82 (set-buffer (find-file-noselect texput))) 27.83 ;;(find-file YaTeX-texput-file) 27.84 (erase-buffer) 27.85 @@ -256,17 +280,37 @@ 27.86 (put 'dvi2-command 'file buffer) 27.87 (put 'dvi2-command 'offset lineinfo)))) 27.88 27.89 -(defun YaTeX-typeset-buffer () 27.90 +(defun YaTeX-typeset-environment () 27.91 + "Typeset current math environment" 27.92 + (interactive) 27.93 + (save-excursion 27.94 + (YaTeX-mark-environment) 27.95 + (YaTeX-typeset-region))) 27.96 + 27.97 +(defun YaTeX-typeset-buffer (&optional pp) 27.98 "Typeset whole buffer. 27.99 If %#! usage says other buffer is main text, 27.100 visit main buffer to confirm if its includeonly list contains current 27.101 buffer's file. And if it doesn't contain editing text, ask user which 27.102 -action wants to be done, A:Add list, R:Replace list, %:comment-out list." 27.103 +action wants to be done, A:Add list, R:Replace list, %:comment-out list. 27.104 +If optional argument PP given as string, PP is considered as post-process 27.105 +command and call it with the same command argument as typesetter without 27.106 +last extension. 27.107 +eg. if PP is \"dvipdfmx\", called commands as follows. 27.108 + platex foo.tex 27.109 + dvipdfmx foo 27.110 +PP command will be called iff typeset command exit successfully" 27.111 (interactive) 27.112 (YaTeX-save-buffers) 27.113 (let*((me (substring (buffer-name) 0 (rindex (buffer-name) ?.))) 27.114 (mydir (file-name-directory (buffer-file-name))) 27.115 - (cmd (YaTeX-get-latex-command t)) (cb (current-buffer))) 27.116 + (cmd (YaTeX-get-latex-command t)) pparg ppcmd 27.117 + (cb (current-buffer))) 27.118 + (and pp 27.119 + (stringp pp) 27.120 + (setq pparg (substring cmd 0 (string-match "[;&]" cmd)) ;rm multistmt 27.121 + pparg (substring pparg (rindex pparg ? )) ;get last arg 27.122 + ppcmd (concat pp (substring pparg 0 (rindex pparg ?.)))));rm ext 27.123 (if (YaTeX-main-file-p) nil 27.124 (save-excursion 27.125 (YaTeX-visit-main t) ;search into main buffer 27.126 @@ -307,27 +351,31 @@ 27.127 (basic-save-buffer)))) 27.128 (exchange-point-and-mark))) 27.129 (switch-to-buffer cb)) ;for 19 27.130 - (YaTeX-typeset cmd YaTeX-typeset-buffer) 27.131 + (YaTeX-typeset cmd YaTeX-typeset-buffer nil nil ppcmd) 27.132 (put 'dvi2-command 'region nil))) 27.133 27.134 (defvar YaTeX-call-command-history nil 27.135 "Holds history list of YaTeX-call-command-on-file.") 27.136 (put 'YaTeX-call-command-history 'no-default t) 27.137 (defun YaTeX-call-command-on-file (base-cmd buffer &optional file) 27.138 - "Call external command BASE-CMD int the BUFFER. 27.139 + "Call external command BASE-CMD in the BUFFER. 27.140 By default, pass the basename of current file. Optional 3rd argument 27.141 FILE changes the default file name." 27.142 (YaTeX-save-buffers) 27.143 - (YaTeX-typeset 27.144 - (read-string-with-history 27.145 - "Call command: " 27.146 - (concat base-cmd " " 27.147 - (let ((me (file-name-nondirectory (or file buffer-file-name)))) 27.148 - (if (string-match "\\.tex" me) 27.149 - (substring me 0 (match-beginning 0)) 27.150 - me))) 27.151 - 'YaTeX-call-command-history) 27.152 - buffer)) 27.153 + (let ((default (concat base-cmd " " 27.154 + (let ((me (file-name-nondirectory 27.155 + (or file buffer-file-name)))) 27.156 + (if (string-match "\\.tex" me) 27.157 + (substring me 0 (match-beginning 0)) 27.158 + me))))) 27.159 + (or YaTeX-call-command-history 27.160 + (setq YaTeX-call-command-history (list default))) 27.161 + (YaTeX-typeset 27.162 + (read-string-with-history 27.163 + "Call command: " 27.164 + (car YaTeX-call-command-history) 27.165 + 'YaTeX-call-command-history) 27.166 + buffer))) 27.167 27.168 (defun YaTeX-bibtex-buffer (cmd) 27.169 "Pass the bibliography data of editing file to bibtex." 27.170 @@ -668,24 +716,22 @@ 27.171 (defvar YaTeX-dvi2-command-ext-alist 27.172 '(("[agx]dvi\\|dviout" . ".dvi") 27.173 ("ghostview\\|gv" . ".ps") 27.174 - ("acroread\\|pdf\\|Preview\\|TeXShop\\|Skim" . ".pdf"))) 27.175 + ("acroread\\|pdf\\|Preview\\|TeXShop\\|Skim\\|evince" . ".pdf"))) 27.176 27.177 (defun YaTeX-get-preview-file-name (&optional preview-command) 27.178 "Get file name to preview by inquiring YaTeX-get-latex-command" 27.179 (if (null preview-command) (setq preview-command dvi2-command)) 27.180 (let* ((latex-cmd (YaTeX-get-latex-command t)) 27.181 (rin (rindex latex-cmd ? )) 27.182 - (fname (if (> rin -1) (substring latex-cmd (1+ rin)) "")) 27.183 + (fname (if rin (substring latex-cmd (1+ rin)) "")) 27.184 (r (YaTeX-assoc-regexp preview-command YaTeX-dvi2-command-ext-alist)) 27.185 - (ext (if r (cdr r) "")) 27.186 - (period)) 27.187 + (ext (if r (cdr r) ""))) 27.188 (concat 27.189 (if (string= fname "") 27.190 - (setq fname (substring (file-name-nondirectory 27.191 - (buffer-file-name)) 27.192 - 0 -4)) 27.193 - (setq period (rindex fname ?.)) 27.194 - (setq fname (substring fname 0 (if (eq -1 period) nil period)))) 27.195 + (setq fname (substring (file-name-nondirectory 27.196 + (buffer-file-name)) 27.197 + 0 -4)) 27.198 + (setq fname (substring fname 0 (rindex fname ?.)))) 27.199 ext))) 27.200 27.201 (defun YaTeX-get-latex-command (&optional switch) 27.202 @@ -811,7 +857,7 @@ 27.203 27.204 (defun YaTeX-visit-main (&optional setbuf) 27.205 "Switch buffer to main LaTeX source. 27.206 -Use set-buffer instead of switch-to-buffer if the optional second argument 27.207 +Use set-buffer instead of switch-to-buffer if the optional argument 27.208 SETBUF is t(Use it only from Emacs-Lisp program)." 27.209 (interactive "P") 27.210 (if (and (interactive-p) setbuf) (setq YaTeX-parent-file nil)) 27.211 @@ -874,18 +920,6 @@ 27.212 (YaTeX-switch-to-buffer-other-window 27.213 (concat (YaTeX-get-preview-file-name) ".tex")))) 27.214 27.215 -(defun YaTeX-get-builtin (key) 27.216 - "Read source built-in command of %# usage." 27.217 - (save-excursion 27.218 - (goto-char (point-min)) 27.219 - (if (and (re-search-forward 27.220 - (concat "^" (regexp-quote (concat "%#" key))) nil t) 27.221 - (not (eolp))) 27.222 - (YaTeX-buffer-substring 27.223 - (progn (skip-chars-forward " " (point-end-of-line))(point)) 27.224 - (point-end-of-line)) 27.225 - nil))) 27.226 - 27.227 (defun YaTeX-save-buffers () 27.228 "Save buffers whose major-mode is equal to current major-mode." 27.229 (basic-save-buffer)
28.1 --- a/yatexsec.el Mon Sep 28 12:48:28 2009 +0900 28.2 +++ b/yatexsec.el Thu Jan 12 12:26:35 2012 +0900 28.3 @@ -1,8 +1,8 @@ 28.4 ;;; -*- Emacs-Lisp -*- 28.5 ;;; YaTeX sectioning browser. 28.6 ;;; yatexsec.el 28.7 -;;; (c) 1994,1998,1999,2003 by HIROSE Yuuji [yuuji@yatex.org] 28.8 -;;; Last modified Fri Jun 27 12:10:34 2003 on firestorm 28.9 +;;; (c) 1994-2012 by HIROSE Yuuji [yuuji@yatex.org] 28.10 +;;; Last modified Mon Jan 9 20:20:32 2012 on firestorm 28.11 ;;; $Id$ 28.12 28.13 (defvar YaTeX-sectioning-level 28.14 @@ -133,7 +133,8 @@ 28.15 (or 28.16 (and ln (string< "" ln) 28.17 (progn 28.18 - (goto-line (max 1 (1- (string-to-int ln)))) 28.19 + (goto-char (point-min)) 28.20 + (forward-line (max 0 (- (string-to-int ln) 2))) 28.21 (and 28.22 (search-forward ptn nil t) 28.23 (goto-char (match-beginning 0)))))