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 wrap: on
line diff
--- a/yahtml.el	Tue May 16 08:30:04 2017 +0859
+++ b/yahtml.el	Tue May 16 12:56:44 2017 +0859
@@ -1,6 +1,6 @@
 ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*-
 ;;; (c) 1994-2017 by HIROSE Yuuji [yuuji(@)yatex.org]
-;;; Last modified Tue May 16 08:13:52 2017 on firestorm
+;;; Last modified Tue May 16 12:56:27 2017 on firestorm
 ;;; $Id$
 
 (defconst yahtml-revision-number "1.79.3"
@@ -1826,7 +1826,10 @@
   ;; source element must have src attribute
   (format "src=\"%s\"" (yahtml-read-file-name-regexp
 			"source: " yahtml-media-file-regexp "" "" nil "")))
-    
+
+(defun yahtml:figure ()
+  (setq yahtml-last-typeface-cmd "figcaption"))
+
 ;;; ---------- Jump ----------
 (defun yahtml-on-href-p ()
   "Check if point is on href clause."

yatex.org