Browse Source

org-mtags.el: Support for literal docbook code

Carsten Dominik 16 years ago
parent
commit
f9a107f605
2 changed files with 8 additions and 1 deletions
  1. 4 0
      contrib/ChangeLog
  2. 4 1
      contrib/lisp/org-mtags.el

+ 4 - 0
contrib/ChangeLog

@@ -1,3 +1,7 @@
+2009-03-13  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* lisp/org-mtags.el (org-mtags-replace): Support literal docbook.
+
 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* lisp/org-exp-bibtex.el (org-export-bibtex-preprocess): Analyze

+ 4 - 1
contrib/lisp/org-mtags.el

@@ -65,7 +65,8 @@
 ;;        in Org with the "#+OPTIONS: toc:t" setting.  But it will define
 ;;        the location where the TOC will be placed.
 ;;
-;;   <literal style="STYLE">    ;; only latex and html supported in Org
+;;   <literal style="STYLE">    ;; only latex, html, and docbook supported
+;;        in Org.
 ;;        Needs to be on a line by itself, similarly the </literal> tag.
 ;;
 ;;   <src lang="LANG" switches="-n -r">
@@ -160,6 +161,8 @@ The is done in the entire buffer."
 			  "#+END_LaTeX")
 			 ((member style '("html"))
 			  "#+END_HTML")
+			 ((member style '("docbook"))
+			  "#+END_DOCBOOK")
 			 ((member style '("ascii"))
 			  "#+END_ASCII")))
 	    (setq rpl (cond