From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: export_file_name problem with new exporter Date: Fri, 07 Dec 2012 17:12:46 +0100 Message-ID: References: <20121207122921.GL4294@kuru.dyndns-at-home.com> <20121207125019.GM4294@kuru.dyndns-at-home.com> <20121207152100.GN4294@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th0Xl-0001BC-QA for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:13:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Th0Xh-0008Iq-3y for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:12:53 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:43048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th0Xg-0008Ic-QA for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 11:12:49 -0500 In-Reply-To: <20121207152100.GN4294@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 7 Dec 2012 16:21:00 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: emacs-orgmode@gnu.org Suvayu Ali 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=0B\"\203=00=0B\202=00\n=0BB\211)\207" [base-dir f x= org-e-publish-temp-files expand-file-name memql] 3](50) mapc(#[(f) "\304 P!\305\n=0B\"\203=00=0B\202=00\n=0BB\211)\207" [base-di= r 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/O= rg" :include "2012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :pu= blishing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-lat= ex) nil) #[(project) "\306@!\210A\307 \310\"\307 \311\"\307 \312\"\206=00\313\30= 7 \314\"\206#\315\307 \316\"\206-=0E=1F \307 \317\"\2068=0E!\"\307 \320\"= =15\307 \321\"=1D\322\n\"#\323$=15\203X\324\325!\210=0B\203a \f\"\210#\323$\211%\203\201=0E%@$\326$\327#\210%A\211%\204l*\307 \330\"\2= 03\235\331\307 \332\"\"\210\326\333\334\307 \332\"\"\327#\210=1D\203\246\= 324\335!\210\336 .=0B\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 or= g-e-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :pr= eparation-function :completion-function org-e-publish-get-base-files nil ru= n-hooks preparation-function org-e-publish-file t :makeindex org-e-publish-= index-generate-theindex :base-directory expand-file-name "theindex.org" com= pletion-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-functio= n org-e-beamer-publish-to-latex)) mapc(#[(project) "\306@!\210A\307 \310\"\307 \311\"\307 \312\"\206=00\3= 13\307 \314\"\206#\315\307 \316\"\206-=0E=1F \307 \317\"\2068=0E!\"\307 \32= 0\"=15\307 \321\"=1D\322\n\"#\323$=15\203X\324\325!\210=0B\203a \f\"\210#\323$\211%\203\201=0E%@$\326$\327#\210%A\211%\204l*\307 \330\"\2= 03\235\331\307 \332\"\"\210\326\333\334\307 \332\"\"\327#\210=1D\203\246\= 324\335!\210\336 .=0B\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 or= g-e-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :pr= eparation-function :completion-function org-e-publish-get-base-files nil ru= n-hooks preparation-function org-e-publish-file t :makeindex org-e-publish-= index-generate-theindex :base-directory expand-file-name "theindex.org" com= pletion-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-functi= on 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" :publish= ing-directory "~/tmp" :publishing-function org-e-beamer-publish-to-latex))) org-e-publish(("jsseccloud" :base-directory "~/Documents/Org" :include "2= 012-12-05-Cprs-SecCloud-Formal_JavaScript_Semantics.org" :publishing-direct= ory "~/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-l= ine-mode" "org-export-dispatch" "turn-on-gnus-dired-mode" "erc" "gnus-group= -mail" "auto-fill-mode" "eshell" "bbdb-save" "package-list-packages" "flysp= ell-mode" "calc" "dired" "compile" "grep" "flyspell-buffer" "load-theme" "b= bdb-merge-records" "org-store-link" "ispell-change-dictionary" "ansi-term" = "magit-status" "customize-face" "list-colors-display" "lld-notmuch-goto-mes= sage-in-gnus" "multi-term" "recover-file" "rename-buffer" "color-theme-sola= rized-light" "set-buffer-file-coding-system" "help" "svn-status" "list-pack= ages" "customize-group" "eval-expression" "bbdb" "shell" "why-mode" "revert= -buffer" "list-faces-display" "org-mode" "customize" "LaTeX-mode" "org-relo= ad" "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