yatex

changeset 567:7f2e544b9cc9 dev

Add-in for option should surround with brackets
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 26 Feb 2019 22:14:56 +0900
parents 2ef9f21dd13b
children be050eec7849
files yatexadd.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexadd.el	Thu Jan 24 15:19:32 2019 +0900
     1.2 +++ b/yatexadd.el	Tue Feb 26 22:14:56 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.