From 00a4bf0663e8c9ac344cf0c40f63060024ac6f98 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 23 May 2012 16:29:16 +0200 Subject: [PATCH] org-e-latex: Reordering functions --- contrib/lisp/org-e-latex.el | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index cea22cd86..8ddf092e7 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -1108,15 +1108,6 @@ information." (org-export-format-code-default example-block info)))) -;;;; Export Snippet - -(defun org-e-latex-export-snippet (export-snippet contents info) - "Transcode a EXPORT-SNIPPET object from Org to LaTeX. -CONTENTS is nil. INFO is a plist holding contextual information." - (when (eq (org-export-snippet-backend export-snippet) 'e-latex) - (org-element-property :value export-snippet))) - - ;;;; Export Block (defun org-e-latex-export-block (export-block contents info) @@ -1126,6 +1117,15 @@ CONTENTS is nil. INFO is a plist holding contextual information." (org-remove-indentation (org-element-property :value export-block)))) +;;;; Export Snippet + +(defun org-e-latex-export-snippet (export-snippet contents info) + "Transcode a EXPORT-SNIPPET object from Org to LaTeX. +CONTENTS is nil. INFO is a plist holding contextual information." + (when (eq (org-export-snippet-backend export-snippet) 'e-latex) + (org-element-property :value export-snippet))) + + ;;;; Fixed Width (defun org-e-latex-fixed-width (fixed-width contents info) @@ -1803,15 +1803,6 @@ CONTENTS is nil. INFO is a plist holding contextual information." (when value (format "\\begin{verbatim}\n%s\\end{verbatim}" value)))) -;;;; Section - -(defun org-e-latex-section (section contents info) - "Transcode a SECTION element from Org to LaTeX. -CONTENTS holds the contents of the section. INFO is a plist -holding contextual information." - contents) - - ;;;; Radio Target (defun org-e-latex-radio-target (radio-target text info) @@ -1824,6 +1815,15 @@ contextual information." text)) +;;;; Section + +(defun org-e-latex-section (section contents info) + "Transcode a SECTION element from Org to LaTeX. +CONTENTS holds the contents of the section. INFO is a plist +holding contextual information." + contents) + + ;;;; Special Block (defun org-e-latex-special-block (special-block contents info)