Emacs exports org file as PDF in batch mode

I am trying to export a bunch of org mode files to PDF using emacs in batch mode. So far, only html export works.

When I export to html, I see the following:

U: \ tmp> d: \ programs \ emacs-23.1 \ bin \ emacs.exe -batch --visit = Changelog.org --funcall org-export-as-html-batch

Overview

Export...

Export...

Saving u file: /tmp/Changelog.html ...

Posted by u: /tmp/Changelog.html

HTML export done, clicked to kill ring and clipboard

However, there is no function like org-export-as-pdf-batch, so I tried the following.

U: \ tmp> d: \ programs \ emacs-23.1 \ bin \ emacs.exe -batch --visit = Changelog.org -eval "(org-export-as-pdf \" Changelog.pdf \ ")"

Overview

Export to PDF ...

Export to LaTeX ...

: number-or-marker-p, "Changelog.pdf"

, PDF? org-mode - 6.35i Emacs 23.1. WinXP.

+5
1

org-export-as-pdf.

ARG org-export-as-latex , .

ARG:

C: \ > emacs.exe -batch --visit = Changelog.org --funcall org-export-as-pdf

+5

All Articles