yatex
changeset 601:cd375a3d7a29 dev
PNG bb should be taken via extractbb
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 03 Nov 2022 10:42:49 +0859 |
parents | 6061dd3a6dec |
children | a7ad9158e3ce |
files | yatexadd.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yatexadd.el Thu Nov 03 10:38:02 2022 +0859 1.2 +++ b/yatexadd.el Thu Nov 03 10:42:49 2022 +0859 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- 1.5 ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Thu Nov 3 10:36:55 2022 on firestorm 1.7 +;;; Last modified Thu Nov 3 10:42:43 2022 on firestorm 1.8 ;;; $Id$ 1.9 1.10 ;;; Code: 1.11 @@ -2098,7 +2098,8 @@ 1.12 (if (string= "" str) "" 1.13 (concat "[" str "]")))) 1.14 1.15 -(defvar YaTeX::get-boundingbox-cmd YaTeX-cmd-gs 1.16 +(defvar YaTeX::get-boundingbox-cmd 1.17 + (or (YaTeX-executable-find "extractbb") YaTeX-cmd-gs) 1.18 "Command to get bounding box from PDF files. 1.19 Possible values are `gs' and `extractbb'.") 1.20