From 7f344d2f6b9f466a8d8e24eb202a5232fc355442 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Mon, 15 Dec 2014 06:16:17 +0900 Subject: [PATCH] Revert "Replace reST roles of subscript and superscript with the MathJax style at math directive block. request #1" This reverts commit e32ac2cdf0c79a237d21e0547284975c99e27f16. --- ox-rst.el | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index 197c25b..474e6f9 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1232,15 +1232,7 @@ holding contextual information." (org-export-solidify-link-text label))) "\n" (when contents - (if (string= "math" directive) - (let* ((rcontents - (replace-regexp-in-string - "\\\\ :sub:`\\(.+\\)`\\\\ " "_{\\1}" contents)) - (rcontents - (replace-regexp-in-string - "\\\\ :sup:`\\(.+\\)`\\\\ " "^{\\1}" rcontents))) - (org-rst--indent-string rcontents org-rst-quote-margin)) - (org-rst--indent-string contents org-rst-quote-margin))))) + (org-rst--indent-string contents org-rst-quote-margin)))) (t (concat (format "::\n")