emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Igor Kupczyński" <puszczyk@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Publish to html issue
Date: Sun, 17 Mar 2013 00:12:31 +0100	[thread overview]
Message-ID: <CA+ihn4ZN=JjJiZxKmrwEgF0zKH6QdtXoqUv1u4W+aGmkhqVRDQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1990 bytes --]

Dear List,

I try to set up a simple org --> html publishing system.

If I configure it according to the manual [
http://orgmode.org/org.html#Project-alist]:

(setq org-publish-project-alist
		'(("org"
		:base-directory "~/tmp/org/"
		:publishing-directory "~/tmp/html"
		:section-numbers nil
		:table-of-contents nil
		:style "<link rel=\"stylesheet\"
		                     href=\"../other/mystyle.css\"
		                     type=\"text/css\"/>")))


I have a following error:


 org-publish-file: No publishing function chosen


OK, so I try to fix it using the configuration posted in the publishing
tutorial [
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#text-3-1],
namly by providing the "publishing-function".

(setq org-publish-project-alist
		'(("org"
		:base-directory "~/tmp/org/"
		:publishing-directory "~/tmp/html"
		:section-numbers nil
		:table-of-contents nil*		:publishing-function
org-publish-org-to-html*		:style "<link rel=\"stylesheet\"
		                  href=\"../other/mystyle.css\"
		                  type=\"text/css\"/>")))


With no luck though:


  Publishing file /home/igor/tmp/org/remember.org using
`org-publish-org-to-html'
	      org-publish-file: Symbol's function definition is void:
org-publish-org-to-html


On the mail list archives I see some references to the new
exporter, unfortunately I'm an org-mode newbie and it does not ring any
bells.

If this is relevant I can export a single file with a command
org-html-export-to-html

And my emacs/org versions are:
 Org <http://orgmode.org> mode 8.0-pre in
Emacs<http://www.gnu.org/software/emacs/>
 24.3.50.1.

I'm on ubuntu and got my emacs from cassou-emacs-quantal PPA repo, but with
the stock 24.2 the issue was the same. I have org mode from el-get, which
in turn downloads it from git://orgmode.org/org-mode.git

I'd really appreciate your help with this issue.

Thanks & Cheers,
Igor Kupczyński

[-- Attachment #2: Type: text/html, Size: 5270 bytes --]

             reply	other threads:[~2013-03-16 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 23:12 Igor Kupczyński [this message]
2013-03-17  0:42 ` Publish to html issue Jay Kerns
2013-03-17  8:14   ` Igor Kupczyński

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='CA+ihn4ZN=JjJiZxKmrwEgF0zKH6QdtXoqUv1u4W+aGmkhqVRDQ@mail.gmail.com' \
    --to=puszczyk@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).