yatex
diff yatexadd.el @ 570:2ed79846fd53
Add forgotten shortcut for figure environment
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 07 Apr 2019 01:10:29 +0900 |
parents | 6c09561c22f0 |
children | 714f3527b4a1 |
line diff
1.1 --- a/yatexadd.el Thu Jan 24 15:16:07 2019 +0900 1.2 +++ b/yatexadd.el Sun Apr 07 01:10:29 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 Thu Jan 24 13:57:49 2019 on firestorm 1.7 +;;; Last modified Tue Feb 26 22:10:53 2019 on firestorm 1.8 ;;; $Id$ 1.9 1.10 ;;; Code: 1.11 @@ -2040,7 +2040,8 @@ 1.12 (format "%s=%s" s (symbol-value s))))) 1.13 '(width height scale angle))) 1.14 ",")) 1.15 - (concat "{" str "}"))) 1.16 + (if (string= "" str) "" 1.17 + (concat "[" str "]")))) 1.18 1.19 (defvar YaTeX::get-boundingbox-cmd YaTeX-cmd-gs 1.20 "Command to get bounding box from PDF files.