Re: [O] help me get started with org-publish?
Bastien b...@gnu.org writes: Hi Jay, Jay Dixit di...@aya.yale.edu writes: Thanks. I disabled smex, and now when I m-x org-publish, I get: Publishing file /Users/jay/blog-test/my-blog.org using `org-html-publish-to-html' org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir) ÆÇ!ˆÈ !„ That's weird. Something must be broken in your configuration. How did you install Org? Through git or through ELPA? Can you reproduce the problem with only one test small file file from your publishing directory, and the bare minimum Org config? Also testing with an uncompiled Org will help getting a more readable backtrace. ISTR that Jay had parentheses around org-html-publish-to-html in his template, thereby making it (wrongly) into a function call. Somebody (don't remember who, sorry) pointed that out but maybe it's worth bringing it up again. -- Nick
Re: [O] help me get started with org-publish?
Hi Nick, Nick Dokos ndo...@gmail.com writes: ISTR that Jay had parentheses around org-html-publish-to-html in his template, thereby making it (wrongly) into a function call. Somebody (don't remember who, sorry) pointed that out but maybe it's worth bringing it up again. Yep, I remember Robert Klein suggested this, but parentheses here are fine, :publishing-function can be set to a list of functions (even if there is just one function in the list!) So... I guess we still need more info! -- Bastien
Re: [O] help me get started with org-publish?
Bastien b...@gnu.org writes: Hi Nick, Nick Dokos ndo...@gmail.com writes: ISTR that Jay had parentheses around org-html-publish-to-html in his template, thereby making it (wrongly) into a function call. Somebody (don't remember who, sorry) pointed that out but maybe it's worth bringing it up again. Yep, I remember Robert Klein suggested this, but parentheses here are fine, :publishing-function can be set to a list of functions (even if there is just one function in the list!) Ah, OK - I forgot about that. Sorry about the noise. So... I guess we still need more info! Yes, a backtrace would be nice. -- Nick
Re: [O] help me get started with org-publish?
Hi Bastien, Thanks. I disabled smex, and now when I m-x org-publish, I get: Publishing file /Users/jay/blog-test/my-blog.org using `org-html-publish-to-html' org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir) ÆÇ!ˆÈ !„ Thanks, Jay Jay Dixit jaydixit.com newyorkwritersintensive.com (646) 355-8001 follow @jaydixit https://twitter.com/jaydixit/ Jay Dixit On Fri, Nov 8, 2013 at 2:44 AM, Bastien b...@gnu.org wrote: Hi Jay, Jay Dixit di...@aya.yale.edu writes: Here's my org-publish configuration. I believe it comes from a tutorial you put up somewhere. (Yes, from here: http://bzg.fr/blogging-from-emacs.html) I suspect the problem comes from smex.el -- did you load it? http://ergoemacs.googlecode.com/svn/trunk/packages/smex.el Can you try removing this and see if you can publish? Thanks, -- Bastien
Re: [O] help me get started with org-publish?
Hi Jay, Jay Dixit di...@aya.yale.edu writes: Thanks. I disabled smex, and now when I m-x org-publish, I get: Publishing file /Users/jay/blog-test/my-blog.org using `org-html-publish-to-html' org-html-publish-to-html: Wrong number of arguments: #[(format plist filename pub-dir) ÆÇ!ˆÈ !„ That's weird. Something must be broken in your configuration. How did you install Org? Through git or through ELPA? Can you reproduce the problem with only one test small file file from your publishing directory, and the bare minimum Org config? Also testing with an uncompiled Org will help getting a more readable backtrace. Thanks, -- Bastien
Re: [O] help me get started with org-publish?
Hi Bastien, Good to hear from you. Thanks for the response. Exporting to HTML works fine. I get errors only with org-publish. Here's my latest attempt: https://gist.github.com/jaydixit/7363158 I'm running on OSX running Aquamacs 2.5 (Emacs 23.4.1) and org-mode 8.2.1. Here's my org-publish configuration. I believe it comes from a tutorial you put up somewhere. (setq org-publish-project-alist '((blog :base-directory ~/blog-test/ :html-extension html :base-extension org :publishing-directory ~/public_html/ :publishing-function (org-html-publish-to-html) :html-preamble nil :html-postamble nil))) Thanks, Jay Jay Dixit jaydixit.com newyorkwritersintensive.com (646) 355-8001 follow @jaydixit https://twitter.com/jaydixit/ Jay Dixit On Mon, Nov 4, 2013 at 6:50 AM, Bastien b...@gnu.org wrote: Hi Jay, Jay Dixit jaydixit.w...@gmail.com writes: I'm trying to set up org-publish for HTML export and I keep getting strange errors related to org-footnote-normalize. https://gist.github.com/7131173 Do you also get errors when *exporting*, not publishing? If so, can you send a minimal example of the file you can't export, along with your Org version and configuration? Thanks, -- Bastien
Re: [O] help me get started with org-publish?
Hi, I don't put parentheses around org-heml-publish-to-html. The rest of the configuration looks Ok to me. Can you show us a (minimal) example file you want to publish? Thanks and best regards Robert On 11/07/2013 11:48 PM, Jay Dixit wrote: Hi Bastien, Good to hear from you. Thanks for the response. Exporting to HTML works fine. I get errors only with org-publish. Here's my latest attempt: https://gist.github.com/jaydixit/7363158 I'm running on OSX running Aquamacs 2.5 (Emacs 23.4.1) and org-mode 8.2.1. Here's my org-publish configuration. I believe it comes from a tutorial you put up somewhere. (setq org-publish-project-alist '((blog :base-directory ~/blog-test/ :html-extension html :base-extension org :publishing-directory ~/public_html/ :publishing-function (org-html-publish-to-html) :html-preamble nil :html-postamble nil))) Thanks, Jay Jay Dixit jaydixit.com newyorkwritersintensive.com (646) 355-8001 follow @jaydixit https://twitter.com/jaydixit/ Jay Dixit On Mon, Nov 4, 2013 at 6:50 AM, Bastien b...@gnu.org wrote: Hi Jay, Jay Dixit jaydixit.w...@gmail.com writes: I'm trying to set up org-publish for HTML export and I keep getting strange errors related to org-footnote-normalize. https://gist.github.com/7131173 Do you also get errors when *exporting*, not publishing? If so, can you send a minimal example of the file you can't export, along with your Org version and configuration? Thanks, -- Bastien
Re: [O] help me get started with org-publish?
Hi Jay, Jay Dixit di...@aya.yale.edu writes: Here's my org-publish configuration. I believe it comes from a tutorial you put up somewhere. (Yes, from here: http://bzg.fr/blogging-from-emacs.html) I suspect the problem comes from smex.el -- did you load it? http://ergoemacs.googlecode.com/svn/trunk/packages/smex.el Can you try removing this and see if you can publish? Thanks, -- Bastien
Re: [O] help me get started with org-publish?
Hi Jay, Jay Dixit jaydixit.w...@gmail.com writes: I'm trying to set up org-publish for HTML export and I keep getting strange errors related to org-footnote-normalize. https://gist.github.com/7131173 Do you also get errors when *exporting*, not publishing? If so, can you send a minimal example of the file you can't export, along with your Org version and configuration? Thanks, -- Bastien