yatex
diff yatexadd.el @ 561:e947b9ae31c2
Escape parens to dismiss warning
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 03 Jan 2019 12:26:23 +0900 |
parents | c3b9e81bd432 |
children | bf4bdd7c4aae |
line diff
1.1 --- a/yatexadd.el Mon Oct 22 11:47:23 2018 +0900 1.2 +++ b/yatexadd.el Thu Jan 03 12:26:23 2019 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- 1.5 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Mon Oct 22 11:46:32 2018 on firestorm 1.7 +;;; Last modified Wed Nov 7 09:01:08 2018 on firestorm 1.8 ;;; $Id$ 1.9 1.10 ;;; Code: 1.11 @@ -2142,6 +2142,11 @@ 1.12 (setq YaTeX-section-name "includegraphics") 1.13 nil) 1.14 1.15 +;; for okumacro 1.16 +(defun YaTeX::ruby (argp) 1.17 + (cond 1.18 + ((= argp 1) (YaTeX-read-string-or-skip "Kanji: ")) 1.19 + ((= argp 2) (YaTeX-read-string-or-skip "Yomi: ")))) 1.20 1.21 (defvar YaTeX::usepackage-alist-default 1.22 '(("version") ("plext") ("url") ("fancybox") ("pifont") ("longtable") 1.23 @@ -2150,7 +2155,7 @@ 1.24 ("a4j") ("array") ("epsf") ("color") ("xcolor") ("epsfig") ("floatfig") 1.25 ("landscape") ("path") ("supertabular") ("twocolumn") 1.26 ("latexsym") ("times") ("makeidx") ("geometry") ("type1cm") 1.27 - ("subfigure")) 1.28 + ("subfigure") ("okumacro")) 1.29 "Default completion table for arguments of \\usepackage") 1.30 1.31 (defvar YaTeX::usepackage-alist-private nil