0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 00:32:54 +00:00
org-mode/lisp
Dan Davison 76241dd192 PATCH: Support `org-export-process-option-filters' in latex export
`org-export-process-option-filters' is supported for HTML export but not
for latex export. The patch at the bottom fixes that.

I note that there is one other location in the same function where it
seems the same change could be made. I suspect this is not necessary,
but if someone is familiar with the org-latex code they might like to
have a look. (I didn't manage to understand the roles of the several
variables with names like *-opt-plist *-options-plist in that function.)

I'm protecting this patch from patchwork with ^$; it's the patch at the
bottom that I propose.

$ diff --git a/lisp/org-latex.el b/lisp/org-latex.el
$ index 51ee6d2..53d6b40 100644
$ --- a/lisp/org-latex.el
$ +++ b/lisp/org-latex.el
$ @@ -700,7 +700,8 @@ 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)
$ -  (setq org-export-opt-plist org-export-latex-options-plist)
$ +  (setq org-export-opt-plist
$ +  	(org-export-process-option-filters org-export-latex-options-plist))
$    (org-install-letbind)
$    (run-hooks 'org-export-latex-after-initial-vars-hook)
$    (let* ((wcf (current-window-configuration))
$

    Support `org-export-process-option-filters' in latex export

    * lisp/org-latex.el (org-export-as-latex): Process export property
    list with `org-export-process-option-filters' early in latex export

	Modified lisp/org-latex.el
2011-01-26 19:01:04 +01:00
..
ob-asymptote.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-C.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-calc.el don't require calc-trail when on xemacs, Thanks to Michael Sperber 2011-01-05 09:37:12 -07:00
ob-clojure.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-comint.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-css.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-ditaa.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-dot.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-emacs-lisp.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-eval.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-exp.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-gnuplot.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-haskell.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-js.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-keys.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-latex.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-ledger.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-lisp.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-lob.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-matlab.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-mscgen.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-ocaml.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-octave.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-org.el ob-org: Padding code block with an empty title on LaTeX export. 2010-12-13 13:23:10 -07:00
ob-perl.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-plantuml.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-python.el docstring edits 2011-01-20 17:20:19 +00:00
ob-R.el ob-R: Don't handle errors in R; expose to Org-babel error handling. 2010-12-22 15:19:57 +00:00
ob-ref.el ob-ref: Allow passing empty strings into code blocks. 2011-01-11 20:40:13 -07:00
ob-ruby.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-sass.el ob-sass: uses ob-eval for better error reporting 2010-12-21 20:17:18 -07:00
ob-scheme.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-screen.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-sh.el ob-sh: customize shell quoting format with org-babel-sh-var-quote-fmt. 2011-01-18 09:23:53 -07:00
ob-sql.el ob-sql: header line in results table 2010-12-21 10:33:37 -07:00
ob-sqlite.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-table.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-tangle.el ob-tangle: new :mkdirp header argument creates parent dirs of tangle targets 2011-01-19 20:29:09 -07:00
ob.el ob: ob-exec-buf and ob-exec-tree now eval inline code blocks as well 2011-01-25 10:15:47 -07:00
org-agenda.el org-agenda: fix regexp in progress for state logging 2011-01-26 18:24:19 +01:00
org-archive.el Move the category property refresh to org-get-category where possible 2011-01-03 13:12:42 +01:00
org-ascii.el Fix bug in ASCII export 2011-01-19 10:57:25 +01:00
org-attach.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-bbdb.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-beamer.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-bibtex.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-capture.el Make file and path accessible in capture templates 2011-01-07 15:28:57 +01:00
org-clock.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00
org-colview-xemacs.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-colview.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-compat.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-complete.el Fix bug with completion of TODO keywords 2011-01-17 12:51:43 +01:00
org-crypt.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00
org-ctags.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-datetree.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-docbook.el Fix table export to docbook when field contains a backslash 2011-01-08 18:53:30 +01:00
org-docview.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-entities.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-exp-blocks.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-exp.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00
org-faces.el Add current time to time grid in agenda 2010-12-12 09:26:01 +01:00
org-feed.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-footnote.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-freemind.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-gnus.el org-store-link on gnus message fails 2011-01-13 19:48:45 +01:00
org-habit.el Optimize org-habit-parse-todo 2011-01-25 22:58:57 +01:00
org-html.el Handle timestamps after handling links 2011-01-14 06:37:52 +01:00
org-icalendar.el Revert "Always return refreshed category" 2010-12-24 17:32:22 +01:00
org-id.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-indent.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-info.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-inlinetask.el org-inlinetask: remove case-sensitivity at end line, improve code comments 2010-12-21 11:06:58 +01:00
org-irc.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-jsinfo.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-latex.el PATCH: Support `org-export-process-option-filters' in latex export 2011-01-26 19:01:04 +01:00
org-list.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00
org-mac-message.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-macs.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mew.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mhe.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mks.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mobile.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mouse.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-plot.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-protocol.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-publish.el Always add sitemap file to project files if sitemap is requested 2011-01-26 11:03:20 +01:00
org-remember.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-rmail.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-special-blocks.el Add some additional stuff needed after moving org-special-blocks.el 2011-01-03 22:08:10 +01:00
org-src.el Avoid errors during fontification of src blocks. 2010-12-22 11:50:42 +00:00
org-table.el Support #+CONSTANTS in non - Org-mode files 2010-12-12 13:22:11 +01:00
org-taskjuggler.el org-taskjuggler.el: fix a small typo. 2011-01-04 16:25:48 +01:00
org-timer.el Timer: Run a hook when relative timer is continued 2010-12-20 13:18:27 +01:00
org-vm.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-w3m.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-wl.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-xoxo.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00