yatex
annotate yatexenv.el @ 236:328a212a2160
Intelligent newline for align insert no `&' at the first line.
author | yuuji@gentei.org |
---|---|
date | Sat, 28 Jan 2012 22:32:30 +0900 |
parents | f70aae80489e |
children | 5260b7ee9fdf |
rev | line source |
---|---|
yuuji@23 | 1 ;;; -*- Emacs-Lisp -*- |
yuuji@23 | 2 ;;; YaTeX environment-specific functions. |
yuuji@23 | 3 ;;; yatexenv.el |
yuuji@80 | 4 ;;; (c) 1994-2006 by HIROSE Yuuji.[yuuji@yatex.org] |
yuuji@236 | 5 ;;; Last modified Sat Jan 28 22:27:24 2012 on firestorm |
yuuji@23 | 6 ;;; $Id$ |
yuuji@23 | 7 |
yuuji@23 | 8 ;;; |
yuuji@23 | 9 ;; Functions for tabular environment |
yuuji@23 | 10 ;;; |
yuuji@23 | 11 |
yuuji@23 | 12 ;; Showing the matching column of tabular environment. |
yuuji@80 | 13 (defun YaTeX-array-what-column-internal () |
yuuji@80 | 14 "Return the cons of matching column and its title of array environment. |
yuuji@23 | 15 When calling from a program, make sure to be in array/tabular environment." |
yuuji@49 | 16 (let ((p (point)) beg eot bor (nlptn "\\\\\\\\") (andptn "[^\\]&") |
yuuji@49 | 17 (n 0) j |
yuuji@23 | 18 (firsterr "This line might be the first row.")) |
yuuji@23 | 19 (save-excursion |
yuuji@23 | 20 (YaTeX-beginning-of-environment) |
yuuji@23 | 21 (search-forward "{" p) (up-list 1) |
yuuji@23 | 22 (search-forward "{" p) (up-list 1) |
yuuji@23 | 23 ;;(re-search-forward andptn p) |
yuuji@23 | 24 (while (progn (search-forward "&" p) |
yuuji@23 | 25 (equal (char-after (1- (match-beginning 0))) ?\\ ))) |
yuuji@23 | 26 (setq beg (1- (point))) ;beg is the point of the first & |
yuuji@23 | 27 (or (re-search-forward nlptn p t) |
yuuji@23 | 28 (error firsterr)) |
yuuji@23 | 29 (setq eot (point)) ;eot is the point of the first \\ |
yuuji@23 | 30 (goto-char p) |
yuuji@23 | 31 (or (re-search-backward nlptn beg t) |
yuuji@23 | 32 (error firsterr)) |
yuuji@23 | 33 (setq bor (point)) ;bor is the beginning of this row. |
yuuji@23 | 34 (while (< (1- (point)) p) |
yuuji@23 | 35 (if (equal (following-char) ?&) |
yuuji@23 | 36 (forward-char 1) |
yuuji@23 | 37 (re-search-forward andptn nil 1)) |
yuuji@23 | 38 (setq n (1+ n))) ;Check current column number |
yuuji@23 | 39 (goto-char p) |
yuuji@23 | 40 (cond ;Start searching \multicolumn{N} |
yuuji@23 | 41 ((> n 1) |
yuuji@23 | 42 (re-search-backward andptn) ;Sure to find! |
yuuji@23 | 43 (while (re-search-backward "\\\\multicolumn{\\([0-9]+\\)}" bor t) |
yuuji@23 | 44 (setq n (+ n (string-to-int |
yuuji@23 | 45 (buffer-substring (match-beginning 1) |
yuuji@23 | 46 (match-end 1))) |
yuuji@23 | 47 -1))))) |
yuuji@23 | 48 (message "%s" n) |
yuuji@23 | 49 (goto-char (1- beg)) |
yuuji@59 | 50 (beginning-of-line) |
yuuji@49 | 51 (setq j n) |
yuuji@49 | 52 (while (> j 1) |
yuuji@49 | 53 (or (re-search-forward andptn p nil) |
yuuji@49 | 54 (error "This column exceeds the limit.")) |
yuuji@49 | 55 (setq j (1- j))) |
yuuji@49 | 56 (skip-chars-forward "\\s ") |
yuuji@80 | 57 (list n |
yuuji@80 | 58 (buffer-substring |
yuuji@80 | 59 (point) |
yuuji@80 | 60 (progn |
yuuji@80 | 61 (re-search-forward (concat andptn "\\|" nlptn) eot) |
yuuji@80 | 62 (goto-char (match-beginning 0)) |
yuuji@80 | 63 (if (looking-at andptn) |
yuuji@80 | 64 (forward-char 1)) |
yuuji@80 | 65 (skip-chars-backward "\\s ") |
yuuji@80 | 66 (point))))))) |
yuuji@80 | 67 |
yuuji@80 | 68 (defun YaTeX-array-what-column () |
yuuji@80 | 69 "Show matching column title of array environment. |
yuuji@80 | 70 When calling from a program, make sure to be in array/tabular environment." |
yuuji@80 | 71 (apply 'message |
yuuji@80 | 72 "This is the column(#%d) of: %s" |
yuuji@80 | 73 (YaTeX-array-what-column-internal))) |
yuuji@23 | 74 |
yuuji@23 | 75 ;;;###autoload |
yuuji@23 | 76 (defun YaTeX-what-column () |
yuuji@23 | 77 "Show which kind of column the current position is belonging to." |
yuuji@23 | 78 (interactive) |
yuuji@23 | 79 (cond |
yuuji@23 | 80 ((YaTeX-quick-in-environment-p '("tabular" "tabular*" "array" "array*")) |
yuuji@23 | 81 (YaTeX-array-what-column)) |
yuuji@80 | 82 (t (message "Not in array/tabular environment.")))) |
yuuji@23 | 83 |
yuuji@80 | 84 (defun YaTeX-tabular-parse-format-count-cols (beg end) |
yuuji@80 | 85 (goto-char beg) |
yuuji@80 | 86 (let (elt (cols 0)) |
yuuji@80 | 87 (while (< (point) end) |
yuuji@31 | 88 (setq elt (following-char)) |
yuuji@31 | 89 (cond |
yuuji@31 | 90 ((string-match (char-to-string elt) "clr") ;normal indicators. |
yuuji@31 | 91 (setq cols (1+ cols)) |
yuuji@31 | 92 (forward-char 1)) |
yuuji@31 | 93 ((equal elt ?|) ;vertical |
yuuji@31 | 94 (forward-char 1)) |
yuuji@31 | 95 ((string-match (char-to-string elt) "p@") ;p or @ expression |
yuuji@31 | 96 (setq cols (+ (if (eq elt ?p) 1 0) cols)) |
yuuji@80 | 97 ;;(skip-chars-forward "^{" p) |
yuuji@80 | 98 (skip-chars-forward "^{" end) |
yuuji@56 | 99 (forward-list 1)) |
yuuji@80 | 100 ((equal elt ?*) ;*{N}{EXP} -> Repeat EXP N times |
yuuji@80 | 101 (skip-chars-forward "^{" end) |
yuuji@80 | 102 (setq cols (* (string-to-int |
yuuji@80 | 103 (buffer-substring |
yuuji@80 | 104 (1+ (point)) |
yuuji@80 | 105 (progn (forward-list 1) (1- (point))))) |
yuuji@80 | 106 (YaTeX-tabular-parse-format-count-cols |
yuuji@80 | 107 (progn (skip-chars-forward "^{" end) (1+ (point))) |
yuuji@80 | 108 (progn (forward-list 1) (1- (point))))))) |
yuuji@56 | 109 (t (forward-char 1)) ;unknown char |
yuuji@56 | 110 )) |
yuuji@80 | 111 cols)) |
yuuji@80 | 112 |
yuuji@80 | 113 (defun YaTeX-tabular-parse-format (&optional type) |
yuuji@80 | 114 "Parse `tabular' format. |
yuuji@80 | 115 Return the list of (No.ofCols PointEndofFormat)" |
yuuji@80 | 116 (let ((p (point)) boform eoform (cols 0)) |
yuuji@80 | 117 (save-excursion |
yuuji@80 | 118 (if (null (YaTeX-beginning-of-environment t)) |
yuuji@80 | 119 (error "Beginning of tabular not found.")) |
yuuji@80 | 120 (skip-chars-forward "^{") |
yuuji@80 | 121 (forward-list 1) |
yuuji@80 | 122 (cond |
yuuji@80 | 123 ((eq type 'tabular*) |
yuuji@80 | 124 (skip-chars-forward "^{") |
yuuji@80 | 125 (forward-list 1))) |
yuuji@80 | 126 (skip-chars-forward "^{" p) |
yuuji@80 | 127 (if (/= (following-char) ?\{) (error "Tabular format not found.")) |
yuuji@80 | 128 (setq boform (1+ (point)) |
yuuji@80 | 129 eoform (progn (forward-list 1) (1- (point)))) |
yuuji@80 | 130 (if (> eoform p) (error "Non-terminated tabular format.")) |
yuuji@80 | 131 (goto-char boform) |
yuuji@80 | 132 (setq cols |
yuuji@80 | 133 (cond |
yuuji@80 | 134 ((eq type 'alignat) |
yuuji@80 | 135 (max |
yuuji@80 | 136 1 |
yuuji@80 | 137 (1- |
yuuji@80 | 138 (* 2 |
yuuji@80 | 139 (string-to-int |
yuuji@80 | 140 (buffer-substring |
yuuji@80 | 141 (point) |
yuuji@80 | 142 (progn (up-list -1) (forward-list 1) (1- (point))))))))) |
yuuji@80 | 143 (t |
yuuji@80 | 144 (YaTeX-tabular-parse-format-count-cols (point) eoform)))) |
yuuji@80 | 145 (list cols (1+ eoform))))) |
yuuji@80 | 146 |
yuuji@31 | 147 ;; Insert & |
yuuji@80 | 148 (defun YaTeX-intelligent-newline-tabular (&optional type) |
yuuji@31 | 149 "Parse current tabular format and insert that many `&'s." |
yuuji@80 | 150 (let*((p (point)) (format (YaTeX-tabular-parse-format type)) |
yuuji@31 | 151 (cols (car format)) (beg (car (cdr format))) |
yuuji@31 | 152 space hline) |
yuuji@58 | 153 (cond |
yuuji@58 | 154 ((search-backward "&" beg t) |
yuuji@58 | 155 (goto-char p) |
yuuji@58 | 156 (setq hline (search-backward "\\hline" beg t)) |
yuuji@58 | 157 (setq space (if (search-backward "\t&" beg t) "\t" " ")) |
yuuji@58 | 158 (goto-char p)) |
yuuji@58 | 159 (t ;;(insert "\\hline\n") |
yuuji@58 | 160 (setq space " "))) |
yuuji@31 | 161 (goto-char p) |
yuuji@31 | 162 (while (> (1- cols) 0) |
yuuji@31 | 163 (insert "&" space) |
yuuji@31 | 164 (setq cols (1- cols))) |
yuuji@31 | 165 (insert "\\\\") |
yuuji@31 | 166 (if hline (insert " \\hline")) |
yuuji@58 | 167 (goto-char p) |
yuuji@80 | 168 (YaTeX-indent-line))) |
yuuji@31 | 169 |
yuuji@31 | 170 (defun YaTeX-intelligent-newline-tabular* () |
yuuji@31 | 171 "Parse current tabular* format and insert that many `&'s." |
yuuji@80 | 172 (YaTeX-intelligent-newline-tabular 'tabular*)) |
yuuji@31 | 173 |
yuuji@31 | 174 (fset 'YaTeX-intelligent-newline-array 'YaTeX-intelligent-newline-tabular) |
yuuji@80 | 175 (fset 'YaTeX-intelligent-newline-supertabular 'YaTeX-intelligent-newline-tabular) |
yuuji@80 | 176 |
yuuji@80 | 177 (defun YaTeX-intelligent-newline-alignat () |
yuuji@80 | 178 (YaTeX-intelligent-newline-tabular 'alignat)) |
yuuji@80 | 179 (fset 'YaTeX-intelligent-newline-alignat* 'YaTeX-intelligent-newline-alignat) |
yuuji@80 | 180 |
yuuji@80 | 181 (defun YaTeX-intelligent-newline-align () |
yuuji@80 | 182 "Intelligent newline function for align. |
yuuji@80 | 183 Count the number of & in the first align line and insert that many &s." |
yuuji@80 | 184 (let*((p (point)) (cols 0)) |
yuuji@80 | 185 (save-excursion |
yuuji@80 | 186 (YaTeX-beginning-of-environment) |
yuuji@80 | 187 (catch 'done |
yuuji@80 | 188 (while (YaTeX-re-search-active-forward |
yuuji@80 | 189 "\\(&\\)\\|\\(\\\\\\\\\\)" YaTeX-comment-prefix p t) |
yuuji@80 | 190 (if (match-beginning 1) (setq cols (1+ cols)) (throw 'done t))))) |
yuuji@80 | 191 (save-excursion |
yuuji@236 | 192 (while (>= (setq cols (1- cols)) 0) |
yuuji@236 | 193 (insert "& "))) |
yuuji@80 | 194 (YaTeX-indent-line))) |
yuuji@80 | 195 |
yuuji@80 | 196 (mapcar |
yuuji@80 | 197 '(lambda (s) |
yuuji@80 | 198 (fset (intern (concat "YaTeX-intelligent-newline-" |
yuuji@80 | 199 (symbol-name s))) |
yuuji@80 | 200 'YaTeX-intelligent-newline-align)) |
yuuji@80 | 201 '(align* flalign flalign* matrix pmatrix bmatrix Bmatrix vmatrix Vmatrix |
yuuji@80 | 202 cases)) |
yuuji@31 | 203 |
yuuji@23 | 204 ;;; |
yuuji@23 | 205 ;; Functions for tabbing environment |
yuuji@23 | 206 ;;; |
yuuji@23 | 207 (defun YaTeX-intelligent-newline-tabbing () |
yuuji@23 | 208 "Check the number of \\= in the first line and insert that many \\>." |
yuuji@23 | 209 (let ((p (point)) begenv tabcount) |
yuuji@23 | 210 (save-excursion |
yuuji@23 | 211 (YaTeX-beginning-of-environment) |
yuuji@23 | 212 (setq begenv (point-end-of-line)) |
yuuji@23 | 213 (if (YaTeX-search-active-forward "\\\\" YaTeX-comment-prefix p t) |
yuuji@23 | 214 (progn |
yuuji@23 | 215 (setq tabcount 0) |
yuuji@23 | 216 (while (> (point) begenv) |
yuuji@23 | 217 (if (search-backward "\\=" begenv 1) |
yuuji@23 | 218 (setq tabcount (1+ tabcount))))))) |
yuuji@23 | 219 (YaTeX-indent-line) |
yuuji@23 | 220 (if tabcount |
yuuji@23 | 221 (progn |
yuuji@23 | 222 (save-excursion |
yuuji@23 | 223 (while (> tabcount 0) |
yuuji@23 | 224 (insert "\\>\t") |
yuuji@23 | 225 (setq tabcount (1- tabcount)))) |
yuuji@23 | 226 (forward-char 2)) |
yuuji@58 | 227 (insert "\\= \\\\") |
yuuji@233 | 228 (forward-char -5)))) |
yuuji@23 | 229 |
yuuji@23 | 230 ;;; |
yuuji@23 | 231 ;; Functions for itemize/enumerate/list environments |
yuuji@23 | 232 ;;; |
yuuji@23 | 233 |
yuuji@23 | 234 (defun YaTeX-intelligent-newline-itemize () |
yuuji@23 | 235 "Insert '\\item '." |
yuuji@58 | 236 (insert "\\item ") |
yuuji@233 | 237 (YaTeX-indent-line)) |
yuuji@233 | 238 |
yuuji@23 | 239 (fset 'YaTeX-intelligent-newline-enumerate 'YaTeX-intelligent-newline-itemize) |
yuuji@23 | 240 (fset 'YaTeX-intelligent-newline-list 'YaTeX-intelligent-newline-itemize) |
yuuji@23 | 241 |
yuuji@23 | 242 (defun YaTeX-intelligent-newline-description () |
yuuji@23 | 243 (insert "\\item[] ") |
yuuji@23 | 244 (forward-char -2) |
yuuji@233 | 245 (YaTeX-indent-line)) |
yuuji@23 | 246 |
yuuji@64 | 247 (defun YaTeX-intelligent-newline-thebibliography () |
yuuji@64 | 248 "Insert '\\bibitem '." |
yuuji@64 | 249 (YaTeX-indent-line) |
yuuji@64 | 250 (YaTeX-make-section nil nil nil "bibitem") |
yuuji@233 | 251 (YaTeX-indent-line)) |
yuuji@233 | 252 |
yuuji@23 | 253 ;;; |
yuuji@234 | 254 ;; For document environment |
yuuji@234 | 255 ;;; |
yuuji@234 | 256 (defun YaTeX-intelligent-newline-document () |
yuuji@234 | 257 "New paragraph." |
yuuji@234 | 258 (newline)) ;Do you prefer `\par'? |
yuuji@234 | 259 |
yuuji@234 | 260 ;;; |
yuuji@23 | 261 ;; Intelligent newline |
yuuji@23 | 262 ;;; |
yuuji@23 | 263 ;;;###autoload |
yuuji@23 | 264 (defun YaTeX-intelligent-newline (arg) |
yuuji@23 | 265 "Insert newline and environment-specific entry. |
yuuji@23 | 266 `\\item' for some itemizing environment, |
yuuji@23 | 267 `\\> \\> \\' for tabbing environemnt, |
yuuji@23 | 268 `& & \\ \hline' for tabular environment." |
yuuji@23 | 269 (interactive "P") |
yuuji@61 | 270 (let*(env func) |
yuuji@61 | 271 (end-of-line) |
yuuji@61 | 272 (setq env (YaTeX-inner-environment)) |
yuuji@23 | 273 (if arg (setq env (YaTeX-read-environment "For what environment? "))) |
yuuji@23 | 274 (setq func (intern-soft (concat "YaTeX-intelligent-newline-" env))) |
yuuji@23 | 275 (end-of-line) |
yuuji@23 | 276 (newline) |
yuuji@58 | 277 (undo-boundary) |
yuuji@23 | 278 (if (and env func (fboundp func)) |
yuuji@80 | 279 (funcall func)))) |
yuuji@53 | 280 |
yuuji@53 | 281 ;;; |
yuuji@53 | 282 ;; Environment-specific line indenting functions |
yuuji@53 | 283 ;;; |
yuuji@53 | 284 ;;;###autoload |
yuuji@53 | 285 (defun YaTeX-indent-line-equation () |
yuuji@53 | 286 "Indent a line in equation family." |
yuuji@53 | 287 (let ((p (point)) (l-r 0) right-p peol depth (mp YaTeX-environment-indent)) |
yuuji@53 | 288 (if (save-excursion |
yuuji@53 | 289 (beginning-of-line) |
yuuji@53 | 290 (skip-chars-forward " \t") |
yuuji@53 | 291 (looking-at "\\\\right\\b")) |
yuuji@53 | 292 (progn (YaTeX-reindent |
yuuji@53 | 293 (save-excursion (YaTeX-goto-corresponding-leftright) |
yuuji@73 | 294 (- (current-column) 0)))) |
yuuji@53 | 295 (save-excursion |
yuuji@53 | 296 (forward-line -1) |
yuuji@53 | 297 (while (and (not (bobp)) (YaTeX-on-comment-p)) |
yuuji@53 | 298 (forward-line -1)) |
yuuji@53 | 299 ;;(beginning-of-line) ;must be unnecessary |
yuuji@53 | 300 (skip-chars-forward " \t") |
yuuji@53 | 301 (if (eolp) (error "Math-environment can't have a null line!!")) |
yuuji@53 | 302 (setq depth (current-column) |
yuuji@53 | 303 peol (point-end-of-line)) |
yuuji@53 | 304 (while (re-search-forward |
yuuji@53 | 305 "\\\\\\(\\(left\\)\\|\\(right\\)\\)\\b" peol t) |
yuuji@53 | 306 (setq l-r (+ l-r (if (match-beginning 2) 1 -1)))) |
yuuji@53 | 307 (cond |
yuuji@53 | 308 ((progn (beginning-of-line) |
yuuji@53 | 309 (re-search-forward "\\\\\\\\\\s *$" (point-end-of-line) t)) |
yuuji@53 | 310 ;;If previous line has `\\', this indentation is always normal. |
yuuji@53 | 311 (setq depth (+ (YaTeX-current-indentation) mp))) |
yuuji@53 | 312 ((> l-r 0) |
yuuji@53 | 313 (beginning-of-line) |
yuuji@68 | 314 (search-forward "\\left" peol nil l-r) |
yuuji@53 | 315 (goto-char (1+ (match-beginning 0))) |
yuuji@53 | 316 (setq depth (current-column))) |
yuuji@53 | 317 ((< l-r 0) |
yuuji@53 | 318 (goto-char (match-beginning 0)) ;should be \right |
yuuji@53 | 319 (YaTeX-goto-corresponding-leftright) |
yuuji@53 | 320 (beginning-of-line) |
yuuji@53 | 321 (skip-chars-forward " \t") |
yuuji@68 | 322 ;(setq depth (+ (current-column) mp)) ;+mp is good? |
yuuji@68 | 323 (setq depth (current-column))) |
yuuji@53 | 324 (t ;if \left - \right = 0 |
yuuji@53 | 325 (cond |
yuuji@53 | 326 ((re-search-forward "\\\\\\\\\\s *$" peol t) |
yuuji@53 | 327 (setq depth (+ (YaTeX-current-indentation) mp))) |
yuuji@53 | 328 ((re-search-forward "\\\\end{" peol t) |
yuuji@53 | 329 nil) ;same indentation as previous line's |
yuuji@53 | 330 ((re-search-forward "\\\\begin{" peol t) |
yuuji@53 | 331 (setq depth (+ depth mp))) |
yuuji@53 | 332 (t |
yuuji@53 | 333 (or (bobp) (forward-line -1)) |
yuuji@53 | 334 (cond |
yuuji@53 | 335 ((re-search-forward |
yuuji@53 | 336 "\\\\\\\\\\s *$\\|\\\\begin{" (point-end-of-line) t) |
yuuji@53 | 337 (setq depth (+ depth mp))) |
yuuji@53 | 338 ))))) |
yuuji@53 | 339 (goto-char p)) |
yuuji@53 | 340 (YaTeX-reindent depth)))) |
yuuji@53 | 341 |
yuuji@53 | 342 ;;;###autoload |
yuuji@53 | 343 (defun YaTeX-goto-corresponding-leftright () |
yuuji@77 | 344 "Go to corresponding \left or \right." |
yuuji@53 | 345 (let ((YaTeX-struct-begin "\\left%1") |
yuuji@53 | 346 (YaTeX-struct-end "\\right%1") |
yuuji@77 | 347 (YaTeX-struct-name-regexp "[][(){}\\.|]") |
yuuji@77 | 348 (in-leftright-p t)) |
yuuji@53 | 349 (YaTeX-goto-corresponding-environment t))) |
yuuji@53 | 350 |
yuuji@53 | 351 ;;; |
yuuji@53 | 352 ;; Functions for formatting region being enclosed with environment |
yuuji@53 | 353 ;;; |
yuuji@53 | 354 ; These functions must take two argument; region-beginning, region-end. |
yuuji@53 | 355 |
yuuji@53 | 356 (defun YaTeX-enclose-equation (beg end) |
yuuji@53 | 357 (goto-char beg) |
yuuji@53 | 358 (save-restriction |
yuuji@53 | 359 (let (m0 bsl) |
yuuji@53 | 360 (narrow-to-region beg end) |
yuuji@53 | 361 (while (YaTeX-re-search-active-forward |
yuuji@53 | 362 "\\(\\$\\)" YaTeX-comment-prefix nil t) |
yuuji@53 | 363 (goto-char (setq m0 (match-beginning 0))) |
yuuji@53 | 364 (setq bsl 0) |
yuuji@53 | 365 (if (and (not (bobp)) (= (char-after (1- (point))) ?\\ )) |
yuuji@53 | 366 (while (progn (forward-char -1) (= (char-after (point)) ?\\ )) |
yuuji@53 | 367 (setq bsl (1+ bsl)))) |
yuuji@53 | 368 (goto-char m0) |
yuuji@53 | 369 (if (= 0 (% bsl 2)) |
yuuji@53 | 370 (delete-char 1) |
yuuji@53 | 371 (forward-char 1)))))) |
yuuji@53 | 372 |
yuuji@53 | 373 (fset 'YaTeX-enclose-eqnarray 'YaTeX-enclose-equation) |
yuuji@53 | 374 (fset 'YaTeX-enclose-eqnarray* 'YaTeX-enclose-equation) |
yuuji@53 | 375 |
yuuji@53 | 376 (defun YaTeX-enclose-verbatim (beg end)) ;do nothing when enclose verbatim |
yuuji@53 | 377 (fset 'YaTeX-enclose-verbatim* 'YaTeX-enclose-verbatim) |
yuuji@53 | 378 |
yuuji@53 | 379 (provide 'yatexenv) |