yatex
changeset 459:5709236dafb3 dev
Add :figure
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 16 May 2017 12:56:44 +0859 |
parents | 1a891f775194 |
children | 1790e0d35156 |
files | yahtml.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Tue May 16 08:30:04 2017 +0859 1.2 +++ b/yahtml.el Tue May 16 12:56:44 2017 +0859 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- 1.5 ;;; (c) 1994-2017 by HIROSE Yuuji [yuuji(@)yatex.org] 1.6 -;;; Last modified Tue May 16 08:13:52 2017 on firestorm 1.7 +;;; Last modified Tue May 16 12:56:27 2017 on firestorm 1.8 ;;; $Id$ 1.9 1.10 (defconst yahtml-revision-number "1.79.3" 1.11 @@ -1826,7 +1826,10 @@ 1.12 ;; source element must have src attribute 1.13 (format "src=\"%s\"" (yahtml-read-file-name-regexp 1.14 "source: " yahtml-media-file-regexp "" "" nil ""))) 1.15 - 1.16 + 1.17 +(defun yahtml:figure () 1.18 + (setq yahtml-last-typeface-cmd "figcaption")) 1.19 + 1.20 ;;; ---------- Jump ---------- 1.21 (defun yahtml-on-href-p () 1.22 "Check if point is on href clause."