From fdf67b788e74494e98716dacbd6aaf0ccb3c1b50 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Sun, 15 Nov 2015 12:18:47 +0900 Subject: [PATCH] Export fixed-width part as example-block (Fix #16) --- ox-rst.el | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index 7a39b66..6f85c03 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -46,7 +46,7 @@ (example-block . org-rst-example-block) (export-block . org-rst-export-block) (export-snippet . org-rst-export-snippet) - (fixed-width . org-rst-fixed-width) + (fixed-width . org-rst-example-block) (footnote-reference . org-rst-footnote-reference) (headline . org-rst-headline) (horizontal-rule . org-rst-horizontal-rule) @@ -663,15 +663,6 @@ CONTENTS is nil. INFO is a plist holding contextual information." (org-element-property :value export-snippet))) -;;;; Fixed Width - -(defun org-rst-fixed-width (fixed-width contents info) - "Transcode a FIXED-WIDTH element from Org to reStructuredText. -CONTENTS is nil. INFO is a plist used as a communication -channel." - (org-rst--text-markup (org-element-property :value fixed-width) 'verbatim)) - - ;;;; Footnote Definition ;(defun org-rst-footnote-definition (footnote-definition contents info)