comparison yatexadd.el @ 554:a6c72ad6445a dev

Add \ruby{}{} completion with okumacro package
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 07 Nov 2018 09:03:15 +0900
parents c3b9e81bd432
children bf4bdd7c4aae
comparison
equal deleted inserted replaced
553:ae0b9fe6372a 554:a6c72ad6445a
1 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- 1 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*-
2 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org] 2 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org]
3 ;;; Last modified Mon Oct 22 11:46:32 2018 on firestorm 3 ;;; Last modified Wed Nov 7 09:01:08 2018 on firestorm
4 ;;; $Id$ 4 ;;; $Id$
5 5
6 ;;; Code: 6 ;;; Code:
7 ;;; 7 ;;;
8 ;;Sample functions for LaTeX environment. 8 ;;Sample functions for LaTeX environment.
2140 2140
2141 (defun YaTeX::subfigure (argp) 2141 (defun YaTeX::subfigure (argp)
2142 (setq YaTeX-section-name "includegraphics") 2142 (setq YaTeX-section-name "includegraphics")
2143 nil) 2143 nil)
2144 2144
2145 ;; for okumacro
2146 (defun YaTeX::ruby (argp)
2147 (cond
2148 ((= argp 1) (YaTeX-read-string-or-skip "Kanji: "))
2149 ((= argp 2) (YaTeX-read-string-or-skip "Yomi: "))))
2145 2150
2146 (defvar YaTeX::usepackage-alist-default 2151 (defvar YaTeX::usepackage-alist-default
2147 '(("version") ("plext") ("url") ("fancybox") ("pifont") ("longtable") 2152 '(("version") ("plext") ("url") ("fancybox") ("pifont") ("longtable")
2148 ("ascmac") ("bm") ("graphics") ("graphicx") ("alltt") ("misc") ("eclbkbox") 2153 ("ascmac") ("bm") ("graphics") ("graphicx") ("alltt") ("misc") ("eclbkbox")
2149 ("amsmath") ("amssymb") ("xymtex") ("chemist") 2154 ("amsmath") ("amssymb") ("xymtex") ("chemist")
2150 ("a4j") ("array") ("epsf") ("color") ("xcolor") ("epsfig") ("floatfig") 2155 ("a4j") ("array") ("epsf") ("color") ("xcolor") ("epsfig") ("floatfig")
2151 ("landscape") ("path") ("supertabular") ("twocolumn") 2156 ("landscape") ("path") ("supertabular") ("twocolumn")
2152 ("latexsym") ("times") ("makeidx") ("geometry") ("type1cm") 2157 ("latexsym") ("times") ("makeidx") ("geometry") ("type1cm")
2153 ("subfigure")) 2158 ("subfigure") ("okumacro"))
2154 "Default completion table for arguments of \\usepackage") 2159 "Default completion table for arguments of \\usepackage")
2155 2160
2156 (defvar YaTeX::usepackage-alist-private nil 2161 (defvar YaTeX::usepackage-alist-private nil
2157 "*Private completion list of the argument for usepackage") 2162 "*Private completion list of the argument for usepackage")
2158 2163

yatex.org