yatex

changeset 600:6061dd3a6dec dev

PNG bb should be taken via extractbb
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 03 Nov 2022 10:38:02 +0859
parents e73e41509124
children cd375a3d7a29
files yatexadd.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexadd.el	Sun Oct 16 20:57:34 2022 +0859
     1.2 +++ b/yatexadd.el	Thu Nov 03 10:38:02 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 Sep 22 11:41:04 2022 on firestorm
     1.7 +;;; Last modified Thu Nov  3 10:36:55 2022 on firestorm
     1.8  ;;; $Id$
     1.9  
    1.10  ;;; Code:
    1.11 @@ -2132,7 +2132,7 @@
    1.12  	 (or (fboundp 'yahtml-get-image-info)
    1.13  	     (progn
    1.14  	       (load "yahtml" t) (featurep 'yahtml))) ;(require 'yahtml nil t)
    1.15 -	 (if (string-match "\\.pdf" imgfile)
    1.16 +	 (if (string-match "\\.\\(pdf\\|png\\)" imgfile)
    1.17  	     (and
    1.18  	      (setq info (YaTeX::get-boundingbox imgfilepath))
    1.19  	      (stringp info)