diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-05-23 16:29:16 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-05-23 16:29:16 +0200 |
commit | 00a4bf0663e8c9ac344cf0c40f63060024ac6f98 (patch) | |
tree | 46dc93b702429db62595814507a161c652b17c60 | |
parent | 31aa82c998bda91cf8dbbd5f7ec48dd45e0a1db3 (diff) | |
download | org-mode-00a4bf0663e8c9ac344cf0c40f63060024ac6f98.tar.gz |
org-e-latex: Reordering functions
-rw-r--r-- | contrib/lisp/org-e-latex.el | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index cea22cd..8ddf092 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) |