yatex
changeset 56:a9653fbd1c1c
Bug fix version
author | yuuji |
---|---|
date | Thu, 29 Jun 1995 13:46:57 +0000 |
parents | 790d0be0d0f8 |
children | 18f4939986e6 |
files | docs/qanda.eng docs/yatexe.tex docs/yatexj.tex help/YATEXHLP.jp yatex.el yatex.new yatex19.el yatexenv.el yatexlib.el yatexmth.el |
diffstat | 10 files changed, 237 insertions(+), 150 deletions(-) [+] |
line diff
1.1 --- a/docs/qanda.eng Thu Jun 29 13:37:36 1995 +0000 1.2 +++ b/docs/qanda.eng Thu Jun 29 13:46:57 1995 +0000 1.3 @@ -1,93 +1,98 @@ 1.4 %% 1.5 %% Q and A on YaTeX 1.6 %% 1.7 -%% C-u C-x $ shows only questions. C-x $ displays the questions. 1.8 +%% C-u C-x $ shows only questions. C-x $ shows all. 1.9 %% 1.10 1.11 [Installation] 1.12 +============== 1.13 *Installing the manual 1.14 - Copy yatexe to the info directory where your Emacs is installed, and 1.15 - add the next line to the dir file of the same directory. 1.16 + 1.17 + Copy yatexe to the info directory where your Emacs is installed, 1.18 + and add the next line to the dir file of the same directory. 1.19 1.20 * YaTeX: (yatexj). Yet Another tex-mode for Emacs. (Japanese). 1.21 1.22 - (After that, M-x info [RET] m yatex [RET] will give you Wild Bird's 1.23 - manual. Hitting ? will show how to use info) 1.24 + (After that, M-x info [RET] m yatex [RET] will give you Wild 1.25 + Bird's manual. Hitting ? will show how to use info) 1.26 1.27 *I ain't got the privilege to write in the Info directory... 1.28 - 1.29 - Get yourself made root. If you can't, have them install mule2 and 1.30 - add 1.31 + 1.32 + Get yourself made root. If you can't, have them install Mule2 1.33 + and add 1.34 1.35 (setq Info-default-directory-list 1.36 (cons "YOUR INFO DIRECTORY" 1.37 Info-default-directory-list)) 1.38 1.39 - to your ~/.emacs. Now your personal files will be added to the menu 1.40 - when you invoke info. mule1 will not release memories, so processes 1.41 - will pile up and be heavier on the system compared to mule2. Nemacs 1.42 - has already become obsolete by the developers, so no further comments 1.43 - for usage of Nemacs. Get yourself mule2 with flying colors :-) 1.44 + to your ~/.emacs. Now your personal files will be added to the 1.45 + menu when you invoke info. By the way, Mule1 will not release 1.46 + memories, so processes will pile up and be heavier on the system 1.47 + compared to Mule2. Nemacs has already become obsolete by the 1.48 + developers, so no further comments for usage of Nemacs. Get 1.49 + yourself Mule2 with flying colors :-) 1.50 1.51 *Emacs can't find the help file. 1.52 - 1.53 - The help file is set to be placed in $EMACS/etc/ for Nemacs, Mule1 1.54 - and $EMACS/site-lisp/ for Mule2. If you don't have the privilege to 1.55 - put them in a public location, copy it to your home directory and 1.56 - set YaTeX-help-file to that file name. 1.57 + 1.58 + The help file is set to be placed in $EMACS/etc/ for Nemacs, 1.59 + Mule1 and $EMACS/site-lisp/ for Mule2. If you don't have the 1.60 + privilege to put them in a public location, copy it to your home 1.61 + directory and set YaTeX-help-file to that file name. 1.62 1.63 *I can't read info on Nemacs 1.64 1.65 - The info file was formatted on Mule, so it can't be read correctly on 1.66 - Nemacs (or Demacs based on Nemacs) because the internal Japanese 1.67 - processing is different. Read it on Mule. Use the Emacs-Lisp 1.68 - package in texinfo-3.1.tar.gz to format the Texinfo file. 1.69 + The info file was formatted on Mule, so it can't be read 1.70 + correctly on Nemacs (or Demacs based on Nemacs) because the 1.71 + internal Japanese processing is different. Read it on Mule. 1.72 + Use the Emacs-Lisp package in texinfo-3.1.tar.gz to format the 1.73 + Texinfo file. 1.74 1.75 1.76 [Operations] 1.77 +============ 1.78 *I accidentally learned in a wrong LaTeX command. 1.79 1.80 - There should be a line with the wrong command in the .yatexrc file 1.81 - in you home or current directory. Erase that line, do M-x 1.82 + There should be a line with the wrong command in the .yatexrc 1.83 + file in you home or current directory. Erase that line, do M-x 1.84 eval-current-buffer and save the results with C-x C-s. 1.85 1.86 *I can't comment out the region. 1.87 1.88 - Probably the point is on a line withe \begin{} or \end{}. Go up or 1.89 - down a line and do C-c >. 1.90 + Probably the point is on a line withe \begin{} or \end{}. Go up 1.91 + or down a line and do C-c >. 1.92 1.93 *I was asked for a parent file when typesetting, and answered the wrong file. 1.94 1.95 - Re-read the child file with C-x C-v RET or re-type the parent file 1.96 - with C-u C-c ^. 1.97 + Re-read the child file with C-x C-v RET or re-type the parent 1.98 + file with C-u C-c ^. 1.99 1.100 *The typeset buffer is not shown when I get a typeset buffer on Demacs. 1.101 1.102 - This happens on Demacs 1.2.0, when the child process returns an 1.103 - error level of 1 or more. If you are calling jlatex from a batch 1.104 - file, call a dummy command that always returns errorlevel 0 at the 1.105 - end. 1.106 + This happens on Demacs 1.2.0, when the child process returns an 1.107 + error level of 1 or more. If you are calling jlatex from a 1.108 + batch file, call a dummy command that always returns errorlevel 1.109 + 0 at the end. 1.110 1.111 *How can I enter "\underline{\makebox[4em][l]{x y}{\tt z}}" more easily? 1.112 1.113 - Recursive completion can be used for inputting arguments in the 1.114 - mini-buffer of a section type completion. Following is an example 1.115 - showing the command in question. 1.116 + Recursive completion can be used for inputting arguments in the 1.117 + mini-buffer of a section type completion. Following is an 1.118 + example showing the command in question. 1.119 1.120 - PROMPT KEYs ENTERED 1.121 - C-c s und SPC RET 1.122 - \underline{???}: C-c s makeb SPC RET 1.123 - Width: 4em RET 1.124 - makebox position (`lr'): - l RET 1.125 - \makebox{???}: x y RET 1.126 - \underline{???}: \makebox[4em][l]{x y} C-c l tt RET 1.127 - \underline{???}: \makebox[4em][l]{x y}{\tt } z RET 1.128 + PROMPT KEYs ENTERED 1.129 + C-c s und SPC RET 1.130 + \underline{???}: C-c s makeb SPC RET 1.131 + Width: 4em RET 1.132 + makebox position (`lr'): - l RET 1.133 + \makebox{???}: x y RET 1.134 + \underline{???}: \makebox[4em][l]{x y} C-c l tt RET 1.135 + \underline{???}: \makebox[4em][l]{x y}{\tt } z RET 1.136 1.137 *How can I kill \footnote{} from \footnote{HOGE} 1.138 1.139 - Put the point to \footnote and do C-c k. This will kill the 1.140 - \footnote{}. If you want to kill the whole thing including HOGE, do 1.141 - C-u C-c k. 1.142 + Put the point to \footnote and do C-c k. This will kill the 1.143 + \footnote{}. If you want to kill the whole thing including 1.144 + HOGE, do C-u C-c k. 1.145 1.146 *I want to make HONYARA into a footnote. 1.147 1.148 @@ -101,23 +106,22 @@ 1.149 1.150 \verb isn't a maketitle-type, so there aren't any quick commands. 1.151 But you can use C-c $ to do the same thing. 1.152 - 1.153 + v v 1.154 WHAT YOU NEED to make \verb 1.155 - \verbWHAT YOU NEED to make \verb (insert \verb) 1.156 - ^(C-@) (mark W) 1.157 - \verbWHAT YOU NEED to make \verb 1.158 - ^C-c $ (move point to end enclose 1.159 - with $) 1.160 - \verb$WHAT YOU NEED$ to make \verb (done!) 1.161 + \verbWHAT YOU NEED to make \verb (insert \verb) 1.162 + ^(C-@) (mark W) 1.163 + \verbWHAT YOU NEED to make \verb 1.164 + ^C-c $ (move point to end enclose with $) 1.165 + \verb$WHAT YOU NEED$ to make \verb (done!) 1.166 1.167 *I want to have commands defined on a upper level file to be read in 1.168 when doing a typeset-region on a child file. 1.169 1.170 - When you are editing child files broken into sections and some 1.171 - macros to be used are defined in upper level files, you'll need them 1.172 - to do typeset-region. The macros needed will be copied to the 1.173 - temporary file if you add %#REQUIRE to the end of the macro's 1.174 - definition. 1.175 + When you are editing child files broken into sections and some 1.176 + macros to be used are defined in upper level files, you'll need 1.177 + them to do typeset-region. The macros needed will be copied to 1.178 + the temporary file if you add %#REQUIRE to the end of the 1.179 + macro's definition. 1.180 1.181 Say you had a grand-child file 1.182 +-- main.tex --+ +---- sub.tex ----+ +-- subsub.tex --+ 1.183 @@ -128,9 +132,9 @@ 1.184 | : | +-----------------+ |TYPESET IS | 1.185 +--------------+ ^ |HERE | 1.186 +-- macros.tex ---+ |%#END | 1.187 - |\def\foo{bar} | |: | 1.188 - |\def\hoge{hero} | +----------------+ 1.189 - +-----------------+ 1.190 + |\def\foo{bar} | |: | 1.191 + |\def\hoge{hero} | +----------------+ 1.192 + +-----------------+ 1.193 1.194 In this case you change the \include{macros} line in sub.tex to 1.195 1.196 @@ -140,52 +144,56 @@ 1.197 1.198 %#REQUIRE \include{macros} 1.199 1.200 - If %#REQUIRE is at the top of the line, the following will be copied 1.201 - to the temporary file. So, macros.tex will be included only once 1.202 - whether you are typesetting all the files, or doing a typeset-region 1.203 - on sub.tex or subsub.tex. 1.204 + If %#REQUIRE is at the top of the line, the following will be 1.205 + copied to the temporary file. So, macros.tex will be included 1.206 + only once whether you are typesetting all the files, or doing a 1.207 + typeset-region on sub.tex or subsub.tex. 1.208 1.209 *I want to reuse ARGUMENTS I used in the last \foo{ARGUMENTS} 1.210 1.211 - Use the gmhist package. YaTeX works fine with gmhist. When you are 1.212 - asked \foo{???}: in the mini-buffer, hitting M-p (ESC p) will get 1.213 - you a history of what you have inputted in reverse. M-n will go 1.214 - forward in the history. This input history can be used for 1.215 - begin-type completion, section-type completion, evoking the 1.216 - previewer, and print out commands. 1.217 + Use the gmhist package. YaTeX works fine with gmhist. When you 1.218 + are asked \foo{???}: in the mini-buffer, hitting M-p (ESC p) 1.219 + will get you a history of what you have inputted in reverse. 1.220 + M-n will go forward in the history. This input history can be 1.221 + used for begin-type completion, section-type completion, evoking 1.222 + the previewer, and print out commands. 1.223 1.224 - gmhist can be found at many Emacs-Lisp archive sights. For example, 1.225 - ftp.ae.keio.ac.jp:pub/emacs-lisp/util/gmhist.tar.gz 1.226 + gmhist can be found at many Emacs-Lisp archive sights. For 1.227 + example, ftp.ae.keio.ac.jp:pub/emacs-lisp/util/gmhist.tar.gz 1.228 + 1.229 + Note that Emacs-19(Mule2) doesn't need gmhist for the feature of 1.230 + minibuffer history. 1.231 1.232 *ref<->label jump doesn't work. 1.233 1.234 - C-c g will start a forward search of ref/label. C-u C-c g will 1.235 - start a backward search. If you want to continue searching for 1.236 - \ref, hit C-s (C-r) twice and use the repeated search feature of the 1.237 - incremental search. If the point to jump is in another file, that 1.238 - file must be already opened. YaTeX-display-hierarchy (C-c d) can be 1.239 - used to open all files at once. 1.240 + C-c g will start a forward search of ref/label. C-u C-c g will 1.241 + start a backward search. If you want to continue searching for 1.242 + \ref, hit C-s (C-r) twice and use the repeated search feature of 1.243 + the incremental search. If the point to jump is in another 1.244 + file, that file must be already opened. YaTeX-display-hierarchy 1.245 + (C-c d) can be used to open all files at once. 1.246 1.247 *I get a % at the end of the line when I do a fill-paragraph or auto-fill. 1.248 1.249 - NTT-jTeX will add an unnecessary space in the print out image if the 1.250 - japanese paragraph is written with an indent. To avoid this, you 1.251 - need to put a % at the end of the line. YaTeX will automatically 1.252 - put a % so you can input indented text for NTT-jTeX. But there may 1.253 - be a bug in the routine so please report if you find any %s otherwise 1.254 - than at the end of a line. 1.255 + NTT-jTeX will add an unnecessary space in the print out image if 1.256 + the japanese paragraph is written with an indent. To avoid 1.257 + this, you need to put a % at the end of the line. YaTeX will 1.258 + automatically put a % so you can input indented text for 1.259 + NTT-jTeX. But there may be a bug in the routine so please 1.260 + report if you find any %s otherwise than at the end of a line. 1.261 1.262 *Isn't the indentation too deep in itemize environments? 1.263 1.264 - Think so too? An alias Mr. K thought this was better and he's 1.265 - the only one delighted hitting the TAB key. Wasn't my idea! (still 1.266 - have a bit of a grudge) If you also think it's too deep, hit TAB at 1.267 - the end of the line with \begin{itemize} within the environment. 1.268 - Now it's too shallow? Umm... time for me to take a break. 1.269 - 1.270 + Think so too? An alias Mr. K thought this was better and he 1.271 + feels an ultimate ecstacy with hitting the TAB to indent a line. 1.272 + Wasn't my idea! (still have a bit of a grudge) If you also 1.273 + think it's too deep, hit TAB at the end of the line with 1.274 + \begin{itemize} within the environment. Now it's too shallow? 1.275 + Umm... time for me to take a break. 1.276 1.277 -[About Mule2] 1.278 -*Equations are too dark to read when I use Mule2+hilit19. 1.279 +[About Emacs-19/Mule2] 1.280 +====================== 1.281 +*Equations are too dark to read when I use hilit19. 1.282 1.283 The default coloring of hilit19.el is too dark. Try putting the 1.284 next code in ~/.emacs or yatexhks.el. 1.285 @@ -198,20 +206,38 @@ 1.286 1.287 *Can't I use font-lock? 1.288 1.289 - The document says, "pattern must be specified within a line". So it 1.290 - seems you can't chose a pattern like from \begin to \end that laps 1.291 - more than one line. But on the other hand, multiple line comments 1.292 - in C seems to work fine... So what's the real story? Anybody know 1.293 - the answer? If so, teach me, or try sending a fan letter to our 1.294 - font-lock investigator-in-depress Taguchi (tagu@ae.keio.ac.jp) 1.295 + The document says, "pattern must be specified within a line". 1.296 + So it seems you can't chose a pattern like from \begin to \end 1.297 + that laps more than one line. But on the other hand, multiple 1.298 + line comments in C seems to work fine... So what's the real 1.299 + story? Anybody know the answer? If so, teach me, or try 1.300 + sending a fan letter to our font-lock investigator-in-depress 1.301 + Taguchi (tagu@ae.keio.ac.jp) 1.302 1.303 *It's sooo slow when I click YaTeX on the menu bar. 1.304 1.305 - I don't know why. Probably a problem with Emacs-19. You'll just 1.306 - have to bear with it. It won't be so slow the second time. 1.307 - Anyway, you probably won't use the menu at all, do you? 1.308 + I don't know why. Probably a problem with Emacs-19. You'll 1.309 + just have to bear with it. It won't be so slow the second time. 1.310 + Anyway, you probably won't use the menu at all, do you? 1.311 + 1.312 +*Is there any way of displaying `\it' strings in the italic font? 1.313 + 1.314 + First, you should find the available italic font on your 1.315 + system. In, *scratch* buffer, 1.316 + (set-face-font 'italic "-*-*-medium-i-*--*-*-*-*-*-*-*-*") 1.317 + or 1.318 + (set-face-font 'italic "-*-*-medium-o-*--*-*-*-*-*-*-*-*") 1.319 + and C-j (It takes very very long time!!). 1.320 + If you get `No matches found', no way. (;_;)/~ 1.321 + If you get some font name, 1.322 + "-adobe-courier-medium-i-normal--12-120-75-75-m-0-iso8859-1" 1.323 + for example, write 1.324 + (set-face-font 'italic 1.325 + "-adobe-courier-medium-i-normal--12-120-75-75-m-0-iso8859-1") 1.326 + in your `yatexhks.el'. 1.327 1.328 [Customization] 1.329 +=============== 1.330 *I don't use C-c b i much, so it would be better if I can start 1.331 completion after hitting C-c b. 1.332 1.333 @@ -219,63 +245,67 @@ 1.334 1.335 *An open parenthesis always get entered in pairs. 1.336 1.337 - This should be better, once you get used to it. If you still don't 1.338 - like it, turn on modify-mode using C-c w m. Setting 1.339 - YaTeX-close-paren-always to nil will give this feature from the start. 1.340 + This should be better, once you get used to it. If you still 1.341 + don't like it, turn on modify-mode using C-c w m. Setting 1.342 + YaTeX-close-paren-always to nil will give this feature from the 1.343 + start. 1.344 1.345 *Funny things happen when I hit ;. 1.346 1.347 - YaTeX think you are in math mode and evokes math-mode-image 1.348 - completion. If you are writing a equation that TeX will not give an 1.349 - error and YaTeX mistakes what mode you are in, report it back to the 1.350 - author. For mistaken judgements or if you want to enter a literal 1.351 - ;, hit ; twice. C-u ; to use ; as a image-completion prefix. 1.352 + YaTeX think you are in math mode and evokes math-mode-image 1.353 + completion. If you are writing a equation that TeX will not 1.354 + give an error and YaTeX mistakes what mode you are in, report it 1.355 + back to the author. For mistaken judgements or if you want to 1.356 + enter a literal ;, hit ; twice. C-u ; to use ; as a 1.357 + image-completion prefix. 1.358 1.359 *I want YaTeX to enter the option arguments for a newenvironment. 1.360 1.361 - Read yatexadd.doc. If that's not enough, read yatexgen.doc and try 1.362 - M-x YaTeX-generate. 1.363 + Read yatexadd.doc. If that's not enough, read yatexgen.doc and 1.364 + try M-x YaTeX-generate. 1.365 1.366 *I first defined \foo as a macro taking 3 arguments. Later I changed it 1.367 to take 4 arguments, but the section-type completion will ask me for 1.368 only 3 arguments. 1.369 1.370 - Use C-u 4 C-c s and tell it will take 4 arguments. You can change 1.371 - the number of arguments anytime you want. 1.372 + Use C-u 4 C-c s and tell it will take 4 arguments. You can 1.373 + change the number of arguments anytime you want. 1.374 1.375 *I made a argument-type addin function, but can't do completion after 1.376 the first two arguments. 1.377 1.378 - If you made a addin function like \foo{x}{y}{z} that takes 3 1.379 - arguments, then you need to learn in the dictionary that \foo will 1.380 - take 3 arguments. This can be done by C-u 3 C-c s foo. You only 1.381 - need to do it once. 1.382 + If you made a addin function like \foo{x}{y}{z} that takes 3 1.383 + arguments, then you need to learn in the dictionary that \foo 1.384 + will take 3 arguments. This can be done by C-u 3 C-c s foo. 1.385 + You only need to do it once. 1.386 1.387 *My addin functions are overwritten by yatexadd. 1.388 1.389 - Formally, all private functions were written in your own yatexadd.el. 1.390 - Now, all private functions are put in yatexhks.el. yatexhks.el will 1.391 - be read in at the end of YaTeX's initialization, so you can overwrite 1.392 - definitions in yatexadd.el. 1.393 + Formally, all private functions were written in your own 1.394 + yatexadd.el. Now, all private functions are put in yatexhks.el. 1.395 + yatexhks.el will be read in at the end of YaTeX's 1.396 + initialization, so you can overwrite definitions in yatexadd.el. 1.397 1.398 [ETC] 1.399 +===== 1.400 *Mailing lists? 1.401 1.402 - A question, so an answer. The mailing list for YaTeX(Wild Bird) and 1.403 - it's implementation to Vz, Raicho (by katsura@prc.tsukuba.ac.jp) is 1.404 - "fj Wild Bird Society". Send a mail like 1.405 + A question, so an answer. The mailing list for YaTeX (Wild 1.406 + Bird) and it's implementation to Vz, Raicho (by KATSURAGAWA, 1.407 + Naoki; katsura@prc.tsukuba.ac.jp) is "fj Wild Bird Society". 1.408 + Send a mail like 1.409 1.410 To: yatex-control@harvest.jaist.ac.jp 1.411 Subject: append 1.412 ----- 1.413 Hi! See any birds fly by? 1.414 - 1.415 - and you're in. The text will be used as your profile. (you can 1.416 - change it later) Once you're in, you'll get a reply with lists of 1.417 - commands used in the mailing list. Join along and help adding new 1.418 - feathers to Wild Bird. BTW, if you haven't guessed it yet, yes, 1.419 - this mailing list is in Japanese. But give us a try anyway. You're 1.420 - always welcome. 1.421 + 1.422 + and you're in. The text will be used as your profile. (you can 1.423 + change it later) Once you're in, you'll get a reply with lists 1.424 + of commands used in the mailing list. Join along and help 1.425 + adding new feathers to Wild Bird. BTW, if you haven't guessed 1.426 + it yet, yes, this mailing list is in Japanese. But give us a 1.427 + try anyway. You're always welcome. 1.428 1.429 *Help, help HELP!! 1.430 1.431 @@ -290,8 +320,9 @@ 1.432 *Picking a question in this file with C-u C-x $ and hitting C-x $ takes 1.433 me to a weird world. 1.434 1.435 - You too? Try marking the question before C-x $ and to C-x C-x to 1.436 - take you back to it. (mule2 doesn't seem to have the same problem) 1.437 + You too? Try marking the question before C-x $ and to C-x C-x 1.438 + to take you back to it. (Mule2 doesn't seem to have the same 1.439 + problem) 1.440 1.441 1.442 Local Variables:
2.1 --- a/docs/yatexe.tex Thu Jun 29 13:37:36 1995 +0000 2.2 +++ b/docs/yatexe.tex Thu Jun 29 13:46:57 1995 +0000 2.3 @@ -1664,6 +1664,17 @@ 2.4 section-type command when add-in function for it is not defined. 2.5 @end defvar 2.6 2.7 +@defvar YaTeX-create-file-prefix-g 2.8 +When typing @kbd{prefix g} on the @code{\include} line, 2.9 +open the target file even if the file doesn't exist(@code{nil}). 2.10 +@end defvar 2.11 + 2.12 +@defvar YaTeX-simple-messages 2.13 +Simplyfy messages of various completions(@code{nil})$B!#(B 2.14 +@end defvar 2.15 + 2.16 + 2.17 + 2.18 @node Sample definitions, Hook variables, All customizable variables, Lisp variables 2.19 @comment node-name, next, previous, up 2.20 @subsection Sample definitions
3.1 --- a/docs/yatexj.tex Thu Jun 29 13:37:36 1995 +0000 3.2 +++ b/docs/yatexj.tex Thu Jun 29 13:46:57 1995 +0000 3.3 @@ -1870,6 +1870,15 @@ 3.4 ミニバッファでの読み込みをせずに入力を完了させる。 3.5 @end defvar 3.6 3.7 +@defvar YaTeX-create-file-prefix-g 3.8 +@code{\include}などで @kbd{prefix g}した時に、ジャンプ先が存在しないファイ 3.9 +ルであってもオープンする(@code{nil})。 3.10 +@end defvar 3.11 + 3.12 +@defvar YaTeX-simple-messages 3.13 +各種補完時のメッセージ出力を簡素化する(@code{nil})。 3.14 +@end defvar 3.15 + 3.16 @node Sample definitions, Hook variables, All customizable variables, Lisp variables 3.17 @comment node-name, next, previous, up 3.18 @subsection カスタマイズ変数設定例
4.1 --- a/help/YATEXHLP.jp Thu Jun 29 13:37:36 1995 +0000 4.2 +++ b/help/YATEXHLP.jp Thu Jun 29 13:46:57 1995 +0000 4.3 @@ -1254,7 +1254,7 @@ 4.4 占い師だそうです。 4.5 4.6 柱川さん(prc) 4.7 - 各所で暴れています。 4.8 + 各所で暴れています。 4.9 4.10 三平善郎さん(慶應大) 4.11 開き括弧の入力時の処理のモード分けのアイデアを頂きました。 4.12 @@ -1323,6 +1323,18 @@ 4.13 佐藤圭さん(慶應大) 4.14 ネストした同種のitemize環境でのindentationの不具合を指摘して頂き 4.15 ました。 4.16 + 4.17 +石川洋介さん(富士通) 4.18 + Mule2で斜体フォントを使用するための手順を教えて頂きました。 4.19 + 4.20 +井上浩一さん(九州大学) 4.21 + MuleでフォーマットしたinfoファイルをNemacs用にコンバートする方法 4.22 + を教えて頂きました。 4.23 + 4.24 +田口直文さん(慶應大) 4.25 + font-lock の使い方を調査するといって、まだ何も教えてくれません。 4.26 + 早くしてください:-)。 4.27 + 4.28 yatex 4.29 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) 4.30 <refer YaTeX>
5.1 Binary file yatex.el has changed
6.1 --- a/yatex.new Thu Jun 29 13:37:36 1995 +0000 6.2 +++ b/yatex.new Thu Jun 29 13:46:57 1995 +0000 6.3 @@ -1,7 +1,21 @@ 6.4 What's new in YaTeX 6.5 yatex.el 各バージョンの変更点について 6.6 6.7 -1.58 YaTeX-close-paren-always が 'never なら常に自動的に括弧を閉じない。 6.8 +1.59 %(コメント)のhilitのバグを修正。 6.9 + tabular環境のお任せ改行で無限ループになることがあるのを回避。 6.10 + アドイン関数が効かないバグを修正。 6.11 + [prefix] i (YaTeX-fill-item) の不具合修正 6.12 + `yatex19.el' をロードしているのを修正 6.13 + italic フォントの使い方の説明を書いてみた (docs/qanda) 6.14 + 6.15 +1.58 数式環境専用コマンドを maketitle 型補完した時には自動的に$$で囲む。 6.16 + [prefix] x でキーマップ YaTeX-user-extensional-map を呼び出す。この 6.17 + キーマップにはユーザが好きなキーに好きな関数を定義できる。 6.18 + section 型補完で maketitle 型のものも入れられるようにした(引数0個)。 6.19 + YaTeX-close-paren-always が 'never なら常に自動的に括弧を閉じない。 6.20 + YaTeX-skip-default-reader が non-nil なら section 型補完のデフォ 6.21 + ルトの引数リーダを呼ばない。 6.22 + YaTeX-simple-messages が non-nil なら簡素なメッセージで表示。 6.23 英語版のLaTeXヘルプも完備した。 6.24 fj.sourcesにポスト。 6.25
7.1 --- a/yatex19.el Thu Jun 29 13:37:36 1995 +0000 7.2 +++ b/yatex19.el Thu Jun 29 13:46:57 1995 +0000 7.3 @@ -1,7 +1,7 @@ 7.4 ;;; -*- Emacs-Lisp -*- 7.5 ;;; YaTeX facilities for Emacs 19 7.6 ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 7.7 -;;; Last modified Thu Feb 2 23:44:30 1995 on figaro 7.8 +;;; Last modified Mon May 15 15:50:04 1995 on inspire 7.9 ;;; $Id$ 7.10 7.11 ;;; とりあえず hilit19 を使っている時に色が付くようにして 7.12 @@ -253,12 +253,16 @@ 7.13 (defun YaTeX-19-region-comment (pattern) 7.14 "Return list of comment start and end point." 7.15 (if (re-search-forward pattern nil t) 7.16 - (cons (match-beginning 1) (match-end 0)))) 7.17 + (cons (match-beginning 2) (match-end 0)))) 7.18 + 7.19 +;;(make-face 'tt) 7.20 +;;(set-face-font 'tt "-schumacher-clean-medium-r-normal--*-*-*-*-*-*-*-*") 7.21 +;;(hilit-translate 'tt "white") 7.22 7.23 (defvar YaTeX-hilit-patterns-alist 7.24 '( 7.25 ;; comments 7.26 - (YaTeX-19-region-comment "[^\\]\\(%\\).*$" comment) 7.27 + (YaTeX-19-region-comment "\\([^\\]\\|^\\)\\(%\\).*$" comment) 7.28 7.29 (YaTeX-19-region-section-type "\\\\footnote\\(mark\\|text\\)?{" keyword) 7.30 ("\\\\[a-z]+box" 0 keyword) 7.31 @@ -302,8 +306,10 @@ 7.32 ("\\\\\\(include\\|input\\|bibliography\\){" "}" include) 7.33 7.34 ;; "wysiwyg" emphasis -- these don't work with nested expressions 7.35 - ;; ("{\\\\\\(em\\|it\\|sl\\)" "}" italic) 7.36 + (YaTeX-19-region-large-type "{\\\\\\(em\\|it\\|sl\\)" italic) 7.37 (YaTeX-19-region-large-type "{\\\\bf" bold) 7.38 + ;;;(YaTeX-19-region-large-type "{\\\\tt" tt) 7.39 + ;;;("\\\\begin{verbatim" "\\\\end{verbatim" tt) 7.40 7.41 ("``" "''" string) 7.42 7.43 @@ -360,7 +366,7 @@ 7.44 (- fG (/ (* level fG) 40)) 7.45 (- fB (/ (* level fB) 40))) 7.46 bg (format "hex-%02x%02x%02x" 7.47 - (- bR (/ (* level bR) 15)) ;20 musn't be constant 7.48 + (- bR (/ (* level bR) 15)) ;15 musn't be constant 7.49 (- bG (/ (* level bG) 15)) 7.50 (- bB (/ (* level bB) 15))) 7.51 from (intern (format "sectioning-%d" level))
8.1 --- a/yatexenv.el Thu Jun 29 13:37:36 1995 +0000 8.2 +++ b/yatexenv.el Thu Jun 29 13:46:57 1995 +0000 8.3 @@ -1,8 +1,8 @@ 8.4 ;;; -*- Emacs-Lisp -*- 8.5 ;;; YaTeX environment-specific functions. 8.6 ;;; yatexenv.el 8.7 -;;; (c ) 1994 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 8.8 -;;; Last modified Thu Feb 2 16:11:12 1995 on pajero 8.9 +;;; (c ) 1994, 1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 8.10 +;;; Last modified Thu May 18 11:52:05 1995 on inspire 8.11 ;;; $Id$ 8.12 8.13 ;;; 8.14 @@ -105,7 +105,9 @@ 8.15 ((string-match (char-to-string elt) "p@") ;p or @ expression 8.16 (setq cols (+ (if (eq elt ?p) 1 0) cols)) 8.17 (skip-chars-forward "^{" p) 8.18 - (forward-list 1)))) 8.19 + (forward-list 1)) 8.20 + (t (forward-char 1)) ;unknown char 8.21 + )) 8.22 (list cols (1+ eoform)))) 8.23 ) 8.24 ;; Insert &
9.1 --- a/yatexlib.el Thu Jun 29 13:37:36 1995 +0000 9.2 +++ b/yatexlib.el Thu Jun 29 13:46:57 1995 +0000 9.3 @@ -2,7 +2,7 @@ 9.4 ;;; YaTeX library of general functions. 9.5 ;;; yatexlib.el 9.6 ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 9.7 -;;; Last modified Fri Feb 17 22:08:23 1995 on VFR 9.8 +;;; Last modified Fri Apr 28 16:17:44 1995 on VFR 9.9 ;;; $Id$ 9.10 9.11 ;;;###autoload 9.12 @@ -316,8 +316,8 @@ 9.13 (and (featurep 'windows) (fboundp 'win:adjust-window) 9.14 (win:adjust-window)))) 9.15 ((and (featurep 'windows) (fboundp 'win:get-buffer-window) 9.16 - (win:get-buffer-window buffer)) 9.17 - (win:switch-window (win:get-buffer-window buffer)) 9.18 + (let ((w (win:get-buffer-window buffer))) 9.19 + (and w (win:switch-window w)))) 9.20 (select-window (get-buffer-window buffer))) 9.21 (t (switch-to-buffer buffer)))) 9.22 )
10.1 --- a/yatexmth.el Thu Jun 29 13:37:36 1995 +0000 10.2 +++ b/yatexmth.el Thu Jun 29 13:46:57 1995 +0000 10.3 @@ -2,7 +2,7 @@ 10.4 ;;; YaTeX math-mode-specific functions. 10.5 ;;; yatexmth.el rev.4 10.6 ;;; (c )1993-1995 by HIROSE Yuuji [yuuji@ae.keio.ac.jp] 10.7 -;;; Last modified Fri Jan 27 23:57:40 1995 on VFR 10.8 +;;; Last modified Sat Feb 18 03:54:50 1995 on VFR 10.9 ;;; $Id$ 10.10 10.11 ;;; [Customization guide] 10.12 @@ -604,7 +604,8 @@ 10.13 (not YaTeX-math-mode))) 10.14 (throw 'complete 'escape));this tag should be exit, but... 10.15 (while t 10.16 - (message "Sequence(TAB for menu): %s" key) 10.17 + (message "Sequence%s: %s" 10.18 + (if YaTeX-simple-messages "" "(TAB for menu)") key) 10.19 (setq last-char (read-char) 10.20 key (concat key (char-to-string last-char)) 10.21 i 0) 10.22 @@ -624,7 +625,8 @@ 10.23 (setq key (substring key 0 -2)))) 10.24 10.25 (setq regkey (concat "^" (regexp-quote key))) 10.26 - (message "Sequence(TAB for menu): %s" key) 10.27 + (message "Sequence%s: %s" 10.28 + (if YaTeX-simple-messages "" "(TAB for menu)") key) 10.29 (if 10.30 (catch 'found 10.31 ;;(1)input string strictly matches with alist