yatex
changeset 330:9cef5d10a0f1 dev
First Drag-n-Drop support
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 16 Dec 2014 11:12:38 +0900 |
parents | fdbc3b60a09d |
children | d9c547265e6e |
files | docs/yatexe docs/yatexj makefile yahtml.el yatex.el yatex23.el yatexadd.el |
diffstat | 7 files changed, 325 insertions(+), 214 deletions(-) [+] |
line diff
1.1 --- a/docs/yatexe Wed Nov 26 09:41:56 2014 +0900 1.2 +++ b/docs/yatexe Tue Dec 16 11:12:38 2014 +0900 1.3 @@ -376,6 +376,9 @@ 1.4 `%#MAKEINDEX' 1.5 1.6 ... Command line for bibtex ([prefix] t b) 1.7 + `%#DVIPDF' 1.8 + 1.9 + ... Command line for dvipdf(mx) ([prefix] t b) 1.10 1.11 If you want to invoke "makeidx hogehoge" to update index, put the next 1.12 line some upper place in the source, for example. 1.13 @@ -2178,69 +2181,70 @@ 1.14 1.15 1.16 HIROSE Yuuji 1.17 + 1.18 1.19 Tag table: 1.20 -Node: Top256 1.21 -Node: What is YaTeX?1597 1.22 -Node: Main features1970 1.23 -Node: Installation3499 1.24 -Node: Typesetting4276 1.25 -Node: Calling typesetter5406 1.26 -Node: Calling previewer7610 1.27 -Node: Printing out7971 1.28 -Node: %#notation8263 1.29 -Node: Changing typesetter8681 1.30 -Node: Splitting input files9045 1.31 -Node: Static region for typesetting10470 1.32 -Node: Lpr format11599 1.33 -Node: Controlling which command to invoke12672 1.34 -Node: Editing %# notation13265 1.35 -Node: Completion13809 1.36 -Node: Begin-type completion14369 1.37 -Node: Section-type completion17412 1.38 -Node: view-sectioning19847 1.39 -Node: Large-type completion21427 1.40 -Node: Maketitle-type completion22158 1.41 -Node: Arbitrary completion22710 1.42 -Node: End completion23100 1.43 -Node: Accent completion23570 1.44 -Node: Image completion24187 1.45 -Node: Greek letters completion26444 1.46 -Node: Local dictionaries27171 1.47 -Node: Commenting out28108 1.48 -Node: Cursor jump29567 1.49 -Node: Jump to corresponding object29879 1.50 -Node: Invoking image processor31280 1.51 -Node: Jump to main file32623 1.52 -Node: Jumping around the environment32988 1.53 -Node: Jumping to last completion position33406 1.54 -Node: Changing and Deleting33915 1.55 -Node: Changing LaTeX commands34307 1.56 -Node: Killing LaTeX commands35484 1.57 -Node: Filling36669 1.58 -Node: Updation of includeonly38520 1.59 -Node: What column39317 1.60 -Node: Intelligent newline40402 1.61 -Node: Usepackage checker42056 1.62 -Node: Online help42647 1.63 -Node: Browsing file hierarchy44322 1.64 -Node: Cooperation with other packages46059 1.65 -Node: Customizations46764 1.66 -Node: Lisp variables47098 1.67 -Node: All customizable variables48102 1.68 -Node: Sample definitions57901 1.69 -Node: Hook variables58414 1.70 -Node: Hook file59118 1.71 -Node: Add-in functions59457 1.72 -Node: How the add-in function works60317 1.73 -Node: Defining option-add-in62516 1.74 -Node: Defining argument-add-in63238 1.75 -Node: Defining enclosing-add-in64120 1.76 -Node: How the function is called64974 1.77 -Node: Useful functions for creating add-in65650 1.78 -Node: Contribution67055 1.79 -Node: Add-in generator67329 1.80 -Node: Etcetera72701 1.81 -Node: Copying73306 1.82 +Node: Top253 1.83 +Node: What is YaTeX?1594 1.84 +Node: Main features1967 1.85 +Node: Installation3496 1.86 +Node: Typesetting4273 1.87 +Node: Calling typesetter5403 1.88 +Node: Calling previewer7607 1.89 +Node: Printing out7968 1.90 +Node: %#notation8260 1.91 +Node: Changing typesetter8678 1.92 +Node: Splitting input files9042 1.93 +Node: Static region for typesetting10467 1.94 +Node: Lpr format11596 1.95 +Node: Controlling which command to invoke12669 1.96 +Node: Editing %# notation13339 1.97 +Node: Completion13883 1.98 +Node: Begin-type completion14443 1.99 +Node: Section-type completion17486 1.100 +Node: view-sectioning19921 1.101 +Node: Large-type completion21501 1.102 +Node: Maketitle-type completion22232 1.103 +Node: Arbitrary completion22784 1.104 +Node: End completion23174 1.105 +Node: Accent completion23644 1.106 +Node: Image completion24261 1.107 +Node: Greek letters completion26518 1.108 +Node: Local dictionaries27245 1.109 +Node: Commenting out28182 1.110 +Node: Cursor jump29641 1.111 +Node: Jump to corresponding object29953 1.112 +Node: Invoking image processor31354 1.113 +Node: Jump to main file32697 1.114 +Node: Jumping around the environment33062 1.115 +Node: Jumping to last completion position33480 1.116 +Node: Changing and Deleting33989 1.117 +Node: Changing LaTeX commands34381 1.118 +Node: Killing LaTeX commands35558 1.119 +Node: Filling36743 1.120 +Node: Updation of includeonly38594 1.121 +Node: What column39391 1.122 +Node: Intelligent newline40476 1.123 +Node: Usepackage checker42130 1.124 +Node: Online help42721 1.125 +Node: Browsing file hierarchy44396 1.126 +Node: Cooperation with other packages46133 1.127 +Node: Customizations46838 1.128 +Node: Lisp variables47172 1.129 +Node: All customizable variables48176 1.130 +Node: Sample definitions57975 1.131 +Node: Hook variables58488 1.132 +Node: Hook file59192 1.133 +Node: Add-in functions59531 1.134 +Node: How the add-in function works60391 1.135 +Node: Defining option-add-in62590 1.136 +Node: Defining argument-add-in63312 1.137 +Node: Defining enclosing-add-in64194 1.138 +Node: How the function is called65048 1.139 +Node: Useful functions for creating add-in65724 1.140 +Node: Contribution67129 1.141 +Node: Add-in generator67403 1.142 +Node: Etcetera72775 1.143 +Node: Copying73380 1.144 1.145 End tag table
2.1 --- a/docs/yatexj Wed Nov 26 09:41:56 2014 +0900 2.2 +++ b/docs/yatexj Tue Dec 16 11:12:38 2014 +0900 2.3 @@ -170,8 +170,8 @@ 2.4 ... 文書を作成する時の漢字コード 2.5 `dviprint-command-format' 2.6 ... ファイルの印刷に使われるコマンド列の書式 2.7 -`makeindex-command' 2.8 - ... makeindexコマンド 2.9 +`YaTeX-dvipdf-command' 2.10 + ... DVIをPDFに変換するコマンド 2.11 2.12 これらを変更する場合は、やはり`~/.emacs'にて、たとえば(setq tex-command 2.13 "pdflatex") のようにしてください。どのような値をセットすれば良いかについて 2.14 @@ -460,6 +460,9 @@ 2.15 `%#MAKEINDEX' 2.16 2.17 ... bibtexを行なうコマンドライン([prefix] t i) 2.18 + `%#DVIPDF' 2.19 + 2.20 + ... DVIからPDF変換を行なうコマンドライン([prefix] t d) 2.21 2.22 行頭がこれらのキーワードで始まる行をLaTeX文書の先頭付近に書いておけば、そ 2.23 れで指定したコマンドを起動できます。 2.24 @@ -1636,8 +1639,7 @@ 2.25 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOSでは1)) 2.26 2.27 -- Variable: tex-command 2.28 - LaTeXタイプセッタコマンド名 (`"platex"') 2.29 - 2.30 + LaTeXタイプセッタコマンド名 (`"platex"') 2.31 2.32 2.33 -- Variable: dvi2-command 2.34 プレヴューアコマンド名 (`"xdvi -geo +0+0 -s 4"') 2.35 @@ -1955,109 +1957,131 @@ 2.36 * :: Greek letter completion. 4. 2.37 * ;: Image completion. 4. 2.38 * Σ[しくま]: Image completion. 4. 2.39 -* 括る[くくる]: Enclose section-type command. 4. 2.40 -* 括る[くくる]: large型補完. 22. 2.41 -* 引数[ひきすう]: 2個以上の引数をとる section型コマンド. 4. 2.42 -* 欧文[おうふん]: Accent mark completion. 4. 2.43 -* ;自身[;ししん]: Image completion. 32. 2.44 +* る[くくる]: Enclose section-type command. 4. 2.45 +* る[くくる]: large型秒 2.46 +ョ. 22. 2.47 +* 引zルひきすう]: 2個以上の引zとる section型コマンド. 4. 2.48 +* 「6[おうふん]: Accent mark completion. 4. 2.49 +* ;自艘;ししん]: Image completion. 32. 2.50 * ∞[むけんたい]: Image completion. 4. 2.51 -* 矢印[やしるし]: Image completion. 4. 2.52 -* ブロック[ふろつく]: begin型補完. 81. 2.53 +* 墨[やしるし]: Image completion. 4. 2.54 +* ブロック[ふろつく]: begin型秒 2.55 +ョ. 81. 2.56 * ヒストリ[ひすとり]: Cooperation with other packages. 8. 2.57 -* 桁揃え[けたそろえ]: Filling. 4. 2.58 +* 桁5ヲ[けたそろえ]: Filling. 4. 2.59 * やちょう[やちよう]: Intro. 4. 2.60 * ジャンプ[しやんふ]: view-sectioning. 42. 2.61 -* &入力[&にゆうりよく]: Intelligent newline. 4. 2.62 -* 設定例[せつていれい]: Sample definitions. 4. 2.63 -* 随時補完[すいしほかん]: Arbitrary completion. 4. 2.64 -* 閉じ込める[としこめる]: begin型補完. 81. 2.65 -* 再帰補完[さいきほかん]: Recursive completion. 4. 2.66 -* ユーザ辞書[ゆうさししよ]: begin型補完. 71. 2.67 -* 論理階層[ろんりかいそう]: view-sectioning. 42. 2.68 +* &倒ヘ[&にゆうりよく]: Intelligent newline. 4. 2.69 +* 1阯畆せつていれい]: Sample definitions. 4. 2.70 +* x-桾b 2.71 +ョ[すいしほかん]: Arbitrary completion. 4. 2.72 +* 稗カ込める[としこめる]: begin型秒 2.73 +ョ. 81. 2.74 +* 再帰秒 2.75 +ョ[さいきほかん]: Recursive completion. 4. 2.76 +* ユーザ辞書[艪、さししよ]: begin型秒 2.77 +ョ. 71. 2.78 +* 論Kw[ろんりかいそう]: view-sectioning. 42. 2.79 * ここはどこ?[ここはとこ?]: What column. 4. 2.80 -* お絵描きツール起動[おえかきつうるきとう]: お絵描きツール起動. 4. 2.81 -* 環境の先頭へ[かんきようのせんとうへ]: 環境を単位としたジャンプ. 7. 2.82 -* 環境の末尾へ[かんきようのまつひへ]: 環境を単位としたジャンプ. 7. 2.83 -* 環境をマーク[かんきようをまあく]: 環境を単位としたジャンプ. 7. 2.84 +* おG描ォツール起.[おえかきつうるきとう]: おG描ォツール起.. 4. 2.85 +* B境の繿ェへ[かんきようのせんとうへ]: B境をハとしたジャンプ. 7. 2.86 +* B境のへ[かんきようのまつひへ]: B境をハとしたジャンプ. 7. 2.87 +* B境をマーク[かんきようをまあく]: B境をハとしたジャンプ. 7. 2.88 * カスタマイズ[かすたまいす]: Customizations. 4. 2.89 * キーアサイン[きいあさいん]: Customizations. 4. 2.90 -* 数式モード[すうしきもおと]: Image completion. 4. 2.91 +* z鍵モード[すうしきもおと]: Image completion. 4. 2.92 * インストール[いんすとおる]: Installation. 4. 2.93 * タイプセッタ[たいふせつた]: Invocation. 4. 2.94 * プレヴューア[ふれひゆうあ]: Invocation. 4. 2.95 * アウトライン[あうとらいん]: view-sectioning. 4. 2.96 -* 引数の個数を変える[ひきすうのこすうをかえる]: 2個以上の引数をとる section型コマンド. 24. 2.97 -* アクセント記号補完[あくせんときこうほかん]: Accent mark completion. 4. 2.98 -* カスタマイズ変数一覧[かすたまいすへんすういちらん]: All customizable variables. 4. 2.99 -* 環境名の補完[かんきようめいのほかん]: begin型補完. 4. 2.100 -* エラー修正[えらあしゆうせい]: Calling typesetter. 4. 2.101 -* タイプセッタ起動[たいふせつたきとう]: Calling typesetter. 4. 2.102 +* 引zフ個z桧ヲる[ひきすうのこすうをかえる]: 2個以上の引zとる section型コマンド. 24. 2.103 +* アクセント記号秒 2.104 +ョ[あくせんときこうほかん]: Accent mark completion. 4. 2.105 +* カスタマイズ桧j覧[かすたまいすへんすういちらん]: All customizable variables. 4. 2.106 +* B境<フ秒 2.107 +ョ[かんきようめいのほかん]: begin型秒 2.108 +ョ. 4. 2.109 +* エラー修額えらあしゆうせい]: Calling typesetter. 4. 2.110 +* タイプセッタ起.[たいふせつたきとう]: Calling typesetter. 4. 2.111 * タイプセットエラー[たいふせつとえらあ]: Calling typesetter. 4. 2.112 -* 環境名の変更[かんきようめいのへんこう]: Changing LaTeX command. 20. 2.113 -* モード切り替え[もうときりかえ]: Changing mode of YaTeX. 4. 2.114 -* タイプセッタの使い分け[たいふせつたのつかいわけ]: Changing typesetter. 12. 2.115 -* 起動するコマンドを変える[きとうするこまんとをかえる]: Changing typesetter. 7. 2.116 +* B境<フ桧 2.117 X[かんきようめいのへんこう]: Changing LaTeX command. 20. 2.118 +* モード怙闡Vヲ[もうときりかえ]: Changing mode of YaTeX. 4. 2.119 +* タイプセッタの使い*ッ[たいふせつたのつかいわけ]: Changing typesetter. 12. 2.120 +* 起.キるコマンドを桧ヲる[きとうするこまんとをかえる]: Changing typesetter. 7. 2.121 * コメントアウト[こめんとあうと]: Commenting out. 4. 2.122 -* その他のコマンド制御[そのたのこまんとせいきよ]: Controlling which command to invoke. 4. 2.123 -* 他パッケージとの連携[たはつけえしとのれんけい]: Cooperation with other packages. 4. 2.124 +* その<フコマンド+膽そのたのこまんとせいきよ]: Controlling which command to invoke. 4. 2.125 +* <pッケージとの連g[たはつけえしとのれんけい]: Cooperation with other packages. 4. 2.126 * コマンドヒストリ[こまんとひすとり]: Cooperation with other packages. 8. 2.127 * カーソルジャンプ[かあそるしやんふ]: Cursor jump. 4. 2.128 -* %#記法自体の編集[%#きほうしたいのへんしゆう]: Editing %# notation. 4. 2.129 -* パラグラフの桁揃え[はらくらふのけたそろえ]: Filling. 47. 2.130 -* 領域決定規則[りよういきけつていきそく]: Fix region for typesetting. 25. 2.131 -* 長いファイルの編集[なかいふあいるのへんしゆう]: Fix region for typesetting. 34. 2.132 -* 固定領域のタイプセット[こていりよういきのたいふせつと]: Fix region for typesetting. 4. 2.133 -* ギリシャ文字補完[きりしやもしほかん]: Greek letter completion. 4. 2.134 -* イメージ補完[いめえしほかん]: Image completion. 4. 2.135 -* 数式記号イメージ補完[すうしききこういめえしほかん]: Image completion. 4. 2.136 -* 他のファイルの手直し[ほかのふあいるのてなおし]: Includeonly. 11. 2.137 -* インクルード構造[いんくるうとこうそう]: Inclusion hierarchy browser. 4. 2.138 -* おまかせ改行[おまかせかいきよう]: Intelligent newline. 4. 2.139 +* %#記法ゥ銑フ紐W[%#きほうしたいのへんしゆう]: Editing %# notation. 4. 2.140 +* パラグラフの桁5ヲ[はらくらふのけたそろえ]: Filling. 47. 2.141 +* 領域決芍K%[りよういきけつていきそく]: Fix region for typesetting. 25. 2.142 +* !「ファイルの紐W[なかいふあいるのへんしゆう]: Fix region for typesetting. 34. 2.143 +* 固苺フ域のタイプセット[こていりよういきのたいふせつと]: Fix region for typesetting. 4. 2.144 +* ギリシャ6b.[きりしやもしほかん]: Greek letter completion. 4. 2.145 +* イメージ秒 2.146 +ョ[いめえしほかん]: Image completion. 4. 2.147 +* z鍵記号イメージ秒 2.148 +ョ[すうしききこういめえしほかん]: Image completion. 4. 2.149 +* <フファイルの手死オ[ほかのふあいるのてなおし]: Includeonly. 11. 2.150 +* インクルード構"[いんくるうとこうそう]: Inclusion hierarchy browser. 4. 2.151 +* おまかせ行[おまかせかいきよう]: Intelligent newline. 4. 2.152 * プリントアウト[ふりんとあうと]: Invocation. 4. 2.153 -* 環境の削除[かんきようのさくしよ]: Killing LaTeX command. 6. 2.154 -* ラベル自動生成[らへるしとうせいせい]: label-generation. 4. 2.155 -* フォント指定子[ふおんとしていし]: large型補完. 18. 2.156 -* 文字サイズ指定子[もしさいすしていし]: large型補完. 18. 2.157 -* ローカル辞書[ろおかるししよ]: Local dictionary. 4. 2.158 -* 変更/削除[へんこう/さくしよ]: Modifying/Deleting. 4. 2.159 +* B境の削充)んきようのさくしよ]: Killing LaTeX command. 6. 2.160 +* ラベル自.カルらへるしとうせいせい]: label-generation. 4. 2.161 +* フォント指芟q[ふおんとしていし]: large型秒 2.162 +ョ. 18. 2.163 +* 6Tイズ指芟q[もしさいすしていし]: large型秒 2.164 +ョ. 18. 2.165 +* ローカル辞書[おかるししよ]: Local dictionary. 4. 2.166 +* 桧 2.167 X/削充Vんこう/さくしよ]: Modifying/Deleting. 4. 2.168 * グローバルヘルプ[くろおはるへるふ]: Online help. 16. 2.169 * オンラインヘルプ[おんらいんへるふ]: Online help. 4. 2.170 * キーワード検索[きいわあとけんさく]: Online help. 4. 2.171 * プライベートヘルプ[ふらいへえとへるふ]: Online help. 16. 2.172 -* 入力ファイル分割[にゆうりよくふあいるふんかつ]: Splitting input files. 11. 2.173 -* セクション区切り一覧バッファ[せくしよんくきりいちらんはつふあ]: view-sectioning. 18. 2.174 -* セクション区切り[せくしよんくきり]: view-sectioning. 42. 2.175 -* 現在のカラム表示[けんさいのからむひようし]: What column. 23. 2.176 +* 倒ヘファイル* 2.177 +Ъにゆうりよくふあいるふんかつ]: Splitting input files. 11. 2.178 +* セクション区怙闊齬翼oッファ[せくしよんくきりいちらんはつふあ]: view-sectioning. 18. 2.179 +* セクション区怙鐚せくしよんくきり]: view-sectioning. 42. 2.180 +* 現在のカラム表ヲ[けんさいのからむひようし]: What column. 23. 2.181 * apropos: Online help. 4. 2.182 * autoload: Installation. 4. 2.183 * auto-mode-alist: Installation. 4. 2.184 * %#BEGIN: Fix region for typesetting. 4. 2.185 -* begin型補完[beginかたほかん]: begin型補完. 4. 2.186 +* begin型秒 2.187 +ョ[beginかたほかん]: begin型秒 2.188 +ョ. 4. 2.189 * C-c: Invocation. 4. 2.190 * Demacs: Intro. 4. 2.191 * .emacs: Installation. 4. 2.192 * %#END: Fix region for typesetting. 4. 2.193 -* end補完[endほかん]: end補完. 4. 2.194 +* end秒 2.195 +ョ[endほかん]: end秒 2.196 +ョ. 4. 2.197 * ghostview: Splitting input files. 16. 2.198 * gmhist: Cooperation with other packages. 8. 2.199 -* hook変数[hookへんすう]: Hook variables. 4. 2.200 +* hook桧納hookへんすう]: Hook variables. 4. 2.201 * 出力終了ページ[しゆつりよくしゆうりようへえし]: Print out. 9. 2.202 * includeonly: Includeonly. 4. 2.203 * Install: Installation. 4. 2.204 -* itemなどの桁揃え[itemなとのけたそろえ]: Filling. 8. 2.205 -* 出力開始ページ[しゆつりよくかいしへえし]: Print out. 9. 2.206 +* itemなどの桁5ヲ[itemなとのけたそろえ]: Filling. 8. 2.207 +* 出力J始ページ[しゆつりよくかいしへえし]: Print out. 9. 2.208 * jlatex: Invocation. 4. 2.209 -* large型補完[largeかたほかん]: large型補完. 4. 2.210 +* large型秒 2.211 +ョ[largeかたほかん]: large型秒 2.212 +ョ. 4. 2.213 * LaTeX: Intro. 4. 2.214 * leftarrow: Image completion. 4. 2.215 * lpr format: lpr format. 4. 2.216 -* lprフォーマットの変更[lprふおおまつとのへんこう]: Editing %# notation. 18. 2.217 +* lprフォーマットの桧 2.218 X[lprふおおまつとのへんこう]: Editing %# notation. 18. 2.219 * lprふぉーまっと[lprふおおまつと]: lpr format. 4. 2.220 * lprフォーマット[lprふおおまつと]: lpr format. 4. 2.221 -* maketitle型補完[maketitleかたほかん]: maketitle型補完. 4. 2.222 -* M-C-@: 環境を単位としたジャンプ. 7. 2.223 -* M-C-a: 環境を単位としたジャンプ. 7. 2.224 -* M-C-e: 環境を単位としたジャンプ. 7. 2.225 +* maketitle型秒 2.226 +ョ[maketitleかたほかん]: maketitle型秒 2.227 +ョ. 4. 2.228 +* M-C-@: B境をハとしたジャンプ. 7. 2.229 +* M-C-a: B境をハとしたジャンプ. 7. 2.230 +* M-C-e: B境をハとしたジャンプ. 7. 2.231 * min-out: Cooperation with other packages. 17. 2.232 * M-q: Filling. 47. 2.233 * Mule: Intro. 4. 2.234 @@ -2072,24 +2096,31 @@ 2.235 * prefix ?: Online help. 4. 2.236 * prefix &: What column. 4. 2.237 * prefix a: Accent mark completion. 4. 2.238 -* prefix b: begin型補完. 4. 2.239 +* prefix b: begin型秒 2.240 +ョ. 4. 2.241 * prefix c: Modifying/Deleting. 4. 2.242 * prefix d: Inclusion hierarchy browser. 4. 2.243 -* prefix e: end補完. 4. 2.244 +* prefix e: end秒 2.245 +ョ. 4. 2.246 * prefix g: Cursor jump. 4. 2.247 * prefix i: Filling. 8. 2.248 * prefix k: Modifying/Deleting. 4. 2.249 * prefix key: Invocation. 4. 2.250 -* prefix l: large型補完. 4. 2.251 -* prefix m: maketitle型補完. 4. 2.252 -* prefix s: section型補完. 4. 2.253 +* prefix l: large型秒 2.254 +ョ. 4. 2.255 +* prefix m: maketitle型秒 2.256 +ョ. 4. 2.257 +* prefix s: section型秒 2.258 +ョ. 4. 2.259 * prefix SPC: Arbitrary completion. 4. 2.260 * prefix w: Changing mode of YaTeX. 4. 2.261 -* prefixキー変更[prefixきいへんこう]: Lisp variables. 4. 2.262 -* ページ確認省略lpr起動[へえしかくにんしようりやくlprきとう]: Print out. 12. 2.263 -* section型補完[sectionかたほかん]: section型補完. 4. 2.264 -* 複雑なtabular[ふくさつなtabular]: What column. 4. 2.265 -* 先回りusepackage[さきまわり]: Usepackage cheker. 4. 2.266 +* prefixキー桧 2.267 X[prefixきいへんこう]: Lisp variables. 4. 2.268 +* ページm認ネ略lpr起.[へえしかくにんしようりやくlprきとう]: Print out. 12. 2.269 +* section型秒 2.270 +ョ[sectionかたほかん]: section型秒 2.271 +ョ. 4. 2.272 +* !Gなtabular[ふくさつなtabular]: What column. 4. 2.273 +* 繚りusepackage[さきまわり]: Usepackage cheker. 4. 2.274 * YaTeX-help-file: Online help. 16. 2.275 * YaTeX-help-file-private: Online help. 16. 2.276 * YaTeX-item-regexp: Filling. 20. 2.277 @@ -2101,68 +2132,69 @@ 2.278 2.279 2.280 2.281 + 2.282 2.283 Tag table: 2.284 -Node: Top257 2.285 -Node: Intro1311 2.286 -Node: Terminology1614 2.287 -Node: Main features2249 2.288 -Node: Installation3282 2.289 -Node: Invocation4500 2.290 -Node: Calling typesetter5319 2.291 -Node: Calling previewer6556 2.292 -Node: Print out6872 2.293 -Node: %#notation7138 2.294 -Node: Changing typesetter7566 2.295 -Node: Splitting input files7824 2.296 -Node: Fix region for typesetting8776 2.297 -Node: lpr format9677 2.298 -Node: Controlling which command to invoke10486 2.299 -Node: Editing %# notation10887 2.300 -Node: Completion11344 2.301 -Node: begin型補完11817 2.302 -Node: section型補完14401 2.303 -Node: 2個以上の引数をとる section型コマンド15496 2.304 -Node: Enclose section-type command16314 2.305 -Node: Recursive completion16551 2.306 -Node: view-sectioning16857 2.307 -Node: label-generation18053 2.308 -Node: large型補完18402 2.309 -Node: maketitle型補完18982 2.310 -Node: Arbitrary completion19281 2.311 -Node: end補完19594 2.312 -Node: Accent mark completion19936 2.313 -Node: Image completion20361 2.314 -Node: Greek letter completion22178 2.315 -Node: Local dictionary22638 2.316 -Node: Commenting out23243 2.317 -Node: Cursor jump24402 2.318 -Node: 対応オブジェクトへのジャンプ24639 2.319 -Node: お絵描きツール起動25627 2.320 -Node: メインファイルへのジャンプ26547 2.321 -Node: 環境を単位としたジャンプ26883 2.322 -Node: 最後の補完位置へのジャンプ27240 2.323 -Node: Modifying/Deleting27477 2.324 -Node: Changing LaTeX command27883 2.325 -Node: Killing LaTeX command28434 2.326 -Node: Filling29305 2.327 -Node: Includeonly30634 2.328 -Node: What column31195 2.329 -Node: Intelligent newline31974 2.330 -Node: Usepackage cheker33007 2.331 -Node: Changing mode of YaTeX33433 2.332 -Node: Online help34009 2.333 -Node: Inclusion hierarchy browser34985 2.334 -Node: Cooperation with other packages36263 2.335 -Node: Customizations36718 2.336 -Node: Lisp variables37015 2.337 -Node: All customizable variables37622 2.338 -Node: Sample definitions44923 2.339 -Node: Hook variables45357 2.340 -Node: Hook file46251 2.341 -Node: Add-in functions46457 2.342 -Node: Etc46684 2.343 -Node: Copying46968 2.344 -Node: Concept Index47599 2.345 +Node: Top254 2.346 +Node: Intro1308 2.347 +Node: Terminology1611 2.348 +Node: Main features2246 2.349 +Node: Installation3279 2.350 +Node: Invocation4503 2.351 +Node: Calling typesetter5322 2.352 +Node: Calling previewer6559 2.353 +Node: Print out6875 2.354 +Node: %#notation7141 2.355 +Node: Changing typesetter7569 2.356 +Node: Splitting input files7827 2.357 +Node: Fix region for typesetting8779 2.358 +Node: lpr format9680 2.359 +Node: Controlling which command to invoke10489 2.360 +Node: Editing %# notation10960 2.361 +Node: Completion11417 2.362 +Node: begin型補完11890 2.363 +Node: section型補完14474 2.364 +Node: 2個以上の引数をとる section型コマンド15569 2.365 +Node: Enclose section-type command16387 2.366 +Node: Recursive completion16624 2.367 +Node: view-sectioning16930 2.368 +Node: label-generation18126 2.369 +Node: large型補完18475 2.370 +Node: maketitle型補完19055 2.371 +Node: Arbitrary completion19354 2.372 +Node: end補完19667 2.373 +Node: Accent mark completion20009 2.374 +Node: Image completion20434 2.375 +Node: Greek letter completion22251 2.376 +Node: Local dictionary22711 2.377 +Node: Commenting out23316 2.378 +Node: Cursor jump24475 2.379 +Node: 対応オブジェクトへのジャンプ24712 2.380 +Node: お絵描きツール起動25700 2.381 +Node: メインファイルへのジャンプ26620 2.382 +Node: 環境を単位としたジャンプ26956 2.383 +Node: 最後の補完位置へのジャンプ27313 2.384 +Node: Modifying/Deleting27550 2.385 +Node: Changing LaTeX command27956 2.386 +Node: Killing LaTeX command28507 2.387 +Node: Filling29378 2.388 +Node: Includeonly30707 2.389 +Node: What column31268 2.390 +Node: Intelligent newline32047 2.391 +Node: Usepackage cheker33080 2.392 +Node: Changing mode of YaTeX33506 2.393 +Node: Online help34082 2.394 +Node: Inclusion hierarchy browser35058 2.395 +Node: Cooperation with other packages36336 2.396 +Node: Customizations36791 2.397 +Node: Lisp variables37088 2.398 +Node: All customizable variables37695 2.399 +Node: Sample definitions44996 2.400 +Node: Hook variables45430 2.401 +Node: Hook file46324 2.402 +Node: Add-in functions46530 2.403 +Node: Etc46757 2.404 +Node: Copying47041 2.405 +Node: Concept Index47672 2.406 2.407 End tag table
3.1 --- a/makefile Wed Nov 26 09:41:56 2014 +0900 3.2 +++ b/makefile Tue Dec 16 11:12:38 2014 +0900 3.3 @@ -49,8 +49,8 @@ 3.4 # make clean to delete all producted files 3.5 # make ci to check in all 3.6 # make co to check out all 3.7 -MVER = 1.77 3.8 -LISP = ${LISP18} ${LISP19} 3.9 +MVER = 1.78 3.10 +LISP = ${LISP18} ${LISP19} ${LISP23} 3.11 YAHTML = yahtml.el 3.12 COMMON = yatexlib.el yatexprc.el 3.13 LISP18 = comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \ 3.14 @@ -58,6 +58,7 @@ 3.15 yatexmth.el yatexhks.el yatexhlp.el \ 3.16 yatexm-o.el yatexsec.el yatexhie.el yatexpkg.el ${YAHTML} 3.17 LISP19 = yatex19.el 3.18 +LISP23 = yatex23.el 3.19 DOCS = ${DOCSRC} ${DOCOBJ} ${NEWS} 3.20 NEWS = yatex.new 3.21 DOCHTML = docs/htmlqa docs/htmlqa.eng docs/yahtmlj.tex docs/yahtmle.tex
4.1 --- a/yahtml.el Wed Nov 26 09:41:56 2014 +0900 4.2 +++ b/yahtml.el Tue Dec 16 11:12:38 2014 +0900 4.3 @@ -1,9 +1,9 @@ 4.4 ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- 4.5 ;;; (c) 1994-2013 by HIROSE Yuuji [yuuji(@)yatex.org] 4.6 -;;; Last modified Tue Jun 3 09:40:02 2014 on firestorm 4.7 +;;; Last modified Tue Dec 16 11:11:25 2014 on firestorm 4.8 ;;; $Id$ 4.9 4.10 -(defconst yahtml-revision-number "1.76" 4.11 +(defconst yahtml-revision-number "1.77" 4.12 "Revision number of running yahtml.el") 4.13 4.14 ;;; Commentary: 4.15 @@ -661,6 +661,12 @@ 4.16 (font-lock-mode 1) ;;Why should I fontify again??? 4.17 ;; in yatex-mode, there's no need to refontify... 4.18 (font-lock-fontify-buffer))))) 4.19 + ;; +dnd for X11 w/ emacs23+ 4.20 + (and window-system (featurep 'dnd) 4.21 + (set (make-local-variable 'dnd-protocol-alist) 4.22 + (cons (cons "^\\(file\\|https?\\):" 'yahtml-dnd-handler) 4.23 + dnd-protocol-alist))) 4.24 + 4.25 (set-syntax-table yahtml-syntax-table) 4.26 (use-local-map yahtml-mode-map) 4.27 (YaTeX-read-user-completion-table) 4.28 @@ -3128,6 +3134,33 @@ 4.29 (font-lock-mode -1) ;is stupid, but sure. 4.30 (font-lock-mode 1)) 4.31 4.32 +;;; 4.33 +;; Drag-n-Drop 4.34 +;;; 4.35 +(defun yahtml-dnd-handler (uri action) 4.36 + "DnD handler for yahtml mode 4.37 +Convert image URI to img-src and others to a-href." 4.38 + (let*((file (dnd-get-local-file-name uri)) 4.39 + (path (if file (file-relative-name file) uri)) 4.40 + (case-fold-search t) 4.41 + (geom "")) 4.42 + (cond 4.43 + ((memq action '(copy link move private)) 4.44 + (cond 4.45 + ((string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|tiff?\\)$" path) 4.46 + (if file 4.47 + (setq geom (yahtml-get-image-info path) 4.48 + geom (if (car geom) 4.49 + (apply 'format " width=\"%s\" height=\"%s\"" geom) 4.50 + ""))) 4.51 + (insert (format "<img src=\"%s\" alt=\"%s\"%s>" 4.52 + path (file-name-nondirectory path) geom))) 4.53 + 4.54 + (t (insert (format "<a href=\"%s\"></a>" path)) 4.55 + (forward-char -4)))) 4.56 + (t (message "No handler for action `%s'" action)))) 4.57 + action) 4.58 + 4.59 (run-hooks 'yahtml-load-hook) 4.60 (provide 'yahtml) 4.61
5.1 --- a/yatex.el Wed Nov 26 09:41:56 2014 +0900 5.2 +++ b/yatex.el Tue Dec 16 11:12:38 2014 +0900 5.3 @@ -1,6 +1,6 @@ 5.4 ;;; yatex.el --- Yet Another tex-mode for emacs //野鳥// -*- coding: sjis -*- 5.5 ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org] 5.6 -;;; Last modified Sun Sep 21 21:57:39 2014 on firestorm 5.7 +;;; Last modified Tue Dec 16 10:23:28 2014 on firestorm 5.8 ;;; $Id$ 5.9 ;;; The latest version of this software is always available at; 5.10 ;;; http://www.yatex.org/ 5.11 @@ -8,7 +8,7 @@ 5.12 ;;; Code: 5.13 (require 'comment) 5.14 (require 'yatexlib) 5.15 -(defconst YaTeX-revision-number "1.77.3" 5.16 +(defconst YaTeX-revision-number "1.77.4" 5.17 "Revision number of running yatex.el") 5.18 5.19 ;---------- Local variables ---------- 5.20 @@ -690,6 +690,10 @@ 5.21 local-abbrev-table yatex-mode-abbrev-table) 5.22 (if (fboundp 'comment-indent-new-line) ;for Emacs21 5.23 (setq comment-line-break-function 'YaTeX-comment-line-break)) 5.24 + ;; +dnd for X11 w/ emacs23+ 5.25 + (and window-system (featurep 'dnd) (require 'yatex23 nil t) 5.26 + (set (make-local-variable 'dnd-protocol-alist) 5.27 + (cons (cons "^file:" 'YaTeX-dnd-handler) dnd-protocol-alist))) 5.28 5.29 (if (and YaTeX-use-font-lock (featurep 'font-lock)) 5.30 (progn
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/yatex23.el Tue Dec 16 11:12:38 2014 +0900 6.3 @@ -0,0 +1,36 @@ 6.4 +;;; yatex23.el --- YaTeX facilities for Emacs 23 or later -*- coding: sjis -*- 6.5 +;;; (c)2014 by HIROSE Yuuji.[yuuji@yatex.org] 6.6 +;;; Last modified Tue Dec 16 11:08:10 2014 on firestorm 6.7 +;;; $Id:$ 6.8 + 6.9 +;;; Code: 6.10 +(defun YaTeX-dnd-handler (uri action) 6.11 + "DnD handler for yatex-mode 6.12 +Convert local image URI to \\includegraphcis{} and 6.13 +.tex file names to \\include{}." 6.14 + (save-excursion 6.15 + (YaTeX-visit-main t) 6.16 + (let*((file (dnd-get-local-file-name uri)) 6.17 + (path (file-relative-name file)) 6.18 + (insert-file-directory nil) 6.19 + (case-fold-search t)) 6.20 + (cond 6.21 + ((memq action '(copy link move private)) 6.22 + (cond 6.23 + ((string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|tiff?\\|e?ps\\|pdf\\)$" path) 6.24 + (insert "\\includegraphics" 6.25 + "{" (YaTeX::includegraphics 1 path t) "}") 6.26 + (YaTeX-package-auto-usepackage "includegraphics" 'section)) 6.27 + ((string-match "\\.tex$" path) 6.28 + (insert "\\include{" path "}")) 6.29 + )) 6.30 + (t (message "%s" action)))))) 6.31 + 6.32 +(provide 'yatex23) 6.33 + 6.34 +; Local variables: 6.35 +; fill-prefix: ";;; " 6.36 +; paragraph-start: "^$\\|\\|;;;$" 6.37 +; paragraph-separate: "^$\\|\\|;;;$" 6.38 +; coding: sjis 6.39 +; End:
7.1 --- a/yatexadd.el Wed Nov 26 09:41:56 2014 +0900 7.2 +++ b/yatexadd.el Tue Dec 16 11:12:38 2014 +0900 7.3 @@ -1,7 +1,7 @@ 7.4 ;;; yatexadd.el --- YaTeX add-in functions 7.5 ;;; yatexadd.el rev.20 7.6 ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org] 7.7 -;;; Last modified Sun Sep 21 14:14:59 2014 on firestorm 7.8 +;;; Last modified Tue Dec 16 09:45:09 2014 on firestorm 7.9 ;;; $Id$ 7.10 7.11 ;;; Code: 7.12 @@ -1939,9 +1939,9 @@ 7.13 str) 7.14 (substring str (match-beginning 1) (match-end 1))))) 7.15 7.16 -(defun YaTeX::includegraphics (argp) 7.17 +(defun YaTeX::includegraphics (argp &optional file doclip) 7.18 "Add-in for \\includegraphics" 7.19 - (let ((imgfile (YaTeX::include argp "Image File: ")) 7.20 + (let ((imgfile (or file (YaTeX::include argp "Image File: "))) 7.21 (case-fold-search t) info bb noupdate needclose c) 7.22 (and (string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|pdf\\)$" imgfile) 7.23 (file-exists-p imgfile) 7.24 @@ -1971,10 +1971,11 @@ 7.25 (replace-match bb)) 7.26 (noupdate nil) 7.27 ((and (match-beginning 1) 7.28 - (prog2 7.29 - (message "Insert `%s'? Y)es N)o C)yes+`clip': " bb) 7.30 - (memq (setq c (read-char)) '(?y ?Y ?\ ?c ?C)) 7.31 - (message ""))) 7.32 + (or doclip 7.33 + (prog2 7.34 + (message "Insert `%s'? Y)es N)o C)yes+`clip': " bb) 7.35 + (memq (setq c (read-char)) '(?y ?Y ?\ ?c ?C)) 7.36 + (message "")))) 7.37 (goto-char (match-end 0)) 7.38 (message "`bb=' %s" 7.39 (format