* help me get started with org-publish?
@ 2013-10-24 4:07 Jay Dixit
2013-11-04 11:50 ` Bastien
0 siblings, 1 reply; 10+ messages in thread
From: Jay Dixit @ 2013-10-24 4:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
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
Anyone have any thoughts? Eventually I'd like to get org-publish working
via tramp and web.
My goal is to create a blog and post updates to it via org-mode. Thanks!
[-- Attachment #2: Type: text/html, Size: 912 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-10-24 4:07 help me get started with org-publish? Jay Dixit
@ 2013-11-04 11:50 ` Bastien
2013-11-07 22:48 ` Jay Dixit
0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2013-11-04 11:50 UTC (permalink / raw)
To: Jay Dixit; +Cc: emacs-orgmode
Hi Jay,
Jay Dixit <jaydixit.work@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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-04 11:50 ` Bastien
@ 2013-11-07 22:48 ` Jay Dixit
2013-11-08 5:38 ` Robert Klein
2013-11-08 7:44 ` Bastien
0 siblings, 2 replies; 10+ messages in thread
From: Jay Dixit @ 2013-11-07 22:48 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]
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 <bzg@gnu.org> wrote:
> Hi Jay,
>
> Jay Dixit <jaydixit.work@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
>
[-- Attachment #2: Type: text/html, Size: 5132 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-07 22:48 ` Jay Dixit
@ 2013-11-08 5:38 ` Robert Klein
2013-11-08 7:44 ` Bastien
1 sibling, 0 replies; 10+ messages in thread
From: Robert Klein @ 2013-11-08 5:38 UTC (permalink / raw)
To: Jay Dixit, Bastien; +Cc: emacs-orgmode
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 <bzg@gnu.org> wrote:
>
>> Hi Jay,
>>
>> Jay Dixit <jaydixit.work@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
>>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-07 22:48 ` Jay Dixit
2013-11-08 5:38 ` Robert Klein
@ 2013-11-08 7:44 ` Bastien
2013-11-12 5:33 ` Jay Dixit
1 sibling, 1 reply; 10+ messages in thread
From: Bastien @ 2013-11-08 7:44 UTC (permalink / raw)
To: Jay Dixit; +Cc: emacs-orgmode
Hi Jay,
Jay Dixit <dixit@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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-08 7:44 ` Bastien
@ 2013-11-12 5:33 ` Jay Dixit
2013-11-12 5:55 ` Bastien
0 siblings, 1 reply; 10+ messages in thread
From: Jay Dixit @ 2013-11-12 5:33 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
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 <bzg@gnu.org> wrote:
> Hi Jay,
>
> Jay Dixit <dixit@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
>
[-- Attachment #2: Type: text/html, Size: 3847 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-12 5:33 ` Jay Dixit
@ 2013-11-12 5:55 ` Bastien
2013-11-12 12:23 ` Nick Dokos
0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2013-11-12 5:55 UTC (permalink / raw)
To: Jay Dixit; +Cc: emacs-orgmode
Hi Jay,
Jay Dixit <dixit@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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-12 5:55 ` Bastien
@ 2013-11-12 12:23 ` Nick Dokos
2013-11-12 12:26 ` Bastien
0 siblings, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2013-11-12 12:23 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg@gnu.org> writes:
> Hi Jay,
>
> Jay Dixit <dixit@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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-12 12:23 ` Nick Dokos
@ 2013-11-12 12:26 ` Bastien
2013-11-12 13:25 ` Nick Dokos
0 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2013-11-12 12:26 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
Hi Nick,
Nick Dokos <ndokos@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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: help me get started with org-publish?
2013-11-12 12:26 ` Bastien
@ 2013-11-12 13:25 ` Nick Dokos
0 siblings, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2013-11-12 13:25 UTC (permalink / raw)
To: emacs-orgmode
Bastien <bzg@gnu.org> writes:
> Hi Nick,
>
> Nick Dokos <ndokos@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
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-11-12 13:26 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 4:07 help me get started with org-publish? Jay Dixit
2013-11-04 11:50 ` Bastien
2013-11-07 22:48 ` Jay Dixit
2013-11-08 5:38 ` Robert Klein
2013-11-08 7:44 ` Bastien
2013-11-12 5:33 ` Jay Dixit
2013-11-12 5:55 ` Bastien
2013-11-12 12:23 ` Nick Dokos
2013-11-12 12:26 ` Bastien
2013-11-12 13:25 ` Nick Dokos
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).