Suvayu Ali <fatkasuvayu+li...@gmail.com> writes: > Since the new exporter is not documented yet, information is absent from > the info manual. You can find relevant docs in the source files. I am > slowly working towards a tutorial type docs for org-e-beamer. When it > is in shape, I'll push to Worg.
Great. > That said, publishing is fully supported by the new exporter, just > change the publishing function names to the functions provided by the > new exporter. > > Here is an improperly tested example from one of my tests: > > (setq org-e-publish-project-alist > '(("thesis" :components ("thesis-tex" "thesis-html")) > ("thesis-tex" :base-directory "/path/PhD-thesis" > :publishing-directory "/path/PhD-thesis/latex" > :publishing-function org-e-publish-org-to-latex > ))) > > Hope this helps. It does, but for some reason I can't make it work. It seems that it has issues getting the base file. Here is my setup: (setq org-e-publish-project-alist '(("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex ))) and with this I get an error: Debugger entered--Lisp error: (wrong-type-argument sequencep 50) #[(f) "\304 P!\305\n\"\203 \202 \nB\211)\207" [base-dir f x org-e-publish-temp-files expand-file-name memql] 3](50) mapc(#[(f) "\304 P!\305\n\"\203 \202 \nB\211)\207" [base-dir f x org-e-publish-temp-files expand-file-name memql] 3] "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org") org-e-publish-get-base-files(("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex) nil) #[(project) "\306@!\210A\307 \310\"\307 \311\"\307 \312\"\206 \313\307 \314\"\206#\315\307 \316\"\206- \307 \317\"\2068!\"\307 \320\"\307 \321\"\322\n\"#\323$\203X\324\325!\210\203a \f\"\210#\323$\211%\203\201%@$\326$\327#\210%A\211%\204l*\307 \330\"\203\235\331\307 \332\"\"\210\326\333\334\307 \332\"\"\327#\210\203\246\324\335!\210\336 .\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-e-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-e-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-e-publish-get-base-files nil run-hooks preparation-function org-e-publish-file t :makeindex org-e-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-e-publish-write-cache-file org-e-publish-sitemap-date-format org-sitemap-date-format org-e-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file --cl-dolist-temp--] 7](("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex)) mapc(#[(project) "\306@!\210A\307 \310\"\307 \311\"\307 \312\"\206 \313\307 \314\"\206#\315\307 \316\"\206- \307 \317\"\2068!\"\307 \320\"\307 \321\"\322\n\"#\323$\203X\324\325!\210\203a \f\"\210#\323$\211%\203\201%@$\326$\327#\210%A\211%\204l*\307 \330\"\203\235\331\307 \332\"\"\210\326\333\334\307 \332\"\"\327#\210\203\246\324\335!\210\336 .\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-e-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-e-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-e-publish-get-base-files nil run-hooks preparation-function org-e-publish-file t :makeindex org-e-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-e-publish-write-cache-file org-e-publish-sitemap-date-format org-sitemap-date-format org-e-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file --cl-dolist-temp--] 7] (("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex))) org-e-publish-projects((("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex))) org-e-publish(("jsseccloud" :base-directory "~/Documents/Org" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex) nil) call-interactively(org-e-publish record nil) command-execute(org-e-publish record) smex-read-and-run(("set-variable" "org-e-publish" "info" "gnus" "visual-line-mode" "org-export-dispatch" "turn-on-gnus-dired-mode" "erc" "gnus-group-mail" "auto-fill-mode" "eshell" "bbdb-save" "package-list-packages" "flyspell-mode" "calc" "dired" "compile" "grep" "flyspell-buffer" "load-theme" "bbdb-merge-records" "org-store-link" "ispell-change-dictionary" "ansi-term" "magit-status" "customize-face" "list-colors-display" "lld-notmuch-goto-message-in-gnus" "multi-term" "recover-file" "rename-buffer" "color-theme-solarized-light" "set-buffer-file-coding-system" "help" "svn-status" "list-packages" "customize-group" "eval-expression" "bbdb" "shell" "why-mode" "revert-buffer" "list-faces-display" "org-mode" "customize" "LaTeX-mode" "org-reload" "re-builder" "follow-mode" "org-version" ...)) smex() call-interactively(smex nil nil) I tried specifying the file with and without the ".org" and it does not change anything. Alan