comparison yatexadd.el @ 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 6c09561c22f0
children 714f3527b4a1
comparison
equal deleted inserted replaced
566:2ef9f21dd13b 567:7f2e544b9cc9
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 Thu Jan 24 13:57:49 2019 on firestorm 3 ;;; Last modified Tue Feb 26 22:10:53 2019 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.
2038 (and (stringp (symbol-value s)) 2038 (and (stringp (symbol-value s))
2039 (string< "" (symbol-value s)) 2039 (string< "" (symbol-value s))
2040 (format "%s=%s" s (symbol-value s))))) 2040 (format "%s=%s" s (symbol-value s)))))
2041 '(width height scale angle))) 2041 '(width height scale angle)))
2042 ",")) 2042 ","))
2043 (concat "{" str "}"))) 2043 (if (string= "" str) ""
2044 (concat "[" str "]"))))
2044 2045
2045 (defvar YaTeX::get-boundingbox-cmd YaTeX-cmd-gs 2046 (defvar YaTeX::get-boundingbox-cmd YaTeX-cmd-gs
2046 "Command to get bounding box from PDF files. 2047 "Command to get bounding box from PDF files.
2047 Possible values are `gs' and `extractbb'.") 2048 Possible values are `gs' and `extractbb'.")
2048 2049

yatex.org