Mercurial > hgrepos > hgweb.cgi > yatex
changeset 600:6061dd3a6dec draft 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 wrap: on
line diff
--- a/yatexadd.el Sun Oct 16 20:57:34 2022 +0859 +++ b/yatexadd.el Thu Nov 03 10:38:02 2022 +0859 @@ -1,6 +1,6 @@ ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Sep 22 11:41:04 2022 on firestorm +;;; Last modified Thu Nov 3 10:36:55 2022 on firestorm ;;; $Id$ ;;; Code: @@ -2132,7 +2132,7 @@ (or (fboundp 'yahtml-get-image-info) (progn (load "yahtml" t) (featurep 'yahtml))) ;(require 'yahtml nil t) - (if (string-match "\\.pdf" imgfile) + (if (string-match "\\.\\(pdf\\|png\\)" imgfile) (and (setq info (YaTeX::get-boundingbox imgfilepath)) (stringp info)