Emacs personal configuration
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

20 lines
717B

  1. ;;; package --- ox-pandoc
  2. ;;; Commentary: org conversion with Pandoc. Pandoc must be installed first
  3. ;;; Code:
  4. (require-package 'ox-pandoc)
  5. ;; default options for all output formats
  6. (setq org-pandoc-options '((standalone . t)))
  7. ;; cancel above settings only for 'docx' format
  8. (setq org-pandoc-options-for-docx '((standalone . nil)))
  9. ;; special settings for beamer-pdf and latex-pdf exporters
  10. (setq org-pandoc-options-for-beamer-pdf '((pdf-engine . "xelatex")))
  11. (setq org-pandoc-options-for-latex-pdf '((pdf-engine . "pdflatex")))
  12. ;; special extensions for markdown_github output
  13. (setq org-pandoc-format-extensions '(markdown_github+pipe_tables+raw_html))
  14. (provide 'init-ox-pandoc)
  15. ;;; init-ox-pandoc.el ends here