Created
January 14, 2013 22:55
-
-
Save jm2dev/4534326 to your computer and use it in GitHub Desktop.
Settings to allow emacs org-mode export a pdf file via xslt (saxon) fo (fop) toolchain in OSX.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'org-docbook) | |
;; | |
(setq org-export-docbook-xsl-fo-proc-command "/usr/local/bin/fop \"%i\" \"%o\"") | |
(setq org-export-docbook-xslt-proc-command "/usr/local/bin/saxon -o:\"%o\" -s:\"%i\" -xsl:\"%s\"") | |
(setq org-export-docbook-xslt-stylesheet "/usr/local/Cellar/docbook/5.0/docbook/xsl-ns/1.77.1/fo/docbook.xsl") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment