public
Created

Settings to allow emacs org-mode export a pdf file via xslt (saxon) fo (fop) toolchain in OSX.

  • Download Gist
orgmode-to-docbook-fo-pdf
1 2 3 4 5
(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")

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.