yatex
diff yatexadd.el @ 568:be050eec7849
Short-cut of yahtml: bD -> div
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 27 Feb 2019 19:50:00 +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 Wed Feb 27 19:50:00 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.