emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: export_file_name problem with new exporter
Date: Fri, 07 Dec 2012 17:12:46 +0100	[thread overview]
Message-ID: <m2wqwtc03l.fsf@top.irisa.fr> (raw)
In-Reply-To: <20121207152100.GN4294@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 7 Dec 2012 16:21:00 +0100")

Suvayu Ali <fatkasuvayu+linux@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\b	P!\305\n\v\"\203\0\v\202\0\n\vB\211)\207" [base-dir f x org-e-publish-temp-files expand-file-name memql] 3](50)
  mapc(#[(f) "\304\b	P!\305\n\v\"\203\0\v\202\0\n\vB\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\b@!\210\bA\307	\310\"\307	\311\"\307	\312\"\206\0\313\307	\314\"\206#\315\307	\316\"\206-\x0e\x1f \307	\317\"\2068\x0e!\"\307	\320\"\x15\307	\321\"\x1d\322\b\n\"#\323$\x15\203X\324\325!\210\v\203a
\b\f\"\210#\323$\211%\203\201\x0e%@$\326$\b\327#\210%A\211%\204l*\307	\330\"\203\235\331\b\307	\332\"\"\210\326\333\334\307	\332\"\"\b\327#\210\x1d\203\246\324\335!\210\336 .\v\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\b@!\210\bA\307	\310\"\307	\311\"\307	\312\"\206\0\313\307	\314\"\206#\315\307	\316\"\206-\x0e\x1f \307	\317\"\2068\x0e!\"\307	\320\"\x15\307	\321\"\x1d\322\b\n\"#\323$\x15\203X\324\325!\210\v\203a
\b\f\"\210#\323$\211%\203\201\x0e%@$\326$\b\327#\210%A\211%\204l*\307	\330\"\203\235\331\b\307	\332\"\"\210\326\333\334\307	\332\"\"\b\327#\210\x1d\203\246\324\335!\210\336 .\v\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

  reply	other threads:[~2012-12-07 16:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 10:27 export_file_name problem with new exporter Alan Schmitt
2012-12-07 12:29 ` Suvayu Ali
2012-12-07 12:38   ` Alan Schmitt
2012-12-07 12:50     ` Suvayu Ali
2012-12-07 14:02       ` Alan Schmitt
2012-12-07 15:21         ` Suvayu Ali
2012-12-07 16:12           ` Alan Schmitt [this message]
2012-12-07 19:09             ` Suvayu Ali
2012-12-08 10:50               ` Alan Schmitt
2012-12-08 11:13                 ` Alan Schmitt
2012-12-08 11:54                   ` Suvayu Ali
2012-12-08 12:03                   ` Achim Gratz
2012-12-09 10:12                     ` Alan Schmitt
2012-12-09 11:04                       ` Achim Gratz
2012-12-09 13:36                         ` Suvayu Ali
2012-12-09 14:03                           ` Jambunathan K
2012-12-09 16:33                           ` Achim Gratz
2012-12-13 13:09 ` Nicolas Goaziou
2012-12-13 13:50   ` Alan Schmitt
2012-12-13 13:49     ` Nicolas Goaziou
2012-12-13 14:03       ` Alan Schmitt
2012-12-13 16:16         ` Nicolas Goaziou
2012-12-20  7:21           ` Alan Schmitt
2012-12-20  8:19             ` Achim Gratz
2012-12-20  8:22               ` Bastien
2012-12-20  9:00               ` Alan Schmitt
2012-12-13 18:03         ` Achim Gratz
2012-12-13 19:16           ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wqwtc03l.fsf@top.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).