From mboxrd@z Thu Jan 1 00:00:00 1970 From: Iannis Zannos Subject: Problem getting example on Publishing to web from org-info to work Date: Sat, 5 Mar 2011 21:59:01 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e0cb4e887cb7a600a9049dc1b12f Return-path: Received: from [140.186.70.92] (port=35073 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pvxd7-0006Qt-3x for emacs-orgmode@gnu.org; Sat, 05 Mar 2011 14:59:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pvxd1-0000yG-AK for emacs-orgmode@gnu.org; Sat, 05 Mar 2011 14:59:08 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:61536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pvxd1-0000xz-6U for emacs-orgmode@gnu.org; Sat, 05 Mar 2011 14:59:03 -0500 Received: by vws13 with SMTP id 13so3576527vws.0 for ; Sat, 05 Mar 2011 11:59:02 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --e0cb4e887cb7a600a9049dc1b12f Content-Type: text/plain; charset=ISO-8859-1 Hello, Both examples from the org-info tutorial on publishing projects to web (13.3.1 Example: simple publishing configuration 13.3.2 Example: complex publishing configuration) fail with the following trace from the message window: Publishing file /Users/iani/Documents/projects/110305website/index.org using `org-publish-org-to-html' Exporting... [2 times] Wrong type argument: stringp, nil I also tried an example configuration from http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html with the same results. index.org is the sole file to publish, and is located in the folder specified in the publish alist (as per code below). Any hints as to how to get started with publishing projects from org to html? Thank! Iannis Zannos ===================== Try 1: (from org-info) (require 'org-publish) (setq org-publish-project-alist '(("test" :base-directory "/Users/iani/Documents/projects/110305website" :publishing-directory "/Users/iani/Sites" :base-extension "org" :section-numbers true :table-of-contents true :style ""))) Try 2: (from http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html) (setq org-publish-project-alist '(("test2" :base-directory "/Users/iani/Documents/projects/110305website" :publishing-directory "/Users/iani/Sites/" ;; :base-directory "~/org/" :base-extension "org" ;; :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-org-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t ))) --e0cb4e887cb7a600a9049dc1b12f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,=A0

Both examples from the org-info= tutorial on publishing projects to web=A0
(13.3.1 Example: simpl= e publishing configuration
13.3.2 Example: complex publishin= g configuration)

fail with the following trace from the message window:= =A0

Publishing file /Users/iani/Documents/pro= jects/110305website/index.org using `org-p= ublish-org-to-html'
Exporting... [2 times]
Wrong type argument: stringp, nil

I also tried an example configuration from=A0

with the same results.=A0

index.org is the sole file to publish, a= nd is located in the folder specified in the publish alist (as per code bel= ow).=A0

Any hints as to how to get started with publishing proj= ects from org to html?=A0

Thank!=A0

=
Iannis Zannos


=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Try 1: (from org-info)

(require 'org= -publish)

=A0(setq org-publish-project-alist<= /div>
=A0=A0 =A0 =A0 =A0 =A0 '(("test"
=A0=A0 = =A0 =A0 =A0 =A0 =A0 =A0:base-directory "/Users/iani/Documents/projects= /110305website"
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0:publishing-directory "/Users/iani/= Sites"
=A0 =A0 =A0:base-extension "org"
=A0=A0 = =A0 =A0 =A0 =A0 =A0 =A0:section-numbers true
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0:table-of-contents true
=A0=A0= =A0 =A0 =A0 =A0 =A0 =A0:style "<link rel=3D\"stylesheet\"= ;
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 href=3D\"../oth= er/mystyle.css\"
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = type=3D\"text/css\"/>")))



(setq org-publish-project-alist
=A0=A0 =A0 =A0 =A0 =A0 '(("test2"
=A0=A0 =A0 =A0 = =A0 =A0 =A0 =A0:base-directory "/Users/iani/Documents/projects/110305w= ebsite"
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0:publishing-directory = "/Users/iani/Sites/"
;; = =A0=A0 =A0 =A0:base-directory "~/org/"
=A0=A0 =A0 =A0:base-ext= ension "org"
;; = =A0=A0 =A0 =A0:publishing-directory "~/public_html/"
=A0=A0 = =A0 =A0:recursive t
= =A0=A0 =A0 =A0:publishing-function org-publish-org-to-html
=A0=A0 =A0 = =A0:headline-levels 4 =A0 =A0 =A0 =A0 =A0 =A0 ; Just the default for this p= roject.
= =A0=A0 =A0 =A0:auto-preamble t
=A0=A0 =A0 =A0)))

--e0cb4e887cb7a600a9049dc1b12f--