Browse Source

ob-latex: Define LaTeX-specific headers

* lisp/ob-latex.el (org-babel-header-args:latex): New variable.

Reported-by: Andreas Leha <andreas.leha@med.uni-goettingen.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/97905>
Nicolas Goaziou 10 years ago
parent
commit
317886f53d
1 changed files with 11 additions and 0 deletions
  1. 11 0
      lisp/ob-latex.el

+ 11 - 0
lisp/ob-latex.el

@@ -50,6 +50,17 @@
   '((:results . "latex") (:exports . "results"))
   "Default arguments to use when evaluating a LaTeX source block.")
 
+(defconst org-babel-header-args:latex
+  '((border	  . :any)
+    (fit          . :any)
+    (iminoptions  . :any)
+    (imoutoptions . :any)
+    (packages     . :any)
+    (pdfheight    . :any)
+    (pdfpng       . :any)
+    (pdfwidth     . :any))
+  "LaTeX-specific header arguments.")
+
 (defcustom org-babel-latex-htlatex "htlatex"
   "The htlatex command to enable conversion of latex to SVG or HTML."
   :group 'org-babel