# HG changeset patch # User HIROSE Yuuji # Date 1551186896 -32400 # Node ID 7f2e544b9cc9396afaa7539f74c67ebcf1a225e7 # Parent 2ef9f21dd13b9ead518ff23b46185b39bda715cc Add-in for option should surround with brackets diff -r 2ef9f21dd13b -r 7f2e544b9cc9 yatexadd.el --- a/yatexadd.el Thu Jan 24 15:19:32 2019 +0900 +++ b/yatexadd.el Tue Feb 26 22:14:56 2019 +0900 @@ -1,6 +1,6 @@ ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Jan 24 13:57:49 2019 on firestorm +;;; Last modified Tue Feb 26 22:10:53 2019 on firestorm ;;; $Id$ ;;; Code: @@ -2040,7 +2040,8 @@ (format "%s=%s" s (symbol-value s))))) '(width height scale angle))) ",")) - (concat "{" str "}"))) + (if (string= "" str) "" + (concat "[" str "]")))) (defvar YaTeX::get-boundingbox-cmd YaTeX-cmd-gs "Command to get bounding box from PDF files.