Browse Source

org-e-latex: Reordering functions

Nicolas Goaziou 12 years ago
parent
commit
00a4bf0663
1 changed files with 18 additions and 18 deletions
  1. 18 18
      contrib/lisp/org-e-latex.el

+ 18 - 18
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)