This commit is contained in:
Carsten Dominik 2009-12-11 08:50:51 +01:00
parent 177d69cd2c
commit c26bdb2d83
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2009-12-11 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
(org-export-as-latex): Run
`org-export-latex-after-initial-vars-hook'.
* org.el (org-fill-template): Make template searches case sensitive.
* org-exp.el (org-export): Use "1" as a sign to export only the

View File

@ -415,6 +415,11 @@ These are the .aux, .log, .out, and .toc files."
;;; Hooks
(defvar org-export-latex-after-initial-vars-hook nil
"Hook run before LaTeX export.
The exact moment is after the initial variables like org-export-latex-class
have been determined from the environment.")
(defvar org-export-latex-after-blockquotes-hook nil
"Hook run during LaTeX export, after blockquote, verse, center are done.")
@ -538,6 +543,7 @@ when PUB-DIR is set, use this as the publishing directory."
'(:org-license-to-kill nil)))
(org-update-radio-target-regexp)
(org-export-latex-set-initial-vars ext-plist arg)
(run-hooks 'org-export-latex-after-initial-vars-hook)
(let* ((wcf (current-window-configuration))
(opt-plist org-export-latex-options-plist)
(region-p (org-region-active-p))